/* ============================================================
   MEGA ARİTMETİK — Ana Stil Dosyası
   ============================================================ */

/* ── GOOGLE FONTS ── */
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;500;600;700;800;900&family=Playfair+Display:ital,wght@0,700;0,800;1,700&display=swap');

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

:root {
  --orange: #E87820;
  --orange-dark: #C4601A;
  --orange-light: #F59842;
  --orange-pale: #FEF0E3;
  --orange-bg: #FDF5EE;
  --sidebar-w: 300px;
  --white: #FFFFFF;
  --body-bg: #F4F5F7;
  --border: #EAEAEA;
  --dark: #1C1C1C;
  --mid: #555555;
  --muted: #999999;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow: 0 2px 12px rgba(0, 0, 0, 0.07);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.10);
  --max-w: 1980px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Nunito', sans-serif;
  background: var(--body-bg);
  color: var(--dark);
  line-height: 1.6;
  min-height: 100vh;
}

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

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

ul {
  list-style: none;
}

/* ============================================================
   LAYOUT — Sidebar + Main
   ============================================================ */
.layout {
  display: flex;
  min-height: 100vh;
  max-width: var(--max-w);
  margin: 0 auto;
}

/* ── SIDEBAR ── */
.sidebar {
  width: var(--sidebar-w);
  min-width: var(--sidebar-w);
  background: var(--white);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: max(0px, calc((100vw - var(--max-w)) / 2));
  height: 100vh;
  overflow-y: auto;
  z-index: 200;
  transition: transform .3s ease;
  box-shadow: rgba(15, 23, 42, 0.12) 18px 0px 45px;
}

.sidebar::-webkit-scrollbar {
  width: 4px;
}

.sidebar::-webkit-scrollbar-thumb {
  background: #ddd;
  border-radius: 4px;
}

/* Logo */
.sidebar-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 20px 20px 18px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
  position: sticky;
  top: 0px;
  z-index: 2;
  box-shadow: rgba(249, 115, 22, 0.12) 0px 12px 26px;

  background: linear-gradient(135deg, rgb(255, 237, 213), rgb(255, 255, 255));
  border-bottom: 1px solid rgb(254, 215, 170);
}

.sidebar-logo img {
  width: 200px;
  height: 200px;
  object-fit: contain;
  flex-shrink: 0;
}

.sidebar-logo-text .brand {
  font-size: 15px;
  font-weight: 900;
  color: var(--orange);
  line-height: 1.1;
  letter-spacing: .3px;
}

.sidebar-logo-text .tagline {
  font-size: 10.5px;
  color: var(--muted);
  font-weight: 600;
  margin-top: 2px;
}

/* Nav */
.sidebar-nav {
  padding: 12px 0 24px;
  flex: 1;
}

.nav-item {
  position: relative;
}

/* Top-level link / button */
.nav-link,
.nav-parent {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px 20px;
  font-size: 16px;
  font-weight: 700;
  color: var(--mid);
  cursor: pointer;
  transition: all .18s;
  border-left: 3px solid transparent;
  user-select: none;
}

.nav-link:hover,
.nav-parent:hover {
  color: var(--orange);
  background: var(--orange-pale);
}

.nav-link.active,
.nav-parent.active {
  color: var(--orange);
  background: var(--orange-bg);
  border-left-color: var(--orange);
}

.nav-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  opacity: .6;
  transition: opacity .18s;
}

.nav-link:hover .nav-icon,
.nav-link.active .nav-icon,
.nav-parent:hover .nav-icon,
.nav-parent.active .nav-icon {
  opacity: 1;
}

.nav-label {
  flex: 1;
}

/* Chevron for parent items */
.nav-chevron {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  transition: transform .25s ease;
  opacity: .5;
}

.nav-parent.open .nav-chevron {
  transform: rotate(180deg);
  opacity: 1;
}

/* Sub-menu */
.nav-sub {
  display: none;
  background: var(--orange-bg);
  border-left: 3px solid var(--orange);
  margin-left: 20px;
}

.nav-sub.open {
  display: block;
}

.nav-sub-link {
  display: block;
  padding: 8px 16px 8px 20px;
  font-size: 14px;
  font-weight: 600;
  color: var(--mid);
  transition: all .15s;
  position: relative;
}

.nav-sub-link::before {
  content: '';
  display: inline-block;
  width: 5px;
  height: 5px;
  background: var(--orange-light);
  border-radius: 50%;
  margin-right: 8px;
  vertical-align: middle;
  flex-shrink: 0;
}

.nav-sub-link:hover {
  color: var(--orange);
  background: rgba(232, 120, 32, .08);
}

