/* ===== BASE ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; }

/* ===== NAVBAR ===== */
#navbar { transition: background 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease; }
#navbar.scrolled {
  background: rgba(163, 70, 36, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  padding: 0;
}
.nav-link { position: relative; }
.nav-link::after {
  content: '';
  position: absolute; bottom: -2px; left: 0;
  width: 0; height: 2px;
  background: #fff;
  transition: width 0.25s ease;
}
.nav-link:hover::after { width: 100%; }

/* ===== MOBILE MENU ===== */
#mobileMenu.open { opacity: 1 !important; pointer-events: all !important; }
.mobile-link { transition: transform 0.2s ease, color 0.2s ease; }
.mobile-link:hover { transform: scale(1.05); }

/* ===== HERO ===== */
.hero-blob { animation: blobFloat 8s ease-in-out infinite; }
.blob-2 { animation-delay: -3s; animation-duration: 10s; }
.blob-3 { animation-delay: -5s; animation-duration: 7s; }

@keyframes blobFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -20px) scale(1.05); }
  66% { transform: translate(-20px, 15px) scale(0.95); }
}

.hero-badge {
  animation: fadeUp 0.8s ease both;
}
.hero-headline {
  animation: fadeUp 0.8s ease 0.15s both;
}
.hero-sub {
  animation: fadeUp 0.8s ease 0.3s both;
}
.hero-ctas {
  animation: fadeUp 0.8s ease 0.45s both;
}
.hero-trust {
  animation: fadeUp 0.8s ease 0.6s both;
}

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

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-flex; align-items: center;
  background: #c25a30; color: #fff;
  font-weight: 700; font-size: 0.95rem;
  padding: 0.85rem 1.75rem;
  border-radius: 9999px;
  box-shadow: 0 4px 14px rgba(194, 90, 48, 0.4);
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
}
.btn-primary:hover {
  background: #a34624;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(194, 90, 48, 0.5);
}
.btn-secondary {
  display: inline-flex; align-items: center;
  background: rgba(255,255,255,0.15); color: #fff;
  font-weight: 700; font-size: 0.95rem;
  padding: 0.85rem 1.75rem;
  border-radius: 9999px;
  border: 2px solid rgba(255,255,255,0.4);
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
  text-decoration: none;
}
.btn-secondary:hover {
  background: rgba(255,255,255,0.25);
  border-color: rgba(255,255,255,0.7);
  transform: translateY(-2px);
}

/* ===== LABELS ===== */
.label {
  display: inline-block;
  font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: #c25a30;
  background: #fdf0eb;
  padding: 0.4rem 0.9rem;
  border-radius: 9999px;
}
.label-light {
  color: #f5c4b0;
  background: rgba(255,255,255,0.12);
}

/* ===== SECTION TITLES ===== */
.section-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.9rem, 4vw, 2.75rem);
  font-weight: 700;
  color: #1c1917;
  line-height: 1.2;
}
.section-title em { color: #c25a30; font-style: italic; }
.section-title-light { color: #fff; }
.section-title-light em { color: #f5c4b0; }
.section-desc {
  color: #78716c;
  font-size: 1.05rem;
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ===== SERVICE CARDS ===== */
.service-card {
  background: #fff;
  border-radius: 1.25rem;
  padding: 2rem;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
  border: 1px solid rgba(0,0,0,0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.1);
}
.service-icon-wrap {
  width: 56px; height: 56px;
  border-radius: 1rem;
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.3s ease;
}
.service-card:hover .service-icon-wrap { transform: scale(1.1) rotate(-3deg); }

/* ===== GALLERY ===== */
.gallery-item {
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.gallery-item:hover { transform: scale(1.02); }

/* ===== REASON CARDS ===== */
.reason-card {
  text-align: center;
  padding: 1.5rem;
  border-radius: 1.25rem;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(4px);
  transition: background 0.3s ease, transform 0.3s ease;
}
.reason-card:hover {
  background: rgba(255,255,255,0.12);
  transform: translateY(-4px);
}

/* ===== TESTIMONIAL CARDS ===== */
.testimonial-card {
  background: #fff;
  border-radius: 1.25rem;
  padding: 2rem;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
  border: 1px solid rgba(0,0,0,0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

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

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-blob { animation: none; }
  .hero-badge, .hero-headline, .hero-sub, .hero-ctas, .hero-trust { animation: none; opacity: 1; }
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
