﻿:root {
  --sand-0: #fbf8f2;
  --sand-1: #efe5d3;
  --sand-2: #e4d6bc;
  --mint-0: #deeee9;
  --mint-1: #c7e2dc;
  --leaf-900: #123f3b;
  --leaf-700: #21675f;
  --leaf-600: #2f7f74;
  --leaf-500: #409487;
  --sun: #d4ab69;
  --sun-soft: #e8cb9b;

  --text-main: #183a35;
  --text-soft: #355e58;
  --text-muted: #607b76;
  --text-on-dark: #f4fbf8;

  --panel: rgba(255, 255, 255, 0.88);
  --line: rgba(18, 63, 59, 0.14);
  --line-strong: rgba(18, 63, 59, 0.24);

  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;

  --shadow-soft: 0 12px 28px rgba(18, 63, 59, 0.14);
  --shadow-strong: 0 20px 48px rgba(18, 63, 59, 0.2);

  --shell-max-width: 1200px;
  --menu-ratio: 2000 / 1414;

  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-ui: "Manrope", "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: auto;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-ui);
  color: var(--text-main);
  background:
    radial-gradient(circle at 10% 12%, rgba(64, 148, 135, 0.2), transparent 32%),
    radial-gradient(circle at 88% 18%, rgba(212, 171, 105, 0.2), transparent 36%),
    linear-gradient(145deg, var(--sand-0) 0%, var(--sand-1) 55%, var(--mint-0) 100%);
}

body.lightbox-open {
  overflow: hidden;
}

.site-shell {
  width: min(calc(100% - 2rem), var(--shell-max-width));
  margin: 0 auto;
  padding: 1rem 0 2.5rem;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(1.4rem, 3.2vw, 2.5rem);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.45);
  background:
    linear-gradient(145deg, rgba(18, 63, 59, 0.95), rgba(47, 127, 116, 0.92)),
    radial-gradient(circle at 84% 22%, rgba(232, 203, 155, 0.24), transparent 34%);
  color: var(--text-on-dark);
  box-shadow: var(--shadow-strong);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(to right, rgba(255, 255, 255, 0.08), transparent 35%),
    linear-gradient(to top, rgba(255, 255, 255, 0.06), transparent 35%);
}

.hero > * {
  position: relative;
  z-index: 1;
}

.hero-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  width: clamp(130px, 18vw, 205px);
  height: auto;
}

.language-box {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.34rem;
}

.language-box label {
  font-size: 0.72rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  font-weight: 700;
  color: rgba(244, 251, 248, 0.9);
}

#languageSwitcher {
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  color: var(--text-on-dark);
  font-family: var(--font-ui);
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1;
  padding: 0.58rem 0.9rem;
}

#languageSwitcher option {
  color: #12332f;
}

.hero-eyebrow {
  margin: 1.35rem 0 0.34rem;
  font-size: 0.76rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  color: rgba(244, 251, 248, 0.82);
}

.hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 5.6vw, 3.6rem);
  line-height: 0.96;
  font-weight: 700;
}

.hero-subtitle {
  margin: 0.76rem 0 0;
  max-width: 740px;
  font-size: clamp(0.95rem, 2.2vw, 1.06rem);
  line-height: 1.55;
  color: rgba(244, 251, 248, 0.88);
}

.menu-dock {
  position: sticky;
  top: 10px;
  z-index: 20;
  margin-top: 1rem;
  display: grid;
  gap: 0.64rem;
}

.menu-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.35rem;
  padding: 0.34rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.84);
  box-shadow: var(--shadow-soft);
}

.menu-nav button {
  appearance: none;
  border: none;
  border-radius: 999px;
  min-height: 46px;
  padding: 0.74rem 1rem;
  background: transparent;
  color: var(--leaf-900);
  font-family: var(--font-ui);
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
}

.menu-nav button:hover,
.menu-nav button:focus-visible {
  background: rgba(64, 148, 135, 0.16);
  outline: none;
}

.menu-nav button.active {
  color: #ffffff;
  background: linear-gradient(145deg, var(--leaf-600), var(--leaf-700));
}

.menu-top-action {
  display: flex;
  justify-content: center;
}

.btn-back-oasis {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 43px;
  padding: 0.64rem 1.28rem;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: #ffffff;
  color: var(--leaf-900);
  text-decoration: none;
  font-size: 0.87rem;
  font-weight: 700;
  box-shadow: var(--shadow-soft);
}