.nav-sub-link.active {
  color: var(--orange);
  font-weight: 800;
}

/* Nav divider */
.nav-divider {
  height: 1px;
  background: var(--border);
  margin: 8px 20px;
}

/* ── MAIN WRAPPER ── */
.main-wrapper {
  margin-left: var(--sidebar-w);
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

/* ── TOPBAR (mobile only) ── */
.topbar {
  display: none;
  align-items: center;
  justify-content: space-between;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 12px 20px;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow);
}

.topbar-logo img {
  height: 40px;
}

.hamburger {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: .3s;
}

/* Overlay for mobile sidebar */
.sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .4);
  z-index: 150;
}

.sidebar-overlay.show {
  display: block;
}

/* ── PAGE CONTENT ── */
.page-content {
  flex: 1;
  padding: 0;
}

/* ============================================================
   HERO — Ana Sayfa
   ============================================================ */
.hero {
  position: relative;
  min-height: 340px;
  background:
    linear-gradient(135deg, rgba(180, 60, 0, .88) 0%, rgba(100, 35, 0, .72) 60%, rgba(30, 20, 10, .65) 100%),
    url('../images/soroban.jpg') center/cover no-repeat;
  display: flex;
  align-items: center;
  padding: 56px 48px;
  overflow: hidden;
}

