/* ==========================================================================
   Muğla Hasta Bakım - Main Stylesheet
   Healthcare Companion Service Website
   ========================================================================== */

/* --------------------------------------------------------------------------
   GOOGLE FONTS IMPORT
   -------------------------------------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700;800&family=Inter:wght@400;500;600;700&display=swap');


/* --------------------------------------------------------------------------
   CSS CUSTOM PROPERTIES (DESIGN TOKENS)
   -------------------------------------------------------------------------- */
:root {
  /* Color Palette */
  --deep-blue:   #0B1E38;
  --navy:        #0F2C4A;
  --teal:        #2A9D8F;
  --teal-dark:   #1B6B6B;
  --amber:       #E8A838;
  --amber-dark:  #C87E20;
  --coral:       #F4845F;
  --cream:       #FAFCFF;
  --text-dark:   #1A2332;
  --text-mid:    #4A5568;
  --text-light:  #718096;
  --white:       #FFFFFF;
  --card-bg:     #FFFFFF;
  --section-alt: #F0F7FF;

  /* Typography */
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body:    'Inter', system-ui, -apple-system, sans-serif;

  /* Shadows */
  --shadow-sm:  0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md:  0 4px 24px rgba(0, 0, 0, 0.08);
  --shadow-lg:  0 8px 40px rgba(0, 0, 0, 0.12);
  --shadow-xl:  0 16px 60px rgba(0, 0, 0, 0.16);

  /* Border Radius */
  --radius-sm:  8px;
  --radius-md:  14px;
  --radius-lg:  20px;
  --radius-xl:  32px;
  --radius-pill: 50px;

  /* Transitions */
  --transition-fast:   0.2s ease;
  --transition-base:   0.3s ease;
  --transition-slow:   0.5s ease;

  /* Layout */
  --container-max: 1200px;
  --container-pad: 24px;
}


/* --------------------------------------------------------------------------
   BASE / RESET
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background-color: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul {
  list-style: none;
}

button {
  font-family: var(--font-body);
  cursor: pointer;
  border: none;
  background: none;
}

input,
select,
textarea {
  font-family: var(--font-body);
}

/* Container */
.container {
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--container-pad);
  padding-right: var(--container-pad);
}


/* --------------------------------------------------------------------------
   SHARED / REUSABLE COMPONENTS
   -------------------------------------------------------------------------- */

/* Section Headers */
.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 64px;
}

.section-tag {
  display: inline-block;
  background: rgba(42, 157, 143, 0.12);
  color: var(--teal);
  border-radius: var(--radius-pill);
  padding: 6px 18px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  color: var(--deep-blue);
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-desc {
  color: var(--text-mid);
  font-size: 1.05rem;
  line-height: 1.7;
}

/* Shared Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--amber) 0%, var(--amber-dark) 100%);
  color: var(--deep-blue);
  border-radius: var(--radius-pill);
  padding: 14px 32px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(232, 168, 56, 0.35);
  transition: transform var(--transition-base), box-shadow var(--transition-base), filter var(--transition-base);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(232, 168, 56, 0.5);
  filter: brightness(1.05);
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #25D366;
  color: var(--white);
  border-radius: var(--radius-pill);
  padding: 14px 32px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  text-decoration: none;
  white-space: nowrap;
}

.btn-whatsapp:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(37, 211, 102, 0.5);
}


/* --------------------------------------------------------------------------
   NAVBAR
   -------------------------------------------------------------------------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1000;
  background: transparent;
  transition: background var(--transition-base), box-shadow var(--transition-base);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 2px 24px rgba(11, 30, 56, 0.10);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
  height: 72px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 13px;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--white);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.navbar.scrolled .nav-logo {
  color: var(--deep-blue);
}

.logo-icon {
  width: 68px;
  height: 68px;
  flex-shrink: 0;
  transition: transform 0.35s cubic-bezier(0.34,1.56,0.64,1);
  filter: drop-shadow(0 0 8px rgba(232,85,154,0.40));
}

.nav-logo:hover .logo-icon {
  transform: rotate(-8deg) scale(1.08);
  filter: drop-shadow(0 0 14px rgba(232,85,154,0.60));
}

.logo-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  line-height: 1;
}

.logo-main {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.logo-sub {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.08rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.78);
}

.navbar.scrolled .logo-sub {
  color: var(--teal);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-link {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.90);
  text-decoration: none;
  transition: color var(--transition-fast);
  white-space: nowrap;
}

.navbar.scrolled .nav-link {
  color: var(--text-dark);
}

.nav-link:hover {
  color: var(--teal);
}

.navbar.scrolled .nav-link:hover {
  color: var(--teal);
}

/* Nav CTA Button */
.btn-nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--amber);
  color: var(--deep-blue);
  border-radius: var(--radius-pill);
  padding: 10px 22px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
  white-space: nowrap;
}

