/* Ege Cunda Balık — Premium Design System */

:root {
  --navy: #1a3d5c;
  --navy-deep: #15324d;
  --navy-soft: #2a5580;
  --gold: #c9a962;
  --gold-light: #e2c98a;
  --beige: #f7f3ec;
  --beige-dark: #ebe4d6;
  --sea: #4a9bb5;
  --sea-light: #e8f4f8;
  --wood: #8b6f47;
  --white: #ffffff;
  --text: #1e3a52;
  --text-muted: rgba(30, 58, 82, 0.65);
}

html { scroll-behavior: smooth; }

body {
  background: var(--white);
  color: var(--text);
  font-feature-settings: "kern" 1, "liga" 1;
}

/* ── Header ── */
.site-header {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  z-index: 50;
  display: flex;
  flex-direction: column;
  transition: background 0.4s ease, backdrop-filter 0.4s ease;
}

.site-header.glass {
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  background: linear-gradient(
    180deg,
    rgba(21, 50, 77, 0.95) 0%,
    rgba(26, 61, 92, 0.92) 45%,
    rgba(42, 85, 128, 0.88) 78%,
    rgba(74, 155, 181, 0.72) 100%
  );
}

/* Scroll'da background dalgalı + suya düşme ripple (radial + linear) */
.site-header.glass.scrolled {
  padding-bottom: 38px;
  background-color: rgba(26, 61, 92, 0.96);
  background-image:
    radial-gradient(
      ellipse closest-side,
      rgba(200, 230, 245, 0.7) 0%,
      rgba(120, 195, 225, 0.35) 45%,
      transparent 100%
    ),
    radial-gradient(
      ellipse closest-side,
      rgba(100, 180, 215, 0.45) 0%,
      rgba(74, 155, 181, 0.2) 55%,
      transparent 100%
    ),
    radial-gradient(
      ellipse closest-side,
      rgba(74, 155, 181, 0.3) 0%,
      transparent 100%
    ),
    linear-gradient(
      180deg,
      rgba(15, 38, 60, 0.98) 0%,
      rgba(21, 50, 77, 0.97) 22%,
      rgba(26, 61, 92, 0.96) 40%,
      rgba(42, 95, 135, 0.94) 55%,
      rgba(58, 130, 168, 0.93) 72%,
      rgba(74, 155, 181, 0.9) 100%
    );
  background-repeat: no-repeat;
  background-size: 10px 6px, 0 0, 0 0, 100% 100%;
  background-position: 28% 88%, 28% 88%, 28% 88%, 0 0;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 960 100' preserveAspectRatio='none'%3E%3Cpath fill='white' d='M0,0 H960 V72 Q900,96 820,70 Q740,48 660,78 Q580,98 500,68 Q420,42 340,76 Q260,94 180,64 Q100,44 40,80 Q20,90 0,72 Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 960 100' preserveAspectRatio='none'%3E%3Cpath fill='white' d='M0,0 H960 V72 Q900,96 820,70 Q740,48 660,78 Q580,98 500,68 Q420,42 340,76 Q260,94 180,64 Q100,44 40,80 Q20,90 0,72 Z'/%3E%3C/svg%3E");
  -webkit-mask-size: 960px 100%;
  mask-size: 960px 100%;
  -webkit-mask-repeat: repeat-x;
  mask-repeat: repeat-x;
  -webkit-mask-position: 0 0;
  mask-position: 0 0;
  animation:
    headerBgWave 22s linear infinite,
    headerDropSplash 1.8s ease-out infinite;
}

/* Dalga kenarı akışı */
@keyframes headerBgWave {
  from {
    -webkit-mask-position: 0 0;
    mask-position: 0 0;
  }
  to {
    -webkit-mask-position: -960px 0;
    mask-position: -960px 0;
  }
}