/* fallback gradient when no image */
.hero.no-img {
  background: linear-gradient(140deg, #C4601A 0%, #E87820 50%, #F59842 100%);
}

.hero::after {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 380px;
  height: 380px;
  background: rgba(255, 255, 255, .04);
  border-radius: 50%;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
}

.hero-content h1 {
  font-size: clamp(28px, 3.5vw, 44px);
  color: var(--white);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 14px;
}

.hero-content .subtitle {
  font-size: clamp(16px, 2vw, 22px);
  color: rgba(255, 255, 255, .88);
  font-style: italic;
  font-weight: 700;
  margin-bottom: 28px;
  line-height: 1.4;
}

.hero-icons {
  display: flex;
  gap: 20px;
}

.hero-icon-item {
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, .15);
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-icon-item svg {
  width: 22px;
  height: 22px;
}

/* ── PAGE HERO (İç Sayfalar) ── */
.page-hero {
  position: relative;
  background:
    linear-gradient(135deg, rgba(180, 60, 0, .85) 0%, rgba(100, 35, 0, .70) 60%, rgba(30, 20, 10, .60) 100%),
    url('../images/soroban.jpg') center/cover no-repeat;
  padding: 36px 48px 32px;
  min-height: 120px;
  display: flex;
  align-items: center;
}

.page-hero.no-img {
  background: linear-gradient(140deg, #C4601A 0%, #E87820 100%);
}

.page-hero-content {
  position: relative;
  z-index: 2;
}

.page-hero h1 {
  font-size: clamp(22px, 3vw, 34px);
  color: var(--white);
  font-weight: 800;
  margin-bottom: 6px;
}

.page-hero p {
  color: rgba(255, 255, 255, .82);
  font-size: 15px;
  max-width: 500px;
}

/* ============================================================
   WELCOME / FEATURE SECTION
   ============================================================ */
.welcome-section {
  background: var(--white);
  margin: 24px;
  border-radius: var(--radius-lg);
  padding: 36px 40px;
  box-shadow: var(--shadow);
}

.welcome-inner {
  display: flex;
  align-items: flex-start;
  gap: 48px;
  flex-wrap: wrap;
}

.welcome-text {
  flex: 1;
  min-width: 240px;
}

.welcome-text h2 {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 10px;
  color: var(--dark);
}

.welcome-text h2::after {
  content: '';
  display: block;
  width: 36px;
  height: 3px;
  background: var(--orange);
  border-radius: 2px;
  margin-top: 8px;
}

.welcome-text p {
  font-size: 14.5px;
  color: var(--mid);
  line-height: 1.75;
  margin-bottom: 20px;
  max-width: 380px;
}

.welcome-features {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  align-items: flex-start;
  flex: 2;
  min-width: 280px;
  border-left: 1px solid var(--border);
  padding-left: 48px;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
  min-width: 72px;
}

.feature-icon {
  width: 60px;
  height: 60px;
  background: var(--orange-pale);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-icon svg {
  width: 30px;
  height: 30px;
}

.feature-label {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--dark);
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 8px;
  padding: 11px 24px;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  transition: all .2s;
  border: none;
  font-family: inherit;
  text-decoration: none;
}

.btn-orange {
  background: var(--orange);
  color: var(--white);
}

.btn-orange:hover {
  background: var(--orange-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(232, 120, 32, .35);
}

.btn-orange-outline {
  background: transparent;
  color: var(--orange);
  border: 2px solid var(--orange);
}

.btn-orange-outline:hover {
  background: var(--orange);
  color: var(--white);
}

.btn-white {
  background: var(--white);
  color: var(--orange);
}

.btn-white:hover {
  background: var(--orange-pale);
  transform: translateY(-1px);
}

.btn svg {
  width: 16px;
  height: 16px;
}

/* ============================================================
   CONTENT AREA COMPONENTS
   ============================================================ */
.content-area {
  padding: 24px;
}

/* Section tag */
.section-tag {
  display: inline-block;
  background: var(--orange-pale);
  color: var(--orange);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 12px;
}

/* Section heading */
.section-title {
  font-size: clamp(22px, 3vw, 32px);
  margin-bottom: 10px;
  line-height: 1.25;
  color: var(--dark);
}

.section-sub {
  color: var(--mid);
  font-size: 15px;
  line-height: 1.7;
  max-width: 600px;
  margin-bottom: 32px;
}

/* Cards grid */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
  gap: 18px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: all .2s;
  box-shadow: var(--shadow);
}

.card:hover {
  border-color: var(--orange-light);
  box-shadow: 0 6px 24px rgba(232, 120, 32, .10);
  transform: translateY(-2px);
}

.card-icon {
  width: 46px;
  height: 46px;
  background: var(--orange-pale);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.card-icon svg {
  width: 22px;
  height: 22px;
}

.card h3 {
  font-size: 15px;
  font-weight: 800;
  margin-bottom: 8px;
}

.card p {
  font-size: 16px;
  color: var(--mid);
  line-height: 1.65;
}

.card-accent-top {
  border-top: 3px solid var(--orange);
}

/* Info / warn boxes */
.info-box {
  background: var(--orange-pale);
  border-left: 4px solid var(--orange);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 18px 22px;
  margin-bottom: 28px;
}

.info-box p {
  color: var(--orange-dark);
  font-weight: 700;
  margin: 0;
  font-size: 14.5px;
}

/* Content text */
.prose {
  max-width: 820px;
}

.prose h2 {
  font-size: 24px;
  margin: 32px 0 10px;
  color: var(--orange-dark);
}

.prose h3 {
  font-size: 17px;
  font-weight: 800;
  margin: 24px 0 8px;
}

.prose p {
  font-size: 15px;
  color: var(--mid);
  line-height: 1.78;
  margin-bottom: 14px;
}

.prose ul {
  margin: 10px 0 18px 16px;
}

.prose ul li {
  font-size: 15px;
  color: var(--mid);
  line-height: 1.7;
  margin-bottom: 6px;
  list-style: disc;
}

.prose strong {
  color: var(--dark);
}

/* Program cards */
.program-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: .2s;
  box-shadow: var(--shadow);
}

.program-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.program-head {
  padding: 20px 22px;
  color: var(--white);
}

.program-head h3 {
  font-size: 17px;
  font-weight: 800;
  margin-bottom: 4px;
}

.program-head p {
  opacity: .8;
  font-size: 12.5px;
}

.program-body {
  padding: 20px 22px;
}

.program-body li {
  font-size: 16px;
  color: var(--mid);
  padding: 7px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

.program-body li:last-child {
  border-bottom: none;
}

.check {
  color: var(--orange);
  font-weight: 900;
  flex-shrink: 0;
}

/* CTA Band */
.cta-band {
  background: linear-gradient(135deg, var(--orange-dark), var(--orange));
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  color: var(--white);
  box-shadow: var(--shadow-md);
}

.cta-band h2 {
  font-size: clamp(20px, 2.5vw, 28px);
  margin-bottom: 8px;
}

.cta-band p {
  opacity: .88;
  font-size: 14.5px;
  max-width: 440px;
  line-height: 1.7;
}

.cta-pills {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-shrink: 0;
}

.cta-pill {
  background: rgba(255, 255, 255, .15);
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 8px;
  padding: 10px 18px;
  font-size: 16px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 9px;
  white-space: nowrap;
}

/* FAQ */
.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-q {
  font-size: 18px;
  font-weight: 800;
  color: var(--dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 18px 0;
  transition: color .18s;
}

.faq-q:hover {
  color: var(--orange);
}

.faq-q .faq-chevron {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  transition: transform .25s;
  opacity: .5;
}

.faq-item.open .faq-q {
  color: var(--orange);
}

.faq-item.open .faq-chevron {
  transform: rotate(180deg);
  opacity: 1;
}

.faq-a {
  display: none;
  font-size: 16px;
  color: var(--mid);
  line-height: 1.78;
  padding-bottom: 18px;
}

.faq-item.open .faq-a {
  display: block;
}

/* Video grid */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.video-wrap {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: #111;
}

.video-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.video-label {
  margin-top: 10px;
  font-size: 16px;
  font-weight: 700;
}

/* Badge */
.badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 800;
}

.badge-orange {
  background: var(--orange-pale);
  color: var(--orange-dark);
}

.badge-green {
  background: #E3F5EC;
  color: #1A7A40;
}

/* Forms */
.form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow);
}

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

.form-group label {
  display: block;
  font-size: 12px;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: .5px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  padding: 11px 14px;
  font-size: 14.5px;
  font-family: inherit;
  color: var(--dark);
  background: var(--white);
  transition: .18s;
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(232, 120, 32, .12);
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

/* News / Timeline items */
.news-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px 22px;
  transition: .2s;
  box-shadow: var(--shadow);
}

.news-item:hover {
  border-color: var(--orange-light);
  transform: translateY(-1px);
}

.news-date {
  background: var(--orange-pale);
  color: var(--orange-dark);
  border-radius: 8px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 900;
  flex-shrink: 0;
  text-align: center;
}

.news-body h3 {
  font-size: 15px;
  font-weight: 800;
  margin-bottom: 5px;
}

.news-body p {
  font-size: 16px;
  color: var(--mid);
  line-height: 1.65;
}

/* Placeholder (empty pages) */
.placeholder-section {
  background: var(--white);
  border: 2px dashed var(--border);
  border-radius: var(--radius-lg);
  padding: 60px 40px;
  text-align: center;
  margin: 24px;
}

.placeholder-section .ph-icon {
  font-size: 48px;
  margin-bottom: 16px;
}

.placeholder-section h3 {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--dark);
}

