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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  overflow-x: hidden;
}

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

/* === CUSTOM PROPERTIES === */
:root {
  --midnight: #0f172a;
  --mint: #34d399;
  --mint-dark: #059669;
  --cream: #fefce8;
  --warm-gray: #f5f5f4;
  --shadow-soft: 0 4px 24px rgba(15, 23, 42, 0.06);
  --shadow-soft-lg: 0 12px 40px rgba(15, 23, 42, 0.1);
}

/* === NAV === */
#nav {
  background: rgba(254, 252, 232, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

#nav.scrolled {
  background: rgba(254, 252, 232, 0.95);
  box-shadow: var(--shadow-soft);
}

.nav-link {
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--mint);
  border-radius: 2px;
  transition: width 0.25s ease;
}

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

.mobile-link {
  display: block;
  padding: 8px 0;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

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

/* === BUTTONS === */
.btn-primary {
  background: var(--midnight);
  color: #fff;
  padding: 12px 28px;
  border-radius: 1rem;
  text-decoration: none;
  display: inline-block;
  transition: all 0.25s ease;
  border: 2px solid var(--midnight);
}

.btn-primary:hover {
  background: var(--mint-dark);
  border-color: var(--mint-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(5, 150, 105, 0.25);
}

.btn-secondary {
  background: transparent;
  color: var(--midnight);
  padding: 12px 28px;
  border-radius: 1rem;
  text-decoration: none;
  display: inline-block;
  transition: all 0.25s ease;
  border: 2px solid var(--midnight);
}

.btn-secondary:hover {
  background: var(--midnight);
  color: #fff;
  transform: translateY(-2px);
}

/* === BADGE === */
.badge-inline {
  display: inline-flex;
  align-items: center;
  background: var(--mint-light);
  color: var(--mint-dark);
  font-size: 0.8rem;
  font-weight: 800;
  padding: 6px 14px;
  border-radius: 2rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* === FEATURE CARDS === */
.feature-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft-lg);
}

/* === MENU CARDS === */
.menu-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.menu-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft-lg);
}

/* === GALLERY === */
.gallery-item {
  cursor: pointer;
  transition: transform 0.3s ease;
}

.gallery-item:hover {
  transform: scale(1.02);
}

/* === INPUTS === */
.input-field {
  background: #fff;
  border: 2px solid rgba(15, 23, 42, 0.1);
  border-radius: 0.75rem;
  padding: 12px 16px;
  font-family: 'Nunito', system-ui, sans-serif;
  font-size: 0.95rem;
  color: var(--midnight);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  outline: none;
  width: 100%;
}

.input-field:focus {
  border-color: var(--mint);
  box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.15);
}

.input-field::placeholder {
  color: rgba(15, 23, 42, 0.3);
}

/* === ANIMATIONS === */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.animate-float {
  animation: float 3s ease-in-out infinite;
}

/* === SCROLL REVEAL === */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* === MOBILE MENU === */
#mobile-menu.open {
  display: flex;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  h1 {
    font-size: 2.75rem !important;
  }

  .font-display.text-4xl,
  h2.font-display {
    font-size: 2.25rem !important;
  }

  #hero .order-1 {
    order: 1 !important;
  }

  #hero .order-2 {
    order: 2 !important;
  }

  .gallery-item.row-span-2 {
    grid-row: auto;
  }

  .gallery-item {
    min-height: 200px;
  }

  .gallery-item img {
    height: 200px;
  }
}

@media (min-width: 769px) and (max-width: 1023px) {
  h1 {
    font-size: 3.5rem !important;
  }
}
