/* KARŞIPINAR — Modern transparan navigasyon ve gerçek köy galerisi */
html { scroll-padding-top: 115px; }

/* Üst bilgi şeridi yerine videoya yerleşen tek, zarif cam yüzey. */
.header {
  position: fixed;
  top: 15px; left: 0; right: 0;
  height: auto;
  z-index: 200;
  background: none;
  border: 0;
  pointer-events: none;
  transition: top .3s ease;
}
.header__inner {
  height: auto;
  min-height: 85px;
  position: relative;
  display: flex;
  gap: 26px;
  align-items: center;
  justify-content: space-between;
  padding: 11px 23px;
  background: rgba(27, 29, 27, .36);
  -webkit-backdrop-filter: blur(20px) saturate(145%);
  backdrop-filter: blur(20px) saturate(145%);
  border: 1px solid rgba(255,255,255,.19);
  border-radius: 19px;
  box-shadow: 0 14px 55px rgba(12,15,13,.17), inset 0 1px 0 rgba(255,255,255,.10);
  pointer-events: auto;
  transition: background .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.brand {
  min-width: 0;
  flex: none;
  gap: 13px;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
.brand__emblem {
  width: 57px; height: 57px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  padding: 2px;
  border: 1px solid rgba(244,222,186,.32);
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  box-shadow: inset 0 0 0 3px rgba(250,240,214,.045);
}
.brand__emblem img { width: 52px; height: 52px; object-fit: contain; }
.brand__copy { line-height: 1.03; display: block; }
.brand__copy strong {
  display: block;
  font: 600 clamp(21px,2vw,26px)/1.14 var(--font-heading);
  letter-spacing: -.042em;
  text-transform: none;
  white-space: nowrap;
  color: #fffaf1;
  text-shadow: 0 1px 12px rgba(0,0,0,.13);
  transition: color .3s ease;
}
.brand__copy strong::after { display: none; }
.brand__copy em {
  font-style: italic;
  color: #eacb9f;
  font-weight: 500;
  transition: color .3s ease;
}
.nav {
  display: flex;
  align-items: center;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: clamp(13px,1.45vw,25px);
  color: #f8f5ee;
}
.nav > a:not(.nav__pill) {
  position: relative;
  padding: 17px 0;
  color: inherit;
  font-family: var(--font-text);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  letter-spacing: -.005em;
  transition: color .2s ease;
}
.nav > a:not(.nav__pill)::after {
  content: '';
  position: absolute;
  left: 0; right: 100%; bottom: 8px;
  height: 2px;
  background: #dbad73;
  border-radius: 4px;
  transition: right .22s ease;
}
.nav > a:not(.nav__pill):hover,
.nav > a:not(.nav__pill):focus-visible,
.nav > a:not(.nav__pill).is-active { color: #e9ca97; }
.nav > a:not(.nav__pill):hover::after,
.nav > a:not(.nav__pill):focus-visible::after,
.nav > a:not(.nav__pill).is-active::after { right: 0; }
.nav__pill {
  padding: 14px 19px;
  min-height: 45px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  border: 1px solid rgba(248,230,200,.54);
  border-radius: 100px;
  background: #e4c296;
  color: #3b2622;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  letter-spacing: -.015em;
  box-shadow: 0 5px 20px rgba(0,0,0,.09);
  transition: transform .2s ease, background .2s ease, color .2s ease;
}
.nav__pill span { font-size: 18px; line-height: .8; font-weight: 400; }
.nav__pill:hover { background: #f3d7af; transform: translateY(-1px); }

/* Aşağı kaydırınca kontrastını koruyan sıcak/krem navigasyon. */
.header.is-scrolled { top: 9px; }
.header.is-scrolled .header__inner {
  background: rgba(252,249,242,.94);
  border-color: rgba(121,88,76,.13);
  box-shadow: 0 10px 42px rgba(37,23,17,.15), inset 0 1px 0 rgba(255,255,255,.8);
}
.header.is-scrolled .brand__emblem { border-color: rgba(139,90,72,.14); background: rgba(139,72,58,.045); }
.header.is-scrolled .brand__copy strong { color: #6e252a; text-shadow: none; }
.header.is-scrolled .brand__copy em { color: #a87845; }
.header.is-scrolled .nav { color: #463836; }
.header.is-scrolled .nav > a:not(.nav__pill):hover,
.header.is-scrolled .nav > a:not(.nav__pill):focus-visible,
.header.is-scrolled .nav > a:not(.nav__pill).is-active { color: #9c3d3f; }
.header.is-scrolled .nav > a:not(.nav__pill)::after { background: #b78953; }
.header.is-scrolled .nav__pill {
  background: #8f2c34;
  border-color: #8f2c34;
  color: #fff;
}
.header.is-scrolled .nav__pill:hover { background: #70232c; }

/* Hero artık video ile birlikte ekranı doldurur; menü videonun üstündedir. */
.hero {
  height: 100svh;
  min-height: 710px;
  max-height: 970px;
}
.hero__content { padding: 72px 0 15px; }
.hero .btn { border-radius: 100px; }
.hero__shade {
  background: linear-gradient(90deg,rgba(17,22,21,.65) 0%,rgba(21,25,23,.40) 48%,rgba(12,23,21,.12) 100%),
    linear-gradient(0deg,rgba(20,17,19,.56) 0%,transparent 28%,transparent 73%,rgba(18,23,23,.20) 100%);
}
.hero__tools .sound-toggle { border-radius: 100px; }

/* GALERİ — Köyün orijinal drone kaydından kareler */
.gallery {
  position: relative;
  overflow: hidden;
  background: #f8f4eb;
  border-top: 1px solid #efe7d9;
}
.gallery::before {
  content: '';
  position: absolute;
  width: 490px; height: 490px;
  top: -250px; right: -130px;
  background: radial-gradient(circle,#e9dcc4 0%,transparent 70%);
  opacity: .52;
  pointer-events: none;
}
.gallery__intro {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 35px;
  margin-bottom: 32px;
}
.gallery h2 { margin: 15px 0 0; max-width: 640px; }
.gallery h2 em { color: #9e353a; }
.gallery__intro-right { flex: 0 1 365px; }
.gallery__intro-right p { font-size: 13px; line-height: 1.85; color: #76685f; margin: 16px 0 2px; }
.gallery__badge {
  display: inline-flex; gap: 9px; align-items: center;
  font-size: 10px; font-weight: 700; letter-spacing: .14em;
  color: #7b5745; border-radius: 100px;
  border: 1px solid #dbcbb5;
  background: #fdf9f1;
  padding: 10px 13px;
}
.gallery__badge-dot { width: 6px; height: 6px; border-radius: 50%; background: #a5363d; }
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(12,minmax(0,1fr));
  grid-auto-rows: minmax(145px, 16vw);
  gap: 15px;
}
.gallery-card {
  position: relative;
  display: block;
  grid-column: span 4;
  padding: 0; margin: 0;
  border: 0;
  width: 100%; height: 100%;
  border-radius: 16px;
  text-align: left;
  overflow: hidden;
  background: #5a6556;
  isolation: isolate;
  box-shadow: 0 4px 15px rgba(32,29,25,.055);
  cursor: zoom-in;
}
.gallery-card--featured { grid-column: span 7; grid-row: span 2; }
.gallery-card:nth-child(2),.gallery-card:nth-child(3) { grid-column: span 5; }
.gallery-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .65s cubic-bezier(.22,.75,.25,1); }
.gallery-card:hover img, .gallery-card:focus-visible img { transform: scale(1.06); }
.gallery-card__gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg,rgba(9,17,15,.68),transparent 55%), linear-gradient(180deg,rgba(9,17,15,.13),transparent 45%);
  pointer-events: none;
}
.gallery-card__content {
  position: absolute;
  left: 24px; bottom: 23px;
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 7px;
  text-shadow: 0 1px 9px rgba(0,0,0,.2);
}
.gallery-card__content small { font-size: 10px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #e8d4ad; }
.gallery-card__content strong { font: 500 25px/1.14 var(--font-heading); letter-spacing: -.02em; }
.gallery-card--featured .gallery-card__content { left: 34px; bottom: 32px; }
.gallery-card--featured .gallery-card__content strong { font-size: clamp(28px,3.25vw,44px); }
.gallery-card__expand {
  position: absolute; top: 16px; right: 16px;
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border: 1px solid rgba(255,255,255,.5);
  border-radius: 50%;
  background: rgba(29,29,23,.19);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  color: #fff; font-size: 20px;
  transition: background .2s ease, transform .2s ease;
}
.gallery-card:hover .gallery-card__expand { background: rgba(255,255,255,.22); transform: translate(2px,-2px); }
.gallery-card:focus-visible { outline: 3px solid #d09f68; outline-offset: 4px; }
.gallery__footer {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  margin-top: 24px; padding-top: 17px;
  border-top: 1px solid #e9dfce;
  color: #7b7067; font-size: 11px;
}
.gallery__footer span:last-child { color: #9a6d45; letter-spacing: .1em; font-size: 10px; font-weight: 700; white-space: nowrap; }
.gallery__footer span span { padding: 0 8px; color: #b88a5c; }

/* Erişilebilir tam ekran görsel görüntüleyici. */
.gallery-lightbox[hidden] { display: none !important; }
.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 2500;
  display: grid;
  place-items: center;
  padding: 22px;
}
.gallery-lightbox__backdrop {
  position: absolute; inset: 0;
  border: 0; border-radius: 0;
  background: rgba(19,18,17,.92);
  cursor: zoom-out;
}
.gallery-lightbox__window {
  position: relative;
  z-index: 1;
  width: min(1120px,100%);
  display: flex; flex-direction: column;
  overflow: hidden;
  background: #241e1c;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 15px;
  box-shadow: 0 20px 70px rgba(0,0,0,.35);
}
.gallery-lightbox__top,.gallery-lightbox__bottom {
  display:flex; justify-content:space-between; align-items:center; gap: 15px;
  color: #eee1ce;
}
.gallery-lightbox__top { padding: 13px 23px; border-bottom: 1px solid rgba(255,255,255,.11); font-size: 13px; font-weight: 700; }
.gallery-lightbox__point { color: #d9b783; margin: 0 9px; }
.gallery-lightbox__close {
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 50%; width: 35px; height: 35px;
  display: grid; place-items: center;
  background: rgba(255,255,255,.08);
  color: #fff; font-size: 15px;
}
.gallery-lightbox__photo { min-height: 100px; display: grid; place-items: center; background: #161514; }
.gallery-lightbox__photo img { max-width:100%; max-height: min(69vh,730px); object-fit: contain; }
.gallery-lightbox__bottom { padding: 15px 22px; }
.gallery-lightbox__bottom > div:first-child { display: flex; flex-direction: column; gap: 4px; }
.gallery-lightbox__bottom small { color: #d1b18a; font-size: 10px; letter-spacing: .12em; }
.gallery-lightbox__bottom strong { color: #fff; font: 500 21px/1.2 var(--font-heading); }
.gallery-lightbox__arrows { display: flex; gap: 9px; }
.gallery-lightbox__arrows button {
  width: 39px; height: 39px;
  border: 1px solid rgba(255,255,255,.2);
  background: rgba(255,255,255,.07);
  border-radius: 50%; color: #fff; font-size: 20px;
}
.gallery-lightbox__arrows button:hover,.gallery-lightbox__close:hover { background: #85343a; }
body.gallery-is-open { overflow: hidden; }

@media (max-width: 1230px) {
  .header__inner { padding: 10px 17px; gap: 18px; }
  .nav { gap: 13px; }
  .nav > a:not(.nav__pill) { font-size: 11.5px; }
  .nav__pill { padding: 13px 15px; gap: 10px; }
  .brand__copy strong { font-size: 22px; }
  .brand__emblem { width: 53px; height: 53px; }
  .brand__emblem img { width: 49px; height: 49px; }
}

@media (max-width: 1080px) {
  .header { top: 12px; }
  .header__inner { min-height: 78px; padding: 10px 15px 10px 18px; }
  .brand__copy strong { font-size: 25px; }
  .menu-toggle {
    display: flex; flex: none;
    width: 45px; height: 45px;
    position: relative; z-index: 21;
    flex-direction: column; justify-content: center; align-items: center; gap: 5px;
    border-radius: 50%; border: 1px solid rgba(255,255,255,.30);
    background: rgba(255,255,255,.09);
    transition: background .2s ease;
  }
  .menu-toggle span { width: 19px; height: 2px; background: #fff9ef; border-radius: 3px; transition: transform .2s ease,opacity .2s ease; }
  .menu-toggle[aria-expanded=true] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded=true] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded=true] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .header.is-scrolled .menu-toggle { background: #8f2c34; border-color: #8f2c34; }
  .header.is-scrolled .menu-toggle span { background: #fff; }
  .nav {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    left: 0; right: 0;
    z-index: 20;
    width: auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 13px 20px 20px;
    background: rgba(36,32,29,.96);
    -webkit-backdrop-filter: blur(22px); backdrop-filter: blur(22px);
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 18px;
    color: #fff;
    box-shadow: 0 20px 50px rgba(20,15,15,.22);
  }
  .nav.is-open { display: flex; }
  .nav > a:not(.nav__pill) { padding: 15px 4px; font-size: 14px; border-bottom: 1px solid rgba(255,255,255,.1); }
  .nav > a:not(.nav__pill)::after { display: none; }
  .nav__pill { margin-top: 15px; width: 100%; justify-content: space-between; padding: 16px 19px; font-size: 13px; }
  .header.is-scrolled .nav { background: rgba(252,249,242,.98); border-color: #ece0d5; color: #3e3533; }
  .header.is-scrolled .nav > a:not(.nav__pill) { border-color: #eadfd3; }
  .hero { min-height: 660px; }
}

@media (max-width: 800px) {
  .gallery__intro { align-items: start; flex-direction: column; gap: 15px; }
  .gallery__intro-right { flex-basis: auto; max-width: 570px; }
  .gallery__grid { gap: 11px; grid-auto-rows: clamp(150px, 24vw, 210px); }
  .gallery-card__content { left: 18px; bottom: 18px; }
  .gallery-card__content strong { font-size: 21px; }
}

@media (max-width: 560px) {
  html { scroll-padding-top: 100px; }
  .header { top: 9px; }
  .header__inner { min-height: 69px; border-radius: 15px; padding: 8px 11px; }
  .brand { gap: 9px; }
  .brand__emblem { width: 46px; height: 46px; }
  .brand__emblem img { width: 43px; height: 43px; }
  .brand__copy strong { font-size: clamp(18px,4.8vw,23px); letter-spacing: -.04em; }
  .menu-toggle { width: 41px; height: 41px; }
  .nav { top: calc(100% + 8px); left: 0; right: 0; border-radius: 15px; padding: 8px 17px 18px; }
  .nav > a:not(.nav__pill) { font-size: 13px; padding: 13px 4px; }
  .hero { min-height: 740px; height: 100svh; max-height: none; }
  .hero__content { padding: 50px 0 35px; }
  .hero__content h1 { font-size: clamp(37px,10.1vw,50px); }
  .hero__shade { background: linear-gradient(90deg,rgba(15,20,19,.76),rgba(20,27,24,.29)),linear-gradient(0deg,rgba(20,16,18,.5),transparent 44%); }
  .gallery { padding-top: 73px; padding-bottom: 77px; }
  .gallery__intro { margin-bottom: 23px; }
  .gallery__intro-right p { font-size: 12px; margin-top: 13px; }
  .gallery__grid { grid-template-columns:repeat(2,minmax(0,1fr)); grid-auto-rows:160px; gap:9px; }
  .gallery-card { grid-column: span 1; border-radius: 11px; }
  .gallery-card--featured { grid-column: span 2; grid-row: span 2; }
  .gallery-card:nth-child(2), .gallery-card:nth-child(3) { grid-column: span 1; }
  .gallery-card:last-child { grid-column: span 2; }
  .gallery-card__content { left: 12px; bottom: 13px; gap: 5px; }
  .gallery-card__content small { font-size: 8px; letter-spacing: .10em; }
  .gallery-card__content strong { font-size: 17px; }
  .gallery-card--featured .gallery-card__content { left: 21px; bottom: 20px; }
  .gallery-card--featured .gallery-card__content strong { font-size: 30px; }
  .gallery-card__expand { width: 30px; height: 30px; top: 10px; right: 10px; font-size: 17px; }
  .gallery__footer { flex-wrap: wrap; margin-top: 18px; gap: 10px; font-size: 10px; }
  .gallery-lightbox { padding: 10px; }
  .gallery-lightbox__top { padding: 11px 13px; font-size: 12px; }
  .gallery-lightbox__bottom { padding: 13px; }
  .gallery-lightbox__photo img { max-height: 65vh; }
  .gallery-lightbox__bottom strong { font-size: 17px; }
}

@media(prefers-reduced-motion: reduce) {
  .gallery-card img { transition: none; }
  .header, .header__inner { transition: none; }
}
