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

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

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

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

/* ─── Navbar ─── */
#navbar {
  background: transparent;
  transition: background 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease;
}

#navbar.scrolled {
  background: rgba(255, 252, 250, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 20px rgba(140, 46, 66, 0.08);
}

.nav-link {
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: #a83d54;
  border-radius: 1px;
  transition: width 0.25s ease;
}

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

/* ─── Mobile Menu ─── */
.mobile-link {
  position: relative;
}

/* ─── Hero ─── */
.hero-bg {
  will-change: transform;
}

.hero-scrim {
  background: linear-gradient(
    to right,
    rgba(42, 30, 30, 0.82) 0%,
    rgba(42, 30, 30, 0.65) 50%,
    rgba(42, 30, 30, 0.40) 100%
  );
}

.badge-hero {
  display: inline-block;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.5rem 1rem;
  border-radius: 100px;
}

/* ─── Buttons ─── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: #a83d54;
  color: #fff;
  font-family: 'Nunito', system-ui, sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.8rem 1.75rem;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}

.btn-primary:hover {
  background: #8c2e42;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(140, 46, 66, 0.3);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.15);
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  font-family: 'Nunito', system-ui, sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.8rem 1.75rem;
  border-radius: 100px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.6);
  transform: translateY(-1px);
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1rem;
}

/* ─── Scroll Indicator ─── */
.scroll-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
}

/* ─── Cards ─── */
.card-hover {
  transform: translateY(0);
  transition: transform 0.3s ease;
}

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

/* ─── Gallery ─── */
.gallery-item {
  cursor: pointer;
  overflow: hidden;
}

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

.gallery-img {
  transition: transform 0.5s ease;
}

/* ─── Inputs ─── */
.input-field {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1.5px solid #f0d0d8;
  border-radius: 12px;
  font-family: 'Nunito', system-ui, sans-serif;
  font-size: 0.95rem;
  color: #3d2c2c;
  background: #fff8f6;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  outline: none;
}

.input-field::placeholder {
  color: #c4a0aa;
}

.input-field:hover {
  border-color: #e8a0b8;
  background: #fff;
}

.input-field:focus {
  border-color: #a83d54;
  box-shadow: 0 0 0 3px rgba(168, 61, 84, 0.1);
  background: #fff;
}

/* ─── Reveal Animations (progressive enhancement) ─── */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }

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

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ─── Responsive ─── */
@media (max-width: 767px) {
  .hero-bg {
    background-position: center;
  }

  #hero h1 {
    font-size: 2.75rem;
  }
}

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