/* ===== CUSTOM STYLES FOR HEMI AUTOWORKS ===== */

:root {
  --burgundy: #7B2227;
  --burgundy-light: #f9d4d7;
  --blush: #ff8799;
  --blush-dark: #e83a54;
  --cream: #FFF8F5;
  --warmgray: #4A4040;
}

/* BASE */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--cream);
  color: var(--warmgray);
  -webkit-font-smoothing: antialiased;
}

/* NAVBAR */
#navbar {
  background: rgba(255, 248, 245, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(123, 34, 39, 0.08);
}

#navbar.scrolled {
  background: rgba(255, 248, 245, 0.95);
  box-shadow: 0 4px 30px rgba(123, 34, 39, 0.08);
}

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

.mobile-link {
  transition: all 0.3s ease;
}

.mobile-link:hover {
  transform: scale(1.05);
}

/* HERO SHAPES */
.hero-shape {
  position: absolute;
  pointer-events: none;
}

.shape-circle-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 135, 153, 0.12) 0%, transparent 70%);
  top: -100px;
  right: -100px;
  border-radius: 50%;
}

.shape-circle-2 {
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(123, 34, 39, 0.08) 0%, transparent 70%);
  bottom: 10%;
  left: -80px;
  border-radius: 50%;
}

.shape-rect-1 {
  width: 120px;
  height: 120px;
  background: rgba(255, 135, 153, 0.1);
  border-radius: 24px;
  top: 25%;
  left: 5%;
  transform: rotate(15deg);
}

.shape-triangle {
  width: 0;
  height: 0;
  border-left: 60px solid transparent;
  border-right: 60px solid transparent;
  border-bottom: 100px solid rgba(123, 34, 39, 0.06);
  top: 40%;
  right: 5%;
  transform: rotate(-20deg);
}

.shape-dots {
  width: 200px;
  height: 200px;
  background-image: radial-gradient(circle, rgba(255, 135, 153, 0.2) 1.5px, transparent 1.5px);
  background-size: 16px 16px;
  bottom: 20%;
  right: 10%;
  border-radius: 50%;
}

/* HERO CARDS */
.hero-card {
  transition: transform 0.4s ease;
}

.card-main {
  box-shadow: 0 25px 60px rgba(123, 34, 39, 0.2);
}

.card-stat-1 {
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.card-stat-2 {
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.card-stat-3 {
  box-shadow: 0 15px 40px rgba(123, 34, 39, 0.3);
}

/* FLOAT ANIMATION */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

.animate-float {
  animation: float 4s ease-in-out infinite;
}

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

.service-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--burgundy), var(--blush));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.service-card:hover::after {
  transform: scaleX(1);
}

/* TESTIMONIAL CARDS */
.testimonial-card {
  position: relative;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: -10px;
  left: 20px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 6rem;
  font-weight: 700;
  color: rgba(123, 34, 39, 0.05);
  line-height: 1;
  pointer-events: none;
}

/* SCROLL ANIMATIONS */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.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; }
.reveal-delay-5 { transition-delay: 0.5s; }
.reveal-delay-6 { transition-delay: 0.6s; }

/* TEXT UTILITY */
.text-warmgray { color: var(--warmgray); }
.text-warmgray\/65 { color: rgba(74, 64, 64, 0.65); }
.text-warmgray\/70 { color: rgba(74, 64, 64, 0.7); }
.text-warmgray\/50 { color: rgba(74, 64, 64, 0.5); }
.text-warmgray\/15 { color: rgba(74, 64, 64, 0.15); }

.bg-warmgray\/5 { background-color: rgba(74, 64, 64, 0.05); }
.border-warmgray\/5 { border-color: rgba(74, 64, 64, 0.05); }
.border-warmgray\/10 { border-color: rgba(74, 64, 64, 0.1); }

/* BUTTON HOVER GLOW */
a:hover {
  cursor: pointer;
}

/* FORM STYLES */
input:focus,
select:focus,
textarea:focus {
  border-color: var(--burgundy) !important;
  box-shadow: 0 0 0 3px rgba(123, 34, 39, 0.1) !important;
}

/* CUSTOM SCROLLBAR */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--cream);
}
::-webkit-scrollbar-thumb {
  background: var(--burgundy);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--burgundy-light);
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .hero-shape { display: none; }
  
  #hero {
    padding-top: 100px;
    min-height: auto;
    padding-bottom: 60px;
  }
  
  .card-stat-1, .card-stat-2, .card-stat-3 {
    display: none;
  }
}

/* ACCESSIBILITY */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}

:focus-visible {
  outline: 2px solid var(--burgundy);
  outline-offset: 2px;
}