/* Suya bir şey düşme — radial ripple linear-gradient üzerinde */
@keyframes headerDropSplash {
  0% {
    background-size: 6px 4px, 0 0, 0 0, 100% 100%;
    background-position: 22% 90%, 22% 90%, 22% 90%, 0 0;
  }
  8% {
    background-size: 36px 18px, 50px 22px, 0 0, 100% 100%;
    background-position: 22% 86%, 22% 86%, 22% 86%, 0 0;
  }
  20% {
    background-size: 12px 7px, 100px 32px, 160px 40px, 100% 100%;
    background-position: 22% 88%, 22% 84%, 22% 82%, 0 0;
  }
  30% {
    background-size: 0 0, 30px 10px, 80px 22px, 100% 100%;
    background-position: 22% 90%, 22% 87%, 22% 84%, 0 0;
  }
  34% {
    background-size: 6px 4px, 0 0, 0 0, 100% 100%;
    background-position: 55% 88%, 55% 88%, 55% 88%, 0 0;
  }
  42% {
    background-size: 32px 16px, 48px 20px, 0 0, 100% 100%;
    background-position: 55% 85%, 55% 85%, 55% 85%, 0 0;
  }
  52% {
    background-size: 10px 6px, 110px 34px, 170px 42px, 100% 100%;
    background-position: 55% 87%, 55% 83%, 55% 81%, 0 0;
  }
  62% {
    background-size: 0 0, 24px 8px, 60px 18px, 100% 100%;
    background-position: 55% 90%, 55% 87%, 55% 85%, 0 0;
  }
  66% {
    background-size: 7px 4px, 0 0, 0 0, 100% 100%;
    background-position: 78% 89%, 78% 89%, 78% 89%, 0 0;
  }
  74% {
    background-size: 30px 15px, 52px 22px, 0 0, 100% 100%;
    background-position: 78% 85%, 78% 85%, 78% 85%, 0 0;
  }
  86% {
    background-size: 8px 5px, 105px 32px, 165px 40px, 100% 100%;
    background-position: 78% 87%, 78% 83%, 78% 81%, 0 0;
  }
  96% {
    background-size: 0 0, 20px 8px, 50px 16px, 100% 100%;
    background-position: 78% 90%, 78% 87%, 78% 85%, 0 0;
  }
  100% {
    background-size: 0 0, 0 0, 0 0, 100% 100%;
    background-position: 30% 90%, 30% 90%, 30% 90%, 0 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-header.glass.scrolled {
    animation: none;
  }
}

.header-bar {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: 1400px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
}

@media (min-width: 1024px) {
  .header-bar {
    padding: 1.15rem 3rem;
    gap: 2rem;
  }
}

.header-logo {
  flex-shrink: 0;
}

.header-logo img {
  display: block;
  height: 3rem;
  width: auto;
  max-width: 130px;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.15));
  transition: transform 0.35s ease;
}

.header-logo:hover img { transform: scale(1.03); }

@media (min-width: 1024px) {
  .header-logo img {
    height: 3.5rem;
    max-width: 150px;
  }
}

/* Ana menü */
.header-nav {
  display: none;
  align-items: center;
  gap: 1.75rem;
  flex: 1;
  justify-content: center;
}

@media (min-width: 1024px) {
  .header-nav {
    display: flex;
  }
}

.nav-link {
  position: relative;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.3s ease;
}

.nav-link:hover { color: var(--gold); }

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.35s ease;
}

.nav-link:hover::after { width: 100%; }

/* Sağ aksiyonlar */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}

.header-cta {
  display: none;
}

@media (min-width: 768px) {
  .header-cta {
    display: inline-flex;
  }
}

.header-menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  color: var(--white);
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
}

@media (min-width: 1024px) {
  .header-menu-btn {
    display: none;
  }
}

/* Dil seçici */
.lang-switch {
  display: none;
  align-items: center;
  gap: 0.1rem;
  padding: 0.15rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(8px);
}

@media (min-width: 768px) {
  .header-actions .lang-switch {
    display: flex;
  }
}

.lang-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.75rem;
  padding: 0.3rem 0.4rem;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  transition: all 0.3s ease;
}

.lang-btn:hover { color: var(--white); }

.lang-btn.active {
  background: var(--gold);
  color: var(--navy-deep);
}

.lang-switch--mobile {
  display: flex;
  width: fit-content;
  border-color: rgba(255, 255, 255, 0.12);
}

.lang-switch--mobile .lang-btn {
  color: rgba(255, 255, 255, 0.5);
}

.lang-switch--mobile .lang-btn.active {
  background: var(--gold);
  color: var(--navy-deep);
}

/* ── Hero Slider ── */
.hero-slide { transition: opacity 1.1s cubic-bezier(0.4, 0, 0.2, 1); }
.hero-media { transform: scale(1.08); transition: transform 8s ease-out; }
.hero-slide[aria-hidden="false"] .hero-media { transform: scale(1); }
.hero-noise {
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  opacity: 0.35;
  mix-blend-mode: overlay;
}
.hero-progress-bar { transform-origin: left; transform: scaleX(0); }

/* Beyaz metin — her görselde okunaklı kalsın */
.hero-copy #hero-title {
  color: #fff;
  text-shadow:
    0 1px 2px rgba(15, 38, 60, 0.55),
    0 8px 28px rgba(15, 38, 60, 0.45),
    0 0 40px rgba(15, 38, 60, 0.35);
}

.hero-copy #hero-description {
  color: rgba(255, 255, 255, 0.92);
  text-shadow:
    0 1px 2px rgba(15, 38, 60, 0.5),
    0 6px 20px rgba(15, 38, 60, 0.4);
}

.hero-copy .section-label {
  text-shadow: 0 1px 8px rgba(15, 38, 60, 0.45);
}

.fade-up { animation: fadeUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) both; }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ── Section utilities ── */
.section-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
}
.section-label--sea { color: var(--sea); }

.gold-line {
  width: 48px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  background: var(--gold);
  color: var(--navy-deep);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 0;
  transition: all 0.35s ease;
}
.btn-primary:hover {
  background: var(--white);
  color: var(--navy);
  box-shadow: 0 8px 32px rgba(201, 169, 98, 0.35);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: all 0.35s ease;
}
.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* ── Scroll reveal ── */
.reveal { opacity: 1; transform: translateY(0); }
.js .reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1), transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}
.js .reveal.visible { opacity: 1; transform: translateY(0); }

