/* ─── Reset & Base ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Nunito', system-ui, sans-serif;
  color: #1a2a3a;
  background: #ffffff;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; }
ul { list-style: none; }

/* ─── Header ─── */
#site-header {
  transition: box-shadow 0.3s ease, background 0.3s ease;
}
#site-header.scrolled {
  box-shadow: 0 4px 30px rgba(15, 43, 76, 0.1);
}
.header-glass {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(15, 43, 76, 0.06);
  transition: background 0.3s ease, border-color 0.3s ease;
}
#site-header.scrolled .header-glass {
  background: rgba(255, 255, 255, 0.95);
  border-bottom-color: rgba(15, 43, 76, 0.1);
}

/* ─── Nav Links ─── */
.nav-links { display: flex; align-items: center; gap: 0.25rem; }
.nav-link {
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 0.9rem;
  color: #1a2a3a;
  transition: background 0.2s, color 0.2s;
}
.nav-link:hover { background: rgba(15, 43, 76, 0.06); color: #0f2b4c; }
.nav-link.active { background: rgba(93, 192, 171, 0.15); color: #3db59a; }

/* ─── Mobile Menu ─── */
.mobile-nav-link {
  display: block;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  font-weight: 600;
  color: #1a2a3a;
  transition: background 0.2s;
}
.mobile-nav-link:hover { background: rgba(15, 43, 76, 0.06); }

/* ─── Hero ─── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(135deg, #0a1f38 0%, #0f2b4c 40%, #1a4a6e 70%, #2d6a8a 100%);
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
  filter: saturate(0.7);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(10, 31, 56, 0.88) 0%,
    rgba(15, 43, 76, 0.72) 40%,
    rgba(45, 106, 138, 0.55) 100%
  );
  z-index: 1;
}
.hero-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 25% 25%, rgba(125, 211, 192, 0.08) 0%, transparent 50%),
                    radial-gradient(circle at 75% 75%, rgba(125, 211, 192, 0.06) 0%, transparent 50%);
  z-index: 2;
  pointer-events: none;
}
.hero-content {
  padding-top: 4rem;
}
.hero-badge {
  animation: fadeInDown 0.8s ease both;
}
.hero h1 {
  animation: fadeInUp 0.8s 0.2s ease both;
}
.hero p {
  animation: fadeInUp 0.8s 0.4s ease both;
}
.hero .flex {
  animation: fadeInUp 0.8s 0.6s ease both;
}
.scroll-indicator {
  animation: fadeInUp 0.8s 0.8s ease both;
}

/* ─── Buttons ─── */
.btn-primary {
  background: #7dd3c0;
  box-shadow: 0 8px 30px rgba(125, 211, 192, 0.4);
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}
.btn-primary:hover {
  background: #6bc4b1;
  box-shadow: 0 12px 40px rgba(125, 211, 192, 0.5);
}
.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.6);
}

/* ─── Tags / Badges ─── */
.tag-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 1rem;
  background: rgba(93, 192, 171, 0.12);
  color: #3db59a;
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid rgba(93, 192, 171, 0.25);
}
.tag-light {
  background: rgba(125, 211, 192, 0.15);
  color: #7dd3c0;
  border-color: rgba(125, 211, 192, 0.3);
}

/* ─── Section Titles ─── */
.section-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 700;
  color: #0f2b4c;
  line-height: 1.15;
}
.section-title-light {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.15;
}

/* ─── Stats ─── */
.stat-item { display: flex; flex-direction: column; gap: 0.2rem; }
.stat-number {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2rem;
  font-weight: 700;
  color: #0f2b4c;
  line-height: 1;
}
.stat-label {
  font-size: 0.85rem;
  color: #6b7a8a;
  font-weight: 600;
}

/* ─── About Gallery ─── */
.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
.gallery-img {
  width: 100%;
  height: auto;
  border-radius: 24px;
  object-fit: cover;
  box-shadow: 0 20px 60px rgba(15, 43, 76, 0.15);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.gallery-img--1 { aspect-ratio: 4/5; }
.gallery-img--2 { aspect-ratio: 4/3; }
.gallery-img--3 { aspect-ratio: 4/3; }
.gallery-img:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 80px rgba(15, 43, 76, 0.2);
}

