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

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

body {
  overflow-x: hidden;
}

::selection {
  background: #E07A5F;
  color: #fff;
}

/* Navigation */
.nav-link {
  position: relative;
}

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

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

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

.hero-overlay {
  background: linear-gradient(
    135deg,
    rgba(26, 27, 46, 0.85) 0%,
    rgba(61, 64, 91, 0.7) 50%,
    rgba(26, 27, 46, 0.80) 100%
  );
}

/* Section Labels */
.section-label {
  letter-spacing: 0.25em;
}

/* Scroll Reveal (progressive enhancement — content visible without JS) */
.reveal {
  opacity: 1;
  transform: none;
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* Service Cards */
.service-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 1rem;
  padding: 2rem;
  transition: background 0.4s ease, border-color 0.4s ease, transform 0.4s ease, box-shadow 0.4s ease;
}

.service-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(224, 122, 95, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

/* Product Cards */
.reveal-card {
  opacity: 1;
  transform: none;
  transition: opacity 0.7s ease, transform 0.7s ease, box-shadow 0.4s ease;
}

.reveal-card:hover {
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.25);
}

/* Keyframe 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);
  }
}

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

/* 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, .reveal-card {
    opacity: 1 !important;
    transform: none !important;
  }
}

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