/*
Theme Name: Metro Hali Yikama
Theme URI: https://localhost/
Author: Metro Hali Yikama
Author URI: https://localhost/
Description: Modern, kurumsal ve yerel hizmet odakli hali yikama WordPress temasi.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.9
Requires PHP: 7.4
Text Domain: metro-hali-yikama
*/

:root {
  --color-primary: #0d6efd;
  --color-primary-dark: #0a4db3;
  --color-accent: #22a06b;
  --color-text: #1b2733;
  --color-muted: #5f7183;
  --color-bg: #f4f8fc;
  --color-white: #ffffff;
  --color-border: #dbe6f1;
  --container: 1120px;
  --radius: 14px;
  --shadow: 0 8px 24px rgba(13, 35, 67, 0.08);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", Arial, sans-serif;
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
}

body::before {
  content: "";
  position: fixed;
  inset: auto auto -140px -140px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(13, 110, 253, 0.2), rgba(13, 110, 253, 0));
  z-index: -1;
  pointer-events: none;
}

a {
  color: var(--color-primary);
  text-decoration: none;
}

a:hover,
a:focus-visible {
  color: var(--color-primary-dark);
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  width: min(100% - 32px, var(--container));
  margin-inline: auto;
}

.section {
  padding: 72px 0;
}

.section-soft {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(234, 244, 255, 0.8));
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.section-header {
  margin-bottom: 28px;
}

.section-title {
  margin: 0 0 8px;
  font-size: clamp(1.45rem, 2vw, 2rem);
  line-height: 1.2;
}

.section-lead {
  margin: 0;
  color: var(--color-muted);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 18px;
  border-radius: 10px;
  border: 1px solid transparent;
  font-weight: 600;
  transition: all 0.22s ease;
}

.btn-primary {
  background: var(--color-primary);
  color: var(--color-white);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--color-primary-dark);
  color: var(--color-white);
}

.btn-outline {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background: transparent;
}

.btn-outline:hover,
.btn-outline:focus-visible {
  border-color: var(--color-primary-dark);
  color: var(--color-primary-dark);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--color-border);
}

.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--color-text);
}

.brand-title {
  margin: 0;
  font-size: 1.08rem;
}

.brand-tagline {
  margin: 0;
  font-size: 0.86rem;
  color: var(--color-muted);
}

.custom-logo {
  max-height: 48px;
  width: auto;
}

.menu-toggle {
  display: none;
  border: 1px solid var(--color-border);
  background: var(--color-white);
  border-radius: 10px;
  width: 44px;
  height: 44px;
  padding: 8px;
  cursor: pointer;
}

.menu-toggle-line {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-text);
  margin: 5px 0;
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 6px;
}

.site-nav a {
  display: inline-block;
  padding: 9px 12px;
  border-radius: 8px;
  color: var(--color-text);
  font-weight: 600;
  font-size: 0.96rem;
}

.site-nav a:hover,
.site-nav .current-menu-item > a,
.site-nav .current_page_item > a {
  color: var(--color-primary);
  background: #e9f2ff;
}

.site-nav .menu-bolgeler-btn {
  position: relative;
}

.site-nav .menu-bolgeler-btn > a {
  background: var(--color-accent);
  color: var(--color-white);
}

.site-nav .menu-bolgeler-btn > a:hover {
  background: #1b8b5c;
  color: var(--color-white);
}

.site-nav .sub-menu {
  list-style: none;
  margin: 10px 0 0;
  padding: 8px;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 260px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: all 0.2s ease;
  z-index: 9;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.site-nav .menu-bolgeler-btn:hover .sub-menu,
.site-nav .menu-bolgeler-btn:focus-within .sub-menu {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.site-nav .sub-menu a {
  width: 100%;
  padding: 8px 10px;
  border-radius: 8px;
  display: block;
  font-size: 0.9rem;
}

.hero {
  background: radial-gradient(circle at 8% 12%, rgba(13, 110, 253, 0.18), transparent 40%),
    radial-gradient(circle at 88% 22%, rgba(34, 160, 107, 0.16), transparent 40%),
    linear-gradient(130deg, #eaf4ff 0%, #f5fbff 65%, #ecfff6 100%);
  padding: 98px 0 84px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 24px;
  align-items: center;
}

.hero h1 {
  margin: 0 0 14px;
  font-size: clamp(1.8rem, 4.4vw, 3rem);
  line-height: 1.15;
}

.hero-content {
  position: relative;
}

.hero-chip {
  display: inline-flex;
  align-items: center;
  margin-bottom: 12px;
  padding: 6px 11px;
  border-radius: 999px;
  border: 1px solid #c8dbef;
  background: rgba(255, 255, 255, 0.85);
  color: #1a4f7e;
  font-size: 0.82rem;
  font-weight: 700;
}

.hero-highlight {
  color: var(--color-primary-dark);
}

.hero p {
  margin: 0;
  color: var(--color-muted);
  max-width: 60ch;
}

.hero-actions {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-features {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 6px;
}

.hero-features li {
  position: relative;
  padding-left: 22px;
  color: #2a445e;
  font-weight: 600;
  font-size: 0.92rem;
}

.hero-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-accent);
}

.hero-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px;
  position: relative;
  overflow: hidden;
}

.hero-card::after {
  content: "";
  position: absolute;
  inset: auto -40px -65px auto;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(34, 160, 107, 0.24), rgba(34, 160, 107, 0));
}

