/**
 * Bil-Fen Cinema V4 — Stylesheet
 * Palette: Night Navy (#071A33), Deep Surface (#0C2140), Warm Gold (#E8C15A), Off-White (#F6F5F1)
 */

:root {
  --bg-dark: #071A33;
  --bg-surface: #0C2140;
  --bg-elevated: #112B52;
  --gold: #E8C15A;
  --gold-light: #F7D88B;
  --gold-dark: #C49F3A;
  --gold-glow: rgba(232, 193, 90, 0.28);
  --white: #FFFFFF;
  --off-white: #F6F5F1;
  --text-muted: #9BAEC7;
  --text-dim: #6B82A1;
  --border-subtle: rgba(232, 193, 90, 0.18);
  --border-card: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(232, 193, 90, 0.45);
  --font-display: 'Cinzel', serif;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --container-max: 1340px;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-sans);
  background-color: var(--bg-dark);
  color: var(--white);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  overflow-x: hidden;
  line-height: 1.65;
  font-size: 16px;
  background-color: var(--bg-dark);
  color: var(--off-white);
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.25s ease;
}

img, video {
  display: block;
  max-width: 100%;
  height: auto;
}

.screen-reader-text {
  position: absolute;
  top: -9999px;
  left: -9999px;
}

.container {
  width: min(var(--container-max), calc(100% - 48px));
  margin-inline: auto;
}

/* Ambient noise & grid lines */
.cinema-backdrop {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background: radial-gradient(circle at 50% 20%, rgba(232, 193, 90, 0.04) 0%, transparent 60%);
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 20px 0;
  transition: background 0.35s ease, padding 0.35s ease, backdrop-filter 0.35s ease, border 0.35s ease;
}

.site-nav.scrolled {
  background: rgba(7, 26, 51, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 14px 0;
  border-bottom: 1px solid var(--border-subtle);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.site-header-logo {
  height: 48px;
  width: auto;
  max-width: 210px;
  object-fit: contain;
  display: block;
  transition: transform 0.25s ease;
}

.brand-logo:hover .site-header-logo {
  transform: scale(1.02);
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  margin-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.drawer-logo {
  height: 42px;
  width: auto;
  max-width: 170px;
  object-fit: contain;
  display: block;
}

.footer-logo {
  height: 50px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  display: block;
}

.page-hero-logo {
  height: 64px;
  width: auto;
  max-width: 260px;
  object-fit: contain;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--off-white);
  position: relative;
  padding-block: 6px;
  transition: color 0.25s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.nav-link:hover {
  color: var(--gold);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.btn-gold {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 26px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: #071A33;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 20px var(--gold-glow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  cursor: pointer;
  border: none;
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(232, 193, 90, 0.45);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  border: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.03);
  color: var(--white);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  transition: all 0.25s ease;
}

.btn-outline:hover {
  border-color: var(--gold);
  background: rgba(232, 193, 90, 0.08);
  color: var(--gold);
}

.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border-subtle);
  color: var(--white);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 20px;
  cursor: pointer;
}

/* MOBILE DRAWER */
.mobile-menu-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: min(360px, 85vw);
  height: 100vh;
  background: var(--bg-surface);
  border-left: 1px solid var(--border-subtle);
  z-index: 150;
  padding: 80px 32px 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: -15px 0 40px rgba(0, 0, 0, 0.6);
}

.mobile-menu-drawer.active {
  right: 0;
}

.mobile-close-btn {
  position: absolute;
  top: 24px;
  right: 24px;
  background: none;
  border: 1px solid var(--border-subtle);
  color: var(--white);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-cinema {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 100px;
  isolation: isolate;
}

.hero-bg-layer {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.38) contrast(1.15) saturate(0.9);
  transform: scale(1.02);
  transition: transform 10s ease-out;
}

