:root {
  /* Buz Mavisi & Kurumsal Palet */
  --bg-main: #edf3f8;          /* Ferah Buz Mavisi Zemin */
  --bg-surface: #ffffff;       /* Kart & Panel Beyazı */
  --bg-subtle: #e1ecf5;        
  
  --primary-navy: #0d1b2a;     /* Derin Gece Laciverti */
  --text-dark: #1e293b;        
  --text-muted: #5b6f84;       
  
  --gold-primary: #c59b27;     /* Kurumsal Altın */
  --gold-light: #e6ca65;
  --gold-gradient: linear-gradient(135deg, #d4af37 0%, #b8860b 100%);
  
  --border-light: #d4e2ee;     
  --border-gold: rgba(197, 155, 39, 0.35);
  
  --shadow-sm: 0 4px 12px rgba(13, 27, 42, 0.05);
  --shadow-md: 0 10px 25px rgba(13, 27, 42, 0.08);
  --shadow-lg: 0 18px 40px rgba(13, 27, 42, 0.12);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  font-family: 'Montserrat', sans-serif;
  background-color: var(--bg-main);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* 1. Top Bar */
.top-bar {
  background-color: var(--primary-navy);
  color: #e2e8f0;
  font-size: 0.85rem;
  padding: 9px 0;
  position: relative;
  z-index: 1001;
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.top-bar-info {
  display: flex;
  gap: 22px;
  align-items: center;
  flex-wrap: wrap;
}

.top-bar-info a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}

.top-bar-info a:hover {
  color: var(--gold-light);
}

.top-bar-info i {
  color: var(--gold-light);
  margin-right: 6px;
}

/* 2. Navigation Bar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 30px;
  background: rgba(237, 243, 248, 0.96);
  border-bottom: 1px solid var(--border-light);
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

/* Navbar Yuvarlak Logo */
.nav-logo-img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: contain;
  padding: 3px;
  border: 2px solid var(--gold-primary);
  background-color: #ffffff;
  box-shadow: 0 2px 8px rgba(197, 155, 39, 0.25);
}

.nav-brand-text-wrap {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.nav-brand-main {
  font-family: 'Playfair Display', serif;
  font-size: 1.22rem;
  font-weight: 700;
  color: var(--primary-navy);
  letter-spacing: 0.8px;
  line-height: 1.15;
}

.nav-brand-sub {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  color: var(--gold-primary);
  text-transform: uppercase;
  margin-top: 2px;
}

.nav-links {
  display: flex;
  gap: 24px;
  list-style: none;
}

.nav-links a {
  color: var(--text-dark);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: var(--gold-primary);
}

.nav-btn {
  background: var(--gold-gradient);
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.88rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(197, 155, 39, 0.3);
  display: inline-block;
  white-space: nowrap;
}

.nav-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(197, 155, 39, 0.45);
}

/* 3. Hero Section (Eğitim Temalı Arka Plan & Ortalanmış Karşılama) */
.hero {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: #edf3f8 url('images/hero_bg.jpg') center/cover no-repeat;
  padding: 60px 0 100px;
  border-bottom: 1px solid var(--border-light);
  overflow: hidden;
  z-index: 1;
}

/* Merkeze derinlik katan hafif altın ışıma */
.hero::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(197, 155, 39, 0.10) 0%, rgba(237, 243, 248, 0) 70%);
  pointer-events: none;
  z-index: -1;
}

/* Hero Yuvarlak Logo */
.hero-logo {
  width: 155px;
  height: 155px;
  border-radius: 50%;
  object-fit: contain;
  padding: 10px;
  border: 4px solid var(--gold-primary);
  background-color: #ffffff;
  box-shadow: 0 10px 30px rgba(13, 27, 42, 0.12), 0 0 25px rgba(197, 155, 39, 0.25);
  margin-bottom: 22px;
}

.hero-slogan-sub {
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.hero-slogan-main {
  font-size: 3.6rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--primary-navy);
  letter-spacing: 3px;
  margin-bottom: 15px;
}

.hero-slogan-main span {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-tagline {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--gold-primary);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.hero-cta-btn {
  font-size: 1rem;
  padding: 14px 34px;
}

/* 4. Programlar Sarmalayıcı (Katman Çakışmasını Önleyen Yapı) */
.programs-wrapper {
  position: relative;
  z-index: 10;
  margin-top: -55px;
}

.section-anchor {
  position: relative;
  top: -90px;
}

/* 5. Başlıklar */
.section-header {
  text-align: center;
  margin: 65px 0 35px;
}

.section-title {
  font-size: 2.1rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--primary-navy);
  margin-bottom: 8px;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--gold-gradient);
  margin: 8px auto 0;
  border-radius: 2px;
}

.section-subtitle {
  font-size: 0.98rem;
  color: var(--text-muted);
}

