/* Arzum Şelale — peyzaj odaklı yeşil palet */
:root {
  --zemin: #e8f0e4;
  --zemin-2: #d4e4cc;
  --yuzey: #ffffff;
  --yuzey-yesil: #f4faf2;
  --orman: #0f2e1f;
  --yaprak: #1a4d32;
  --cam: #2d6b47;
  --cam-acik: #4d8f65;
  --yosun: #7cb356;
  --su: #3a7d8c;
  --toprak: #5e4a38;
  --metin: #152219;
  --metin-soft: #3f5a4a;
  --kenar: #b8cdb0;
  --vurgu: #d4a84b;
  --vurgu-hover: #b88f35;
  --nav-h: 76px;
  --container: 1180px;
  --pad: clamp(1.25rem, 5vw, 2rem);
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 16px 48px rgba(15, 46, 31, 0.12);
  --shadow-sm: 0 6px 20px rgba(15, 46, 31, 0.08);
  --font-display: "Fraunces", "Georgia", serif;
  --font-body: "Outfit", "Segoe UI", system-ui, sans-serif;
  --text-base: 1.0625rem;
  --text-lead: 1.125rem;
  --leading-body: 1.72;
  --leading-tight: 1.15;
  --ease: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 400;
  line-height: var(--leading-body);
  letter-spacing: 0.015em;
  color: var(--metin);
  background: var(--zemin);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "kern" 1, "liga" 1;
}

body.nav-open {
  overflow: hidden;
}

img,
video,
iframe {
  max-width: 100%;
  display: block;
}

img {
  height: auto;
}

a {
  color: var(--cam);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.15em;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: var(--leading-tight);
  letter-spacing: -0.02em;
  margin: 0 0 0.65em;
  color: var(--orman);
  font-optical-sizing: auto;
}

h1 {
  font-size: clamp(2.1rem, 5.5vw, 3.35rem);
  font-weight: 700;
  letter-spacing: -0.03em;
}

h2 {
  font-size: clamp(1.55rem, 3.5vw, 2.35rem);
  font-weight: 600;
  letter-spacing: -0.025em;
}

h3 {
  font-size: clamp(1.2rem, 2.5vw, 1.45rem);
  font-weight: 600;
  letter-spacing: -0.015em;
}

p { margin: 0 0 1rem; }

.page-head h1 {
  max-width: 18ch;
}

.page-head > p,
.page-head .breadcrumb + p {
  font-size: var(--text-lead);
  line-height: 1.65;
  color: var(--metin-soft);
  max-width: 42ch;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* Layout — yatay boşluk: alt bileşenlerde padding: … 0 kullanmayın; padding-block kullanın */
.wrap {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--pad);
  box-sizing: border-box;
}

.ratio-16x9 {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--orman);
}

.ratio-16x9 iframe,
.ratio-16x9 img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
}

.pill {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 999px;
  background: rgba(45, 107, 71, 0.15);
  color: var(--yaprak);
}

.pill-sm { font-size: 0.65rem; padding: 0.2rem 0.55rem; }

.hint {
  display: block;
  font-size: 1rem;
  line-height: 1.6;
  font-weight: 500;
  color: var(--metin-soft);
  margin: 0.35rem 0 1rem;
}

.hint::before {
  content: "● ";
  color: var(--yosun);
  font-size: 0.5rem;
  vertical-align: middle;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: linear-gradient(180deg, rgba(15, 46, 31, 0.97) 0%, rgba(15, 46, 31, 0.92) 100%);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(124, 179, 86, 0.2);
}

.header-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--pad);
  min-height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: #f0f7ec;
  text-decoration: none;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 3vw, 1.45rem);
  font-weight: 600;
  letter-spacing: 0.01em;
  flex-shrink: 0;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--cam-acik), var(--yosun));
  display: grid;
  place-items: center;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 1rem;
  color: var(--orman);
}