.hero-video-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.35) contrast(1.15);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(7, 26, 51, 0.45) 0%,
    rgba(7, 26, 51, 0.75) 60%,
    var(--bg-dark) 100%
  );
  z-index: -1;
}

.hero-cinema-content {
  max-width: 900px;
  padding-block: 80px 120px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 16px;
  background: rgba(232, 193, 90, 0.08);
  border: 1px solid var(--border-subtle);
  border-radius: 50px;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 28px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--gold);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

.hero-title-main {
  font-family: var(--font-display);
  font-size: clamp(38px, 6vw, 68px);
  line-height: 1.1;
  font-weight: 900;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 24px;
}

.gold-italic {
  display: block;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 600;
  color: var(--gold-light);
  letter-spacing: 0.01em;
  text-transform: none;
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-lead-text {
  font-size: clamp(16px, 1.8vw, 19px);
  line-height: 1.7;
  color: var(--off-white);
  max-width: 720px;
  margin-bottom: 38px;
  font-weight: 400;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-button-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
}

.hero-scroll-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding-block: 16px;
  background: rgba(7, 26, 51, 0.65);
  backdrop-filter: blur(8px);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--text-muted);
}

.hero-scroll-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.scroll-indicator-mouse {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--gold);
}

.mouse-icon {
  width: 18px;
  height: 28px;
  border: 1px solid var(--gold);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  padding-top: 4px;
}

.mouse-wheel {
  width: 3px;
  height: 6px;
  background: var(--gold);
  border-radius: 2px;
  animation: mouseMove 1.6s infinite;
}

@keyframes mouseMove {
  0% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(10px); opacity: 0; }
}

/* ==========================================================================
   EĞİTİM MODELİMİZ & ACADEMIC PILLARS
   ========================================================================== */
.cinema-scenes-wrapper {
  padding: 120px 0;
  position: relative;
}

.section-header-cinema {
  text-align: center;
  margin-bottom: 70px;
}

.section-eyebrow {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 12px;
}

.section-heading-cinema {
  font-family: var(--font-display);
  font-size: clamp(30px, 4.2vw, 48px);
  line-height: 1.18;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--white);
}

.section-heading-cinema em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 600;
  color: var(--gold-light);
}

.scene-stack {
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.scene-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  background: var(--bg-surface);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 40px;
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
  position: relative;
  overflow: hidden;
}

.scene-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-hover);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.scene-card.reverse {
  direction: rtl;
}

.scene-card.reverse > * {
  direction: ltr;
}

.scene-media {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.scene-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.scene-card:hover .scene-media img {
  transform: scale(1.04);
}

.scene-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(7, 26, 51, 0.88);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-subtle);
  color: var(--gold);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: var(--radius-sm);
  z-index: 2;
}

.scene-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.scene-number {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
}

.scene-title {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1.25;
  font-weight: 700;
  color: var(--white);
}

.scene-desc {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-muted);
}

.scene-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 8px;
}

.scene-list li {
  position: relative;
  padding-left: 22px;
  font-size: 14px;
  color: var(--off-white);
  line-height: 1.5;
}

.scene-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--gold);
  font-weight: bold;
}

/* ==========================================================================
   BURSLULUK BANNER
   ========================================================================== */
.exam-banner-section {
  padding: 70px 0;
  background: linear-gradient(135deg, #0C2140 0%, #112B52 100%);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  position: relative;
}

.exam-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.exam-banner-copy {
  max-width: 720px;
}

.exam-banner-copy h2 {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.2vw, 40px);
  font-weight: 800;
  line-height: 1.2;
  margin-block: 8px 12px;
}

.exam-banner-copy h2 span {
  color: var(--gold-light);
  font-family: var(--font-serif);
  font-style: italic;
}

.exam-banner-copy p {
  color: var(--off-white);
  font-size: 15px;
  line-height: 1.6;
}

/* ==========================================================================
   PROGRAMLAR VE SINIF DÜZEYLERİ (9, 10, 11, 12)
   ========================================================================== */
