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

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

body {
  margin: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ===== NAVBAR ===== */
.nav-header {
  transition: box-shadow 0.3s ease;
}

.nav-link {
  position: relative;
}

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

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

.h-18 {
  height: 4.5rem;
}

/* ===== MOBILE MENU ===== */
.mobile-nav-link {
  position: relative;
}

/* ===== MENU TABS ===== */
.menu-tab {
  background: transparent;
  color: #7B2D3B;
  border: none;
  cursor: pointer;
}

.menu-tab.active {
  background: #7B2D3B;
  color: white;
  box-shadow: 0 4px 12px rgba(123, 45, 59, 0.3);
}

.menu-tab:not(.active):hover {
  background: rgba(123, 45, 59, 0.1);
}

/* ===== SCROLL REVEAL ANIMATIONS ===== */
.reveal-up,
.reveal-left,
.reveal-right {
  opacity: 1;
  transform: none;
  transition: opacity 0.7s cubic-bezier(0.22, 0.61, 0.36, 1),
              transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

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

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

/* These transitions only apply when the JS adds the visible class
   (progressive enhancement — content is visible without JS) */
@media (prefers-reduced-motion: no-preference) {
  .reveal-up.animate {
    transform: translateY(0);
    opacity: 1;
  }

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

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

/* ===== HERO DECORATIVE SHAPES ===== */
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(5deg); }
}

@keyframes float-slow {
  0%, 100% { transform: translateY(0) rotate(45deg); }
  50% { transform: translateY(-15px) rotate(50deg); }
}

@keyframes pulse-slow {
  0%, 100% { transform: scale(1); opacity: 0.2; }
  50% { transform: scale(1.1); opacity: 0.3; }
}

.hero-shape-1 { animation: float 6s ease-in-out infinite; }
.hero-shape-2 { animation: float-slow 8s ease-in-out infinite; }
.hero-shape-3 { animation: pulse-slow 5s ease-in-out infinite; }

/* ===== GALLERY HOVER ===== */
.gallery-strip img {
  transition: transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ===== BUTTON HOVER EFFECTS ===== */
a[href^="#"] {
  text-decoration: none;
}

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

/* ===== SELECTION ===== */
::selection {
  background: #ffb8c6;
  color: #3d0f16;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #FFFAF7;
}

::-webkit-scrollbar-thumb {
  background: #7B2D3B;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #5e1a26;
}