.hero-card-modern {
  border: 1px solid #cfe2f7;
  box-shadow: 0 16px 36px rgba(13, 35, 67, 0.12);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.metric {
  padding: 12px;
  border-radius: 12px;
  background: #f0f7ff;
}

.metric-strong {
  display: block;
  font-size: 1.15rem;
  font-weight: 700;
}

.metric-label {
  font-size: 0.88rem;
  color: var(--color-muted);
}

.trust-strip {
  margin-top: -30px;
  padding-bottom: 8px;
}

.trust-grid {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  padding: 14px;
}

.trust-item {
  padding: 12px;
  border-radius: 12px;
  background: #f7fbff;
  border: 1px solid #e4eef8;
}

.trust-item strong {
  display: block;
  margin-bottom: 2px;
  font-size: 0.96rem;
}

.trust-item span {
  color: var(--color-muted);
  font-size: 0.86rem;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(13, 35, 67, 0.12);
}

.card h3 {
  margin: 0 0 10px;
  font-size: 1.05rem;
}

.card p {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.95rem;
}

.icon-badge {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--color-white);
  background: linear-gradient(140deg, var(--color-primary), #1d96ff);
  margin-bottom: 12px;
}

.icon-badge svg {
  width: 20px;
  height: 20px;
  display: block;
}

.service-icon svg {
  width: 20px;
  height: 20px;
  display: block;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.process-section {
  position: relative;
  overflow: hidden;
}

.process-section::before {
  content: "";
  position: absolute;
  inset: 40px auto auto -120px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(32, 180, 111, 0.16), rgba(32, 180, 111, 0));
  pointer-events: none;
}

.process-section::after {
  content: "";
  position: absolute;
  inset: auto -120px 20px auto;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(13, 110, 253, 0.12), rgba(13, 110, 253, 0));
  pointer-events: none;
}

.process-header {
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  z-index: 1;
}

.process-eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(15, 135, 88, 0.1);
  color: #0f8758;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.process-header .section-title {
  font-size: clamp(2.1rem, 4vw, 3rem);
  color: var(--color-primary-dark);
  margin-bottom: 12px;
}

.process-header .section-lead {
  max-width: 820px;
  margin: 0 auto;
  font-size: 1.08rem;
  color: #36506b;
}

.process-grid-featured {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
  position: relative;
  z-index: 1;
}

.process-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px;
}

.process-card-featured {
  min-height: 330px;
  padding: 26px 28px 34px;
  border: 1px solid rgba(214, 229, 242, 0.9);
  border-radius: 28px;
  text-align: center;
  background:
    linear-gradient(180deg, rgba(247, 251, 255, 0.95), rgba(255, 255, 255, 1)),
    linear-gradient(135deg, rgba(15, 135, 88, 0.04), rgba(13, 110, 253, 0.03));
  box-shadow: 0 24px 60px rgba(13, 35, 67, 0.12);
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.process-card-featured:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 70px rgba(13, 35, 67, 0.16);
  border-color: rgba(32, 180, 111, 0.28);
}

.process-card-featured::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 5px;
  border-radius: 0 0 22px 22px;
  background: linear-gradient(90deg, #0f8758, #20b46f);
}

.process-card-featured::before {
  content: "";
  position: absolute;
  top: -60px;
  right: -60px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(32, 180, 111, 0.12), rgba(32, 180, 111, 0));
}

.process-card-top {
  display: none;
}