.programs-section {
  padding: 120px 0;
  background: var(--bg-dark);
}

.programs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.program-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 34px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

.program-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-hover);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.45);
}

.program-grade-badge {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 14px;
}

.program-title {
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 6px;
  line-height: 1.35;
}

.program-focus-tag {
  display: inline-block;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 14px;
}

.program-desc {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}

.program-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
  flex-grow: 1;
}

.program-features li {
  font-size: 13px;
  color: var(--off-white);
  position: relative;
  padding-left: 18px;
  line-height: 1.45;
}

.program-features li::before {
  content: '•';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--gold);
  font-weight: bold;
}

/* ==========================================================================
   MALATYA ŞUBELERİMİZ
   ========================================================================== */
.branches-section {
  padding: 110px 0;
  background: var(--bg-surface);
  border-top: 1px solid var(--border-card);
}

.branches-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.branch-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 38px 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.branch-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-hover);
}

.branch-type {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 8px;
}

.branch-name {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
}

.branch-detail {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 12px;
}

.branch-detail-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 14px;
  color: var(--off-white);
  line-height: 1.5;
}

.branch-icon {
  color: var(--gold);
  font-size: 18px;
  line-height: 1.2;
}

.branch-phone-link {
  font-size: 18px;
  font-weight: 700;
  color: var(--gold-light);
}

.branch-phone-link:hover {
  color: var(--gold);
}

/* ==========================================================================
   İLETİŞİM & CALL TO ACTION
   ========================================================================== */
.contact-cta-section {
  padding: 120px 0;
  text-align: center;
  background: radial-gradient(circle at 50% 50%, #0F2A50 0%, var(--bg-dark) 80%);
  border-top: 1px solid var(--border-card);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer-cinema {
  background: #041021;
  border-top: 1px solid var(--border-card);
  padding: 50px 0 35px;
  font-size: 13px;
  color: var(--text-muted);
}

.footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
}

.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-links a:hover {
  color: var(--gold);
}

.footer-copy-col {
  text-align: right;
}

/* ==========================================================================
   BURSLULUK VE STANDART SAYFA DÜZENİ
   ========================================================================== */
.page-hero-cinema {
  padding: 140px 0 70px;
  background: linear-gradient(180deg, rgba(7, 26, 51, 0.9) 0%, var(--bg-dark) 100%);
  border-bottom: 1px solid var(--border-card);
  text-align: center;
}

.page-title-cinema {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.5vw, 54px);
  font-weight: 800;
  line-height: 1.15;
  margin-block: 16px 14px;
}

.page-lead-cinema {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 640px;
  margin-inline: auto;
}

.page-content-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 40px;
  padding: 70px 0 120px;
}

.plugin-embed-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 36px;
}

.shortcode-placeholder {
  text-align: center;
  padding: 40px 20px;
  color: var(--text-muted);
}

.shortcode-placeholder h2 {
  color: var(--white);
  margin-bottom: 10px;
}

.sidebar-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 28px;
  margin-bottom: 24px;
}

.sidebar-card.outline {
  background: transparent;
  border-color: var(--border-subtle);
}

.sidebar-kicker {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  display: block;
  margin-bottom: 8px;
}

.sidebar-phone {
  margin-top: 14px;
  font-size: 18px;
  font-weight: 800;
  color: var(--gold);
}

/* ==========================================================================
   RESPONSIVE DESIGN (1440, 1024, 768, 390, 375 px)
   ========================================================================== */
