/* ===== RESET & BASE ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-tap-highlight-color: transparent;
}

body {
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ===== SECTION UTILITIES ===== */
.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #0D9488;
}

.section-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 700;
  line-height: 1.1;
  color: #0f172a;
}

.section-desc {
  font-size: 1.125rem;
  line-height: 1.7;
  color: #475569;
}

/* ===== NAVBAR ===== */
#navbar {
  background: rgba(255, 255, 255, 0);
  backdrop-filter: none;
  transition: background 0.4s ease, box-shadow 0.4s ease;
}

#navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 20px rgba(0, 0, 0, 0.06);
}

.nav-link {
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: #0D9488;
  transition: width 0.3s ease;
}

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

/* ===== MARQUEE ===== */
.marquee-track {
  animation: marquee 30s linear infinite;
}

.marquee-content {
  flex-shrink: 0;
  padding-left: 1rem;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ===== MENU TABS ===== */
.menu-tab {
  background: #F1F5F9;
  color: #475569;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.3s ease;
}

.menu-tab:hover {
  background: #F0FDFA;
  color: #0D9488;
}

.menu-tab.active {
  background: #0D9488;
  color: #fff;
  border-color: #0D9488;
  box-shadow: 0 4px 14px rgba(13, 148, 136, 0.3);
}

.menu-item {
  padding: 1rem 0;
  border-bottom: 1px solid #F1F5F9;
  animation: fadeIn 0.4s ease forwards;
}

.menu-item:first-child {
  padding-top: 0;
}

.menu-item:last-child {
  border-bottom: none;
}

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

/* ===== GALLERY ===== */
.gallery-item {
  aspect-ratio: 1;
  cursor: pointer;
}

.gallery-item:nth-child(1) {
  aspect-ratio: auto;
}

/* ===== FEATURE CARDS ===== */
.feature-card {
  transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
}

/* ===== MOBILE MENU ===== */
.mobile-link {
  transition: transform 0.3s ease;
}

.mobile-link:hover {
  transform: translateX(4px);
}

/* ===== SCROLL REVEAL (progressive enhancement) ===== */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
  }

  .reveal.revealed {
    opacity: 1;
    transform: translateY(0);
  }

  .reveal-delay-1 { transition-delay: 0.1s; }
  .reveal-delay-2 { transition-delay: 0.2s; }
  .reveal-delay-3 { transition-delay: 0.3s; }
  .reveal-delay-4 { transition-delay: 0.4s; }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .section-title {
    font-size: clamp(1.75rem, 6vw, 2.5rem);
  }

  #hero h1 {
    font-size: clamp(2rem, 8vw, 3.5rem);
  }

  .gallery-item {
    aspect-ratio: 4/3;
  }

  .gallery-item:nth-child(1) {
    aspect-ratio: 4/3;
  }
}

@media (max-width: 480px) {
  .px-5 {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}