/* ── Why cards ── */
.why-card {
  position: relative;
  padding: 2.5rem 2rem;
  background: var(--white);
  border: 1px solid rgba(26, 61, 92, 0.06);
  transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  overflow: hidden;
  cursor: default;
  user-select: none;
}
.why-card::before {
  content: attr(data-num);
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  font-family: "Cormorant Garamond", serif;
  font-size: 3.5rem;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.02em;
  color: rgba(201, 169, 98, 0.55);
  pointer-events: none;
  user-select: none;
}
.why-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px rgba(26, 61, 92, 0.08);
  border-color: rgba(201, 169, 98, 0.25);
}
.why-card:hover::before {
  color: rgba(201, 169, 98, 0.75);
}

/* ═══ ŞEFLER — editorial, kartsız ═══ */
.chefs-section {
  background: var(--white);
}

.chefs-list {
  display: grid;
  gap: 3rem 0;
}

@media (min-width: 768px) {
  .chefs-list {
    grid-template-columns: repeat(3, 1fr);
    gap: 0 3rem;
  }
}

.chef-item {
  cursor: default;
}

@media (min-width: 768px) {
  .chef-item + .chef-item {
    border-left: 1px solid rgba(26, 61, 92, 0.1);
    padding-left: 3rem;
  }
}

@media (max-width: 767px) {
  .chef-item + .chef-item {
    padding-top: 3rem;
    border-top: 1px solid rgba(26, 61, 92, 0.1);
  }
}

.chef-item-media {
  margin: 0;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  max-height: 340px;
}

.chef-item-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.chef-item:hover .chef-item-media img {
  transform: scale(1.03);
}

.chef-item-copy {
  margin-top: 1.35rem;
  padding: 0;
}

.chef-role {
  margin-bottom: 0.4rem;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sea);
}

/* ═══ MENÜ — premium card grid ═══ */
.menu-filter {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.65rem 1.35rem;
  border: 1px solid rgba(26, 61, 92, 0.12);
  color: var(--text);
  background: var(--white);
  transition: all 0.3s ease;
  cursor: pointer;
}
.menu-filter.active {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.menu-filter:hover:not(.active) {
  border-color: var(--gold);
  color: var(--navy);
}

.menu-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}

.menu-item {
  background: var(--white);
  border: 1px solid rgba(26, 61, 92, 0.06);
  overflow: hidden;
  transition: all 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.menu-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(26, 61, 92, 0.1);
  border-color: rgba(201, 169, 98, 0.25);
}
.menu-item-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.menu-item:hover .menu-item-img { transform: scale(1.05); }
.menu-item-body { padding: 1.5rem 1.75rem 1.75rem; }
.menu-item-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}
.menu-item-price {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--gold);
  white-space: nowrap;
}

