/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; }
img, svg { display: block; max-width: 100%; }

/* ===== NAV SCROLL STATE ===== */
#site-header.scrolled {
  background: rgba(254, 253, 251, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(0,0,0,0.06);
}

/* ===== MOBILE MENU ===== */
#mobile-menu.open { display: flex; }
.mobile-link { transition: color 0.2s; }
.mobile-link:hover { color: #B85C38; }

/* ===== GEOMETRIC SHAPES ===== */
.geo-circle {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.geo-circle--1 {
  width: 500px; height: 500px;
  background: rgba(253, 240, 235, 0.25);
  top: -100px; right: -80px;
  animation: float-slow 12s ease-in-out infinite;
}
.geo-circle--2 {
  width: 240px; height: 240px;
  background: rgba(245, 217, 168, 0.3);
  bottom: 15%; left: 5%;
  animation: float-slow 9s ease-in-out infinite reverse;
}
.geo-rect {
  position: absolute;
  pointer-events: none;
}
.geo-rect--1 {
  width: 120px; height: 120px;
  background: rgba(254, 221, 211, 0.35);
  top: 20%; left: 48%;
  transform: rotate(45deg);
  animation: spin-slow 20s linear infinite;
}
.geo-rect--2 {
  width: 60px; height: 160px;
  background: rgba(245, 217, 168, 0.25);
  bottom: 10%; right: 15%;
  transform: rotate(15deg);
  animation: float-slow 7s ease-in-out infinite;
}
.geo-tri {
  position: absolute;
  pointer-events: none;
  width: 0; height: 0;
  border-style: solid;
  border-width: 0 50px 86px 50px;
  border-color: transparent transparent rgba(253, 221, 211, 0.3) transparent;
  bottom: 25%; left: 10%;
  transform: rotate(-15deg);
  animation: float-slow 10s ease-in-out infinite reverse;
}

@keyframes float-slow {
  0%, 100% { transform: translateY(0) rotate(var(--r, 0deg)); }
  50% { transform: translateY(-20px) rotate(var(--r, 0deg)); }
}
.geo-rect--1 { --r: 45deg; }
.geo-rect--2 { --r: 15deg; }

@keyframes spin-slow {
  from { transform: rotate(45deg); }
  to { transform: rotate(405deg); }
}

/* ===== MARQUEE ===== */
.marquee-track {
  animation: marquee 30s linear infinite;
}
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ===== SERVICE CARDS ===== */
.service-card {
  background: white;
  border-radius: 1.5rem;
  padding: 0;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
  transition: box-shadow 0.3s, transform 0.3s;
}
.service-card:hover {
  box-shadow: 0 12px 40px rgba(184, 92, 56, 0.12);
  transform: translateY(-4px);
}

/* ===== GALLERY ===== */
.gallery-item {
  border-radius: 1rem;
  overflow: hidden;
}
.gallery-item:hover img {
  transform: scale(1.05);
}

/* ===== SCROLL REVEAL ===== */
.reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .marquee-track { animation: none; }
  html { scroll-behavior: auto; }
  .geo-circle, .geo-rect, .geo-tri { animation: none; }
}