.placeholder-section p {
  font-size: 14.5px;
  color: var(--muted);
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: #1A1A18;
  color: rgba(255, 255, 255, .5);
  padding: 40px 24px 24px;
  margin-top: auto;
}

.footer-inner {
  max-width: 1380px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 32px;
  margin-bottom: 32px;
}

.footer-col h4 {
  font-size: 16px;
  font-weight: 900;
  color: rgba(255, 255, 255, .8);
  text-transform: uppercase;
  letter-spacing: .8px;
  margin-bottom: 14px;
}

.footer-col a {
  display: block;
  font-size: 16px;
  color: rgba(255, 255, 255, .45);
  margin-bottom: 8px;
  transition: .18s;
}

.footer-col a:hover {
  color: var(--orange-light);
}

.footer-col p {
  font-size: 16px;
  line-height: 1.7;
}

.footer-logo img {
  height: 120px;
  margin-bottom: 12px;
  opacity: .65;
}

.footer-bottom {
  max-width: 1380px;
  border-top: 1px solid rgba(255, 255, 255, .08);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 12px;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .sidebar {
    transform: translateX(-100%);
  }

  .sidebar.mobile-open {
    transform: translateX(0);
  }

  .main-wrapper {
    margin-left: 0;
  }

  .topbar {
    display: flex;
  }

  .hero {
    padding: 40px 28px;
    min-height: 260px;
  }

  .page-hero {
    padding: 28px;
  }

  .welcome-section {
    margin: 16px;
    padding: 28px 24px;
  }

  .welcome-features {
    border-left: none;
    padding-left: 0;
    border-top: 1px solid var(--border);
    padding-top: 24px;
  }

  .content-area {
    padding: 16px;
  }

  .cta-band {
    padding: 28px 24px;
    text-align: center;
  }

  .cta-pills {
    align-items: center;
  }
}

@media (max-width: 600px) {
  .form-row {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 32px 20px;
  }

  .welcome-section {
    margin: 12px;
    padding: 22px 18px;
  }

  .content-area {
    padding: 12px;
  }

  .hero h1 {
    font-size: 26px;
  }

  .welcome-features {
    gap: 20px;
    justify-content: center;
  }
}

/* ============================================================
   LİGHTBOX
   ============================================================ */
.lightbox-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .92);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  cursor: zoom-out;
  padding: 20px;
}

.lightbox-overlay.show {
  display: flex;
}

.lightbox-overlay img {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: 10px;
  box-shadow: 0 8px 48px rgba(0, 0, 0, .6);
  object-fit: contain;
  animation: lb-in .2s ease;
}