/* ═══ ETKİNLİKLER — image cards ═══ */
.events-track {
  display: flex;
  gap: 1.5rem;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.event-card {
  flex: 0 0 calc(33.333% - 1rem);
  min-width: 300px;
  position: relative;
  overflow: hidden;
  aspect-ratio: 3/4;
  cursor: pointer;
}
.event-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}
.event-card:hover img { transform: scale(1.06); }
.event-card-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem;
  background: linear-gradient(to top, rgba(26, 61, 92, 0.92) 0%, rgba(26, 61, 92, 0.3) 55%, transparent 100%);
  color: var(--white);
}
.event-card-date {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-light);
}
.event-card-more {
  margin-top: 1rem;
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-light);
  opacity: 0.85;
  transition: opacity 0.3s ease, color 0.3s ease;
}
.event-card:hover .event-card-more,
.event-card:focus-visible .event-card-more {
  opacity: 1;
  color: var(--gold);
}
.event-card:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* Event detail panel */
/* ═══ Duyuru / Afiş popup ═══ */
.announce-popup {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.announce-popup.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

body:has(.announce-popup.is-open) {
  overflow: hidden;
}

.announce-popup-backdrop {
  position: absolute;
  inset: 0;
  border: none;
  background: rgba(15, 38, 60, 0.62);
  cursor: pointer;
}

.announce-popup-panel {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: fit-content;
  max-width: min(920px, calc(100vw - 2.5rem));
  max-height: min(92vh, 880px);
  overflow: auto;
  background: var(--beige);
  box-shadow: 0 32px 90px rgba(15, 38, 60, 0.35);
  transform: translateY(20px) scale(0.98);
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.announce-popup.is-open .announce-popup-panel {
  transform: translateY(0) scale(1);
}

@media (min-width: 768px) {
  .announce-popup-panel {
    flex-direction: row;
    align-items: stretch;
    overflow: hidden;
  }
}

.announce-popup-close {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  z-index: 2;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid rgba(26, 61, 92, 0.12);
  background: rgba(247, 243, 236, 0.94);
  color: var(--navy);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  transition: border-color 0.25s ease, color 0.25s ease;
}

.announce-popup-close:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.announce-popup-media {
  flex: 0 1 auto;
  background: transparent;
  line-height: 0;
}

.announce-popup-media img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: min(48vh, 420px);
  object-fit: contain;
}

@media (min-width: 768px) {
  .announce-popup-media {
    flex: 0 1 auto;
    max-width: min(48vw, 480px);
    align-self: center;
  }

  .announce-popup-media img {
    max-width: min(48vw, 480px);
    max-height: min(88vh, 780px);
  }
}

.announce-popup-body {
  flex: 1 1 260px;
  min-width: min(280px, 100%);
  max-width: 420px;
  padding: 1.75rem 1.5rem 2rem;
  display: flex;
  flex-direction: column;
}

@media (min-width: 768px) {
  .announce-popup-body {
    padding: 2.4rem 2.1rem 2.5rem;
    overflow-y: auto;
    min-height: 0;
  }
}

.announce-popup-text {
  margin-top: 1.15rem;
  font-size: 0.95rem;
  line-height: 1.7;
  color: rgba(26, 61, 92, 0.68);
}

.announce-popup-actions {
  margin-top: auto;
  padding-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.25rem;
}

.event-detail {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}
.event-detail.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.event-detail-backdrop {
  position: absolute;
  inset: 0;
  border: none;
  background: rgba(21, 50, 77, 0.55);
  cursor: pointer;
}
.event-detail-panel {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  width: min(920px, 100%);
  max-height: min(88vh, 720px);
  overflow: auto;
  background: var(--beige);
  box-shadow: 0 30px 80px rgba(26, 61, 92, 0.28);
  transform: translateY(16px);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.event-detail.is-open .event-detail-panel {
  transform: translateY(0);
}
@media (min-width: 768px) {
  .event-detail-panel {
    grid-template-columns: 0.95fr 1.05fr;
    overflow: hidden;
  }
}
.event-detail-close {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  z-index: 2;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid rgba(26, 61, 92, 0.12);
  background: rgba(247, 243, 236, 0.92);
  color: var(--navy);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  transition: border-color 0.25s ease, color 0.25s ease;
}
.event-detail-close:hover {
  border-color: var(--gold);
  color: var(--gold);
}
.event-detail-media {
  min-height: 220px;
  background: var(--navy);
}
.event-detail-media img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
  display: block;
}
@media (min-width: 768px) {
  .event-detail-media,
  .event-detail-media img {
    min-height: 100%;
    height: 100%;
  }
}
.event-detail-body {
  padding: 1.75rem 1.5rem 2rem;
}
@media (min-width: 768px) {
  .event-detail-body {
    padding: 2.25rem 2rem 2.4rem;
    overflow-y: auto;
  }
}
.event-detail-meta {
  display: grid;
  gap: 1rem 1.5rem;
  margin: 1.5rem 0 0;
}
@media (min-width: 480px) {
  .event-detail-meta {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.event-detail-meta dt {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(26, 61, 92, 0.45);
}
.event-detail-meta dd {
  margin: 0.35rem 0 0;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.15rem;
  color: var(--navy);
}
.event-detail-note {
  margin-top: 1.5rem;
  font-size: 0.95rem;
  line-height: 1.7;
  color: rgba(26, 61, 92, 0.72);
}
.event-detail-extra {
  margin-top: 0.75rem;
  font-size: 0.88rem;
  line-height: 1.65;
  color: rgba(26, 61, 92, 0.55);
}
.event-detail-cta {
  margin-top: 1.75rem;
  display: inline-flex;
}

.event-memory-shots {
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(26, 61, 92, 0.1);
}

.event-memory-shots-label {
  margin: 0 0 0.85rem;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(26, 61, 92, 0.45);
}

.event-memory-shots-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.55rem;
}

.event-memory-shot {
  position: relative;
  aspect-ratio: 1;
  padding: 0;
  border: 0;
  background: var(--navy);
  cursor: pointer;
  overflow: hidden;
}

.event-memory-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease, opacity 0.3s ease;
}

.event-memory-shot:hover img,
.event-memory-shot:focus-visible img {
  transform: scale(1.06);
}

.event-memory-shot:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.event-memory-shot-more {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(21, 50, 77, 0.55);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.memory-preview {
  z-index: 110;
}

/* Rezervasyon sidebar (etkinlikler) */
.reservation-drawer {
  position: fixed;
  inset: 0;
  z-index: 95;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.reservation-drawer.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.reservation-drawer-backdrop {
  position: absolute;
  inset: 0;
  border: none;
  background: rgba(21, 50, 77, 0.5);
  cursor: pointer;
}

.reservation-drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  width: min(440px, 100%);
  display: flex;
  flex-direction: column;
  background: var(--beige);
  box-shadow: -20px 0 60px rgba(26, 61, 92, 0.22);
  transform: translateX(100%);
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  overflow: hidden;
}

.reservation-drawer.is-open .reservation-drawer-panel {
  transform: translateX(0);
}

.reservation-drawer-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.75rem 1.5rem 1.25rem;
  flex-shrink: 0;
  border-bottom: 1px solid rgba(26, 61, 92, 0.08);
}

.reservation-drawer-close {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid rgba(26, 61, 92, 0.12);
  background: rgba(255, 255, 255, 0.55);
  color: var(--navy);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  transition: border-color 0.25s ease, color 0.25s ease;
}

.reservation-drawer-close:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.reservation-drawer-form {
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 1.5rem 1.5rem 2rem;
}

.reservation-drawer-form.wa-form--panel {
  background: transparent;
  border: 0;
}

@media (min-width: 640px) {
  .reservation-drawer-head {
    padding: 2rem 1.85rem 1.35rem;
  }

  .reservation-drawer-form {
    padding: 1.75rem 1.85rem 2.25rem;
  }
}

@media (max-width: 768px) {
  .event-card { flex: 0 0 82%; }
}

/* Geçmiş geceler arşivi */
.events-archive {
  margin-top: 4.5rem;
  padding-top: 3.5rem;
  border-top: 1px solid rgba(26, 61, 92, 0.1);
}

.events-archive-head {
  margin-bottom: 2rem;
}

.section-title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
}

