/* ─── Reset & Base ─── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  overflow-x: hidden;
}

::selection {
  background: #7B2D3B;
  color: #fce4e8;
}

/* ─── Hero Gradient ─── */
.hero-gradient {
  background: linear-gradient(135deg, #3d0f17 0%, #7B2D3B 35%, #b5324e 65%, #d44d66 85%, #f49aad 100%);
}

.hero-pattern {
  background-image: radial-gradient(circle at 25% 25%, rgba(255,255,255,0.03) 0%, transparent 50%),
                    radial-gradient(circle at 75% 75%, rgba(255,255,255,0.05) 0%, transparent 50%);
}

/* ─── Hero Animations ─── */
.hero-eyebrow {
  opacity: 0;
  animation: fadeUp 0.8s ease forwards;
  animation-delay: 0.2s;
}

.hero-title {
  opacity: 0;
  animation: fadeUp 0.8s ease forwards;
  animation-delay: 0.4s;
}

.hero-subtitle {
  opacity: 0;
  animation: fadeUp 0.8s ease forwards;
  animation-delay: 0.6s;
}

.hero-subtitle ~ div,
.hero-subtitle + div {
  opacity: 0;
  animation: fadeUp 0.8s ease forwards;
  animation-delay: 0.8s;
}

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

/* ─── Scroll Indicator ─── */
.scroll-line {
  width: 1px;
  height: 60px;
  background: rgba(255,255,255,0.2);
  position: relative;
  overflow: hidden;
}

.scroll-line span {
  display: block;
  width: 100%;
  height: 20px;
  background: rgba(255,255,255,0.6);
  animation: scrollDown 1.8s ease-in-out infinite;
}

@keyframes scrollDown {
  0% { transform: translateY(-20px); opacity: 0; }
  50% { opacity: 1; }
  100% { transform: translateY(20px); opacity: 0; }
}

/* ─── Navigation ─── */
#nav {
  background: transparent;
  transition: background 0.4s ease, box-shadow 0.4s ease;
}

#nav.scrolled {
  background: rgba(253, 240, 242, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(123, 45, 59, 0.08);
}

#nav.scrolled .nav-link {
  color: #7B2D3B;
}

#nav.scrolled a:hover {
  color: #b5324e;
}

#nav.scrolled .text-burgundy-700 {
  color: #7B2D3B;
}

/* ─── Buttons ─── */
.btn-primary {
  box-shadow: 0 4px 24px rgba(123, 45, 59, 0.15);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.btn-primary:hover {
  box-shadow: 0 8px 32px rgba(123, 45, 59, 0.25);
  transform: translateY(-1px);
}

.btn-secondary {
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.btn-secondary:hover {
  box-shadow: 0 4px 24px rgba(255,255,255,0.1);
}

/* ─── Eyebrow ─── */
.eyebrow {
  letter-spacing: 0.35em;
}

/* ─── Divider Line ─── */
.divider-line {
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(123, 45, 59, 0.15), transparent);
}

/* ─── Amenity Items ─── */
.amenity-item {
  transition: background 0.2s ease;
}

.amenity-item:hover {
  background: rgba(253, 240, 242, 0.5);
}

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

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

.reveal.delay-200 {
  transition-delay: 0.2s;
}

.reveal.delay-300 {
  transition-delay: 0.3s;
}

/* ─── Mobile Menu ─── */
#mobileMenu.open {
  opacity: 1;
  pointer-events: all;
}

#mobileMenu.open .mobile-link {
  animation: fadeUp 0.4s ease forwards;
}

#mobileMenu .mobile-link:nth-child(1) { animation-delay: 0.05s; }
#mobileMenu .mobile-link:nth-child(2) { animation-delay: 0.1s; }
#mobileMenu .mobile-link:nth-child(3) { animation-delay: 0.15s; }
#mobileMenu .mobile-link:nth-child(4) { animation-delay: 0.2s; }
#mobileMenu .mobile-link:nth-child(5) { animation-delay: 0.25s; }

/* ─── Focus Styles ─── */
input:focus, textarea:focus {
  border-color: #7B2D3B !important;
}

input:focus + label,
textarea:focus + label {
  color: #7B2D3B;
}

/* ─── Responsive ─── */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.25rem;
  }

  #about, #stay, #amenities, #location, #contact {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }

  .reveal {
    transform: translateY(20px);
  }
}

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