@keyframes lb-in {
  from {
    opacity: 0;
    transform: scale(.92);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

.lightbox-close {
  position: absolute;
  top: 16px;
  right: 20px;
  color: rgba(255, 255, 255, .7);
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
  transition: color .15s;
}

.lightbox-close:hover {
  color: #fff;
}

img[data-lightbox] {
  cursor: zoom-in;
}

/* ============================================================
   MELİK DUYAR MESAJI — Sayfa Bileşenleri
   ============================================================ */
/* ── Sayfa özel stiller ── */

/* Üst bilgi bandı */
.expertise-band {
  background: linear-gradient(135deg, #C4601A 0%, #E87820 60%, #F59842 100%);
  color: #fff;
  padding: 22px 40px;
  text-align: center;
  font-size: 13.5px;
  font-weight: 800;
  letter-spacing: .6px;
  text-transform: uppercase;
}

.expertise-band span {
  opacity: .85;
  margin: 0 12px;
}

.expertise-band strong {
  opacity: 1;
}

/* İki sütunlu giriş */
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1.55fr;
  gap: 28px;
  margin-bottom: 32px;
}

@media(max-width:820px) {
  .intro-grid {
    grid-template-columns: 1fr;
  }
}

/* Profil kartı */
.profile-card {
  background: #fff;
  border: 1px solid #EAEAEA;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, .07);
  display: flex;
  flex-direction: column;
}

.profile-card-top {
  background: linear-gradient(140deg, #C4601A, #E87820);
  padding: 28px 24px 20px;
  text-align: center;
  color: #fff;
}

.profile-avatar {
  width: 80px;
  height: 80px;
  background: rgba(255, 255, 255, .2);
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, .5);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  font-size: 34px;
}

.profile-card-top h3 {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 4px;
}

.profile-card-top p {
  opacity: .85;
  font-size: 16px;
  font-weight: 600;
}

.profile-card-body {
  padding: 20px 22px;
  flex: 1;
}

.profile-stat {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid #F0F0F0;
  font-size: 16px;
}

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

.profile-stat-icon {
  width: 32px;
  height: 32px;
  background: #FEF0E3;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 16px;
}

.profile-stat-text strong {
  display: block;
  font-size: 16px;
  font-weight: 800;
  color: #1C1C1C;
}

.profile-stat-text span {
  font-size: 12px;
  color: #888;
}

/* Giriş yazısı kartı */
.intro-text-card {
  background: #fff;
  border: 1px solid #EAEAEA;
  border-radius: 18px;
  padding: 32px 36px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, .07);
}

.intro-text-card .section-tag {
  margin-bottom: 10px;
}

.intro-text-card h2 {
  font-size: 26px;
  margin-bottom: 16px;
  color: #1C1C1C;
  line-height: 1.3;
}

.intro-text-card p {
  font-size: 16px;
  color: #555;
  line-height: 1.8;
  margin-bottom: 14px;
}

/* Öne çıkan bilgi kutusu */
.highlight-box {
  background: #FEF0E3;
  border-left: 4px solid #E87820;
  border-radius: 0 12px 12px 0;
  padding: 16px 20px;
  margin: 18px 0;
}

.highlight-box p {
  color: #7A3C0A;
  font-weight: 700;
  font-size: 16px;
  margin: 0;
  line-height: 1.6;
}

/* Kişisel mektup bölümü */
.letter-section {
  background: #fff;
  border: 1px solid #EAEAEA;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, .07);
  margin-bottom: 28px;
}

.letter-header {
  background: linear-gradient(135deg, #1C1C1C 0%, #2E2E2C 100%);
  padding: 22px 36px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.letter-header-icon {
  width: 44px;
  height: 44px;
  background: #E87820;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.letter-header h3 {
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 3px;
  line-height: 1.3;
}

.letter-header p {
  color: rgba(255, 255, 255, .6);
  font-size: 16px;
  font-weight: 600;
}

.letter-body {
  padding: 36px;
}

.letter-body p {
  font-size: 16px;
  color: #444;
  line-height: 1.85;
  margin-bottom: 18px;
}

.letter-body p:last-child {
  margin-bottom: 0;
}

.letter-salutation {
  font-size: 15.5px;
  font-weight: 800;
  color: #1C1C1C;
  margin-bottom: 18px;
}

.letter-quote {
  background: #FDF5EE;
  border: 1px solid #F5D8B8;
  border-left: 4px solid #E87820;
  border-radius: 0 10px 10px 0;
  padding: 16px 22px;
  margin: 22px 0;
  font-style: italic;
  font-size: 16px;
  color: #5A3010;
  font-weight: 600;
  line-height: 1.7;
}

/* Resim frame — standartta kullanılacak */
.photo-frame-wrapper {
  display: flex;
  justify-content: center;
  margin: 32px 0;
}

.photo-frame {
  position: relative;
  display: inline-block;
  max-width: 420px;
  width: 100%;
}

.photo-frame-inner {
  border-radius: 16px;
  overflow: hidden;
  border: 4px solid #E87820;
  box-shadow:
    0 0 0 8px rgba(232, 120, 32, .12),
    0 12px 40px rgba(0, 0, 0, .18);
  position: relative;
  background: #000;
}

.photo-frame-inner img {
  width: 100%;
  display: block;
  transition: transform .4s ease;
}

.photo-frame-inner:hover img {
  transform: scale(1.03);
}

/* Köşe süsleri */
.photo-frame::before,
.photo-frame::after {
  content: '';
  position: absolute;
  width: 28px;
  height: 28px;
  border: 3px solid #E87820;
  z-index: 2;
}

.photo-frame::before {
  top: -6px;
  left: -6px;
  border-right: none;
  border-bottom: none;
  border-radius: 4px 0 0 0;
}

.photo-frame::after {
  bottom: 34px;
  right: -6px;
  border-left: none;
  border-top: none;
  border-radius: 0 0 4px 0;
}

/* Rozet */
.photo-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: #E87820;
  color: #fff;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .5px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 20px;
  z-index: 3;
}

/* Açıklama */
.photo-caption {
  background: #1C1C1C;
  border-radius: 0 0 12px 12px;
  padding: 13px 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.photo-caption-icon {
  width: 28px;
  height: 28px;
  background: #E87820;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 16px;
}

.photo-caption p {
  font-size: 16px;
  color: rgba(255, 255, 255, .8);
  font-weight: 600;
  line-height: 1.5;
  margin: 0;
}

/* Önemli noktalar grid */
.key-points {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin: 28px 0;
}

.key-point-card {
  background: #fff;
  border: 1px solid #EAEAEA;
  border-radius: 14px;
  padding: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .05);
  border-top: 3px solid #E87820;
  transition: all .2s;
}

.key-point-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(232, 120, 32, .10);
  border-color: #E87820;
}

.key-point-icon {
  font-size: 26px;
  margin-bottom: 10px;
}

.key-point-card h4 {
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 6px;
  color: #1C1C1C;
}

.key-point-card p {
  font-size: 16px;
  color: #666;
  line-height: 1.6;
}

/* Beyin yarım küreleri info */
.brain-section {
  background: linear-gradient(135deg, #FDF5EE 0%, #fff 100%);
  border: 1px solid #F5D8B8;
  border-radius: 16px;
  padding: 28px 32px;
  margin: 28px 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

@media(max-width:600px) {
  .brain-section {
    grid-template-columns: 1fr;
  }
}

.brain-half {
  padding: 20px;
  border-radius: 12px;
  text-align: center;
}

.brain-half.left-brain {
  background: rgba(59, 130, 246, .07);
  border: 1px solid rgba(59, 130, 246, .2);
}

.brain-half.right-brain {
  background: rgba(232, 120, 32, .07);
  border: 1px solid rgba(232, 120, 32, .25);
}

.brain-half h4 {
  font-size: 16px;
  font-weight: 900;
  margin-bottom: 10px;
}

.brain-half.left-brain h4 {
  color: #2563EB;
}

.brain-half.right-brain h4 {
  color: #E87820;
}

.brain-half p {
  font-size: 16px;
  color: #555;
  line-height: 1.65;
}

.brain-half-icon {
  font-size: 28px;
  margin-bottom: 8px;
}

.brain-center-label {
  grid-column: 1/-1;
  text-align: center;
  background: linear-gradient(135deg, #C4601A, #E87820);
  color: #fff;
  border-radius: 10px;
  padding: 12px 20px;
  font-weight: 800;
  font-size: 16px;
}

/* İmza */
.signature-block {
  background: #fff;
  border: 1px solid #EAEAEA;
  border-radius: 14px;
  padding: 24px 28px;
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 28px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .05);
}

.sig-avatar {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, #C4601A, #E87820);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: #fff;
  flex-shrink: 0;
}

.sig-text strong {
  display: block;
  font-size: 16px;
  font-weight: 900;
  color: #1C1C1C;
}

.sig-text span {
  font-size: 16px;
  color: #888;
  display: block;
  margin-top: 2px;
}

.sig-contact {
  margin-left: auto;
  text-align: right;
  flex-shrink: 0;
}

.sig-contact a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #E87820;
  color: #fff;
  border-radius: 8px;
  padding: 10px 18px;
  font-size: 13.5px;
  font-weight: 800;
  text-decoration: none;
  transition: .2s;
}

.sig-contact a:hover {
  background: #C4601A;
}

@media(max-width:600px) {
  .signature-block {
    flex-wrap: wrap;
  }

  .sig-contact {
    margin-left: 0;
    text-align: left;
  }
}

/* ============================================================
   MÜFREDAT SSS SAYFASI
   ============================================================ */

/* Giriş bandı */
.sss-intro {
  background: #fff;
  margin: 24px 24px 0;
  border-radius: var(--radius-lg);
  padding: 32px 40px;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

.sss-intro-text {
  flex: 1;
  min-width: 200px;
}

.sss-intro-text p {
  font-size: 16px;
  color: var(--mid);
  line-height: 1.75;
  max-width: 560px;
  margin: 0;
}

/* İstatistik kutuları */
.sss-stats {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  flex-shrink: 0;
}

.sss-stat {
  text-align: center;
  background: var(--orange-pale);
  border-radius: 14px;
  padding: 16px 22px;
  min-width: 90px;
}

.sss-stat strong {
  display: block;
  font-size: 28px;
  font-weight: 900;
  color: var(--orange);
  line-height: 1;
  margin-bottom: 4px;
}

.sss-stat span {
  font-size: 11px;
  font-weight: 700;
  color: var(--orange-dark);
  text-transform: uppercase;
  letter-spacing: .4px;
}

/* Kategori bölümü */
.faq-section {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  box-shadow: var(--shadow);
  margin-bottom: 16px;
}

.faq-section-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--orange-pale);
}

.faq-section-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  flex-shrink: 0;
}