.nav-desktop {
  display: none;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0.15rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-desktop a {
  color: rgba(240, 247, 236, 0.88);
  text-decoration: none;
  padding: 0.55rem 0.75rem;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  transition: background var(--ease), color var(--ease);
}

.nav-desktop a:hover,
.nav-desktop a[aria-current="page"] {
  background: rgba(124, 179, 86, 0.22);
  color: #fff;
}

.nav-toggle {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 12px;
  background: rgba(124, 179, 86, 0.25);
  color: #fff;
  font-size: 1.35rem;
  cursor: pointer;
}

.nav-drawer {
  position: fixed;
  inset: 0;
  z-index: 200;
  visibility: hidden;
  pointer-events: none;
}

.nav-drawer.is-open {
  visibility: visible;
  pointer-events: auto;
}

.nav-drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 46, 31, 0.6);
  opacity: 0;
  transition: opacity var(--ease);
}

.nav-drawer.is-open .nav-drawer-backdrop { opacity: 1; }

.nav-drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(300px, 90vw);
  height: 100%;
  background: var(--orman);
  padding: 4.5rem 1.25rem 2rem;
  transform: translateX(100%);
  transition: transform var(--ease);
  overflow-y: auto;
}

.nav-drawer.is-open .nav-drawer-panel { transform: translateX(0); }

.nav-drawer-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 1.4rem;
  cursor: pointer;
}

.nav-mobile-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-mobile-list a {
  display: block;
  color: #e8f5e3;
  text-decoration: none;
  padding: 1rem 0.5rem;
  font-size: 1.05rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-mobile-list a[aria-current="page"] {
  color: var(--yosun);
  font-weight: 700;
}

@media (min-width: 1024px) {
  .nav-desktop { display: flex; }
  .nav-toggle { display: none; }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.7rem 1.5rem;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.94rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, background var(--ease), box-shadow var(--ease);
}

.btn:focus-visible {
  outline: 3px solid var(--yosun);
  outline-offset: 2px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--cam), var(--yaprak));
  color: #fff;
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn-outline {
  background: transparent;
  color: var(--yaprak);
  border: 2px solid var(--cam-acik);
}

.btn-light {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.4);
}

/* Footer */
.site-footer {
  margin-top: auto;
  background: var(--orman);
  color: rgba(232, 245, 227, 0.85);
  padding: 3rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
}

.footer-grid a { color: var(--yosun); text-decoration: none; }

.footer-brand {
  display: block;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: #fff;
  margin-bottom: 0.35rem;
}

.footer-grid p {
  font-size: 0.95rem;
  line-height: 1.55;
  margin: 0;
}

.footer-nav { list-style: none; padding: 0; margin: 0; }
.footer-nav li { margin-bottom: 0.45rem; }
.footer-copy {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.85rem;
  opacity: 0.65;
}

/* Thumb bar mobile */
.thumb-bar {
  display: flex;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 90;
  background: var(--yuzey);
  border-top: 1px solid var(--kenar);
  padding: 0.4rem var(--pad) calc(0.4rem + env(safe-area-inset-bottom));
  gap: 0.35rem;
  box-shadow: 0 -10px 30px rgba(15, 46, 31, 0.1);
}

.thumb-bar a {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  text-decoration: none;
  color: var(--metin-soft);
  font-size: 0.62rem;
  font-weight: 600;
  border-radius: 10px;
}

.thumb-bar a .icon { font-size: 1.2rem; margin-bottom: 0.1rem; }
.thumb-bar a.is-active { color: var(--cam); background: var(--yuzey-yesil); }

@media (min-width: 1024px) {
  .thumb-bar { display: none; }
}

body.has-thumb-bar {
  padding-bottom: calc(72px + env(safe-area-inset-bottom));
}

@media (min-width: 1024px) {
  body.has-thumb-bar { padding-bottom: 0; }
}

.page-head {
  padding-block: clamp(2rem, 6vw, 3.5rem) clamp(1.25rem, 3vw, 2rem);
}

.page-head .breadcrumb {
  font-size: 0.85rem;
  color: var(--metin-soft);
  margin-bottom: 0.75rem;
}

.page-head .breadcrumb a {
  color: var(--cam);
  text-decoration: none;
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ═══ ANASAYFA — hero slayt ═══ */
.page-home .hero-slider {
  position: relative;
  min-height: clamp(520px, 88vh, 820px);
  overflow: hidden;
  background: var(--orman);
}

.page-home .hero-slides-track {
  position: absolute;
  inset: 0;
}

.page-home .hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
  pointer-events: none;
}