.btn-nav-cta:hover {
  transform: scale(1.04);
  box-shadow: 0 4px 16px rgba(232, 168, 56, 0.45);
  background: var(--amber-dark);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: var(--white);
  transition: transform var(--transition-base), opacity var(--transition-base);
}

.navbar.scrolled .hamburger span {
  background: var(--deep-blue);
}

.hamburger.open span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}


/* --------------------------------------------------------------------------
   HERO SECTION
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 700px;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  /* GERÇEK BODRUM KALESİ FOTOĞRAFI hero background */
  background-image:
    linear-gradient(
      105deg,
      rgba(5, 18, 48, 0.78) 0%,
      rgba(5, 15, 42, 0.62) 42%,
      rgba(5, 12, 35, 0.25) 70%,
      rgba(5, 12, 35, 0.05) 100%
    ),
    url('https://images.unsplash.com/photo-1760197045829-221c11482607?w=1920&q=88&auto=format&fit=crop&crop=center');
  background-size: cover;
  background-position: center 38%;
  background-repeat: no-repeat;
  /* Fallback renk fotoğraf yüklenirken */
  background-color: #0D2545;
}

/* BEGONVİL FOTOĞRAFI — sağ üst köşe, doğal asılı görünüm */
.bougainvillea-decor {
  position: absolute;
  top: 0;
  right: 0;
  width: min(440px, 36vw);
  height: 72%;
  pointer-events: none;
  z-index: 4;
  overflow: hidden;
}

.bougainvillea-img {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
  filter: brightness(1.08) saturate(1.25);
  /* Sağ üst köşeden dağıl — sol ve alta doğru solar */
  -webkit-mask-image: radial-gradient(
    ellipse 120% 115% at 100% 0%,
    black 38%,
    rgba(0,0,0,0.92) 54%,
    rgba(0,0,0,0.58) 70%,
    rgba(0,0,0,0.15) 84%,
    transparent 96%
  );
  mask-image: radial-gradient(
    ellipse 120% 115% at 100% 0%,
    black 38%,
    rgba(0,0,0,0.92) 54%,
    rgba(0,0,0,0.58) 70%,
    rgba(0,0,0,0.15) 84%,
    transparent 96%
  );
}

/* Hero Visual — eski SVG artık kullanılmıyor */
.hero-castle-sketch { display: none; }

/* Particle canvas overlay */
.hero-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

/* Hero Content */
.hero-content {
  position: relative;
  z-index: 3;
  max-width: 820px;
  padding: 130px 32px 40px;
  margin: 0 auto;
  text-align: center;
}

/* Şehir etiketi: MUĞLA & BODRUM */
.hero-city-tag {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: var(--amber);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 5px;
  text-transform: uppercase;
  margin-bottom: 28px;
  font-family: var(--font-body);
}

.city-line {
  flex: 1;
  max-width: 100px;
  height: 1px;
  opacity: 0.45;
  background: linear-gradient(to right, transparent, var(--amber));
}

.hero-city-tag .city-line:last-child {
  background: linear-gradient(to left, transparent, var(--amber));
}

/* Hero Title */
.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  color: var(--white);
  line-height: 1.12;
  font-weight: 800;
  margin-bottom: 22px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.4);
}

.hero-highlight {
  color: var(--amber);
  display: block;
}

/* Hero Description */
.hero-desc {
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.1rem;
  line-height: 1.75;
  max-width: 540px;
  margin: 0 auto 36px;
}

/* Hero Actions */
.hero-actions {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 44px;
}

/* Hero Stats */
.hero-stats {
  display: inline-flex;
  gap: 0;
  background: rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 20px;
  padding: 18px 36px;
}

.hero-stat {
  flex: 1;
  text-align: center;
  padding: 0 16px;
}