@media (max-width: 1200px) {
  .programs-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 991px) {
  .nav-menu {
    display: none;
  }
  .menu-toggle {
    display: block;
  }
  .scene-card {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 30px;
  }
  .scene-card.reverse {
    direction: ltr;
  }
  .branches-grid {
    grid-template-columns: 1fr;
  }
  .page-content-layout {
    grid-template-columns: 1fr;
  }
  .footer-row {
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-copy-col {
    text-align: left;
  }
}

@media (max-width: 640px) {
  .container {
    width: calc(100% - 32px);
  }
  .hero-cinema {
    padding-top: 80px;
  }
  .hero-cinema-content {
    padding-block: 50px 80px;
  }
  .hero-title-main {
    font-size: 32px;
  }
  .hero-button-group {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-button-group .btn-gold,
  .hero-button-group .btn-outline {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
  .hero-scroll-bar {
    display: none;
  }
  .programs-grid {
    grid-template-columns: 1fr;
  }
  .exam-banner-inner {
    flex-direction: column;
    align-items: stretch;
  }
  .exam-banner-inner .btn-gold {
    width: 100%;
    justify-content: center;
  }
}

/* Reduced motion */
@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;
  }
}

/* ==========================================================================
   WHATSAPP INTEGRATION & BUTTONS
   ========================================================================== */
.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: #25D366;
  color: #FFFFFF !important;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.02em;
  border-radius: 8px;
  padding: 10px 18px;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.15);
  cursor: pointer;
}

.btn-whatsapp:hover {
  background-color: #20BA5A;
  color: #FFFFFF !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(37, 211, 102, 0.42);
}

.btn-whatsapp:active {
  transform: translateY(0);
}

.wa-icon {
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}

.wa-green {
  color: #25D366 !important;
}

.whatsapp-link {
  color: #25D366 !important;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s ease;
}

.whatsapp-link:hover {
  color: #20BA5A !important;
  text-decoration: underline;
}

/* Floating WhatsApp button */
.whatsapp-float-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: #25D366;
  color: #FFFFFF !important;
  padding: 13px 20px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
}

.whatsapp-float-btn:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.55);
  background-color: #20BA5A;
}

@media (max-width: 640px) {
  .whatsapp-float-btn {
    bottom: 18px;
    right: 18px;
    padding: 12px;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    justify-content: center;
  }
  .wa-float-text {
    display: none;
  }
  .btn-whatsapp-text {
    display: none;
  }
  .btn-whatsapp {
    padding: 8px 12px;
  }
}


/* ==========================================================================
   BİL-FEN YKS KURUMSAL KİMLİK & GÖRSEL GELİŞTİRMELERİ
   ========================================================================== */

/* Hero Text Shadow for Maximum Readability */
.hero-title-main {
  text-shadow: 0 4px 28px rgba(0, 0, 0, 0.9);
}

.hero-lead-text {
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.9);
}

/* Enhanced Program Cards with Media Banners */
.program-card {
  padding: 0 !important;
  overflow: hidden;
}

.program-img-wrap {
  position: relative;
  width: 100%;
  height: 180px;
  overflow: hidden;
  background: #040D1A;
}

.program-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.program-card:hover .program-img-wrap img {
  transform: scale(1.06);
}

.program-grade-pill {
  position: absolute;
  bottom: 12px;
  left: 14px;
  background: var(--gold);
  color: #040D1A;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 11px;
  padding: 4px 12px;
  border-radius: 20px;
  letter-spacing: 0.1em;
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
}

.program-body {
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: space-between;
}

.program-details-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 8px;
  padding: 14px 16px;
  margin: 14px 0 18px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.p-detail-item {
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--off-white);
}

.p-detail-item strong {
  display: block;
  font-size: 11.5px;
  color: var(--gold-light);
  margin-bottom: 2px;
  font-weight: 700;
  letter-spacing: 0.03em;
}

/* 3-Column Responsive Branch Cards */
.branches-grid {
  grid-template-columns: repeat(3, 1fr) !important;
}

.branch-card {
  padding: 0 !important;
  overflow: hidden;
}

.branch-img-wrap {
  position: relative;
  width: 100%;
  height: 190px;
  overflow: hidden;
  background: #040D1A;
}

.branch-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.branch-card:hover .branch-img-wrap img {
  transform: scale(1.05);
}

