/* Base & Utilities */
html {
  scroll-behavior: smooth;
}

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

/* Section Labels */
.section-label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #C8963A;
  position: relative;
  padding-left: 2rem;
}

.section-label::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1.2rem;
  height: 2px;
  background: #C8963A;
}

/* Section Titles */
.section-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 900;
  line-height: 1.05;
  color: #0C1C3A;
}

/* Hero Animations */
@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeSlideRight {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.hero-badge {
  animation: fadeSlideUp 0.8s ease-out both;
}

.hero-badge {
  animation-delay: 0.1s;
}

h1 {
  animation: fadeSlideUp 0.8s ease-out 0.2s both;
}

h1 + p {
  animation: fadeSlideUp 0.8s ease-out 0.35s both;
}

.hero-badge + * ~ p,
h1 ~ p {
  animation: fadeSlideUp 0.8s ease-out 0.35s both;
}

h1 ~ * > a,
h1 ~ div {
  animation: fadeSlideUp 0.8s ease-out 0.5s both;
}

h1 ~ div:last-of-type {
  animation: fadeSlideUp 0.8s ease-out 0.65s both;
}

/* Service Cards */
.service-card {
  position: relative;
  overflow: hidden;
}

.service-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: #C8963A;
  transition: width 0.5s ease;
}

.service-card:hover::after {
  width: 100%;
}

/* Gallery Items */
.gallery-item {
  cursor: pointer;
  position: relative;
}

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(12, 28, 58, 0);
  transition: background 0.4s ease;
  pointer-events: none;
}

.gallery-item:hover::after {
  background: rgba(12, 28, 58, 0.2);
}

/* Scroll Reveal (progressive enhancement — content visible by default) */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(24px);
    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; }
}

/* Navbar scroll state */
.nav-scrolled {
  background: rgba(250, 248, 245, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(12, 28, 58, 0.08);
}

.nav-scrolled .nav-link {
  color: rgba(12, 28, 58, 0.8);
}

/* Mobile menu transitions */
.mobile-menu-open {
  opacity: 1 !important;
  pointer-events: all !important;
}

/* Custom select arrow */
select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%230C1C3A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  appearance: none;
  -webkit-appearance: none;
}

/* Selection color */
::selection {
  background: #C8963A;
  color: #fff;
}