.hero-stat-num {
  display: block;
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--amber);
  line-height: 1.1;
}

.hero-stat-plus {
  color: var(--amber);
  font-size: 1.4rem;
  font-weight: 700;
}

.hero-stat-label {
  display: block;
  color: rgba(255, 255, 255, 0.70);
  font-size: 0.8rem;
  margin-top: 4px;
  white-space: nowrap;
}

.hero-stat-divider {
  width: 1px;
  background: rgba(255, 255, 255, 0.20);
  height: 40px;
  align-self: center;
  flex-shrink: 0;
}

/* Hero Visual — eski SVG, artık kullanılmıyor */
.hero-visual { display: none; }
.castle-svg  { display: none; }

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.60);
  text-align: center;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  animation: float 2s ease-in-out infinite;
}

.scroll-arrow {
  animation: bounce-down 1.5s ease-in-out infinite;
}


/* --------------------------------------------------------------------------
   SERVICES SECTION
   -------------------------------------------------------------------------- */
.services-section {
  padding: 100px 0;
  background: var(--cream);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12);
}

.service-icon-wrap {
  width: 68px;
  height: 68px;
  border-radius: 18px;
  background: rgba(var(--card-color-rgb, 42, 157, 143), 0.12);
  color: var(--card-color, var(--teal));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  transition: background var(--transition-base), color var(--transition-base), transform var(--transition-base);
}

.service-card:hover .service-icon-wrap {
  background: var(--card-color, var(--teal));
  color: var(--white);
  transform: scale(1.05);
}

.service-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--deep-blue);
  margin-bottom: 12px;
  line-height: 1.3;
}

.service-desc {
  color: var(--text-mid);
  line-height: 1.65;
  font-size: 0.95rem;
}

.service-tag {
  display: inline-block;
  background: var(--amber);
  color: var(--deep-blue);
  border-radius: var(--radius-pill);
  padding: 3px 12px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-top: 16px;
}


/* --------------------------------------------------------------------------
   STATS SECTION
   -------------------------------------------------------------------------- */
.stats-section {
  position: relative;
  overflow: hidden;
}

.stats-wave-top,
.stats-wave-bottom {
  display: block;
  width: 100%;
  height: 80px;
  line-height: 0;
  overflow: hidden;
}

.stats-wave-top {
  margin-bottom: -1px;
}

.stats-wave-bottom {
  margin-top: -1px;
}

.stats-wave-top svg,
.stats-wave-bottom svg {
  display: block;
  width: 100%;
  height: 100%;
}

.stats-bg {
  background: var(--navy);
  padding: 60px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.stat-box {
  text-align: center;
  padding: 32px;
  border-right: 1px solid rgba(255, 255, 255, 0.10);
}

.stat-box:last-child {
  border-right: none;
}

.stat-big {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 3.8rem);
  color: var(--amber);
  font-weight: 700;
  line-height: 1.1;
}

.stat-suffix {
  color: var(--amber);
  font-size: 2rem;
  font-weight: 700;
}

.stat-label {
  display: block;
  color: rgba(255, 255, 255, 0.70);
  font-size: 0.9rem;
  margin-top: 8px;
  line-height: 1.4;
}


/* --------------------------------------------------------------------------
   ABOUT SECTION
   -------------------------------------------------------------------------- */
.about-section {
  padding: 100px 0;
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: center;
}

.about-visual {
  position: relative;
}

.about-illustration {
  background: linear-gradient(135deg, #E8F4F8 0%, #CCE8F4 100%);
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 1 / 1;
  max-width: 460px;
}

.about-illustration img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-badge-float {
  position: absolute;
  bottom: -20px;
  right: -10px;
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 8px 40px rgba(11, 30, 56, 0.15);
  padding: 16px 22px;
}

.about-badge-float .badge-inner {
  display: flex;
  gap: 12px;
  align-items: center;
}

.about-badge-float .badge-inner strong {
  display: block;
  color: var(--deep-blue);
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.2;
}

.about-badge-float .badge-inner span {
  color: var(--text-mid);
  font-size: 0.85rem;
  line-height: 1.3;
}

.badge-green-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(52, 211, 153, 0.15);
  color: #34D399;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.about-content {
  padding-left: 20px;
}