.faq-section-icon.blue {
  background: rgba(59, 130, 246, .1);
}

.faq-section-icon.green {
  background: rgba(34, 197, 94, .1);
}

.faq-section-icon.orange {
  background: var(--orange-pale);
}

.faq-section-icon.purple {
  background: rgba(168, 85, 247, .1);
}

.faq-section-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--dark);
}

.faq-section-count {
  margin-left: auto;
  background: var(--orange-pale);
  color: var(--orange);
  font-size: 11px;
  font-weight: 900;
  padding: 3px 10px;
  border-radius: 20px;
  flex-shrink: 0;
}

/* Soru numarası */
.faq-q-num {
  width: 24px;
  height: 24px;
  background: var(--orange-pale);
  color: var(--orange);
  border-radius: 6px;
  font-size: 11px;
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-right: 10px;
}

.faq-item.open .faq-q-num {
  background: var(--orange);
  color: #fff;
}

/* Fayda chip grid */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  margin-top: 8px;
}

.benefit-chip {
  background: var(--orange-pale);
  border: 1px solid rgba(232, 120, 32, .2);
  border-radius: 10px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 700;
  color: var(--orange-dark);
}

.benefit-chip-icon {
  font-size: 18px;
  flex-shrink: 0;
}

/* Vurgu kutusu (cevap içi) */
.faq-highlight {
  background: var(--orange-pale);
  border-left: 3px solid var(--orange);
  border-radius: 0 8px 8px 0;
  padding: 12px 16px;
  margin: 10px 0 4px;
  font-size: 16px;
  font-weight: 700;
  color: var(--orange-dark);
  line-height: 1.6;
}

