/* ─── Base & Typography ─── */
html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  overflow-x: hidden;
}

::selection {
  background: #B8633C;
  color: #FDFBF7;
}

/* ─── Scrollbar ─── */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #F9F4EC;
}
::-webkit-scrollbar-thumb {
  background: #D4B488;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #B8633C;
}

/* ─── Navigation ─── */
.nav-logo-text {
  transition: color 0.3s ease;
}

.nav-link {
  position: relative;
}

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

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

.nav-link:hover {
  color: #9E4F2E;
}

/* ─── Mobile Menu ─── */
.mobile-nav-link {
  position: relative;
  padding-left: 0;
  transition: padding-left 0.3s ease, color 0.3s ease;
}

.mobile-nav-link:hover {
  padding-left: 12px;
  color: #B8633C !important;
}

#mobile-menu {
  animation: slideDown 0.3s ease forwards;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ─── Hero ─── */
.hero-badge {
  animation: fadeInUp 0.8s ease forwards;
}

/* ─── Section Labels ─── */
.section-label {
  animation: fadeInUp 0.6s ease forwards;
}

/* ─── Service Cards ─── */
.service-card {
  transform: translateY(0);
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}

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

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

/* ─── Testimonial Cards ─── */
.testimonial-card {
  transition: transform 0.3s ease, background-color 0.3s ease;
}

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

/* ─── Animations ─── */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

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

  .reveal-delay-1 { transition-delay: 0.1s; }
  .reveal-delay-2 { transition-delay: 0.2s; }
  .reveal-delay-3 { transition-delay: 0.3s; }
  .reveal-delay-4 { transition-delay: 0.4s; }
  .reveal-delay-5 { transition-delay: 0.5s; }
  .reveal-delay-6 { transition-delay: 0.6s; }
}

/* ─── Form Focus States ─── */
input:focus,
select:focus,
textarea:focus {
  outline: none;
}

/* ─── Responsive Adjustments ─── */
@media (max-width: 767px) {
  .font-serif {
    font-family: 'Playfair Display', Georgia, serif;
  }
}