.about-text {
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: 16px;
  font-size: 1.02rem;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 28px 0 36px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-dark);
  font-size: 0.95rem;
}

.feature-check {
  width: 22px;
  height: 22px;
  min-width: 22px;
  border-radius: 50%;
  background: rgba(42, 157, 143, 0.12);
  color: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  flex-shrink: 0;
}


/* --------------------------------------------------------------------------
   AREAS SECTION
   -------------------------------------------------------------------------- */
.areas-section {
  padding: 100px 0;
  background: var(--section-alt);
  position: relative;
}

.areas-bg-pattern {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.3;
  overflow: hidden;
}

.areas-bg-pattern svg {
  width: 100%;
  height: 100%;
}

.areas-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  position: relative;
  z-index: 1;
}

.area-card {
  background: var(--white);
  border-radius: 24px;
  padding: 40px;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
  transition: box-shadow var(--transition-base);
}

.area-card:hover {
  box-shadow: var(--shadow-lg);
}

.area-card-header {
  display: flex;
  gap: 18px;
  align-items: center;
  margin-bottom: 28px;
}

.area-icon-wrap {
  width: 56px;
  height: 56px;
  min-width: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.area-mugla {
  background: rgba(42, 157, 143, 0.12);
  color: var(--teal);
}

.area-bodrum {
  background: rgba(232, 168, 56, 0.15);
  color: var(--amber-dark);
}

.area-name {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--deep-blue);
  line-height: 1.2;
}

.area-sub {
  color: var(--text-light);
  font-size: 0.85rem;
  margin-top: 4px;
}

.districts-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.district-tag {
  background: rgba(11, 30, 56, 0.06);
  color: var(--text-dark);
  border-radius: var(--radius-pill);
  padding: 6px 14px;
  font-size: 0.85rem;
  border: 1px solid rgba(11, 30, 56, 0.10);
  transition: background var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast);
  cursor: default;
}

.district-tag:hover {
  background: var(--teal);
  color: var(--white);
  border-color: var(--teal);
}

.district-special {
  background: var(--teal);
  color: var(--white);
  border-color: var(--teal);
}

.district-special:hover {
  background: var(--teal-dark);
  border-color: var(--teal-dark);
}

.area-card-bodrum {
  border: 2px solid rgba(232, 168, 56, 0.25);
}

.bodrum-castle-deco {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 280px;
  pointer-events: none;
  opacity: 0.07;
}


/* --------------------------------------------------------------------------
   PROCESS SECTION
   -------------------------------------------------------------------------- */
.process-section {
  padding: 100px 0;
  background: var(--cream);
}

.process-steps {
  display: flex;
  align-items: center;
  gap: 0;
  justify-content: center;
  flex-wrap: nowrap;
  margin-top: 64px;
}

.process-step {
  flex: 0 0 auto;
  width: 280px;
  text-align: center;
  position: relative;
}

.step-number {
  font-family: var(--font-heading);
  font-size: 4rem;
  color: rgba(42, 157, 143, 0.12);
  font-weight: 700;
  line-height: 1;
  margin-bottom: -16px;
  display: block;
}

.step-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 8px 32px rgba(11, 30, 56, 0.12);
  color: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.process-step:hover .step-icon {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(42, 157, 143, 0.2);
}

.step-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--deep-blue);
  margin-bottom: 12px;
  line-height: 1.3;
}

.step-desc {
  color: var(--text-mid);
  font-size: 0.95rem;
  line-height: 1.65;
  max-width: 220px;
  margin: 0 auto;
}

.process-connector {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 8px;
  flex: 1;
  max-width: 80px;
  color: var(--text-light);
}

.connector-line {
  height: 2px;
  background: linear-gradient(90deg, var(--teal), var(--amber));
  width: 100%;
  border-radius: 2px;
}


/* --------------------------------------------------------------------------
   TESTIMONIALS SECTION
   -------------------------------------------------------------------------- */
.testimonials-section {
  padding: 100px 0;
  background: var(--white);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}

.testimonial-card {
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: box-shadow var(--transition-base), transform var(--transition-base);
}

.testimonial-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.testimonial-stars {
  color: var(--amber);
  font-size: 1.2rem;
  letter-spacing: 3px;
  margin-bottom: 16px;
}

.testimonial-text {
  color: var(--text-mid);
  line-height: 1.75;
  font-size: 0.97rem;
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  gap: 12px;
  align-items: center;
}