.page-home .hero-slide.is-active {
  opacity: 1;
  pointer-events: auto;
  z-index: 1;
}

@media (prefers-reduced-motion: reduce) {
  .page-home .hero-slide {
    transition: none;
  }
}

.page-home .hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-home .hero-shade {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    105deg,
    rgba(15, 46, 31, 0.92) 0%,
    rgba(15, 46, 31, 0.62) 48%,
    rgba(15, 46, 31, 0.28) 100%
  );
  pointer-events: none;
}

.page-home .hero-leaf {
  position: absolute;
  inset: 0;
  z-index: 3;
  background: radial-gradient(ellipse 80% 50% at 90% 20%, rgba(124, 179, 86, 0.22), transparent);
  pointer-events: none;
}

.page-home .hero-slide-ui {
  position: relative;
  z-index: 4;
  min-height: clamp(520px, 88vh, 820px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: 2.5rem;
  color: #f0f7ec;
}

.page-home .hero-slide-copy {
  padding-top: 5rem;
  max-width: 640px;
  animation: heroCopyIn 0.65s ease;
}

.page-home .hero-slide-copy h1 {
  font-size: clamp(2.35rem, 6.5vw, 3.85rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.06;
  color: #fff;
  text-shadow: 0 2px 28px rgba(15, 46, 31, 0.55);
}

.page-home .hero-slide-copy p {
  font-family: var(--font-body);
  color: rgba(240, 247, 236, 0.94);
  font-size: clamp(1.05rem, 2.2vw, 1.2rem);
  font-weight: 400;
  line-height: 1.7;
  max-width: 48ch;
  text-shadow: 0 1px 14px rgba(15, 46, 31, 0.45);
}

.page-home .hero-slide-copy.is-changing {
  animation: heroCopyIn 0.65s ease;
}

@keyframes heroCopyIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .hero-slide-copy,
  .page-home .hero-slide-copy.is-changing {
    animation: none;
  }
}

.page-home .hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1.05rem;
  background: rgba(124, 179, 86, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1.1rem;
}

.page-home .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.page-home .hero-slider-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 1rem;
}

.page-home .hero-slider-arrow {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  background: rgba(15, 46, 31, 0.45);
  color: #fff;
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  transition: background var(--ease), transform 0.2s;
}

.page-home .hero-slider-arrow:hover {
  background: rgba(45, 107, 71, 0.85);
  transform: scale(1.05);
}

.page-home .hero-dots {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  flex: 1;
}

.page-home .hero-dot {
  width: 12px;
  height: 12px;
  padding: 0;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  transition: background var(--ease), transform 0.2s;
}

.page-home .hero-dot.is-active {
  background: var(--yosun);
  border-color: var(--yosun);
  transform: scale(1.15);
}

.page-home .hero-dot:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.page-home .stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem 2rem;
  padding-block: 2.75rem;
  border-bottom: 1px solid var(--kenar);
}

@media (max-width: 500px) {
  .page-home .stats {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding-block: 2.5rem 2.75rem;
  }
}

.page-home .stat {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.page-home .stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 700;
  color: var(--yaprak);
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.page-home .stat span {
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.55;
  color: var(--metin-soft);
  letter-spacing: 0.02em;
}

.page-home .showcase > h2 {
  margin-bottom: 0.5rem;
}

.page-home .showcase > .hint {
  margin-top: 0.15rem;
  margin-bottom: 0;
}

.page-home .showcase {
  padding-block: 3rem;
}

.page-home .showcase-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

@media (min-width: 700px) {
  .page-home .showcase-grid {
    grid-template-columns: 1.2fr 1fr;
    grid-template-rows: auto auto;
  }
  .page-home .showcase-grid .card-main {
    grid-row: span 2;
  }
}

.page-home .proj-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--yuzey);
  box-shadow: var(--shadow);
  text-decoration: none;
  color: inherit;
  display: block;
  min-height: 200px;
}

.page-home .proj-card img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
}

.page-home .proj-card .proj-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(15, 46, 31, 0.88) 0%, transparent 55%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.25rem;
  color: #fff;
}

