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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  overflow-x: hidden;
}

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

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* ===== NAV ===== */
.nav {
  background: transparent;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.nav.scrolled {
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 1px 20px rgba(0, 0, 0, 0.08);
}

.nav.scrolled .font-serif {
  color: #0f172a;
}

.nav.scrolled .nav-link {
  color: #475569;
}

.nav.scrolled .menu-icon-open,
.nav.scrolled .menu-icon-close {
  color: #1e293b;
}

/* ===== MOBILE MENU ===== */
.mobile-menu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu.open {
  max-height: 500px;
}

.mobile-menu-link {
  border-bottom: 1px solid #f1f5f9;
}

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

/* ===== HERO ===== */
.hero {
  position: relative;
}

.hero-bg {
  will-change: transform;
}

.hero-img {
  transition: transform 8s ease;
}

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

.hero-overlay {
  background: linear-gradient(
    135deg,
    rgba(2, 6, 23, 0.72) 0%,
    rgba(15, 23, 42, 0.55) 50%,
    rgba(4, 47, 46, 0.50) 100%
  );
}

.hero-badge {
  animation: fadeInDown 0.8s ease both;
}

.hero-title {
  animation: fadeInUp 0.8s 0.2s ease both;
}

.hero-subtitle {
  animation: fadeInUp 0.8s 0.4s ease both;
}

.hero-cta {
  animation: fadeInUp 0.8s 0.6s ease both;
}

.hero-scroll {
  animation: fadeInUp 0.8s 1s ease both;
}

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

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== BUTTONS ===== */
.btn-primary {
  position: relative;
  overflow: hidden;
}

.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s;
}

.btn-primary:hover::after {
  opacity: 1;
}

/* ===== SECTION LABELS ===== */
.section-label {
  letter-spacing: 0.2em;
}

.section-title {
  line-height: 1.15;
}

/* ===== GEOMETRIC DIVIDER ===== */
.geometric-divider {
  position: relative;
  height: 80px;
  background: linear-gradient(90deg, #0d9488 0%, #14b8a6 50%, #0d9488 100%);
  overflow: hidden;
}

.geo-shape {
  position: absolute;
  opacity: 0.6;
}

.geo-triangle-1 {
  top: 10px;
  left: 5%;
  width: 0;
  height: 0;
  border-left: 20px solid transparent;
  border-right: 20px solid transparent;
  border-bottom: 35px solid rgba(255, 255, 255, 0.35);
  transform: rotate(-15deg);
}

.geo-circle-1 {
  top: 15px;
  left: 18%;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(251, 191, 36, 0.5);
  border: 3px solid rgba(255, 255, 255, 0.3);
}

.geo-triangle-2 {
  top: 25px;
  left: 32%;
  width: 0;
  height: 0;
  border-left: 15px solid transparent;
  border-right: 15px solid transparent;
  border-bottom: 26px solid rgba(255, 255, 255, 0.25);
  transform: rotate(20deg);
}

.geo-square-1 {
  top: 18px;
  right: 28%;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.3);
  transform: rotate(45deg);
}

.geo-circle-2 {
  top: 20px;
  right: 15%;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(94, 234, 212, 0.4);
}

.geo-triangle-3 {
  bottom: 10px;
  right: 5%;
  width: 0;
  height: 0;
  border-left: 18px solid transparent;
  border-right: 18px solid transparent;
  border-top: 30px solid rgba(255, 255, 255, 0.3);
  transform: rotate(10deg);
}

/* ===== MENU CARDS ===== */
.menu-tag {
  background: #f0fdfa;
  color: #0d9488;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 3px 8px;
  border-radius: 9999px;
  white-space: nowrap;
  flex-shrink: 0;
}

.menu-tag-new {
  background: #fef3c7;
  color: #92400e;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 3px 8px;
  border-radius: 9999px;
  white-space: nowrap;
  flex-shrink: 0;
}

.menu-tag-popular {
  background: #fce7f3;
  color: #9d174d;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 3px 8px;
  border-radius: 9999px;
  white-space: nowrap;
  flex-shrink: 0;
}

.menu-card-img {
  transition: transform 0.3s ease;
}

.menu-card:hover .menu-card-img {
  transform: scale(1.08) rotate(2deg);
}

/* ===== EXPERIENCE CARDS ===== */
.exp-card {
  padding: 2rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1.5rem;
  transition: background 0.3s, border-color 0.3s, transform 0.3s;
}

.exp-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(45, 212, 191, 0.3);
  transform: translateY(-4px);
}

/* ===== GALLERY ===== */
.gallery-strip {
  display: flex;
  gap: 1rem;
  animation: scrollGallery 40s linear infinite;
}

.gallery-img {
  flex-shrink: 0;
  transition: transform 0.3s;
}

.gallery-img:hover {
  transform: scale(1.05);
}

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

/* ===== REVEAL ANIMATIONS ===== */
.reveal-up,
.reveal-left,
.reveal-right {
  opacity: 1;
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-up {
  transform: translateY(0);
}

.reveal-left {
  transform: translateX(0);
}

.reveal-right {
  transform: translateX(0);
}

/* These are progressive enhancement — content is visible by default */
@media (prefers-reduced-motion: no-preference) {
  .reveal-up {
    transform: translateY(40px);
    opacity: 0;
  }
  .reveal-left {
    transform: translateX(-40px);
    opacity: 0;
  }
  .reveal-right {
    transform: translateX(40px);
    opacity: 0;
  }
}

/* ===== HOURS ROW ===== */
.hours-row {
  transition: background 0.2s, padding 0.2s;
  border-radius: 0.5rem;
  padding: 0.3rem 0.5rem;
  margin: -0.3rem -0.5rem;
}

.hours-row:hover {
  background: #f0fdfa;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 767px) {
  .hero-title {
    font-size: 2.75rem;
  }

  .section-title {
    font-size: 2.25rem;
  }

  .geometric-divider {
    height: 50px;
  }

  .geo-shape {
    opacity: 0.4;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .hero-title {
    font-size: 3.5rem;
  }
}

/* ===== FOCUS STYLES ===== */
a:focus-visible,
button:focus-visible {
  outline: 2px solid #14b8a6;
  outline-offset: 2px;
  border-radius: 4px;
}

/* ===== SELECTION ===== */
::selection {
  background: #99f6e4;
  color: #042f2e;
}