@media (max-width: 700px) {
  .sss-intro {
    margin: 16px 16px 0;
    padding: 24px 20px;
    flex-direction: column;
    gap: 20px;
  }

  .faq-section {
    padding: 20px 18px;
  }

  .sss-stats {
    width: 100%;
    justify-content: space-around;
  }
}

/* ============================================================
   NUMARALI ADIM / MODÜL LİSTESİ
   ============================================================ */
.step-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.step-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 18px;
  transition: .18s;
}

.step-item:hover {
  border-color: var(--orange-light);
  box-shadow: 0 3px 12px rgba(232, 120, 32, .08);
}

.step-num {
  width: 34px;
  height: 34px;
  background: var(--orange);
  color: #fff;
  border-radius: 9px;
  font-size: 14px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.step-text {
  font-size: 16px;
  color: var(--mid);
  line-height: 1.55;
}

.step-text strong {
  display: block;
  font-size: 16px;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 2px;
}

/* ============================================================
   TEMSİLCİLİKLER SAYFASI
   ============================================================ */
.turkey-map-section {
  background: var(--white);
  margin: 24px;
  border-radius: var(--radius-lg);
  padding: 24px 32px 20px;
  box-shadow: var(--shadow);
}

.turkey-map-hint {
  text-align: center;
  color: var(--mid);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 14px;
}

.turkey-map-container {
  width: 100%;
  overflow: hidden;
}

.turkey-map-container svg {
  width: 100%;
  height: auto;
  display: block;
}

.turkey-map-container g path,
.turkey-map-container g polygon {
  fill: #d8d8d8;
  transition: fill .18s;
  cursor: default;
}

.turkey-map-container g.active path,
.turkey-map-container g.active polygon {
  fill: var(--orange);
  cursor: pointer;
}

.turkey-map-container g.active:hover path,
.turkey-map-container g.active:hover polygon {
  fill: var(--orange-dark);
}

.map-legend {
  display: flex;
  gap: 24px;
  justify-content: center;
  margin-top: 14px;
}

.map-legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--mid);
}

