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

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

body {
  overflow-x: hidden;
}

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

/* ========== SECTION LABEL ========== */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #be2647;
  margin-bottom: 1rem;
}

.section-label::before {
  content: '';
  display: inline-block;
  width: 32px;
  height: 2px;
  background: linear-gradient(90deg, #be2647, #f6a8b8);
  border-radius: 2px;
}

/* ========== NAV ========== */
.nav {
  background: rgba(255, 251, 248, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(155, 26, 56, 0.08);
  transition: background 0.4s ease, box-shadow 0.4s ease;
}

.nav.scrolled {
  background: rgba(255, 251, 248, 0.95);
  box-shadow: 0 4px 30px rgba(155, 26, 56, 0.08);
}

.nav-link {
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #be2647, #f6a8b8);
  border-radius: 2px;
  transition: width 0.3s ease;
}

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

/* ========== MOBILE NAV ========== */
.mobile-nav.open {
  opacity: 1;
  pointer-events: all;
}

.mobile-nav-link {
  transition: color 0.3s ease, transform 0.3s ease;
}

.mobile-nav-link:hover {
  color: #be2647;
  transform: translateX(4px);
}

/* ========== HERO ========== */
.hero {
  background: linear-gradient(135deg, #fffbf8 0%, #fff5f7 50%, #ffecf0 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(253, 208, 217, 0.4) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -150px;
  left: -150px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(252, 231, 235, 0.3) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  padding: 2rem;
}

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

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

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

.hero .flex.flex-wrap {
  animation: fadeInUp 0.8s ease 0.5s both;
}

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

.hero-cta-primary {
  box-shadow: 0 4px 15px rgba(155, 26, 56, 0.2);
}

.hero-cta-primary:hover {
  box-shadow: 0 8px 30px rgba(155, 26, 56, 0.3);
}

.hero-cta-secondary {
  box-shadow: 0 2px 10px rgba(155, 26, 56, 0.05);
}

.hero-img-hero {
  animation: floatImage 6s ease-in-out infinite;
}

.hero-img-secondary {
  animation: floatImage 6s ease-in-out 3s infinite;
}

/* ========== EXPERIENCE CARDS ========== */
.exp-card {
  transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1), background 0.3s ease, border-color 0.3s ease;
}

/* ========== COMMUNITY CARDS ========== */
.comm-card {
  transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.3s ease;
}

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

/* ========== MENU ITEMS ========== */
.menu-item {
  transition: transform 0.3s ease;
}

.menu-item:hover {
  transform: translateX(8px);
}

/* ========== SCROLL REVEAL ========== */
.reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.8s cubic-bezier(0.23, 1, 0.32, 1), transform 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

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

/* ========== ANIMATIONS ========== */
@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);
  }
}

@keyframes floatImage {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

/* ========== REDUCED MOTION ========== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ========== MOBILE ========== */
@media (max-width: 768px) {
  .hero-content {
    padding: 1.5rem;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero-images {
    min-height: 350px;
  }

  .hero-stats {
    gap: 1.5rem;
  }

  .hero-stats > div > .font-display {
    font-size: 2rem;
  }
}

@media (max-width: 640px) {
  .hero h1 {
    font-size: 2rem;
  }

  .section-label {
    font-size: 11px;
  }
}