.btn-back-oasis:hover,
.btn-back-oasis:focus-visible {
  background: #f9fdfb;
  outline: none;
}

.main-content {
  margin-top: 1.2rem;
}

.menu-section {
  display: none;
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: var(--shadow-soft);
  padding: clamp(1rem, 2.4vw, 1.8rem);
}

.menu-section.active {
  display: block;
}

.section-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.84rem, 4vw, 2.5rem);
  line-height: 1;
  color: var(--leaf-900);
}

.section-text {
  margin: 0.56rem 0 0;
  font-size: clamp(0.94rem, 2.08vw, 1rem);
  line-height: 1.55;
  color: var(--text-soft);
}

.gallery {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: clamp(0.75rem, 2vw, 1.15rem);
}

.gallery-card {
  margin: 0;
  padding: 1px;
  border-radius: var(--radius-lg);
  background: linear-gradient(130deg, rgba(47, 127, 116, 0.52), rgba(212, 171, 105, 0.46));
  box-shadow: 0 12px 24px rgba(18, 63, 59, 0.12);
}

.gallery-card[hidden] {
  display: none;
}

.gallery-zoom {
  appearance: none;
  display: block;
  width: 100%;
  border: none;
  border-radius: calc(var(--radius-lg) - 1px);
  padding: 0.5rem;
  aspect-ratio: var(--menu-ratio);
  background: linear-gradient(150deg, #f8f3eb, #efe5d6);
  box-shadow: inset 0 0 0 1px rgba(18, 63, 59, 0.12);
  cursor: zoom-in;
}

.gallery-zoom:hover,
.gallery-zoom:focus-visible {
  background: linear-gradient(150deg, #fbf7f1, #f3eadc);
  outline: none;
}

.gallery-zoom img {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: var(--radius-md);
  background: #ffffff;
  object-fit: contain;
  object-position: center;
}

.zoom-note {
  margin: 0.82rem 0 0;
  color: var(--text-muted);
  font-size: 0.79rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 700;
}

.site-footer {
  margin-top: 1.3rem;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: linear-gradient(150deg, rgba(18, 63, 59, 0.95), rgba(38, 108, 97, 0.93));
  color: rgba(244, 251, 248, 0.94);
  text-align: center;
  padding: 1.55rem 1rem;
  box-shadow: var(--shadow-soft);
}

.footer-logo {
  width: clamp(110px, 16vw, 155px);
  height: auto;
  opacity: 0.95;
}

.footer-social {
  margin: 0.95rem auto 0;
  color: #f3faf8;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.48rem;
  font-size: 0.86rem;
  font-weight: 600;
}

.footer-social:hover,
.footer-social:focus-visible {
  color: var(--sun-soft);
  outline: none;
}

.instagram-icon {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.footer-text {
  margin: 0.9rem 0 0;
  font-size: 0.77rem;
  color: rgba(244, 251, 248, 0.74);
}

.image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  padding: clamp(0.84rem, 2vw, 1.2rem);
  background: rgba(11, 26, 24, 0.9);
}

.image-lightbox[hidden] {
  display: none;
}

#lightboxImage {
  max-width: min(1140px, 100%);
  max-height: 88vh;
  width: auto;
  height: auto;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
  object-fit: contain;
}

.lightbox-close {
  position: fixed;
  top: 12px;
  right: 12px;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
}

.lightbox-close:hover,
.lightbox-close:focus-visible {
  background: rgba(255, 255, 255, 0.22);
  outline: none;
}

@media (max-width: 980px) {
  .site-shell {
    width: min(calc(100% - 1.2rem), var(--shell-max-width));
    padding-top: 0.72rem;
  }

  .gallery {
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  }

  .menu-dock {
    top: 8px;
  }
}

@media (max-width: 640px) {
  .hero,
  .menu-section,
  .site-footer {
    border-radius: 22px;
  }

  .hero-top {
    align-items: flex-start;
    gap: 0.75rem;
  }

  .menu-dock {
    gap: 0.58rem;
  }

  .gallery {
    grid-template-columns: 1fr;
  }

  .gallery-zoom {
    aspect-ratio: 16 / 11;
  }

  .btn-back-oasis {
    width: 100%;
  }

  .zoom-note {
    font-size: 0.66rem;
  }
}

@media (max-width: 420px) {
  .menu-nav button {
    min-height: 42px;
    padding: 0.66rem 0.65rem;
    font-size: 0.82rem;
  }

  .lightbox-close {
    width: 38px;
    height: 38px;
    font-size: 1.5rem;
  }
}