.page-home .proj-card .proj-overlay h3 {
  color: #fff;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.page-home .cta-strip {
  background: linear-gradient(135deg, var(--yaprak), var(--cam));
  color: #fff;
  padding: 2.5rem var(--pad);
  text-align: center;
}

.page-home .cta-strip .wrap { max-width: 560px; }

/* ═══ HAKKIMIZDA ═══ */
.page-about .about-hero {
  background: linear-gradient(180deg, var(--yuzey-yesil) 0%, var(--zemin) 100%);
  padding-bottom: 2rem;
}

.page-about .about-grid {
  display: grid;
  gap: 2.5rem;
  padding-block: 2rem 3rem;
}

@media (min-width: 900px) {
  .page-about .about-grid {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

.page-about .quote-box {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 3.2vw, 2rem);
  font-weight: 600;
  font-style: italic;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--yaprak);
  padding: 1.5rem;
  background: var(--yuzey);
  border-radius: var(--radius-lg);
  border-left: 5px solid var(--yosun);
  box-shadow: var(--shadow-sm);
}

.page-about .steps {
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-about .steps li {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 1rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--kenar);
}

.page-about .step-num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--cam);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 0.95rem;
}

.page-about .team-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  padding-bottom: 3rem;
}

.page-about .team-card {
  background: var(--yuzey);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.page-about .team-card img {
  aspect-ratio: 1;
  object-fit: cover;
  width: 100%;
}

.page-about .team-card figcaption {
  padding: 1rem 1.15rem;
}

/* ═══ GALERİ ═══ */
.page-gallery .gallery-bar {
  position: sticky;
  top: var(--nav-h);
  z-index: 40;
  background: rgba(232, 240, 228, 0.95);
  backdrop-filter: blur(10px);
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--kenar);
}

.page-gallery .filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.page-gallery .filter-chip {
  min-height: 44px;
  padding: 0.45rem 1rem;
  border: 2px solid var(--kenar);
  background: var(--yuzey);
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--metin-soft);
  cursor: pointer;
  transition: all var(--ease);
}

.page-gallery .filter-chip[aria-pressed="true"] {
  background: var(--yaprak);
  border-color: var(--yaprak);
  color: #fff;
}

.page-gallery .gallery-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  padding-block: 2rem 3.5rem;
}

.page-gallery .gallery-item {
  border: none;
  padding: 0;
  background: none;
  cursor: pointer;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  text-align: left;
  width: 100%;
}

.page-gallery .gallery-item img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  transition: transform var(--ease);
}

.page-gallery .gallery-item:hover img { transform: scale(1.04); }

.page-gallery .gallery-item .cap {
  padding: 0.85rem 1rem;
  background: var(--yuzey);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--yaprak);
}

.page-gallery .gallery-item[hidden] { display: none; }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(15, 46, 31, 0.94);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--pad);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--ease), visibility var(--ease);
}

.lightbox.is-open { opacity: 1; visibility: visible; }

.lightbox figure {
  margin: 0;
  max-width: 960px;
  width: 100%;
}

.lightbox img {
  width: 100%;
  max-height: 70vh;
  object-fit: contain;
  border-radius: var(--radius);
}

.lightbox figcaption {
  color: #e8f5e3;
  text-align: center;
  margin-top: 1rem;
  font-size: 1rem;
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
}

/* ═══ VİDEOLAR (YouTube) ═══ */
.page-videos .video-page-head {
  background: var(--yuzey-yesil);
  padding-block: 2rem 1.5rem;
}

.page-videos .video-featured-block {
  padding-block-end: 2.5rem;
}

.page-videos .video-featured-wrap {
  background: var(--yuzey);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.page-videos .video-featured-meta {
  padding: 1.25rem 1.5rem 1.5rem;
}

.page-videos .link-yt {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--su);
  text-decoration: none;
}

.page-videos .link-yt:hover { text-decoration: underline; }

.page-videos .youtube-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  padding-bottom: 3.5rem;
}

.page-videos .yt-card {
  background: var(--yuzey);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--ease), box-shadow var(--ease);
}

.page-videos .yt-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.page-videos .yt-card-btn {
  width: 100%;
  border: none;
  padding: 0;
  background: none;
  text-align: left;
  color: inherit;
  cursor: pointer;
  font: inherit;
}

