/*
Theme Name: Bilisim Cantam
Theme URI: https://example.com/bilisim-cantam
Author: Wampex Yazılım
Description: Robotik ve kodlama kursu icin WordPress tema yapisi, Customizer alanlari ve One Click Demo Import destegi.
Version: 1.0.0
Requires at least: 5.3
Text Domain: bilisimcantam
*/

/* ===== RESET & BASE ===== */
    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
    html { scroll-behavior: smooth; scroll-padding-top: 80px; overflow-x: clip; }
    body {
      font-family: 'Inter', system-ui, sans-serif;
      color: #2D3748;
      line-height: 1.7;
      background: #FFFFFF;
      -webkit-font-smoothing: antialiased;
      overflow-x: hidden;
    }
    body.admin-bar .navbar { top: 32px; }

    /* ===== CSS VARIABLES ===== */
    :root {
      --navy: #1B2A4A;
      --navy-light: #2A3F6B;
      --teal: #D62828;
      --teal-light: #EF5350;
      --teal-dark: #B71C1C;
      --sand: #F5F0E8;
      --sand-dark: #E8DFD1;
      --coral: #C62828;
      --coral-light: #E53935;
      --warm-white: #FAFAF7;
      --white: #FFFFFF;
      --text: #2D3748;
      --text-light: #5A6577;
      --text-muted: #8896A6;
      --shadow-sm: 0 1px 3px rgba(27,42,74,0.06);
      --shadow-md: 0 4px 16px rgba(27,42,74,0.08);
      --shadow-lg: 0 8px 32px rgba(27,42,74,0.12);
      --shadow-xl: 0 16px 48px rgba(27,42,74,0.14);
      --radius-sm: 8px;
      --radius-md: 12px;
      --radius-lg: 20px;
      --radius-xl: 28px;
      --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    /* ===== UTILITY ===== */
    .container {
      width: 100%;
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 24px;
    }
    .section-padding { padding: 84px 0; }
    .section-label {
      display: inline-flex;
      align-items: center;
      gap: 0;
      font-family: 'Outfit', sans-serif;
      font-size: 0.85rem;
      font-weight: 600;
      color: var(--teal-dark);
      text-transform: uppercase;
      letter-spacing: 2px;
      margin-bottom: 16px;
    }
    .section-label::before {
      display: none;
    }
    .section-title {
      font-family: 'Outfit', sans-serif;
      font-size: clamp(1.8rem, 4vw, 2.6rem);
      font-weight: 700;
      color: var(--navy);
      line-height: 1.25;
      margin-bottom: 20px;
    }
    .section-desc {
      font-size: 1.05rem;
      color: var(--text-light);
      max-width: 600px;
      line-height: 1.8;
    }

    /* ===== NAVBAR ===== */
    .navbar {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      z-index: 1000;
      background: rgba(27,42,74,0.96);
      backdrop-filter: blur(16px);
      -webkit-backdrop-filter: blur(16px);
      border-bottom: 1px solid rgba(255,255,255,0.08);
      transition: var(--transition);
    }
    .navbar.scrolled {
      box-shadow: 0 10px 28px rgba(8,15,31,0.32);
    }
    .navbar .container {
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
      align-items: center;
      column-gap: clamp(18px, 2.2vw, 30px);
      height: 72px;
      position: relative;
    }
    .nav-logo {
      text-decoration: none;
      display: inline-flex;
      align-items: center;
      gap: 0;
      line-height: 0;
      justify-self: start;
      min-width: max-content;
      height: 72px;
      overflow: hidden;
    }
    .brand-logo {
      display: inline-flex;
      align-items: center;
      gap: 0;
      line-height: 0;
    }
    .brand-image {
      display: block;
      width: clamp(142px, 12.5vw, 170px);
      height: auto;
    }
    .nav-logo .brand-image {
      width: clamp(248px, 17.5vw, 292px);
      height: auto;
      transform: translateY(-4px);
    }
    .nav-menu-wrap {
      min-width: 0;
      display: flex;
      align-items: stretch;
      justify-content: center;
      justify-self: center;
      height: 100%;
    }
    .nav-links {
      display: flex;
      align-items: stretch;
      justify-content: center;
      gap: clamp(18px, 2vw, 26px);
      list-style: none;
      position: static;
      left: auto;
      transform: none;
      height: 100%;
    }
    .nav-links li {
      display: flex;
      align-items: stretch;
    }
    .nav-mobile-actions {
      display: none !important;
    }
    .nav-links > li > a {
      display: inline-flex;
      align-items: center;
      min-height: 72px;
      white-space: nowrap;
      font-size: 0.9rem;
      font-weight: 500;
      color: rgba(255,255,255,0.82);
      text-decoration: none;
      transition: color var(--transition);
      position: relative;
    }
    .nav-links > li > a::after {
      content: '';
      position: absolute;
      bottom: 15px;
      left: 0;
      width: 0;
      height: 2px;
      background: var(--teal);
      border-radius: 2px;
      transition: width var(--transition);
    }
    .nav-links > li > a:hover { color: var(--white); }
    .nav-links > li > a:hover::after { width: 100%; }
    .nav-cta {
      background: var(--coral) !important;
      color: white !important;
      padding: 10px 22px;
      border-radius: var(--radius-sm);
      font-weight: 600 !important;
      transition: all var(--transition) !important;
    }
    .nav-cta::after { display: none !important; }
    .nav-cta:hover {
      background: var(--coral-light) !important;
      transform: translateY(-1px);
      box-shadow: 0 4px 12px rgba(198,40,40,0.3);
    }
    .nav-actions {
      display: flex;
      align-items: center;
      gap: 12px;
      justify-self: end;
      min-width: max-content;
    }
    .nav-social-links {
      display: flex;
      align-items: center;
      gap: 10px;
    }
    .nav-quick-link {
      width: 38px;
      height: 38px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      border-radius: 12px;
      border: 1px solid rgba(255,255,255,0.16);
      background: rgba(255,255,255,0.1);
      color: rgba(255,255,255,0.82) !important;
      transition: transform var(--transition), background var(--transition), color var(--transition), box-shadow var(--transition), border-color var(--transition) !important;
    }
    .nav-links .nav-quick-link::after {
      display: none;
    }
    .nav-quick-link svg {
      width: 18px;
      height: 18px;
      stroke: currentColor;
      fill: none;
      stroke-width: 2;
      stroke-linecap: round;
      stroke-linejoin: round;
    }
    .nav-quick-link:hover {
      transform: translateY(-1px);
      background: rgba(255,255,255,0.18);
      border-color: rgba(255,255,255,0.3);
      color: var(--white) !important;
      box-shadow: 0 8px 18px rgba(8,15,31,0.22);
    }
    .mobile-toggle {
      display: none;
      flex-direction: column;
      gap: 5px;
      background: none;
      border: none;
      cursor: pointer;
      padding: 4px;
    }
    .mobile-toggle span {
      width: 24px;
      height: 2px;
      background: var(--white);
      border-radius: 2px;
      transition: var(--transition);
    }

    /* ===== MEB BAND ===== */
    .meb-strip {
      margin-top: 0;
      padding: 14px 0;
      background: linear-gradient(180deg, #F7FBFA 0%, #EEF6F4 100%);
      border-bottom: 1px solid rgba(27,42,74,0.08);
    }
    .meb-strip-inner {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 16px;
      flex-wrap: wrap;
      text-align: center;
    }
    .meb-logo {
      width: 56px;
      height: 56px;
      object-fit: contain;
      flex-shrink: 0;
    }
    .meb-strip-text {
      font-size: 0.94rem;
      font-weight: 600;
      color: var(--navy);
      line-height: 1.55;
      max-width: 560px;
    }

    /* ===== HERO ===== */
    .hero {
      margin-top: 72px;
      padding: 60px 0 80px;
      background: linear-gradient(165deg, var(--white) 0%, var(--sand) 50%, #E8F4F3 100%);
      position: relative;
      overflow: hidden;
    }
    .hero::before {
      content: '';
      position: absolute;
      top: -100px;
      right: -200px;
      width: 600px;
      height: 600px;
      background: radial-gradient(circle, rgba(214,40,40,0.08) 0%, transparent 70%);
      border-radius: 50%;
    }
    .hero::after {
      content: '';
      position: absolute;
      bottom: -50px;
      left: -100px;
      width: 400px;
      height: 400px;
      background: radial-gradient(circle, rgba(198,40,40,0.06) 0%, transparent 70%);
      border-radius: 50%;
    }
    .hero .container {
      display: grid;
      grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
      gap: 48px;
      align-items: flex-start;
      padding-top: 46px;
      position: relative;
      z-index: 1;
    }
    .hero-content {
      max-width: 620px;
      padding-top: 0;
      min-width: 0;
      min-height: 468px;
      display: flex;
      flex-direction: column;
      justify-content: flex-start;
      padding-bottom: 22px;
    }
    .hero-content h1 {
      font-family: 'Outfit', sans-serif;
      font-size: clamp(2.35rem, 5.2vw, 3.45rem);
      font-weight: 800;
      color: var(--navy);
      line-height: 1.2;
      margin-bottom: 16px;
    }
    .hero-content h1 span {
      color: var(--teal);
    }
    .hero-content .hero-subtitle {
      font-size: 1.14rem;
      color: var(--text-light);
      margin-bottom: 28px;
      max-width: 560px;
      line-height: 1.8;
    }
    .hero-ctas {
      display: flex;
      gap: 16px;
      flex-wrap: wrap;
      margin-bottom: 0;
    }
    .btn {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 14px 28px;
      border-radius: var(--radius-sm);
      font-family: 'Outfit', sans-serif;
      font-size: 0.95rem;
      font-weight: 600;
      text-decoration: none;
      cursor: pointer;
      border: none;
      transition: all var(--transition);
    }
    .btn-primary {
      background: var(--coral);
      color: white;
      box-shadow: 0 4px 16px rgba(198,40,40,0.25);
    }
    .btn-primary:hover {
      background: var(--coral-light);
      transform: translateY(-2px);
      box-shadow: 0 8px 24px rgba(198,40,40,0.3);
    }
    .btn-secondary {
      background: var(--white);
      color: var(--navy);
      border: 2px solid rgba(27,42,74,0.12);
    }
    .btn-secondary:hover {
      border-color: var(--teal);
      color: var(--teal-dark);
      transform: translateY(-2px);
      box-shadow: var(--shadow-md);
    }
    .hero-visual {
      position: relative;
      width: 100%;
      max-width: 468px;
      margin-left: auto;
      min-width: 0;
      align-self: flex-start;
      display: block;
      margin-top: 0;
    }
    .hero-img-card {
      border-radius: var(--radius-lg);
      overflow: hidden;
      aspect-ratio: 4/5;
      background: var(--sand-dark);
      position: relative;
      box-shadow: var(--shadow-lg);
    }
    .hero-img-card-large {
      width: 100%;
      min-height: 304px;
      height: auto;
      aspect-ratio: 5 / 4.15;
      border: 8px solid rgba(255,255,255,0.78);
      box-shadow: 0 18px 44px rgba(27,42,74,0.18);
    }
    .hero-img-card img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }
    .hero-float-badge {
      position: absolute;
      bottom: 16px;
      left: 12px;
      background: var(--white);
      padding: 14px 20px;
      border-radius: var(--radius-md);
      box-shadow: var(--shadow-lg);
      font-family: 'Outfit', sans-serif;
      font-weight: 600;
      font-size: 0.9rem;
      color: var(--navy);
      display: flex;
      align-items: center;
      gap: 10px;
      z-index: 2;
      max-width: calc(100% - 24px);
    }
    .hero-float-badge .float-dot {
      width: 10px;
      height: 10px;
      border-radius: 50%;
      background: var(--teal);
      animation: pulse 2s infinite;
    }
    @keyframes pulse {
      0%, 100% { opacity: 1; transform: scale(1); }
      50% { opacity: 0.6; transform: scale(1.3); }
    }

    /* ===== NEDEN MUCİT ADASI ===== */
    .why-section {
      background: var(--sand);
    }
    .why-section .section-header {
      text-align: center;
      margin-bottom: 48px;
    }
    .why-section .section-desc {
      margin: 0 auto;
    }
    .why-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
    }
    .why-card {
      background: var(--white);
      border: 1px solid rgba(27,42,74,0.05);
      border-radius: var(--radius-lg);
      padding: 36px 28px;
      transition: all var(--transition);
    }
    .why-card:hover {
      transform: translateY(-4px);
      box-shadow: var(--shadow-lg);
      border-color: rgba(214,40,40,0.2);
    }
    .why-card-icon {
      width: 52px;
      height: 52px;
      background: linear-gradient(135deg, var(--teal), var(--teal-dark));
      border-radius: 14px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.4rem;
      margin-bottom: 20px;
      color: white;
    }
    .why-card-icon img {
      width: 24px;
      height: 24px;
      display: block;
      object-fit: contain;
    }
    .why-card-icon-text {
      display: inline-block;
      line-height: 1;
    }
    .why-card h3 {
      font-family: 'Outfit', sans-serif;
      font-size: 1.15rem;
      font-weight: 700;
      color: var(--navy);
      margin-bottom: 12px;
    }
    .why-card p {
      font-size: 0.92rem;
      color: var(--text-light);
      line-height: 1.75;
    }

    /* ===== PROGRAMLAR ===== */
    .programs-section {
      background: var(--white);
    }
    .programs-section .container {
      max-width: 1280px;
    }
    .programs-section .section-header {
      text-align: center;
      margin-bottom: 48px;
    }
    .programs-section .section-desc { margin: 0 auto; }
    .program-courses-grid {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 18px;
    }
    .program-course-card {
      position: relative;
      background: var(--white);
      border: 1.5px solid rgba(27,42,74,0.08);
      border-radius: 22px;
      overflow: hidden;
      cursor: pointer;
      transform-origin: center;
      will-change: transform;
      transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
    }
    .program-course-card::before {
      content: '';
      position: absolute;
      inset: 0;
      background: linear-gradient(135deg, rgba(255,255,255,0.18), transparent 55%);
      opacity: 0;
      transition: opacity var(--transition);
      pointer-events: none;
    }
    .program-course-card:hover {
      transform: translateY(-8px) scale(1.035);
      box-shadow: 0 20px 42px rgba(27,42,74,0.18);
      border-color: rgba(214,40,40,0.28);
      z-index: 3;
    }
    .program-course-card:hover::before {
      opacity: 1;
    }
    .program-course-top {
      position: relative;
      min-height: 108px;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 18px;
      isolation: isolate;
    }
    .program-course-top::after {
      content: '';
      position: absolute;
      inset: 14px;
      border: 1px solid rgba(255,255,255,0.24);
      border-radius: 18px;
      opacity: 0.55;
      z-index: -1;
    }
    .program-course-card:nth-child(1) .program-course-top { background: linear-gradient(135deg, #FFFFFF 0%, #E9F4FF 54%, #CFE6FF 100%); }
    .program-course-card:nth-child(2) .program-course-top { background: linear-gradient(135deg, #B71C1C, #EF5350); }
.program-course-card:nth-child(3) .program-course-top { background: linear-gradient(135deg, #FFFFFF 0%, #E9F4FF 54%, #CFE6FF 100%); }
    .program-course-card:nth-child(4) .program-course-top { background: linear-gradient(135deg, #B71C1C, #EF5350); }
    .program-course-card:nth-child(5) .program-course-top { background: linear-gradient(135deg, #FFFFFF 0%, #E9F4FF 54%, #CFE6FF 100%); }
    .program-course-card:nth-child(6) .program-course-top { background: linear-gradient(135deg, #B71C1C, #EF5350); }
    .program-course-card:nth-child(7) .program-course-top { background: linear-gradient(135deg, #FFFFFF 0%, #E9F4FF 54%, #CFE6FF 100%); }
    .program-course-card:nth-child(8) .program-course-top { background: linear-gradient(135deg, #B71C1C, #EF5350); }
    .program-course-icon {
      font-size: 2.4rem;
      line-height: 1;
      filter: drop-shadow(0 10px 18px rgba(0,0,0,0.2));
    }
    .program-course-icon--image {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      filter: none;
    }
    .program-course-icon--image img {
      width: 42px;
      height: 42px;
      display: block;
      object-fit: contain;
      filter: drop-shadow(0 10px 18px rgba(0,0,0,0.2));
    }
    .program-course-card:nth-child(1) .program-course-top::after,
    .program-course-card:nth-child(3) .program-course-top::after {
      border-color: rgba(27,42,74,0.12);
      opacity: 1;
    }
    .program-course-body {
      padding: 20px 20px 22px;
    }
    .program-course-body h3 {
      font-family: 'Outfit', sans-serif;
      font-size: 1.04rem;
      font-weight: 700;
      color: var(--navy);
      margin-bottom: 8px;
      line-height: 1.3;
    }
    .program-course-body p {
      font-size: 0.9rem;
      color: var(--text-light);
      line-height: 1.6;
      margin-bottom: 14px;
    }
    /* ===== ATÖLYEDEN KARELER ===== */
    .gallery-section {
      background: var(--sand);
    }
    .gallery-section .section-header {
      text-align: center;
      margin-bottom: 32px;
    }
    .gallery-section .section-desc { margin: 0 auto; }
    .gallery-tabs {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 12px;
      margin-bottom: 28px;
    }
    .gallery-tab {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 11px 18px;
      border: 1px solid rgba(27,42,74,0.14);
      border-radius: 999px;
      background: rgba(255,255,255,0.78);
      color: var(--navy);
      font-family: 'Outfit', sans-serif;
      font-size: 0.92rem;
      font-weight: 600;
      cursor: pointer;
      transition: background var(--transition), color var(--transition), border-color var(--transition), box-shadow var(--transition), transform var(--transition);
    }
    .gallery-tab:hover,
    .gallery-tab:focus-visible {
      border-color: rgba(27,42,74,0.3);
      box-shadow: 0 12px 24px rgba(27,42,74,0.08);
      transform: translateY(-1px);
      outline: none;
    }
    .gallery-tab.is-active {
      background: var(--navy);
      color: var(--white);
      border-color: var(--navy);
      box-shadow: 0 16px 28px rgba(27,42,74,0.16);
    }
    .gallery-panel[hidden] {
      display: none;
    }
    .gallery-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 20px;
    }
    .gallery-item {
      border-radius: var(--radius-lg);
      overflow: hidden;
      position: relative;
      aspect-ratio: 1 / 1;
      background: var(--sand-dark);
      cursor: pointer;
      transition: all var(--transition);
    }
    .gallery-item:hover {
      transform: translateY(-4px);
      box-shadow: var(--shadow-xl);
    }
    .gallery-item:hover .gallery-overlay {
      opacity: 1;
    }
    .gallery-item img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }
    .gallery-overlay {
      position: absolute;
      inset: 0;
      background: linear-gradient(to top, rgba(27,42,74,0.85) 0%, transparent 60%);
      display: flex;
      align-items: flex-end;
      padding: 20px;
      opacity: 0;
      transition: opacity var(--transition);
    }
    .gallery-overlay span {
      color: white;
      font-size: 0.85rem;
      font-weight: 500;
    }
    .gallery-placeholder {
      width: 100%;
      height: 100%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 0.78rem;
      color: var(--text-muted);
      background: linear-gradient(135deg, var(--sand) 0%, var(--sand-dark) 100%);
      text-align: center;
      padding: 12px;
    }
    .gallery-item.is-placeholder {
      cursor: default;
      border: 1px dashed rgba(27,42,74,0.16);
      box-shadow: none;
    }
    .gallery-item.is-placeholder:hover {
      transform: none;
      box-shadow: none;
    }

    /* ===== NASIL İLERLİYOR ===== */
    .process-section {
      background: var(--white);
      color: var(--text);
      position: relative;
      overflow: hidden;
    }
    .process-section::before {
      content: '';
      position: absolute;
      top: 0;
      right: 0;
      width: 42%;
      height: 100%;
      background: radial-gradient(ellipse at 80% 20%, rgba(214,40,40,0.08) 0%, transparent 60%);
    }
    .process-section .section-label { color: var(--teal-dark); }
    .process-section .section-label::before { background: var(--teal-dark); }
    .process-section .section-title { color: var(--navy); }
    .process-section .section-desc {
      color: var(--text-light);
      margin: 0 auto;
      text-align: center;
    }
    .process-section .section-header {
      text-align: center;
      margin-bottom: 48px;
      position: relative;
      z-index: 1;
    }
    .process-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 24px;
      position: relative;
      z-index: 1;
    }
    .process-step {
      text-align: center;
      position: relative;
      padding: 28px 22px;
      background: var(--warm-white);
      border: 1px solid rgba(27,42,74,0.06);
      border-radius: var(--radius-lg);
      box-shadow: var(--shadow-sm);
    }
    .process-number {
      width: 56px;
      height: 56px;
      margin: 0 auto 18px;
      border-radius: 50%;
      border: 2px solid var(--teal);
      background: var(--white);
      display: flex;
      align-items: center;
      justify-content: center;
      font-family: 'Outfit', sans-serif;
      font-weight: 700;
      font-size: 1.2rem;
      color: var(--teal);
    }
    .process-step h3 {
      font-family: 'Outfit', sans-serif;
      font-size: 1.05rem;
      font-weight: 600;
      color: var(--navy);
      margin-bottom: 10px;
    }
    .process-step p {
      font-size: 0.88rem;
      color: var(--text-light);
      line-height: 1.7;
    }

    /* ===== KONUM & İLETİŞİM ===== */
    .contact-section {
      background: var(--sand);
    }
    .contact-section .section-header {
      text-align: center;
      margin-bottom: 48px;
    }
    .contact-section .section-desc { margin: 0 auto; }
    .contact-form-wrap {
      display: flex;
      justify-content: center;
    }
    .map-area {
      border-radius: var(--radius-lg);
      overflow: hidden;
      height: 100%;
      min-height: 320px;
      background: var(--white);
      border: 1px solid rgba(27,42,74,0.06);
    }
    .contact-map-row {
      margin-top: 24px;
      scroll-margin-top: 96px;
    }
    .contact-map-row .map-area {
      min-height: 360px;
    }
    .contact-map-link {
      display: inline-block;
      margin-top: 12px;
      color: var(--teal-dark);
      font-weight: 500;
      font-size: 0.9rem;
      text-decoration: none;
    }
    .contact-map-link:hover {
      color: var(--navy);
    }
    .contact-form-card {
      background: var(--white);
      border-radius: var(--radius-lg);
      padding: 36px;
      border: 1px solid rgba(27,42,74,0.05);
      width: 100%;
      max-width: 760px;
    }
    .contact-form-card h3 {
      font-family: 'Outfit', sans-serif;
      font-size: 1.2rem;
      font-weight: 700;
      color: var(--navy);
      margin-bottom: 24px;
      text-align: center;
    }
    .form-group {
      margin-bottom: 16px;
    }
    .form-group label {
      display: block;
      font-size: 0.85rem;
      font-weight: 500;
      color: var(--text);
      margin-bottom: 6px;
    }
    .form-group input,
    .form-group textarea,
    .form-group select {
      width: 100%;
      padding: 12px 16px;
      border: 1px solid rgba(27,42,74,0.12);
      border-radius: var(--radius-sm);
      font-family: 'Inter', sans-serif;
      font-size: 0.92rem;
      color: var(--text);
      background: var(--white);
      transition: border-color var(--transition);
      outline: none;
    }
    .form-group input:focus,
    .form-group textarea:focus,
    .form-group select:focus {
      border-color: var(--teal);
      box-shadow: 0 0 0 3px rgba(214,40,40,0.1);
    }
    .form-group textarea {
      resize: vertical;
      min-height: 80px;
    }
    .form-row {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 16px;
    }
    .form-submit {
      display: flex;
      width: fit-content;
      min-width: 220px;
      margin: 8px auto 0;
      justify-content: center;
      text-align: center;
    }
    .form-note {
      margin: 8px 0 0;
      color: var(--text-light);
      font-size: 0.82rem;
      line-height: 1.7;
      text-align: center;
    }
    .form-note a {
      color: var(--navy);
      font-weight: 600;
      text-decoration: underline;
      text-underline-offset: 2px;
    }
    .form-note a:hover {
      color: var(--teal-dark);
    }

    /* ===== FOOTER ===== */
    .footer {
      background: var(--navy);
      color: rgba(255,255,255,0.74);
      padding: 36px 0 20px;
      position: relative;
      border-top: 1px solid rgba(255,255,255,0.08);
    }
    .footer-content {
      display: flex;
      justify-content: center;
      align-items: center;
      flex-wrap: wrap;
      gap: 14px;
      padding-top: 0;
      padding-bottom: 18px;
      border-bottom: 1px solid rgba(255,255,255,0.12);
      margin-bottom: 18px;
      text-align: center;
      position: static;
      min-height: 0;
    }
    .footer-logo {
      text-decoration: none;
      display: inline-flex;
      align-items: center;
      line-height: 0;
      margin: 0 auto;
    }
    .footer-logo .brand-image {
      width: clamp(160px, 14vw, 190px);
    }
    .footer-meta {
      width: 100%;
      margin-top: 0;
      text-align: center;
    }
    .footer-contact-line,
    .footer-address-line {
      color: rgba(255,255,255,0.78);
      font-size: 0.88rem;
      line-height: 1.75;
    }
    .footer-contact-line {
      margin-bottom: 8px;
    }
    .footer-contact-line a {
      color: var(--white);
      text-decoration: none;
    }
    .footer-contact-line a:hover {
      color: #FFD7D7;
    }
    .footer-address-line {
      max-width: 920px;
      margin: 0 auto;
    }
    .footer-bottom {
      text-align: center;
      font-size: 0.8rem;
      overflow-wrap: anywhere;
    }
    .footer-bottom a {
      color: var(--white);
      text-decoration: none;
    }
    .footer-bottom a:hover {
      color: #FFD7D7;
    }

    /* ===== WHATSAPP FLOATING BUTTON ===== */
    .whatsapp-float {
      position: fixed;
      bottom: 28px;
      right: 28px;
      z-index: 999;
      width: 56px;
      height: 56px;
      background: #25D366;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      box-shadow: 0 4px 20px rgba(37,211,102,0.35);
      transition: all var(--transition);
      text-decoration: none;
    }
    .whatsapp-float:hover {
      transform: scale(1.08);
      box-shadow: 0 6px 28px rgba(37,211,102,0.45);
    }
    .whatsapp-float svg {
      width: 28px;
      height: 28px;
      fill: white;
    }

    /* ===== SCROLL ANIMATION ===== */
    .reveal {
      opacity: 0;
      transform: translateY(30px);
      transition: opacity 0.7s ease, transform 0.7s ease;
    }
    .reveal.visible {
      opacity: 1;
      transform: translateY(0);
    }

    /* ===== RESPONSIVE ===== */
    @media (max-width: 1024px) {
      .hero .container { grid-template-columns: 1fr; gap: 40px; }
      .hero-content { min-height: auto; max-width: none; }
      .hero-visual { max-width: 560px; margin: 0 auto; }
      .why-grid { grid-template-columns: repeat(2, 1fr); }
      .program-courses-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
      .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
      .process-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
    }

    @media (max-width: 768px) {
      .section-padding { padding: 60px 0; }
      .navbar .container {
        display: flex;
        justify-content: space-between;
      }
      .nav-menu-wrap {
        display: block;
        height: auto;
      }
      .nav-logo .brand-image {
        width: 208px;
      }
      .nav-links {
        display: none;
        position: absolute;
        left: 0;
        right: 0;
        transform: none;
        height: auto;
      }
      .nav-actions {
        display: none;
      }
      .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--navy);
        padding: 24px;
        gap: 16px;
        height: auto;
        box-shadow: 0 18px 36px rgba(8,15,31,0.3);
        border-bottom: 1px solid rgba(255,255,255,0.08);
      }
      .nav-links.active > li {
        justify-content: center;
      }
      .nav-links.active > li > a {
        min-height: auto;
      }
      .nav-links.active a {
        color: rgba(255,255,255,0.86);
      }
      .nav-mobile-actions {
        display: flex !important;
        flex-direction: column;
        align-items: center;
        gap: 12px;
        width: 100%;
        padding-top: 6px;
      }
      .nav-mobile-socials {
        justify-content: center;
      }
      .mobile-toggle { display: flex; }
      .meb-strip {
        padding: 12px 0;
      }
      .meb-strip-inner {
        gap: 10px;
      }
      .meb-logo {
        width: 48px;
        height: 48px;
      }
      .meb-strip-text {
        font-size: 0.88rem;
      }
      .hero { padding: 72px 0 68px; }
      .hero .container {
        gap: 24px;
        padding-top: 28px;
      }
      .hero-content {
        padding-top: 0;
        padding-bottom: 0;
        min-height: auto;
      }
      .hero-content h1 { font-size: 2rem; }
      .hero-content .hero-subtitle {
        font-size: 1rem;
        line-height: 1.7;
        max-width: none;
      }
      .why-grid { grid-template-columns: 1fr; }
      .program-courses-grid { grid-template-columns: 1fr; gap: 16px; }
      .program-course-top { min-height: 104px; }
      .program-course-body { padding: 18px; }
      .gallery-tabs {
        flex-direction: column;
        align-items: stretch;
      }
      .gallery-grid { grid-template-columns: 1fr; gap: 16px; }
      .process-grid { grid-template-columns: 1fr; gap: 24px; }
      .why-section .section-header,
      .programs-section .section-header,
      .gallery-section .section-header,
      .process-section .section-header,
      .contact-section .section-header {
        margin-bottom: 32px;
      }
      .form-row { grid-template-columns: 1fr; }
      .contact-form-card {
        padding: 24px 18px;
      }
      .contact-map-row .map-area,
      .map-area {
        min-height: 280px;
      }
      .hero-ctas { flex-direction: column; }
      .hero-ctas .btn { text-align: center; justify-content: center; }
      .hero-visual {
        max-width: 100%;
        margin-top: 0;
      }
      .hero-img-card-large {
        min-height: 260px;
        aspect-ratio: 4 / 3.2;
      }
      .hero-float-badge {
        max-width: calc(100% - 24px);
      }
      .footer-content {
        justify-content: center;
        text-align: center;
        min-height: 0;
      }
      .footer-meta {
        margin-top: 10px;
      }
      .whatsapp-float {
        right: 18px;
        bottom: 18px;
        width: 52px;
        height: 52px;
      }
    }

    @media (max-width: 480px) {
      .container { padding: 0 16px; }
      .meb-logo {
        width: 44px;
        height: 44px;
      }
      .meb-strip-text {
        font-size: 0.84rem;
      }
      .nav-logo .brand-image {
        width: 190px;
      }
      .footer-logo .brand-image {
        width: 152px;
      }
      .hero-img-card-large {
        min-height: 220px;
        aspect-ratio: 4 / 3;
        border-width: 6px;
      }
      .hero-float-badge {
        left: 12px;
        right: 12px;
        bottom: 12px;
        padding: 12px 14px;
        font-size: 0.84rem;
      }
      .popup-card {
        padding: 22px 18px;
      }
      .popup-actions {
        flex-direction: column;
      }
      .popup-actions .btn {
        width: 100%;
      }
      .footer-bottom p {
        line-height: 1.8;
      }
    }

/* ===== KAYIT POPUP ===== */
body.modal-open {
  overflow: hidden;
}
.popup-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(27,42,74,0.56);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), visibility var(--transition);
}
.popup-overlay.active {
  opacity: 1;
  visibility: visible;
}
.popup-card {
  width: min(100%, 560px);
  background: linear-gradient(180deg, #FFFFFF 0%, var(--warm-white) 100%);
  border: 1px solid rgba(27,42,74,0.08);
  border-radius: var(--radius-xl);
  padding: 28px;
  position: relative;
  box-shadow: var(--shadow-xl);
  transform: translateY(18px) scale(0.98);
  transition: transform var(--transition);
}
.popup-overlay.active .popup-card {
  transform: translateY(0) scale(1);
}
.popup-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 12px;
  background: rgba(214,40,40,0.12);
  color: var(--teal-dark);
  font-family: 'Outfit', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.popup-card h2 {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  line-height: 1.15;
  color: var(--navy);
  margin-bottom: 10px;
}
.popup-card p {
  color: var(--text-light);
  font-size: 1rem;
  line-height: 1.8;
}
.popup-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px;
}
.popup-actions .btn {
  justify-content: center;
}
.popup-note {
  margin-top: 10px;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.popup-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: rgba(27,42,74,0.06);
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition);
}
.popup-close:hover {
  background: rgba(214,40,40,0.14);
  color: var(--teal-dark);
}
.popup-close svg {
  width: 18px;
  height: 18px;
}

/* ===== GALERİ LIGHTBOX ===== */
.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 2100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
  background: rgba(9,16,31,0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--transition), visibility var(--transition);
}
.gallery-lightbox.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.gallery-lightbox-dialog {
  position: relative;
  width: min(100%, 1120px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.gallery-lightbox-media {
  width: 100%;
  max-height: calc(100vh - 120px);
  border-radius: 28px;
  overflow: hidden;
  background: rgba(255,255,255,0.06);
  box-shadow: 0 24px 56px rgba(0,0,0,0.4);
}
.gallery-lightbox-media img {
  width: 100%;
  max-height: calc(100vh - 120px);
  object-fit: contain;
  display: block;
}
.gallery-lightbox-caption {
  color: rgba(255,255,255,0.84);
  font-size: 0.95rem;
  text-align: center;
}
.gallery-lightbox-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 50px;
  height: 50px;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 50%;
  background: rgba(27,42,74,0.92);
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 12px 24px rgba(0,0,0,0.26);
  transition: transform var(--transition), background var(--transition), border-color var(--transition);
}
.gallery-lightbox-close:hover {
  transform: translateY(-1px);
  background: rgba(198,40,40,0.92);
  border-color: rgba(255,255,255,0.28);
}
.gallery-lightbox-close svg {
  width: 20px;
  height: 20px;
}

/* ===== COOKIE BANNER ===== */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1900;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(100%);
  transition: opacity var(--transition), visibility var(--transition), transform var(--transition);
}
.cookie-banner.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}
.cookie-banner-card {
  width: 100%;
  margin: 0;
  background: linear-gradient(135deg, #11213F 0%, var(--navy) 100%);
  color: var(--white);
  border-radius: 18px 18px 0 0;
  padding: 14px 24px;
  box-shadow: 0 -14px 34px rgba(8,15,31,0.18);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.cookie-banner-copy {
  max-width: 760px;
}
.cookie-banner-kicker {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 6px;
  background: rgba(255,255,255,0.14);
  color: rgba(255,255,255,0.92);
  font-family: 'Outfit', sans-serif;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.cookie-banner h2 {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  line-height: 1.2;
  margin-bottom: 4px;
}
.cookie-banner p {
  color: rgba(255,255,255,0.82);
  font-size: 0.86rem;
  line-height: 1.55;
}
.cookie-banner-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.cookie-banner .btn {
  justify-content: center;
  min-width: 116px;
  padding: 10px 18px;
  font-size: 0.88rem;
}
.cookie-banner .btn-secondary {
  background: rgba(255,255,255,0.1);
  color: var(--white);
  border-color: rgba(255,255,255,0.24);
}
.cookie-banner .btn-secondary:hover {
  background: rgba(255,255,255,0.18);
  border-color: rgba(255,255,255,0.42);
}
@media (max-width: 768px) {
  .cookie-banner-card {
    padding: 13px 18px;
    gap: 14px;
  }
  .cookie-banner-actions {
    justify-content: flex-start;
  }
  .gallery-lightbox {
    padding: 18px;
  }
}
@media (max-width: 480px) {
  .popup-overlay {
    padding: 16px;
  }
  .popup-card {
    padding: 20px 18px;
    border-radius: 22px;
  }
  .popup-actions {
    flex-direction: column;
  }
  .popup-actions .btn {
    width: 100%;
  }
  .gallery-lightbox {
    padding: 16px;
  }
  .gallery-lightbox-media {
    border-radius: 22px;
  }
  .gallery-lightbox-close {
    top: 10px;
    right: 10px;
    width: 44px;
    height: 44px;
  }
  .cookie-banner-card {
    padding: 12px 14px;
    border-radius: 16px 16px 0 0;
    gap: 12px;
  }
  .cookie-banner-actions {
    width: 100%;
    justify-content: flex-start;
  }
  .cookie-banner .btn {
    min-width: 104px;
    padding: 9px 14px;
  }
}

.form-feedback {
  margin-bottom: 16px;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  font-size: 0.92rem;
  line-height: 1.5;
}

.form-feedback-success {
  background: rgba(22, 163, 74, 0.1);
  border-color: rgba(22, 163, 74, 0.18);
  color: #166534;
}

.form-feedback-error {
  background: rgba(220, 38, 38, 0.08);
  border-color: rgba(220, 38, 38, 0.16);
  color: #991b1b;
}

.theme-page-shell {
  min-height: 100vh;
  padding: 132px 0 72px;
  background:
    radial-gradient(circle at top left, rgba(214,40,40,0.08) 0%, transparent 26%),
    linear-gradient(180deg, #FBFCFF 0%, #FAFAF7 58%, #F3EEE6 100%);
}

.theme-page-card {
  background: rgba(255,255,255,0.94);
  border: 1px solid rgba(27,42,74,0.08);
  border-radius: 30px;
  padding: 36px 34px;
  box-shadow: var(--shadow-lg);
}

.theme-page-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1.2;
  color: var(--navy);
  margin-bottom: 20px;
}

.theme-page-content {
  color: var(--text-light);
}

.theme-page-content > * + * {
  margin-top: 14px;
}

.theme-page-content a {
  color: var(--coral);
  text-decoration: none;
}

.theme-page-content a:hover {
  color: var(--coral-light);
}

.theme-page-content ul,
.theme-page-content ol {
  padding-left: 18px;
}

.document-template-page {
  background:
    radial-gradient(circle at top left, rgba(214,40,40,0.08) 0%, transparent 28%),
    linear-gradient(180deg, #FBFCFF 0%, #FAFAF7 52%, #F4EFE7 100%);
}

.document-page-shell {
  min-height: 100vh;
  padding: 28px 20px 64px;
}

.document-topbar {
  max-width: 1080px;
  margin: 0 auto 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px;
  background: rgba(255,255,255,0.82);
  border: 1px solid rgba(27,42,74,0.08);
  border-radius: 18px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-md);
}

.document-topbar-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--navy);
  font-weight: 700;
  font-family: 'Outfit', sans-serif;
}

.document-topbar-brand img {
  width: auto;
  max-width: 110px;
  height: 42px;
  object-fit: contain;
  border-radius: 0;
  display: block;
}

.document-topbar-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--navy);
  color: var(--white);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  transition: transform var(--transition), background var(--transition);
}

.document-topbar-link:hover {
  transform: translateY(-1px);
  background: var(--navy-light);
}

.document-card {
  max-width: 1080px;
  margin: 0 auto;
  background: rgba(255,255,255,0.9);
  border: 1px solid rgba(27,42,74,0.08);
  border-radius: 30px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.document-hero {
  padding: 42px 42px 28px;
  background: linear-gradient(135deg, #11213F 0%, var(--navy) 52%, #2C477A 100%);
  color: var(--white);
}

.document-hero-kicker {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
  background: rgba(255,255,255,0.14);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-family: 'Outfit', sans-serif;
}

.document-hero h1 {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15;
  margin-bottom: 12px;
}

.document-hero p {
  max-width: 760px;
  color: rgba(255,255,255,0.84);
  font-size: 1rem;
}

.document-hero-meta {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.document-hero-meta span {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.12);
  font-size: 0.86rem;
  color: rgba(255,255,255,0.88);
}

.document-content {
  padding: 34px 42px 42px;
  display: grid;
  gap: 18px;
}

.document-section-card {
  background: var(--white);
  border: 1px solid rgba(27,42,74,0.08);
  border-radius: 22px;
  padding: 24px 24px 22px;
}

.document-section-card h2 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.16rem;
  color: var(--navy);
  margin-bottom: 12px;
}

.document-section-card p + p {
  margin-top: 12px;
}

.document-section-card ul {
  padding-left: 18px;
  color: var(--text-light);
}

.document-section-card li + li {
  margin-top: 8px;
}

.document-section-card p,
.document-section-card li {
  color: var(--text-light);
  font-size: 0.96rem;
}

.document-section-card strong {
  color: var(--text);
}

.contact-box {
  display: grid;
  gap: 8px;
  padding: 18px;
  margin-top: 14px;
  background: linear-gradient(180deg, #F9FBFF 0%, #F4F7FB 100%);
  border: 1px solid rgba(27,42,74,0.08);
  border-radius: var(--radius-md);
}

.contact-box a {
  color: var(--navy);
  text-decoration: none;
  font-weight: 600;
}

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

.document-footer-note {
  padding: 0 42px 36px;
  color: #6A7383;
  font-size: 0.85rem;
}

@media (max-width: 782px) {
  body.admin-bar .navbar {
    top: 46px;
  }
}

@media (max-width: 768px) {
  .theme-page-shell {
    padding: 112px 0 48px;
  }

  .theme-page-card {
    padding: 24px 20px;
  }

  .document-page-shell {
    padding: 16px 12px 36px;
  }

  .document-topbar {
    flex-direction: column;
    align-items: stretch;
  }

  .document-hero {
    padding: 28px 20px 22px;
  }

  .document-content {
    padding: 20px;
  }

  .document-footer-note {
    padding: 0 20px 24px;
  }
}
