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

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

body {
  margin: 0;
  overflow-x: hidden;
}

::selection {
  background: #FF6B4A;
  color: #0f0f0f;
}

/* ========== SCROLLBAR ========== */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #1a1a1a;
}
::-webkit-scrollbar-thumb {
  background: #FF6B4A;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #E85A3A;
}

/* ========== SERVICE CARDS ========== */
.service-card {
  position: relative;
}

/* ========== FEATURE BLOCKS ========== */
.feature-block {
  position: relative;
}

/* ========== MOBILE MENU ========== */
#mobileMenu {
  transition: opacity 0.3s ease, pointer-events 0.3s ease;
}
#mobileMenu.open {
  opacity: 1;
  pointer-events: all;
}
#mobileMenu.closed {
  opacity: 0;
  pointer-events: none;
}

/* ========== NAVBAR ========== */
.nav-scrolled {
  background: rgba(15, 15, 15, 0.95) !important;
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 107, 74, 0.1);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* ========== CONTACT FORM ========== */
select option {
  background: #1a1a1a;
  color: #ffffff;
}

/* ========== PROGRESSIVE ENHANCEMENT: animations only when preferred ========== */
@media (prefers-reduced-motion: no-preference) {
  .scroll-reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.7s ease, transform 0.7s ease;
  }
}

/* Default state: visible for accessibility */
.scroll-reveal {
  opacity: 1;
  transform: translateY(0);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
  .font-display, .font-body {
    word-break: break-word;
  }
}