.page-videos .yt-thumb {
  position: relative;
}

.page-videos .yt-play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 56px;
  height: 56px;
  background: rgba(15, 46, 31, 0.75);
  color: #fff;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.2rem;
}

.page-videos .yt-duration {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(15, 46, 31, 0.9);
  color: #fff;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  font-size: 0.72rem;
  font-weight: 600;
}

.page-videos .yt-card-body {
  padding: 1rem 1.15rem 1.2rem;
}

.page-videos .yt-card-body h3 {
  font-size: 1rem;
  margin-top: 0.35rem;
}

/* ═══ DUYURULAR — başlık listesi + görsel ═══ */
.page-news .news-hero,
.page-news-detail .news-hero {
  background: linear-gradient(135deg, var(--yaprak) 0%, var(--cam) 100%);
  color: #fff;
  padding: clamp(2rem, 5vw, 3rem) 0;
}

.page-news .news-hero h1 { color: #fff; }

.announcements-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding-block: 2rem 3.5rem;
}

.announcement-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  background: var(--yuzey);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--kenar);
  text-decoration: none;
  color: inherit;
  transition: transform var(--ease), box-shadow var(--ease);
}

@media (min-width: 640px) {
  .announcement-row {
    grid-template-columns: minmax(200px, 280px) 1fr;
  }
}

.announcement-row:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.announcement-img img {
  width: 100%;
  height: 100%;
  min-height: 200px;
  object-fit: cover;
}

.announcement-text {
  padding: 1.25rem 1.35rem 1.35rem;
}

.announcement-text time {
  font-size: 0.82rem;
  color: var(--cam);
  font-weight: 600;
}

.announcement-text h2 {
  font-size: clamp(1.15rem, 2.5vw, 1.45rem);
  margin: 0.35rem 0 0.5rem;
}

.announcement-text p {
  color: var(--metin-soft);
  font-size: 0.92rem;
  margin: 0 0 0.75rem;
}

.announcement-link {
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--cam);
}

.announcement-article {
  padding-bottom: 3rem;
}

.announcement-article time {
  display: block;
  color: var(--cam);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.announcement-hero-img {
  margin: 1.5rem 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.announcement-hero-img img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}

/* ═══ İLETİŞİM ═══ */
.page-contact .contact-hero {
  background: var(--yuzey-yesil);
  padding-block: 2rem 1rem;
}

.page-contact .contact-body {
  padding-block: 1.5rem 3.5rem;
}

.page-contact .contact-cards {
  display: grid;
  gap: 1rem;
  margin-bottom: 2rem;
}

@media (min-width: 640px) {
  .page-contact .contact-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .page-contact .contact-cards {
    grid-template-columns: repeat(4, 1fr);
  }
}

.page-contact .info-card {
  background: var(--yuzey);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--kenar);
  min-height: 120px;
}

.page-contact .info-card .ic {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.page-contact .info-card strong {
  display: block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--metin-soft);
  margin-bottom: 0.35rem;
}

.page-contact .info-card a,
.page-contact .info-card p {
  margin: 0;
  font-weight: 600;
  color: var(--orman);
  text-decoration: none;
  font-size: 0.95rem;
  word-break: break-word;
}

.page-contact .map-section {
  background: var(--yuzey);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--kenar);
}

.page-contact .map-section h2 {
  padding: 1.25rem var(--pad) 0;
  margin: 0;
}

.page-contact .map-section .hint {
  padding: 0.35rem var(--pad) 1rem;
}

.page-contact #contact-map {
  width: 100%;
  min-height: 380px;
  background: var(--zemin-2);
}

.page-contact #contact-map iframe {
  width: 100%;
  height: 380px;
  border: 0;
  display: block;
}

@media (min-width: 768px) {
  .page-contact #contact-map iframe { height: 450px; }
}

.page-contact .address-section {
  margin-bottom: 2rem;
}

.page-contact .address-section h2 {
  margin-bottom: 0.75rem;
}

.page-contact .address-box {
  background: var(--yuzey);
  border-radius: var(--radius-lg);
  padding: 1.35rem 1.5rem;
  border: 1px solid var(--kenar);
  box-shadow: var(--shadow-sm);
}