.section-title-row h2,
.section-title-row h3 {
  margin: 0;
  min-width: 0;
  flex: 1 1 auto;
}

.section-title-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.section-slider-nav {
  display: flex;
  gap: 0.5rem;
}

.section-slider-nav--mobile {
  display: flex;
}

@media (min-width: 1024px) {
  .section-slider-nav--mobile {
    display: none;
  }
}

.section-slider-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid rgba(26, 61, 92, 0.15);
  color: var(--navy);
  background: transparent;
  transition: border-color 0.25s ease, color 0.25s ease;
  cursor: pointer;
}

.section-slider-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.section-view-all {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--navy);
  border-bottom: 1px solid rgba(26, 61, 92, 0.25);
  padding-bottom: 0.2rem;
  transition: color 0.25s ease, border-color 0.25s ease;
  white-space: nowrap;
  flex-shrink: 0;
}

.section-view-all::after {
  content: "→";
  font-size: 0.85rem;
  transition: transform 0.25s ease;
}

.section-view-all:hover {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

.section-view-all:hover::after {
  transform: translateX(3px);
}

/* Etkinlikler listing page */
.events-page {
  background: var(--beige);
  padding-top: 7.5rem;
  padding-bottom: 5rem;
  min-height: 70vh;
}

@media (min-width: 1024px) {
  .events-page {
    padding-top: 8.5rem;
    padding-bottom: 6.5rem;
  }
}

.events-page-hero {
  margin-bottom: 2.5rem;
}

.events-tabs {
  display: flex;
  align-items: stretch;
  gap: 0;
  margin-bottom: 2.5rem;
  border-bottom: 1px solid rgba(26, 61, 92, 0.12);
}

.events-tab {
  position: relative;
  padding: 0.85rem 1.35rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(26, 61, 92, 0.45);
  background: transparent;
  border: 0;
  cursor: pointer;
  transition: color 0.25s ease;
}

.events-tab::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.3s ease;
}

.events-tab:hover {
  color: var(--navy);
}

.events-tab.is-active {
  color: var(--navy);
}

.events-tab.is-active::after {
  transform: scaleX(1);
}

.events-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 2.75rem;
}

.events-pagination-btn {
  min-width: 2.5rem;
  height: 2.5rem;
  padding: 0 0.65rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(26, 61, 92, 0.14);
  background: transparent;
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: border-color 0.25s ease, color 0.25s ease, background 0.25s ease;
}

.events-pagination-btn:hover:not(:disabled):not(.is-active) {
  border-color: var(--gold);
  color: var(--gold);
}

.events-pagination-btn.is-active {
  border-color: var(--navy);
  background: var(--navy);
  color: var(--white);
  cursor: default;
}

.events-pagination-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.events-pagination-btn--nav {
  font-size: 1.15rem;
  line-height: 1;
}

.events-tab-panel {
  display: none;
}

.events-tab-panel.is-active {
  display: block;
  animation: eventsTabIn 0.35s ease;
}

@keyframes eventsTabIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .events-tab-panel.is-active {
    animation: none;
  }
}

.events-page-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
  scroll-margin-top: 7rem;
}