.author-avatar {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 600;
  flex-shrink: 0;
}

.author-name {
  display: block;
  color: var(--deep-blue);
  font-weight: 600;
  font-size: 0.95rem;
}

.author-location {
  color: var(--text-light);
  font-size: 0.8rem;
}


/* --------------------------------------------------------------------------
   CTA SECTION
   -------------------------------------------------------------------------- */
.cta-section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #0F2C4A 0%, #1B4B7A 50%, #0F2C4A 100%);
  padding: 100px 0;
}

.cta-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
}

.cta-castle {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  min-width: 600px;
  pointer-events: none;
  opacity: 0.08;
}

.cta-content {
  text-align: center;
  position: relative;
  z-index: 2;
}

.cta-tag {
  display: inline-block;
  background: rgba(232, 168, 56, 0.20);
  color: var(--amber);
  border-radius: var(--radius-pill);
  padding: 6px 18px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.cta-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--white);
  margin: 16px 0 20px;
  line-height: 1.2;
}

.cta-desc {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 500px;
  margin: 0 auto 40px;
}

.cta-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-cta,
.btn-cta-wa {
  padding: 16px 40px;
  font-size: 1.05rem;
}

.btn-cta-wa {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #25D366;
  color: var(--white);
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-weight: 700;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  text-decoration: none;
  white-space: nowrap;
}

.btn-cta-wa:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(37, 211, 102, 0.5);
}


/* --------------------------------------------------------------------------
   CONTACT SECTION
   -------------------------------------------------------------------------- */
.contact-section {
  padding: 100px 0;
  background: var(--cream);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: start;
}

.contact-intro {
  color: var(--text-mid);
  line-height: 1.7;
  margin-bottom: 32px;
  font-size: 1.02rem;
}

.contact-items {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-item {
  display: flex;
  gap: 16px;
  align-items: center;
}

.contact-item-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 14px;
  background: rgba(42, 157, 143, 0.10);
  color: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-item-text strong {
  display: block;
  color: var(--deep-blue);
  font-weight: 600;
  margin-bottom: 4px;
}

.contact-item-text a,
.contact-item-text span {
  color: var(--text-mid);
  font-size: 0.95rem;
  line-height: 1.5;
}

.contact-item-text a:hover {
  color: var(--teal);
}

/* Contact Form Wrapper */
.contact-form-wrapper {
  background: var(--white);
  border-radius: 24px;
  padding: 44px;
  box-shadow: var(--shadow-lg);
}

.form-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--deep-blue);
  margin-bottom: 28px;
  line-height: 1.3;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 6px;
  font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #E2E8F0;
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-dark);
  background: var(--white);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(42, 157, 143, 0.10);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-error {
  display: none;
  color: var(--coral);
  font-size: 0.8rem;
  margin-top: 4px;
}

.form-group.has-error input,
.form-group.has-error select,
.form-group.has-error textarea {
  border-color: var(--coral);
}

.form-group.has-error .form-error {
  display: block;
}

.btn-submit {
  width: 100%;
  padding: 16px;
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 100%);
  color: var(--white);
  border: none;
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: opacity var(--transition-fast), transform var(--transition-fast);
  letter-spacing: 0.3px;
}

.btn-submit:hover {
  opacity: 0.90;
  transform: translateY(-2px);
}

.form-success {
  display: none;
  gap: 10px;
  align-items: center;
  background: rgba(42, 157, 143, 0.08);
  color: var(--teal);
  border-radius: 10px;
  padding: 16px;
  margin-top: 16px;
  font-weight: 500;
  border: 1px solid rgba(42, 157, 143, 0.20);
}

.form-success.show {
  display: flex;
}


/* --------------------------------------------------------------------------
   FOOTER
   -------------------------------------------------------------------------- */
.footer-wave {
  display: block;
  line-height: 0;
  overflow: hidden;
  background: var(--cream);
}

.footer-wave svg {
  display: block;
  width: 100%;
}

.footer-body {
  background: var(--deep-blue);
  padding: 64px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 48px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 1.1rem;
  margin-bottom: 16px;
  text-decoration: none;
}

.footer-logo strong {
  color: var(--amber);
}

