/* --- Değişkenler ve Genel Ayarlar (hafifletilmiş palet) --- */
:root {
    --primary-color: #0A2647;   /* açık/ferah ton */
    --secondary-color: #20C38E; /* daha canlı ama dengeli */
    --bg-color: #F7F9FB;        /* daha açık arka plan */
    --text-color: #222831;      /* daha yumuşak koyu ton */
    --white: #ffffff;
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: var(--font-body);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.7;
}
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* --- Header & Navigasyon --- */
header {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 1rem 0;
    position: sticky; top: 0; z-index: 1000;
    box-shadow: 0 1px 8px rgba(0,0,0,0.06);
}
nav { display: flex; justify-content: space-between; align-items: center; }
.logo { font-family: var(--font-heading); font-size: 1.8rem; font-weight: 700; text-decoration: none; color: var(--white); }
.nav-links { list-style: none; display: flex; gap: 30px; }
.nav-links a { text-decoration: none; color: var(--white); font-weight: 500; padding-bottom: 5px; border-bottom: 2px solid transparent; transition: border-color 0.3s; }
.nav-links a:hover, .nav-links a.active { border-color: var(--secondary-color); }
.hamburger { display: none; background: none; border: none; cursor: pointer; z-index: 1001; }
.hamburger span { display: block; width: 28px; height: 3px; background-color: var(--white); margin: 6px 0; border-radius: 2px; transition: all 0.3s ease-in-out; }

/* ensure mobile menu is visible and body scroll locked when open */
.nav-links.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 70px;
    right: 0;
    background-color: var(--primary-color);
    width: 100%;
    padding: 20px 0;
    text-align: center;
    gap: 20px;
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(7px, 7px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(7px, -7px); }
body.nav-open { overflow: hidden; touch-action: none; }
.hamburger { z-index: 2000; }
.nav-links { z-index: 1999; }

/* --- Hero Section --- */
/* overlay opaklığı azaltıldı, padding ve gölge hafifletildi */
.hero {
    background: linear-gradient(rgba(18,58,102,0.68), rgba(18,58,102,0.68)), url('https://images.unsplash.com/photo-1590623389907-e49251052d9a?w=1080') no-repeat center center/cover;
    color: var(--white);
    text-align: center;
    padding: 100px 20px;
}
.hero h1 { font-family: var(--font-heading); font-size: 3rem; margin-bottom: 1rem; text-shadow: 0 4px 12px rgba(0,0,0,0.28); }
.hero p { font-size: 1.05rem; max-width: 760px; margin: 0 auto 1.8rem auto; opacity: 0.95; text-shadow: 0 3px 10px rgba(0,0,0,0.18); }
.cta-button {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 12px 28px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    font-family: var(--font-heading);
    display: inline-block;
    transition: transform 0.2s, box-shadow 0.2s;
}
.cta-button:hover { transform: translateY(-4px); box-shadow: 0 8px 20px rgba(32,195,142,0.12); }
.cta-button.secondary { background-color: var(--white); color: var(--primary-color); }

/* --- Diğer Bölümler --- */
.info-section { text-align: center; padding: 60px 20px; }
.info-section h2 { font-family: var(--font-heading); font-size: 2.2rem; margin-bottom: 1rem; color: var(--primary-color); }
.section-intro {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 2.8rem auto;
    font-size: 1.05rem;
    color: #556;
}
.info-cards { display: flex; justify-content: center; gap: 30px; flex-wrap: wrap; }
.card { background-color: var(--white); padding: 22px; border-radius: 12px; box-shadow: 0 6px 18px rgba(0,0,0,0.04); max-width: 360px; text-align: left; }
.card img { max-width: 80px; margin-bottom: 1rem; height: 80px; object-fit: contain; }
.card h3 { font-family: var(--font-heading); margin: 0.6rem 0; font-size: 1.25rem; }