.process-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 52px;
  height: 32px;
  padding: 0 14px;
  border-radius: 999px;
  background: #e9f7ef;
  color: #0f8758;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.process-card span {
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: #dcecff;
  color: var(--color-primary-dark);
  font-weight: 700;
  margin-bottom: 8px;
}

.process-icon {
  width: 100px;
  height: 75px;
  margin: 0 auto 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #20b46f;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  position: relative;
  z-index: 1;
}

.process-icon svg {
  width: 100px !important;
  height: 75px !important;
  display: block;
  overflow: visible;
}

.process-card h3 {
  margin: 0 0 6px;
  font-size: 1rem;
}

.process-card-featured h3 {
  margin: 14px 0 16px;
  font-size: 1.35rem;
  line-height: 1.2;
  color: #13233f;
  position: relative;
  z-index: 1;
}

.process-card p {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.92rem;
}

.process-card-featured p {
  max-width: 31ch;
  margin-inline: auto;
  font-size: 0.98rem;
  line-height: 1.65;
  color: #39526a;
  position: relative;
  z-index: 1;
}

.cta-band {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.service-slider {
  position: relative;
}

.hero-slider-section {
  padding: 0 0 20px;
  background: linear-gradient(180deg, #eef6ff 0%, #f6fbff 60%, transparent 100%);
}

.hero-slider {
  margin-top: 0;
}

.slider-shell {
  position: relative;
}

.slider-viewport {
  overflow: hidden;
  border-radius: 0 0 20px 20px;
  box-shadow: 0 18px 42px rgba(13, 35, 67, 0.14);
}

.slider-track {
  display: flex;
  transition: transform 0.45s ease;
}

.slider-controls {
  position: absolute;
  inset: auto 16px 16px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 3;
  pointer-events: none;
}

.slider-nav,
.slider-dots {
  pointer-events: auto;
}

.slider-nav {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(8, 20, 34, 0.52);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.55rem;
  line-height: 1;
  cursor: pointer;
  backdrop-filter: blur(6px);
  transition: transform 0.2s ease, background 0.2s ease;
}

.slider-nav:hover,
.slider-nav:focus-visible {
  background: rgba(13, 110, 253, 0.78);
  transform: scale(1.05);
}

.slider-dots {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(8, 20, 34, 0.46);
  backdrop-filter: blur(6px);
}

.dot {
  width: 8px;
  height: 8px;
  border: 0;
  padding: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.42);
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.dot.active,
.dot[aria-current="true"] {
  background: #fff;
  transform: scale(1.25);
}

.slide-card {
  min-width: 100%;
  background: #0f2135;
  border: 1px solid #1f3a57;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 0;
  position: relative;
  overflow: hidden;
}

.slide-media {
  position: relative;
  height: clamp(250px, 35vw, 420px);
}

.slide-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.slide-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  z-index: 2;
  padding: 12px 0;
}

.slide-content {
  width: min(100%, 420px);
  padding: 14px;
  border-radius: 14px;
  background: rgba(12, 25, 41, 0.48);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.slide-content-hero {
  width: min(100%, 420px);
  padding: 0;
  margin-top: 280px;
  background: transparent;
  backdrop-filter: none;
  border: 0;
  box-shadow: none;
}

.slide-card h1,
.slide-card h2,
.slide-card h3 {
  margin: 0 0 8px;
  font-size: clamp(1.2rem, 1.7vw, 1.6rem);
  color: #ffffff;
  line-height: 1.15;
}

.slide-card p {
  margin: 0 0 12px;
  color: #d7e8f9;
  font-size: 0.92rem;
  max-width: 46ch;
}

.slide-badge {
  display: inline-block;
  margin-bottom: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #dff0ff;
  color: #0a4db3;
  font-weight: 700;
  font-size: 0.83rem;
}

.slide-points {
  list-style: none;
  margin: 0 0 12px;
  padding: 0;
  display: grid;
  gap: 6px;
}

.slide-points li {
  position: relative;
  padding-left: 20px;
  color: #f2f8ff;
  font-size: 0.84rem;
}

.slide-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-accent);
}

.slide-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-slider-bottom {
  margin-top: 10px;
}

.hero-trust-grid {
  margin-top: 10px;
}

.posts-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.post-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.post-thumb img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.post-body {
  padding: 16px;
}

.post-body time {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--color-muted);
  font-size: 0.85rem;
}

.post-body h3 {
  margin: 0 0 8px;
  font-size: 1.08rem;
}