.footer-tagline {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.9rem;
  line-height: 1.6;
  max-width: 280px;
  margin-bottom: 24px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.social-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform var(--transition-fast), filter var(--transition-fast);
  flex-shrink: 0;
}

.social-btn:hover {
  transform: scale(1.10);
  filter: brightness(1.15);
}

.social-wa {
  background: #25D366;
  color: var(--white);
}

.social-tel {
  background: rgba(232, 168, 56, 0.20);
  color: var(--amber);
}

.social-mail {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.70);
}

/* Footer Links */
.footer-links-group h4,
.footer-contact-group h4 {
  color: var(--white);
  font-weight: 600;
  margin-bottom: 16px;
  font-size: 0.95rem;
  position: relative;
  padding-bottom: 10px;
}

.footer-links-group h4::after,
.footer-contact-group h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 24px;
  height: 2px;
  background: var(--amber);
  border-radius: 2px;
}

.footer-links-group ul {
  list-style: none;
}

.footer-links-group li {
  margin-bottom: 10px;
}

.footer-links-group a {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.9rem;
  text-decoration: none;
  transition: color var(--transition-fast);
  line-height: 1.5;
}

.footer-links-group a:hover {
  color: var(--amber);
}

/* Footer Contact */
.footer-contact-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.88rem;
  line-height: 1.5;
}

.footer-contact-item svg {
  color: var(--amber);
  min-width: 16px;
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-contact-item a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-contact-item a:hover {
  color: var(--amber);
}

/* Footer Bottom */
.footer-bottom {
  background: #060D1F;
  padding: 16px 0;
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  color: rgba(255, 255, 255, 0.35);
  font-size: 0.82rem;
  align-items: center;
}

.footer-bottom-inner a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-bottom-inner a:hover {
  color: rgba(255, 255, 255, 0.70);
}


/* --------------------------------------------------------------------------
   WHATSAPP FLOATING BUTTON
   -------------------------------------------------------------------------- */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25D366;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.40);
  animation: whatsapp-pulse 2s ease-in-out infinite;
  transition: transform var(--transition-fast);
}

.whatsapp-float:hover {
  transform: scale(1.08);
}

/* Tooltip */
.whatsapp-tooltip {
  position: absolute;
  right: 70px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--deep-blue);
  color: var(--white);
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 0.82rem;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-fast);
  font-family: var(--font-body);
}

.whatsapp-tooltip::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -6px;
  transform: translateY(-50%);
  border: 4px solid transparent;
  border-left-color: var(--deep-blue);
}

.whatsapp-float:hover .whatsapp-tooltip {
  opacity: 1;
}


/* --------------------------------------------------------------------------
   SCROLL ANIMATIONS
   -------------------------------------------------------------------------- */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  transition-delay: var(--delay, 0s);
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}


/* --------------------------------------------------------------------------
   KEYFRAME ANIMATIONS
   -------------------------------------------------------------------------- */

/* Pulsing dot (hero badge green dot) */
@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.2);
    opacity: 0.75;
  }
}

/* Floating scroll indicator */
@keyframes float {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(-10px); }
}

/* Bouncing scroll arrow */
@keyframes bounce-down {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(5px); }
}

/* WhatsApp floating button pulse ring */
@keyframes whatsapp-pulse {
  0% {
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.40),
                0 0 0 0 rgba(37, 211, 102, 0.35);
  }
  70% {
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.40),
                0 0 0 14px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.40),
                0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* Fade in up (for JS-driven reveals) */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Counter pop (stat number animation) */
@keyframes counter-pop {
  0%, 100% { transform: scale(1); }
  50%       { transform: scale(1.1); }
}


/* --------------------------------------------------------------------------
   RESPONSIVE — TABLET (max 1024px)
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {

  /* Services */
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* About */
  .about-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about-content {
    padding-left: 0;
  }

  .about-illustration {
    max-width: 100%;
  }

  .about-badge-float {
    right: 16px;
    bottom: -16px;
  }

  /* Areas */
  .areas-grid {
    grid-template-columns: 1fr;
  }

  /* Process steps */
  .process-steps {
    flex-direction: column;
    align-items: center;
    gap: 0;
  }

  .process-step {
    width: 100%;
    max-width: 380px;
  }

  .process-connector {
    flex-direction: row;
    max-width: none;
    width: 60px;
    padding: 8px 0;
    transform: rotate(90deg);
    margin: 4px 0;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }

  /* Stats */
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-box {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.10);
  }

  .stat-box:nth-child(2n) {
    border-right: none;
  }

  .stat-box:nth-child(1),
  .stat-box:nth-child(2) {
    border-right: none;
  }

  .stat-box:last-child,
  .stat-box:nth-last-child(2) {
    border-bottom: none;
  }
}


