/* ============================================
   DeLuxe Automotive — Custom Styles
   ============================================ */

/* --- Base --- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; }

/* --- Typography --- */
h1, h2, h3, h4 { font-family: 'Outfit', sans-serif; }
p, li, a, input, textarea, button, label, span { font-family: 'Plus Jakarta Sans', sans-serif; }

/* --- Navbar scroll state --- */
#siteHeader.scrolled {
  background: rgba(254, 253, 245, 0.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(0,0,0,0.06), 0 4px 20px rgba(0,0,0,0.06);
}

/* --- Mobile menu --- */
.mobile-link { transition: background 0.2s, color 0.2s; }
#mobileMenu.open { display: flex; }

/* --- Hero geometric shapes --- */
.geo-shape {
  position: absolute;
  opacity: 0.12;
  pointer-events: none;
}
.geo-circle-1 {
  width: 520px; height: 520px;
  border-radius: 50%;
  border: 3px solid rgba(255,255,255,0.4);
  top: -120px; right: -100px;
  animation: geoFloat 14s ease-in-out infinite;
}
.geo-circle-2 {
  width: 240px; height: 240px;
  border-radius: 50%;
  background: rgba(253, 230, 138, 0.35);
  bottom: 18%; left: 6%;
  animation: geoFloat 10s ease-in-out infinite reverse;
}
.geo-square-1 {
  width: 140px; height: 140px;
  background: rgba(255,255,255,0.08);
  border: 2px solid rgba(255,255,255,0.2);
  top: 28%; left: 8%;
  transform: rotate(45deg);
  animation: geoSpin 20s linear infinite;
}
.geo-square-2 {
  width: 80px; height: 80px;
  background: rgba(212, 165, 75, 0.3);
  border-radius: 16px;
  bottom: 28%; right: 10%;
  transform: rotate(20deg);
  animation: geoFloat 8s ease-in-out infinite;
}
.geo-triangle-1 {
  width: 0; height: 0;
  border-left: 70px solid transparent;
  border-right: 70px solid transparent;
  border-bottom: 120px solid rgba(255,255,255,0.07);
  top: 15%; right: 22%;
  animation: geoFloat 12s ease-in-out infinite;
}
.geo-ring-1 {
  width: 180px; height: 180px;
  border-radius: 50%;
  border: 4px solid rgba(253, 230, 138, 0.25);
  bottom: 10%; left: 25%;
  animation: geoSpin 25s linear infinite reverse;
}
.geo-dots {
  width: 120px; height: 120px;
  background-image: radial-gradient(circle, rgba(255,255,255,0.3) 1.5px, transparent 1.5px);
  background-size: 14px 14px;
  top: 40%; right: 5%;
  opacity: 0.5;
}

@keyframes geoFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-24px) rotate(4deg); }
}
@keyframes geoSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* --- Scroll reveal (progressive enhancement) --- */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1), transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
  }
  .reveal.animate-in {
    opacity: 1;
    transform: translateY(0);
  }
  /* Stagger children */
  .reveal-delay-1 { transition-delay: 0.08s; }
  .reveal-delay-2 { transition-delay: 0.16s; }
  .reveal-delay-3 { transition-delay: 0.24s; }
}

/* Fallback: always show content if JS is disabled or reduced motion */
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
}

/* --- Buttons & Links --- */
a { text-decoration: none; }

/* --- Form --- */
input:focus, textarea:focus {
  outline: none;
}

/* --- Responsive tweaks --- */
@media (max-width: 640px) {
  .geo-circle-1 { width: 300px; height: 300px; }
  .geo-circle-2 { width: 140px; height: 140px; }
  .geo-square-1 { width: 80px; height: 80px; }
  .geo-triangle-1 { border-left: 40px solid transparent; border-right: 40px solid transparent; border-bottom: 70px solid rgba(255,255,255,0.07); }
  .geo-ring-1 { width: 100px; height: 100px; }
}