.page-contact .address-box p {
  margin: 0;
  font-weight: 600;
  color: var(--orman);
  line-height: 1.7;
  font-size: 1rem;
  white-space: pre-line;
}

/* Video modal — site içi oynatma */
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 350;
  background: rgba(15, 46, 31, 0.94);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--pad);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--ease), visibility var(--ease);
}

.video-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.video-modal-inner {
  width: 100%;
  max-width: 920px;
}

.video-modal-caption {
  color: #e8f5e3;
  margin-top: 1rem;
  font-weight: 600;
  font-size: 1.05rem;
}

.video-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
}

.page-home .cta-strip h2 {
  color: #fff;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.rich-content {
  font-size: var(--text-lead);
  line-height: var(--leading-body);
}

.rich-content p { margin: 0 0 1rem; }
.rich-content p:last-child { margin-bottom: 0; }
.rich-content ul,
.rich-content ol { margin: 0 0 1rem 1.25rem; }
.rich-content a { color: var(--cam); font-weight: 500; }
.rich-content strong { font-weight: 600; color: var(--orman); }
.rich-content h2,
.rich-content h3 {
  font-family: var(--font-display);
  margin-top: 1.75rem;
  color: var(--orman);
}

/* ═══ SEO içerik bölümü (anasayfa + iletişim) ═══ */
.ai-seo {
  padding-block: clamp(2.5rem, 6vw, 4rem) clamp(3rem, 7vw, 4.5rem);
}

.page-home .ai-seo {
  background: var(--zemin);
  border-top: none;
  margin-top: 0;
}

.page-contact .ai-seo {
  padding-top: 2rem;
  border-top: 1px solid var(--kenar);
}

.ai-seo-head {
  text-align: center;
  max-width: 36rem;
  margin: 0 auto 2rem;
}

.ai-seo-head h2 {
  margin-bottom: 0;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.ai-seo-grid {
  display: grid;
  gap: 1rem;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .ai-seo-grid--duo,
  .ai-seo-grid:has(.ai-seo-card:nth-child(2)) {
    grid-template-columns: 1fr 1fr;
  }
}

.ai-seo-card {
  background: var(--yuzey);
  border: 1px solid var(--kenar);
  border-radius: var(--radius-lg);
  padding: 1.35rem 1.5rem;
  box-shadow: var(--shadow-sm);
}

.ai-seo-card h3 {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--cam);
  margin: 0 0 0.75rem;
}

.ai-seo-card p {
  margin: 0;
  color: var(--metin-soft);
  font-size: 0.98rem;
  line-height: 1.65;
}

.ai-seo-list {
  margin: 0;
  padding-left: 1.15rem;
  color: var(--metin-soft);
  font-size: 0.98rem;
  line-height: 1.65;
}

.ai-seo-list li {
  margin-bottom: 0.4rem;
}

.ai-seo-list li:last-child {
  margin-bottom: 0;
}

.ai-seo-faq {
  margin-top: 1.5rem;
  background: var(--yuzey);
  border: 1px solid var(--kenar);
  border-radius: var(--radius-lg);
  padding: 1.35rem 1.5rem;
  box-shadow: var(--shadow-sm);
}

.ai-seo-faq-title {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--cam);
  margin: 0 0 1rem;
}

.ai-seo-faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.ai-faq-item {
  border: 1px solid var(--kenar);
  border-radius: var(--radius);
  padding: 0.85rem 1rem;
  background: var(--yuzey-yesil);
}

.ai-faq-item summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  color: var(--orman);
  list-style: none;
}

.ai-faq-item summary::-webkit-details-marker {
  display: none;
}

.ai-faq-item summary::after {
  content: "+";
  float: right;
  color: var(--cam);
  font-weight: 700;
}

.ai-faq-item[open] summary::after {
  content: "−";
}

.ai-faq-item p {
  margin: 0.75rem 0 0;
  color: var(--metin-soft);
  font-size: 0.95rem;
  line-height: 1.6;
}

.ai-seo-cta {
  margin-top: 2rem;
  text-align: center;
}

.page-not-found main {
  min-height: 50vh;
}