.map-legend-dot {
  width: 14px;
  height: 14px;
  border-radius: 4px;
  flex-shrink: 0;
}

.city-group {
  margin-bottom: 40px;
  scroll-margin-top: 90px;
}

.city-group-header {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 22px;
  font-weight: 900;
  color: var(--dark);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 3px solid var(--orange);
}

.city-count-badge {
  font-size: 12px;
  font-weight: 800;
  background: var(--orange-pale);
  color: var(--orange);
  padding: 3px 10px;
  border-radius: 20px;
  margin-left: auto;
}

.rep-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 3px solid var(--orange);
  border-radius: var(--radius-lg);
  padding: 20px 22px;
  box-shadow: var(--shadow);
  transition: .2s;
}

.rep-card:hover {
  border-color: var(--orange-light);
  border-top-color: var(--orange);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.rep-card-name {
  font-size: 16px;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
  line-height: 1.35;
}

.rep-card-field {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 16px;
  color: var(--mid);
  padding: 6px 0;
  border-bottom: 1px solid var(--border);
  line-height: 1.5;
}

.rep-card-field:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.rep-field-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--orange);
  margin-top: 2px;
}

.rep-card-field a {
  color: var(--orange);
  word-break: break-all;
}

.rep-card-field a:hover {
  text-decoration: underline;
}

@media (max-width: 700px) {
  .turkey-map-section {
    margin: 16px;
    padding: 18px 16px;
  }

  .city-group {
    scroll-margin-top: 70px;
  }
}

/* Şehir başlığındaki haritaya dön linki */
.city-back-to-map {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 700;
  color: var(--orange);
  background: var(--orange-pale);
  border: 1px solid rgba(232, 120, 32, .2);
  border-radius: 20px;
  padding: 3px 10px;
  text-decoration: none;
  transition: .15s;
  white-space: nowrap;
  flex-shrink: 0;
  cursor: pointer;
}

.city-back-to-map:hover {
  background: var(--orange);
  color: #fff;
}

/* K.K.T.C. bağlantısı */
.kktc-link-wrap {
  text-align: center;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px dashed var(--border);
}

.kktc-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--orange);
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  padding: 10px 24px;
  border-radius: 30px;
  text-decoration: none;
  transition: .18s;
  box-shadow: 0 3px 12px rgba(232, 120, 32, .3);
}

.kktc-link:hover {
  background: var(--orange-dark);
  transform: translateY(-1px);
  box-shadow: 0 5px 18px rgba(232, 120, 32, .4);
}

/* Harita tooltip */
.map-tooltip {
  position: fixed;
  pointer-events: none;
  background: rgba(25, 25, 25, .88);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  padding: 5px 13px;
  border-radius: 8px;
  white-space: nowrap;
  z-index: 200;
  display: none;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .25);
  transition: opacity .08s;
}

/* ============================================================
   HABERLER SAYFASI
   ============================================================ */
.news-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 4px solid var(--orange);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  margin-bottom: 20px;
  box-shadow: var(--shadow);
  transition: .2s;
}

.news-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.news-card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.news-date {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
}

.news-tag {
  font-size: 11px;
  font-weight: 900;
  background: var(--orange-pale);
  color: var(--orange-dark);
  padding: 3px 10px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: .4px;
}

.news-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--dark);
  line-height: 1.35;
  margin-bottom: 10px;
}

.news-body {
  font-size: 16px;
  color: var(--mid);
  line-height: 1.7;
}

/* Haber içi video */
.news-video {
  position: relative;
  margin-top: 18px;
  border-radius: var(--radius);
  overflow: hidden;
  background-color: #fef3df;
  height: 400px;
}

.news-video iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Guinness image trigger */
.guinness-img-wrap {
  position: relative;
  flex-shrink: 0;
  cursor: zoom-in;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.guinness-img-wrap img {
  display: block;
  width: 350px;
  height: auto;
  transition: transform .2s;
}

.guinness-img-wrap:hover img {
  transform: scale(1.03);
}

.guinness-img-zoom-hint {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, .55);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  text-align: center;
  padding: 6px 4px;
  letter-spacing: .3px;
}

.guinness-layout {
  display: flex;
  gap: 28px;
  align-items: flex-start;
}

@media (max-width: 700px) {
  .guinness-layout {
    flex-direction: column;
    align-items: center;
  }

  .guinness-img-wrap img {
    width: 100%;
    max-width: 280px;
  }
}