@media (min-width: 640px) {
  .events-page-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .events-page-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.events-page-grid .event-card {
  flex: none;
  min-width: 0;
  width: 100%;
}

.events-page-grid--memory {
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .events-page-grid--memory {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .events-page-grid--memory {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.nav-link[aria-current="page"] {
  color: var(--gold);
}

.nav-link[aria-current="page"]::after {
  width: 100%;
}

.events-archive-track {
  display: flex;
  gap: 1.5rem;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.events-archive-track .memory-card {
  flex: 0 0 82%;
  min-width: 0;
}

@media (min-width: 640px) {
  .events-archive-track .memory-card {
    flex: 0 0 calc(50% - 0.75rem);
  }
}

@media (min-width: 1024px) {
  .events-archive-track .memory-card {
    flex: 0 0 calc(25% - 1.125rem);
  }
}

.memory-card {
  display: flex;
  flex-direction: column;
  cursor: pointer;
  background: transparent;
  border: none;
  padding: 0;
  text-align: left;
  transition: transform 0.35s ease;
}

.memory-card:hover {
  transform: translateY(-3px);
}

.memory-card:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.memory-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  display: block;
  filter: saturate(0.92);
  transition: filter 0.4s ease;
}

.memory-card:hover img {
  filter: saturate(1);
}

.memory-card-copy {
  padding-top: 1rem;
}

.memory-card-copy time {
  display: block;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(26, 61, 92, 0.45);
}

.memory-card-copy h4 {
  margin: 0.45rem 0 0;
}

.memory-card-copy p {
  margin: 0.35rem 0 0;
  font-size: 0.88rem;
  color: rgba(26, 61, 92, 0.55);
  line-height: 1.45;
}

/* ═══ GALERİ + Lightbox — mozaik, farklı boylar ═══ */
.gallery-mosaic {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
}

@media (min-width: 640px) {
  .gallery-mosaic {
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: 110px;
    gap: 1rem;
  }
}

@media (min-width: 1024px) {
  .gallery-mosaic {
    grid-auto-rows: 125px;
    gap: 1.15rem;
  }
}

.gallery-item {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
  padding: 0;
  border: none;
  background: none;
  cursor: zoom-in;
  text-align: left;
}

@media (max-width: 639px) {
  .gallery-item { min-height: 220px; }
  .gallery-item--tall,
  .gallery-item--portrait { min-height: 300px; }
  .gallery-item--wide,
  .gallery-item--landscape { min-height: 180px; }
}

@media (min-width: 640px) {
  .gallery-item--hero {
    grid-column: span 7;
    grid-row: span 3;
  }
  .gallery-item--tall {
    grid-column: span 5;
    grid-row: span 4;
  }
  .gallery-item--wide {
    grid-column: span 8;
    grid-row: span 2;
  }
  .gallery-item--square {
    grid-column: span 4;
    grid-row: span 2;
  }
  .gallery-item--portrait {
    grid-column: span 4;
    grid-row: span 3;
  }
  .gallery-item--landscape {
    grid-column: span 8;
    grid-row: span 2;
  }
}

.gallery-item img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item::before {
  content: "+";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  opacity: 0;
  transition: all 0.35s ease;
  z-index: 2;
  pointer-events: none;
}
.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(26, 61, 92, 0);
  transition: background 0.4s ease;
  pointer-events: none;
}
.gallery-item:hover::before { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.gallery-item:hover::after { background: rgba(26, 61, 92, 0.35); }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  grid-template-rows: auto 1fr;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0 0.5rem;
  padding: 1.25rem 1rem 1.75rem;
  background:
    radial-gradient(ellipse 80% 60% at 50% 45%, rgba(42, 85, 128, 0.35) 0%, transparent 70%),
    rgba(12, 28, 44, 0.97);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.lightbox.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.lightbox-top {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 0.5rem 0.75rem;
}

.lightbox-brand {
  margin: 0;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(201, 169, 98, 0.85);
}

.lightbox-close {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.04);
  transition: border-color 0.3s ease, color 0.3s ease, background 0.3s ease;
}

.lightbox-close:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(201, 169, 98, 0.08);
}

.lightbox-stage {
  grid-column: 2;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 0;
  max-width: min(88vw, 1100px);
  margin-inline: auto;
}

.lightbox-stage img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: min(72vh, 820px);
  object-fit: contain;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.45);
  transform: scale(0.94);
  opacity: 0.85;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.35s ease;
}

.lightbox.open .lightbox-stage img {
  transform: scale(1);
  opacity: 1;
}

.lightbox-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1.5rem;
  width: 100%;
  margin-top: 1.15rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.lightbox-caption {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.15rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.92);
}

.lightbox-counter {
  flex-shrink: 0;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: rgba(201, 169, 98, 0.9);
}

.lightbox-nav {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
  transition: border-color 0.3s ease, color 0.3s ease, background 0.3s ease;
}

.lightbox-nav:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(201, 169, 98, 0.08);
}

.lightbox-nav--prev { grid-column: 1; }
.lightbox-nav--next { grid-column: 3; }

@media (max-width: 767px) {
  .lightbox {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto 1fr auto;
    padding: 1rem 1rem 1.25rem;
    gap: 0.75rem;
  }

  .lightbox-top {
    grid-column: 1 / -1;
  }

  .lightbox-stage {
    grid-column: 1 / -1;
    max-width: 100%;
  }

  .lightbox-stage img {
    max-height: 56vh;
  }

  .lightbox-nav {
    width: 100%;
    height: 48px;
  }

  .lightbox-nav--prev {
    grid-column: 1;
    grid-row: 3;
  }

  .lightbox-nav--next {
    grid-column: 2;
    grid-row: 3;
  }
}