/* 6. Kart Izgaraları */
.grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}

.card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: 14px;
  padding: 34px 22px;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
}

.card:hover {
  transform: translateY(-6px);
  border-color: var(--gold-primary);
  box-shadow: var(--shadow-md);
}

.card-icon {
  font-size: 2.4rem;
  color: var(--gold-primary);
  margin-bottom: 16px;
}

.card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-navy);
  margin-bottom: 8px;
}

.card-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
}

/* 7. Yaz Kampı Bloğu */
.camp-banner {
  background: linear-gradient(135deg, #ffffff 0%, #f3f8fc 100%);
  border: 1.5px solid var(--border-gold);
  border-radius: 18px;
  padding: 38px;
  margin: 50px 0;
  display: flex;
  align-items: center;
  gap: 35px;
  flex-wrap: wrap;
  box-shadow: var(--shadow-md);
}

.camp-img {
  width: 220px;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  object-fit: cover;
}

.camp-content {
  flex: 1;
  min-width: 280px;
}

.camp-content h3 {
  font-size: 2.1rem;
  color: var(--primary-navy);
  margin-bottom: 12px;
  font-weight: 800;
}

.camp-content h3 i {
  color: var(--gold-primary);
}

.camp-content p {
  color: var(--text-muted);
  margin-bottom: 22px;
  font-size: 1.02rem;
}

/* 8. Eğitim Kadrosu Kartı */
.single-feature-card {
  background: var(--bg-surface);
  border-radius: 18px;
  border: 1px solid var(--border-light);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-bottom: 50px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
}

.single-feature-card img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
}

.feature-card-body {
  padding: 40px;
}

.feature-card-body h3 {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--primary-navy);
  margin-bottom: 16px;
  line-height: 1.35;
}

.feature-card-body p {
  font-size: 1.02rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* 9. Fiziki Ortam Galeri Izgarası (3'lü Kart Yapısı) */
.gallery-grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
  margin: 30px 0 50px;
}

.gallery-card {
  background: var(--bg-surface);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.gallery-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-gold);
}

.gallery-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.gallery-card:hover img {
  transform: scale(1.04);
}

.gallery-body {
  padding: 22px;
}

.gallery-body h4 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary-navy);
  margin-bottom: 8px;
}

.gallery-body p {
  font-size: 0.92rem;
  color: var(--text-muted);
}

/* 10. Kayıt CTA Banner */
.cta-banner {
  background: var(--gold-gradient);
  color: #ffffff;
  padding: 44px 24px;
  border-radius: 16px;
  text-align: center;
  margin: 60px 0;
  box-shadow: 0 14px 35px rgba(197, 155, 39, 0.35);
}

.cta-banner h2 {
  font-size: 2.3rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  margin-bottom: 12px;
}

.cta-banner p {
  font-size: 1.2rem;
  font-weight: 600;
}

.cta-banner a {
  color: #ffffff;
  text-decoration: underline;
  font-weight: 800;
}

/* 11. İletişim ve Harita */
.contact-section {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 0;
  margin: 40px 0 90px;
  background: var(--bg-surface);
  border-radius: 18px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.contact-info-panel {
  padding: 45px 35px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
  background-color: #f7fafc;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
}

.contact-icon {
  font-size: 1.5rem;
  color: var(--gold-primary);
  margin-top: 3px;
  width: 24px;
  text-align: center;
}

.contact-item-text h4 {
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--primary-navy);
  margin-bottom: 4px;
}

.contact-item-text p, 
.contact-item-text a {
  font-size: 0.95rem;
  color: var(--text-muted);
  text-decoration: none;
}

.contact-item-text a:hover {
  color: var(--gold-primary);
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  min-height: 400px;
  border: 0;
}

/* 12. Footer */
footer {
  background: var(--primary-navy);
  color: #94a3b8;
  padding: 32px 0;
  text-align: center;
  font-size: 0.88rem;
}

/* 13. Sabit WhatsApp Butonu */
.floating-whatsapp {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background: #25d366;
  color: #ffffff;
  padding: 14px 24px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
  z-index: 1000;
  transition: transform 0.2s, box-shadow 0.2s;
}

.floating-whatsapp:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.55);
}

/* 14. Responsive / Mobil Uyumluluk */
@media (max-width: 900px) {
  .programs-wrapper {
    margin-top: 20px;
  }

  .single-feature-card,
  .contact-section {
    grid-template-columns: 1fr;
  }
  
  .single-feature-card img {
    height: 280px;
  }
  
  .navbar {
    padding: 12px 20px;
  }
  
  .nav-links, 
  .nav-btn {
    display: none;
  }
  
  .hero-slogan-main {
    font-size: 2.4rem;
  }
  
  .hero-logo {
    width: 125px;
    height: 125px;
    padding: 8px;
  }
}