.post-body p {
  margin: 0 0 12px;
  color: var(--color-muted);
}

.stats-section {
  padding-top: 16px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.stats-grid article {
  background: linear-gradient(145deg, #fff, #f2f9ff);
  border: 1px solid #d9e9f8;
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 18px;
}

.stats-grid strong {
  display: block;
  font-size: 1.45rem;
  line-height: 1.1;
  color: var(--color-primary-dark);
}

.stats-grid span {
  color: var(--color-muted);
  font-size: 0.9rem;
}

.page-hero {
  background: #edf5fd;
  border-bottom: 1px solid var(--color-border);
  padding: 36px 0;
}

.page-hero h1 {
  margin: 0;
  font-size: clamp(1.45rem, 2.5vw, 2.15rem);
}

.page-layout {
  padding: 44px 0 70px;
}

.content-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 26px;
}

.about-grid,
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.about-media-placeholder,
.gallery-item-placeholder {
  background: linear-gradient(145deg, #e5f1ff, #d8efe5);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-weight: 600;
  color: #16456d;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.gallery-item {
  overflow: hidden;
  border-radius: 12px;
  transition: transform 0.25s ease;
}

.gallery-item:hover {
  transform: translateY(-3px);
}

.gallery-item figcaption {
  margin-top: 8px;
  font-size: 0.95rem;
  color: var(--color-muted);
}

.map-wrap iframe {
  width: 100%;
  min-height: 350px;
  border: 0;
  border-radius: 12px;
}

.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.contact-list li {
  margin-bottom: 10px;
}

.form-placeholder {
  margin-top: 18px;
  border: 1px dashed var(--color-border);
  border-radius: 12px;
  padding: 14px;
  background: #f8fbff;
  color: var(--color-muted);
}

.site-footer {
  background: #0f1d2c;
  color: #d4dfeb;
  padding: 52px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: 18px;
}

.site-footer h3 {
  margin: 0 0 12px;
  color: #ffffff;
}

.site-footer p,
.site-footer li,
.site-footer a {
  color: #d4dfeb;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer li {
  margin-bottom: 8px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  margin-top: 24px;
  padding-top: 16px;
  font-size: 0.92rem;
  color: #b0c3d8;
}

.floating-widget {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.floating-widget a {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.floating-widget a:hover {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 14px 30px rgba(13, 35, 67, 0.18);
}

.floating-icon {
  width: 24px;
  height: 24px;
  display: block;
}

.floating-phone {
  background: linear-gradient(145deg, #0d6efd, #0a4db3);
}

.floating-phone .floating-icon {
  width: 28px;
  height: 28px;
}

.floating-whatsapp {
  background: #25d366;
}

.floating-instagram {
  background: linear-gradient(145deg, #833ab4, #fd1d1d, #fcb045);
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

@media (max-width: 991px) {
  .hero-grid,
  .trust-grid,
  .process-grid,
  .stats-grid,
  .cards-grid,
  .why-grid,
  .about-grid,
  .contact-grid,
  .gallery-grid,
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .section {
    padding: 56px 0;
  }

  .menu-toggle {
    display: inline-block;
  }

  .site-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--color-white);
    border-bottom: 1px solid var(--color-border);
    padding: 10px 16px 14px;
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
    transition: all 0.2s ease;
  }

  .site-nav.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
  }

  .site-nav a {
    width: 100%;
  }

  .site-nav .sub-menu {
    position: static;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    border: 0;
    box-shadow: none;
    padding: 6px 0 0;
    margin: 0;
    min-width: 0;
  }

  .site-nav .menu-bolgeler-btn > a {
    margin-bottom: 4px;
  }

  .hero {
    padding-top: 68px;
  }

  /* ---- Mobile Slider Optimization ---- */
  .hero-slider-section {
    padding: 0;
    background: #0f2135;
  }

  .slider-viewport {
    border-radius: 0;
    box-shadow: none;
  }

  .slide-card {
    border-radius: 0;
    border: 0;
  }

  .slide-media {
    height: auto;
    aspect-ratio: 16 / 9;
    background: #0f2135;
  }
  
  .slide-media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
  }

  .slide-overlay {
    position: absolute;
    inset: auto 0 0 0;
    padding: 0;
    background: linear-gradient(180deg, transparent, rgba(15, 33, 53, 0.85));
    align-items: flex-end;
  }

  .slide-content {
    width: 100%;
    padding: 16px;
    margin-inline: auto;
    background: transparent;
    backdrop-filter: none;
    border: 0;
    border-radius: 0;
  }

  .slide-content-hero {
    width: 100%;
    padding: 16px;
    margin-top: 0;
    background: transparent;
    backdrop-filter: none;
    border: 0;
    box-shadow: none;
  }

  .slide-card h1,
  .slide-card h2,
  .slide-card h3 {
    font-size: clamp(1.1rem, 4.8vw, 1.45rem);
  }

  .slide-card p {
    font-size: 0.88rem;
  }

  .slide-points li {
    font-size: 0.8rem;
  }

  .slider-controls {
    bottom: 10px;
    top: auto;
    inset: auto 8px 10px 8px;
    position: absolute;
  }

  .slider-nav {
    width: 34px;
    height: 34px;
    font-size: 1.3rem;
  }

  .slider-dots {
    padding: 6px 10px;
    gap: 6px;
  }

  .hero-grid,
  .trust-grid,
  .process-grid,
  .stats-grid,
  .cards-grid,
  .why-grid,
  .about-grid,
  .contact-grid,
  .gallery-grid,
  .footer-grid,
  .posts-grid {
    grid-template-columns: 1fr;
  }

  .floating-widget {
    right: 12px;
    bottom: 12px;
  }
}

/* ==========================================================================
   Fiyat Listesi (Price Table)
   ========================================================================== */

.price-card {
  max-width: 820px;
  margin-inline: auto;
}

.price-intro {
  margin-bottom: 28px;
}

.price-intro h2 {
  margin: 0 0 8px;
  font-size: 1.4rem;
  color: var(--color-primary-dark);
}

.price-intro p {
  margin: 0;
  color: var(--color-muted);
}

.price-table-wrap {
  overflow-x: auto;
  border-radius: 12px;
  border: 1px solid var(--color-border);
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.96rem;
}

.price-table thead {
  background: linear-gradient(135deg, var(--color-primary), #1d96ff);
  color: #fff;
}

.price-table th {
  padding: 14px 18px;
  text-align: left;
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
}

.price-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--color-border);
  color: var(--color-text);
}

.price-table tbody tr:last-child td {
  border-bottom: 0;
}

.price-table tbody tr:nth-child(even) {
  background: #f7fbff;
}

.price-table tbody tr:hover {
  background: #edf5fd;
}

.price-table td strong {
  color: var(--color-primary-dark);
  font-size: 1.05rem;
}

.price-notes {
  margin-top: 24px;
  padding: 16px 18px;
  border-radius: 12px;
  background: #f0f7ff;
  border: 1px solid #d6e8f8;
}

.price-notes p {
  margin: 0 0 6px;
  font-size: 0.92rem;
  color: #2a445e;
}

.price-notes p:last-child {
  margin-bottom: 0;
}

.price-cta {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

@media (max-width: 600px) {
  .price-table thead {
    display: none;
  }

  .price-table,
  .price-table tbody,
  .price-table tr,
  .price-table td {
    display: block;
    width: 100%;
  }

  .price-table tr {
    border-bottom: 2px solid var(--color-border);
    padding: 12px 0;
  }

  .price-table tbody tr:last-child {
    border-bottom: 0;
  }

  .price-table td {
    padding: 6px 14px;
    border-bottom: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .price-table td::before {
    content: attr(data-label);
    font-weight: 700;
    color: var(--color-text);
    margin-right: 12px;
  }
}

/* ==========================================================================
   Modern Comments Section
   ========================================================================== */

.post-comments-section {
  max-width: 850px;
  margin: 0 auto;
}

.comments-title, 
.comment-reply-title {
  font-size: 1.45rem;
  color: var(--color-primary-dark);
  margin-bottom: 1.5rem;
  font-weight: 700;
}

/* Comment List */
.comment-list {
  list-style: none;
  padding: 0;
  margin: 0 0 3.5rem;
}

.comment-list li.comment {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 12px rgba(13, 35, 67, 0.03);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.comment-list li.comment:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(13, 35, 67, 0.08);
}

.comment-list .children {
  list-style: none;
  padding-left: 2.5rem;
  margin-top: 1.5rem;
  border-left: 3px solid #e7f0f9;
}

.comment-body {
  display: flex;
  gap: 1.25rem;
}

.comment-author .avatar {
  border-radius: 50%;
  width: 54px;
  height: 54px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.08);
  border: 2px solid #fff;
}

.comment-meta {
  margin-bottom: 0.6rem;
  display: flex;
  flex-direction: column;
}

.comment-meta a {
  font-size: 0.85rem;
  color: var(--color-muted);
}

.comment-author cite {
  font-style: normal;
  font-weight: 700;
  color: var(--color-text);
  font-size: 1.05rem;
  display: block;
  margin-bottom: 2px;
}

.comment-content {
  color: #3b4b5c;
  line-height: 1.65;
  font-size: 0.95rem;
}

.comment-content p {
  margin-bottom: 0.5rem;
}

.reply {
  margin-top: 0.8rem;
}

.reply a {
  display: inline-flex;
  align-items: center;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-primary);
  background: #edf5fd;
  padding: 5px 14px;
  border-radius: 20px;
  text-decoration: none;
  transition: all 0.2s;
}

.reply a:hover {
  background: var(--color-primary);
  color: #fff;
}

/* Comment Form */
.comment-respond {
  background: #f8fbff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: inset 0 2px 10px rgba(13, 67, 133, 0.02);
}

.comment-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.comment-form-comment {
  grid-column: 1 / -1;
}

.comment-notes, .logged-in-as {
  grid-column: 1 / -1;
  color: var(--color-muted);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.comment-form label {
  display: block;
  font-size: 0.92rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
  color: var(--color-text);
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
  width: 100%;
  padding: 0.85rem 1.2rem;
  border: 1px solid #d0deec;
  border-radius: 10px;
  background: #ffffff;
  font-family: inherit;
  font-size: 1rem;
  transition: all 0.25s ease;
  color: var(--color-text);
}

.comment-form input[type="text"]:focus,
.comment-form input[type="email"]:focus,
.comment-form input[type="url"]:focus,
.comment-form textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 4px rgba(13, 110, 253, 0.12);
}

.comment-form textarea {
  min-height: 140px;
  resize: vertical;
}

.comment-form-cookies-consent {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  color: var(--color-muted);
}

.comment-form-cookies-consent input {
  margin: 0;
  width: 16px;
  height: 16px;
  accent-color: var(--color-primary);
}

.form-submit {
  grid-column: 1 / -1;
  margin-top: 1rem;
  margin-bottom: 0;
}

.form-submit .submit {
  background: var(--color-primary);
  color: #fff;
  border: none;
  padding: 0.85rem 1.8rem;
  font-size: 1.05rem;
  font-weight: 600;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.form-submit .submit:hover {
  background: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(13, 110, 253, 0.25);
}

@media (max-width: 768px) {
  .comment-form {
    grid-template-columns: 1fr;
  }
  
  .comment-respond {
    padding: 1.5rem;
  }
  
  .comment-body {
    flex-direction: column;
    gap: 0.8rem;
  }
  
  .comment-list .children {
    padding-left: 1rem;
  }
}


/* Fix for Submenu Dropdown Gap */
.site-nav .sub-menu {
  margin-top: 0 !important;
  transform: translateY(12px) !important;
}
.site-nav .menu-bolgeler-btn:hover .sub-menu,
.site-nav .menu-bolgeler-btn:focus-within .sub-menu {
  transform: translateY(0) !important;
}
.site-nav .sub-menu::before {
  content: "";
  position: absolute;
  top: -25px;
  left: 0;
  width: 100%;
  height: 25px;
  background: transparent;
}


/* Kesin Cozum: Parent butona alt gorunmez hit-box ekleme */
.site-nav .menu-bolgeler-btn::after,
.site-nav .menu-item-has-children::after {
    content: "";
    position: absolute;
    bottom: -30px;
    left: 0;
    width: 100%;
    height: 30px;
    background: transparent;
    z-index: 99;
}



/* Mobile Hamburger Nav Styles */
@media (max-width: 768px) {
  .menu-toggle {
    display: block !important;
  }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-white);
    padding: 1rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-top: 1px solid var(--color-border);
    z-index: 1000;
  }
  .site-nav.active {
    display: block;
  }
  .site-nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .site-nav a {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
  }
  .site-nav .sub-menu {
    position: static;
    opacity: 1;
    pointer-events: auto;
    transform: none !important;
    box-shadow: none;
    display: flex;
    margin-top: 5px;
    background: #f7f9fc;
    width: 100%;
    min-width: 100%;
  }
  .site-nav .menu-bolgeler-btn::after {
    display: none;
  }
}
