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

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

body {
  margin: 0;
  font-family: 'Outfit', system-ui, sans-serif;
  background-color: #faf6f1;
  color: #2d1f14;
}

::selection {
  background: #d4512a;
  color: white;
}

/* ===== NAVBAR ===== */
#navbar {
  background: rgba(250, 246, 241, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(45, 31, 20, 0.06);
}

#navbar.scrolled {
  background: rgba(250, 246, 241, 0.95);
  box-shadow: 0 4px 30px rgba(45, 31, 20, 0.08);
}

/* ===== HERO ===== */
#hero {
  background: #faf6f1;
}

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

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #d4512a, #e8c98a);
  opacity: 0;
  transition: opacity 0.5s ease;
}

.service-card:hover::before {
  opacity: 1;
}

/* ===== SCROLL ANIMATIONS ===== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
  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; }

/* ===== MOBILE MENU ===== */
#mobileMenu.open {
  opacity: 1;
  pointer-events: all;
}

/* ===== TEXT UTILITY ===== */
.text-deep\/65 {
  color: rgba(45, 31, 20, 0.65);
}

/* ===== CUSTOM SCROLLBAR ===== */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #faf6f1;
}

::-webkit-scrollbar-thumb {
  background: #d4a853;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #b8893a;
}

/* ===== IMAGE HOVER ===== */
img {
  max-width: 100%;
  height: auto;
}

/* ===== FOCUS STYLES ===== */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid #d4512a;
  outline-offset: 2px;
}

/* ===== RESPONSIVE TWEAKS ===== */
@media (max-width: 767px) {
  .font-fraur {
    word-break: keep-all;
  }
}