/* ═══ İLETİŞİM BİLGİLERİ (rezervasyon bölümünde) ═══ */
.contact-info-list { display: flex; flex-direction: column; gap: 0; }
.contact-info-item {
  display: flex;
  gap: 1.25rem;
  padding: 1.75rem 0;
  border-bottom: 1px solid rgba(26, 61, 92, 0.08);
  align-items: flex-start;
}
.contact-info-item:last-child { border-bottom: none; }
.contact-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border: 1px solid rgba(26, 61, 92, 0.08);
  color: var(--sea);
}
.contact-info-item a {
  color: var(--navy);
  transition: color 0.3s;
}
.contact-info-item a:hover { color: var(--gold); }

/* ═══ FOOTER — premium ═══ */
.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.7);
  position: relative;
  overflow: hidden;
}
.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.footer-grid {
  display: grid;
  gap: 2.75rem 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 3rem 4rem;
    align-items: start;
  }
}

.footer-brand {
  padding-bottom: 0;
  margin-bottom: 0;
  border-bottom: none;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.875rem;
  transition: color 0.3s;
}
.footer-links a:hover { color: var(--gold); }
.footer-bottom {
  margin-top: 2rem;
  padding-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.35);
}

/* ── WhatsApp FAB ── */
.whatsapp-fab {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 50;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  transition: transform 0.3s ease;
}
.whatsapp-fab:hover { transform: scale(1.08); }

/* ── Mobile menu ── */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: var(--navy);
  transform: translateX(100%);
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.mobile-menu.open { transform: translateX(0); }

/* ── WhatsApp rezervasyon + iletişim ── */
.wa-section {
  background: var(--beige);
  padding-top: 5rem;
  padding-bottom: 5rem;
  position: relative;
  z-index: 3;
  overflow: visible;
}

.wa-anchor {
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

@media (min-width: 1024px) {
  .wa-section {
    padding-top: 6.5rem;
    padding-bottom: 6.5rem;
  }
}

.wa-split {
  display: grid;
  gap: 3rem;
  align-items: start;
}

@media (min-width: 1024px) {
  .wa-split {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: 4.5rem;
    align-items: start;
  }
}

.wa-split-info .contact-info-item {
  padding: 1.35rem 0;
}

.wa-split-info .contact-icon {
  background: rgba(255, 255, 255, 0.72);
}

.wa-form {
  margin-top: 0;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  position: relative;
  z-index: 5;
  overflow: visible;
}

.wa-form--panel {
  padding: 1.75rem 1.5rem 1.85rem;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(26, 61, 92, 0.08);
}

@media (min-width: 640px) {
  .wa-form--panel {
    padding: 2rem 1.85rem 2.1rem;
  }
}

.wa-fields {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem 1.75rem;
  overflow: visible;
  position: relative;
}

@media (min-width: 640px) {
  .wa-fields {
    grid-template-columns: 1fr 1fr;
  }
  .wa-field--full {
    grid-column: 1 / -1;
  }
}

.wa-field {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  position: relative;
  z-index: 1;
}

.wa-fields.is-picking .wa-field {
  z-index: 1;
}

.wa-field.is-raised {
  z-index: 200;
}

.wa-fields.is-picking .wa-field:not(.is-raised) {
  z-index: 1;
  pointer-events: none;
}

.wa-fields.is-picking .wa-field:not(.is-raised) input {
  pointer-events: none;
}

.wa-field > span {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(26, 61, 92, 0.5);
}

.wa-field input[type="text"],
.wa-field textarea {
  width: 100%;
  border: none;
  border-bottom: 1px solid rgba(26, 61, 92, 0.18);
  background: transparent;
  color: var(--navy);
  font-size: 1.05rem;
  font-family: "Cormorant Garamond", serif;
  padding: 0.55rem 0 0.7rem;
  outline: none;
  border-radius: 0;
  transition: border-color 0.3s ease;
}

.wa-field textarea {
  resize: vertical;
  min-height: 2.8em;
  line-height: 1.4;
}

.wa-field input[type="text"]::placeholder,
.wa-field textarea::placeholder {
  color: rgba(26, 61, 92, 0.35);
  font-style: italic;
}

.wa-field input[type="text"]:focus,
.wa-field textarea:focus {
  border-bottom-color: var(--gold);
}

.wa-picker {
  position: relative;
  z-index: 1;
}

.wa-picker.is-open {
  z-index: 210;
}

.wa-picker-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  width: 100%;
  border: none;
  border-bottom: 1px solid rgba(26, 61, 92, 0.18);
  background: transparent;
  color: var(--navy);
  font-size: 1.05rem;
  font-family: "Cormorant Garamond", serif;
  padding: 0.55rem 0 0.7rem;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.3s ease;
}

.wa-picker.is-open .wa-picker-trigger,
.wa-picker-trigger:focus {
  border-bottom-color: var(--gold);
  outline: none;
}

.wa-picker-label {
  flex: 1;
  min-width: 0;
}