.branch-type-pill {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(4, 13, 26, 0.88);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 184, 0, 0.4);
  color: var(--gold);
  font-size: 10px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 100px;
  letter-spacing: 0.12em;
}

.branch-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
}

/* ==========================================================================
   INSTAGRAM SECTION: 📸 BİL-FEN'DE YAŞAM
   ========================================================================== */
.instagram-section {
  padding: 100px 0;
  position: relative;
  background: linear-gradient(180deg, var(--bg-dark) 0%, rgba(12, 33, 64, 0.6) 50%, var(--bg-dark) 100%);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.instagram-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.instagram-card {
  display: block;
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-surface);
  border: 1px solid var(--border-card);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s ease, box-shadow 0.35s ease;
  aspect-ratio: 1 / 1;
}

.instagram-card:hover,
.instagram-card:focus-visible {
  transform: translateY(-6px);
  border-color: var(--border-hover);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5), 0 0 20px var(--gold-glow);
  outline: none;
}

.instagram-img-wrap {
  position: relative;
  width: 100%;
  height: 100%;
}

.instagram-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.instagram-card:hover .instagram-img-wrap img,
.instagram-card:focus-visible .instagram-img-wrap img {
  transform: scale(1.08);
}

.instagram-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 26, 51, 0.3) 0%, rgba(7, 26, 51, 0.92) 80%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  opacity: 0;
  transition: opacity 0.35s ease, backdrop-filter 0.35s ease;
  backdrop-filter: blur(4px);
}

.instagram-card:hover .instagram-overlay,
.instagram-card:focus-visible .instagram-overlay {
  opacity: 1;
}

.instagram-icon-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  color: var(--gold);
  background: rgba(7, 26, 51, 0.85);
  border: 1px solid var(--border-subtle);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.instagram-post-tag {
  display: inline-block;
  align-self: flex-start;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(232, 193, 90, 0.12);
  border: 1px solid rgba(232, 193, 90, 0.25);
  padding: 4px 10px;
  border-radius: 100px;
  margin-bottom: 8px;
}

.instagram-card-caption {
  font-size: 13px;
  color: var(--off-white);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 12px;
}

.instagram-view-btn {
  font-size: 12px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.05em;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.instagram-cta-wrap {
  margin-top: 48px;
  display: flex;
  justify-content: center;
}

.btn-instagram {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: linear-gradient(135deg, #405DE6, #5851DB, #833AB4, #C13584, #E1306C, #FD1D1D);
  color: #FFFFFF;
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
  box-shadow: 0 8px 24px rgba(225, 48, 108, 0.35);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  min-height: 48px;
}

.btn-instagram:hover,
.btn-instagram:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(225, 48, 108, 0.5);
  color: #FFFFFF;
  outline: none;
}

@media (max-width: 992px) {
  .instagram-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }
  .instagram-overlay {
    opacity: 0.95;
    background: linear-gradient(180deg, rgba(7, 26, 51, 0.2) 0%, rgba(7, 26, 51, 0.9) 75%);
    backdrop-filter: blur(2px);
  }
}

@media (max-width: 576px) {
  .instagram-section {
    padding: 60px 0;
  }
  .instagram-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .instagram-overlay {
    padding: 14px;
  }
  .instagram-card-caption {
    display: none;
  }
  .instagram-icon-badge {
    top: 10px;
    right: 10px;
    width: 32px;
    height: 32px;
  }
  .btn-instagram {
    width: 100%;
    padding: 14px 20px;
    font-size: 14px;
  }
}

/* Reduced Motion and Mobile Responsive */
@media (max-width: 1080px) {
  .programs-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  .branches-grid {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 768px) {
  .programs-grid {
    grid-template-columns: 1fr !important;
  }
  .site-header-logo {
    height: 40px !important;
    max-width: 170px !important;
  }
}

@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;
  }
}