/* --------------------------------------------------------------------------
   RESPONSIVE — MOBILE (max 768px)
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {

  /* Hamburger visible */
  .hamburger {
    display: flex;
  }

  /* Mobile nav menu */
  .nav-links {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    background: rgba(11, 30, 56, 0.97);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 32px;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-base);
    z-index: 999;
  }

  .nav-links.open {
    opacity: 1;
    pointer-events: all;
  }

  .nav-links .nav-link {
    font-size: 1.4rem;
    color: var(--white);
  }

  .nav-links .nav-link:hover {
    color: var(--amber);
  }

  .nav-links .btn-nav-cta {
    font-size: 1rem;
    padding: 14px 32px;
  }

  /* Mobilde begonvil küçük */
  .bougainvillea-decor {
    width: min(180px, 28vw);
  }

  .bougainvillea-img {
    object-position: center right;
  }

  /* Hero */
  .hero-content {
    padding-top: 100px;
    padding-bottom: 60px;
    text-align: center;
    margin: 0 auto;
  }

  .hero-title {
    font-size: clamp(1.9rem, 7vw, 2.8rem);
  }

  .hero-desc {
    font-size: 1rem;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-stats {
    flex-wrap: wrap;
    justify-content: center;
    padding: 16px;
    gap: 8px;
  }

  .hero-stat {
    flex: 1 1 80px;
    padding: 8px;
  }

  .hero-stat-divider {
    display: none;
  }

  .hero-stat-num {
    font-size: 1.8rem;
  }

  .hero-city-tag {
    justify-content: center;
    font-size: 0.78rem;
    letter-spacing: 3px;
  }

  /* Services */
  .services-grid {
    grid-template-columns: 1fr;
  }

  /* Stats */
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* About features */
  .about-features {
    grid-template-columns: 1fr;
  }

  /* Process */
  .process-steps {
    flex-direction: column;
  }

  .process-step {
    width: 100%;
    max-width: 100%;
    padding: 0 16px;
  }

  /* Testimonials */
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  /* Contact */
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .contact-form-wrapper {
    padding: 28px 20px;
  }

  /* CTA */
  .cta-actions {
    flex-direction: column;
    align-items: center;
    gap: 14px;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-body {
    padding: 48px 0 32px;
  }

  /* WhatsApp float smaller on mobile */
  .whatsapp-float {
    width: 52px;
    height: 52px;
    bottom: 20px;
    right: 20px;
  }

  /* Section headers */
  .section-header {
    margin-bottom: 40px;
  }

  /* Padding reductions */
  .services-section,
  .about-section,
  .areas-section,
  .process-section,
  .testimonials-section,
  .cta-section,
  .contact-section {
    padding: 70px 0;
  }

  .stats-bg {
    padding: 48px 0;
  }

  /* Scroll indicator hidden on small screens (interferes with content) */
  .scroll-indicator {
    display: none;
  }
}


/* --------------------------------------------------------------------------
   RESPONSIVE — SMALL MOBILE (max 480px)
   -------------------------------------------------------------------------- */
@media (max-width: 480px) {

  .hero-stats {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  .hero-stat {
    flex: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    padding: 12px 0;
  }

  .hero-stat:last-child {
    border-bottom: none;
  }

  .hero-stat-divider {
    display: none;
  }

  .btn-primary,
  .btn-whatsapp {
    width: 100%;
    justify-content: center;
  }

  .hero-actions {
    flex-direction: column;
  }

  .area-card {
    padding: 28px 20px;
  }

  .contact-form-wrapper {
    padding: 24px 16px;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .stat-box {
    padding: 24px 16px;
  }
}


/* --------------------------------------------------------------------------
   UTILITY CLASSES
   -------------------------------------------------------------------------- */

/* Visually hidden (screen reader only) */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Text truncation */
.truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Flex center utility */
.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .animate-on-scroll {
    opacity: 1;
    transform: none;
  }
}