.wa-picker-chevron {
  width: 0.75rem;
  height: 0.5rem;
  flex-shrink: 0;
  color: rgba(26, 61, 92, 0.55);
  transition: transform 0.25s ease;
}

.wa-picker.is-open .wa-picker-chevron {
  transform: rotate(180deg);
}

.wa-picker-panel {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 0.45rem);
  z-index: 220;
  margin: 0;
  padding: 0.45rem 0;
  list-style: none;
  background: #f7f3ec;
  border: 1px solid rgba(26, 61, 92, 0.12);
  box-shadow: 0 18px 40px rgba(26, 61, 92, 0.18);
}

.wa-picker-panel:not(.wa-datetime) {
  max-height: 15rem;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

.wa-picker-panel.is-ported {
  display: block;
  margin: 0;
}

.wa-picker-panel.is-ported:not(.wa-datetime) {
  max-height: 15rem;
  overflow-y: auto;
}

.wa-picker-panel.is-ported.wa-datetime {
  display: block;
  max-height: none;
  overflow: visible;
  padding: 0;
}

.wa-picker-panel[hidden] {
  display: none !important;
}

.wa-picker.is-open .wa-picker-panel {
  display: block;
}

.wa-picker.is-open .wa-picker-panel.wa-datetime {
  display: block;
}

.wa-picker-panel[role="listbox"] li,
.wa-time-list li {
  padding: 0.65rem 1rem;
  color: var(--navy);
  font-family: "Cormorant Garamond", serif;
  font-size: 1.05rem;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.wa-picker-panel[role="listbox"] li:hover,
.wa-time-list li:hover {
  background: rgba(201, 169, 98, 0.14);
}

.wa-picker-panel[role="listbox"] li[aria-selected="true"],
.wa-time-list li[aria-selected="true"] {
  background: var(--navy);
  color: var(--white);
}

.wa-datetime {
  position: relative;
  width: 320px;
  min-width: 0;
  max-width: calc(100vw - 24px);
  padding-right: 5rem;
  box-sizing: border-box;
}

.wa-datetime-cal {
  padding: 0.65rem 0.65rem 0.7rem;
  min-width: 0;
}

.wa-datetime-times {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 5rem;
  border-left: 1px solid rgba(26, 61, 92, 0.1);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #f7f3ec;
}

.wa-datetime-times-label {
  margin: 0;
  padding: 0.55rem 0.35rem 0.25rem;
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(26, 61, 92, 0.45);
  text-align: center;
  flex-shrink: 0;
}

.wa-time-list {
  margin: 0;
  padding: 0 0 0.35rem;
  list-style: none;
  flex: 1 1 auto;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
}

.wa-time-list li {
  padding: 0.4rem 0.25rem;
  font-size: 0.92rem;
  text-align: center;
}

.wa-time-list li.is-disabled {
  color: rgba(26, 61, 92, 0.28);
  cursor: not-allowed;
  pointer-events: none;
}

.wa-time-list li.is-disabled:hover {
  background: transparent;
}

.wa-cal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.35rem;
  margin-bottom: 0.55rem;
}

.wa-cal-title {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: 0.98rem;
  color: var(--navy);
  font-weight: 500;
}

.wa-cal-nav {
  width: 1.65rem;
  height: 1.65rem;
  border: 1px solid rgba(26, 61, 92, 0.12);
  background: transparent;
  color: var(--navy);
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.wa-cal-nav:hover {
  border-color: var(--gold);
  background: rgba(201, 169, 98, 0.12);
}

.wa-cal-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.1rem;
  margin-bottom: 0.2rem;
}

.wa-cal-weekdays span {
  text-align: center;
  font-size: 0.55rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(26, 61, 92, 0.45);
  padding: 0.1rem 0;
}

.wa-cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.12rem;
}

.wa-cal-day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: transparent;
  color: var(--navy);
  font-family: "Cormorant Garamond", serif;
  font-size: 0.82rem;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.wa-cal-day:hover:not(:disabled) {
  background: rgba(201, 169, 98, 0.18);
}

.wa-cal-day.is-muted {
  color: rgba(26, 61, 92, 0.28);
}

.wa-cal-day.is-today {
  box-shadow: inset 0 0 0 1px rgba(201, 169, 98, 0.7);
}

.wa-cal-day.is-selected {
  background: var(--navy);
  color: var(--white);
}

.wa-cal-day:disabled {
  color: rgba(26, 61, 92, 0.22);
  cursor: not-allowed;
}

.wa-form--panel .wa-submit {
  align-self: stretch;
  min-width: 0;
  width: 100%;
}

@media (min-width: 480px) {
  .wa-form--panel .wa-submit {
    align-self: flex-start;
    width: auto;
    min-width: 260px;
  }
}

.wa-submit {
  align-self: center;
  position: relative;
  z-index: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 260px;
  padding: 1rem 2rem;
  border: none;
  background: var(--navy);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
}

.wa-submit:hover {
  background: var(--navy-deep);
  transform: translateY(-2px);
}