/* Activities section: daha açık zemin ve yumuşak kartlar */
.activities-preview-section {
    padding: 60px 20px;
    text-align: center;
    background-color: #F2F6FA;
}
.activities-preview-section h2 { font-family: var(--font-heading); font-size: 2rem; margin-bottom: 1rem; }
.activities-preview-section p { margin-bottom: 2rem; color: #555; }

/* Etkinlik bölümü görünüm düzeltmeleri */
.activities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    text-align: left;
    max-width: 1000px;
    margin: 0 auto;
    background: transparent;
    padding: 12px;
    border-radius: 12px;
    box-sizing: border-box;
}
.activities-grid.preview { max-width: 900px; margin: 0 auto 2.5rem auto; }
.activity-card {
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(12,40,70,0.06);
    border: 1px solid rgba(18,58,102,0.04);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.activity-card img { width: 100%; height: 160px; object-fit: cover; }
.activity-content { padding: 16px; flex-grow: 1; display: flex; flex-direction: column; }
.activity-content h3 { font-family: var(--font-heading); color: var(--primary-color); margin: 0 0 6px 0; }
.activity-content p { margin: 0.25rem 0 1rem 0; flex-grow: 1; color: #444; }
.activity-content a { text-decoration: none; color: var(--secondary-color); font-weight: 700; }

/* Sticky CTA: DEFAULT GIZLI, JS .visible ile açılacak */
.sticky-cta {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 14px;
  z-index: 3000;
  display: none;             /* JS'e bırakıldı */
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 260ms ease, transform 260ms ease;
  pointer-events: none;
}
.sticky-cta.visible {
  display: block;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* Yardım CTA ve sonuç stilleri */
.help-cta { background-color: var(--primary-color); color: var(--white); text-align: center; padding: 60px 20px; border-radius: 8px; }
.help-cta h2 { font-family: var(--font-heading); font-size: 2rem; margin-bottom: 1rem; }
.help-cta p { max-width: 600px; margin: 0 auto 2rem auto; opacity: 0.9; }

/* Page content, headings */
.page-content { padding: 40px 20px; }
.page-content h1 { font-size: 2.6rem; text-align: center; font-family: var(--font-heading); color: var(--primary-color); }
.subtitle { text-align: center; font-size: 1.05rem; margin-top: -6px; margin-bottom: 30px; color: #575; max-width: 760px; margin-left:auto; margin-right:auto; }

/* Quiz & controls */
.quiz-container { background: var(--white); padding: 26px 30px; border-radius: 12px; max-width: 780px; margin: 0 auto; box-shadow: 0 6px 18px rgba(0,0,0,0.06); }
#progress-bar { background-color: var(--secondary-color); }

/* Footer */
footer { background: #2b2b2b; color: #ddd; text-align: center; padding: 18px; font-size: 0.9rem; margin-top: 40px; }

/* Mobil Uyum (Responsive) */
@media (max-width: 768px) {
    .nav-links { display: none; }
    .hamburger { display: block; }
    .hero h1 { font-size: 2.2rem; }
    .page-content h1 { font-size: 2rem; }
    .info-section h2, .help-cta h2, .activities-preview-section h2 { font-size: 1.8rem; }
    .info-cards { flex-direction: column; align-items: center; }
    .section-intro { margin-bottom: 2rem; }
    .activities-grid, .activities-grid.preview { grid-template-columns: 1fr; }
    .quiz-container { padding: 20px; }
    #question-container p { font-size: 1.2rem; }
}","message":"Update css/style.css with new styles","owner":"AYEXdws","path":"css/style.css","repo":"kontrol-sende2"}
:root {
  /* Eski marka rengine geri dönüş */
  --primary-color: #0A2647;   /* ESKI marka rengi (orijinal) */
  --secondary-color: #20C38E;
  --bg-color: #F7F9FB;
  --text-color: #222831;
  --white: #ffffff;
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;
}

/* ... (diğer global stiller korunur) ... */

/* Sticky CTA: DEFAULT GIZLI, JS .visible ile açılacak */
.sticky-cta {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 14px;
  z-index: 3000;
  display: none;             /* JS'e bırakıldı */
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 260ms ease, transform 260ms ease;
  pointer-events: none;
}
.sticky-cta.visible {
  display: block;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* Sayfaya özel: Bağımlılık Kütüphanesi (subtitle beyaz, hero arka planı biraz daha koyu) */
.page-bagimlilik .hero {
  /* daha az açık arka plan: overlay biraz koyulaştırıldı */
  background: linear-gradient(rgba(10,38,71,0.82), rgba(10,38,71,0.82)), url('https://images.unsplash.com/photo-1590623389907-e49251052d9a?w=1080') no-repeat center center/cover;
  color: var(--white);
}
.page-bagimlilik .subtitle {
  color: #ffffff !important; /* beyaz yap */
}

/* Eğer quick-summary negative margin varsa, overlap etkisini azalt */
.page-bagimlilik .quick-summary { margin-top: -8px; }

/* (site genelindeki diğer stiller burada kalır) */
/* --- Renk değişkenleri: eski marka rengi geri getirildi --- */
:root {
  --primary-color: #0A2647;   /* eski marka rengi (daha koyu mavi) */
  --secondary-color: #20C38E; /* CTA rengi (isteğe bağlı değiştirilebilir) */
  --bg-color: #F7F9FB;
  --text-color: #222831;
  --white: #FFFFFF;
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;
}

/* ----- Sayfaya özel: Bağımlılık Kütüphanesi ----- */
/* subtitle beyaz, hero overlay biraz daha koyu (okunurluk için) */
.page-bagimlilik .hero {
  background: linear-gradient(rgba(10,38,71,0.86), rgba(10,38,71,0.86)),
              url('https://images.unsplash.com/photo-1590623389907-e49251052d9a?w=1080') no-repeat center center/cover;
  color: var(--white);
    .page-bagimlilik .hero-sub h1 {
  color: #ffffff !important;
}
}
.page-bagimlilik .subtitle {
  color: #ffffff !important;
}

/* negative margin overlap etkisini azalt (daha stabil hero gözlemi için) */
.page-bagimlilik .quick-summary {
  margin-top: -8px; /* gerekiyorsa 0 yapın */
}

/* ----- Sticky CTA: varsayılan JS kontrollü, ama sayfa-bazlı zorla gizleme ----- */
/* genel: JS ile .visible eklendiğinde görünür olmalı (varsa zaten). */
.sticky-cta {
  display: none;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 260ms ease, transform 260ms ease;
  pointer-events: none;
}
.sticky-cta.visible {
  display: block;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* BAGIMLILIK SAYFASINDA ALT YEŞİL BUTONU TAMAMEN GİZLE (önlem) */
.page-bagimlilik .sticky-cta {
  display: none !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* Mobil için önemli: medya sorgularında display değiştirilmiyorsa bunu da güvenceye alın */
@media (max-width:768px){
  .page-bagimlilik .sticky-cta { display: none !important; }
}
/* PC (büyük ekran) görünümünü düzeltme */
@media (min-width: 1024px) {
  .info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 20px;
  }

  .info-cards .card {
    max-width: 100% !important;
    margin: 0 !important;
  }

  .quick-summary .card {
    max-width: 100%;
    width: 100%;
  }

  .container {
    max-width: 1200px;
    margin: 0 auto;
  }
}
.result-highlight {
  background: #fff3a6 !important;
  padding: 2px 4px;
  border-radius: 4px;
}
/* Scroll reveal animasyonları */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.6s ease-out,
    transform 0.6s ease-out;
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
/* === BROŞÜR MODU === */
.detail-gallery.brochure-mode img {
  width: 100%;
  height: auto;              /* sabit yükseklik YOK */
  max-height: 420px;         /* aşırı uzamasın */
  object-fit: contain;       /* KIRPMA YOK */
  background: #ffffff;       /* boşluklar beyaz */
  padding: 10px;
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.08);
}