/* ─── Menu Cards ─── */
.menu-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  padding: 2rem;
  backdrop-filter: blur(8px);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.menu-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  border-color: rgba(125, 211, 192, 0.3);
}
.menu-card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.menu-card-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #7dd3c0, #5bc0ab);
  border-radius: 14px;
  color: #0f2b4c;
  flex-shrink: 0;
}
.menu-card-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: #ffffff;
}
.menu-card-list { display: flex; flex-direction: column; gap: 1rem; }
.menu-card-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
}
.menu-card-item-name {
  font-weight: 700;
  color: #ffffff;
  font-size: 0.95rem;
  white-space: nowrap;
}
.menu-card-item-desc {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
  text-align: right;
  line-height: 1.4;
}

/* ─── Gallery Masonry ─── */
.gallery-masonry {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  grid-auto-rows: 200px;
}
.gallery-mosaic-item {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;
}
.gallery-mosaic-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.gallery-mosaic-item:hover img {
  transform: scale(1.06);
}
.gallery-mosaic-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 3rem 1.25rem 1.25rem;
  background: linear-gradient(to top, rgba(10, 31, 56, 0.85), transparent);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.9rem;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s, transform 0.3s;
}
.gallery-mosaic-item:hover .gallery-mosaic-caption {
  opacity: 1;
  transform: translateY(0);
}
.gallery-mosaic-item--wide {
  grid-column: span 2;
  grid-row: span 2;
}

/* ─── Contact Form ─── */
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-label {
  font-weight: 700;
  font-size: 0.85rem;
  color: #0f2b4c;
}
.form-input {
  padding: 0.75rem 1rem;
  border: 2px solid #e8eef4;
  border-radius: 14px;
  font-family: inherit;
  font-size: 0.95rem;
  color: #1a2a3a;
  background: #f8fafc;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
  outline: none;
  width: 100%;
}
.form-input:focus {
  border-color: #7dd3c0;
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(125, 211, 192, 0.15);
}
.form-input.error {
  border-color: #ef4444;
  background: #fef2f2;
}
.form-input.error:focus {
  box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.15);
}
.form-error {
  font-size: 0.8rem;
  color: #ef4444;
  font-weight: 600;
  min-height: 1.2em;
}
.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%230f2b4c' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}
.form-textarea {
  resize: vertical;
  min-height: 120px;
}

/* ─── Contact Info ─── */
.contact-info-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.contact-info-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(93, 192, 171, 0.12);
  border-radius: 12px;
  color: #3db59a;
  flex-shrink: 0;
}

/* ─── Back to Top ─── */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 30;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0f2b4c;
  color: #7dd3c0;
  border: none;
  border-radius: 14px;
  box-shadow: 0 8px 30px rgba(15, 43, 76, 0.3);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.3s, transform 0.3s, visibility 0.3s, background 0.2s;
}
.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top:hover { background: #1a4a6e; }

/* ─── Cookie Consent ─── */
.cookie-consent {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 50;
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(15, 43, 76, 0.2);
  border: 1px solid rgba(15, 43, 76, 0.08);
  padding: 1.5rem 2rem;
  max-width: 480px;
  width: calc(100% - 2rem);
}
.cookie-consent-content p { margin: 0; }
.cookie-btn {
  padding: 0.6rem 1.5rem;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 0.85rem;
  border: none;
  transition: transform 0.2s, box-shadow 0.2s;
}
.cookie-btn:hover { transform: scale(1.05); }
.cookie-btn--primary {
  background: #0f2b4c;
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(15, 43, 76, 0.3);
}
.cookie-btn--secondary {
  background: #f0f4f8;
  color: #1a2a3a;
}

/* ─── Reveal Animations ─── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── Keyframes ─── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-16px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ─── Menu Dots Background ─── */
.menu-dots {
  background-image: radial-gradient(circle, rgba(125, 211, 192, 0.5) 1px, transparent 1px);
  background-size: 24px 24px;
}

/* ─── Responsive ─── */
@media (min-width: 768px) {
  .gallery-grid {
    grid-template-columns: 5fr 4fr;
    grid-template-rows: 280px 280px;
  }
  .gallery-img--1 { grid-row: 1 / 3; aspect-ratio: unset; }
  .gallery-img--2 { grid-row: 1; }
  .gallery-img--3 { grid-row: 2; }
}

@media (max-width: 767px) {
  .gallery-masonry {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 160px;
  }
  .gallery-mosaic-item--wide {
    grid-column: span 2;
    grid-row: span 1;
  }
  .gallery-mosaic-item--wide img {
    aspect-ratio: 16/9;
  }
  .gallery-mosaic-item img {
    aspect-ratio: 1;
  }
}

@media (min-width: 768px) {
  .gallery-masonry {
    grid-auto-rows: 200px;
  }
  .gallery-mosaic-item img {
    aspect-ratio: auto;
  }
}

/* ─── Reduced Motion ─── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
