/* ============================================
   Columbus Street Carwash — Custom Styles
   ============================================ */

/* --- Base --- */
html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

.font-serif {
  font-family: 'DM Serif Display', serif;
}

/* --- Scrollbar --- */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #fdf9ef; }
::-webkit-scrollbar-thumb { background: #d9e2ec; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #bcccdc; }

/* --- Scroll indicator --- */
.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, #102a43, transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.6); transform-origin: top; }
  50% { opacity: 1; transform: scaleY(1); }
}

/* --- Section Labels --- */
.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #b87b10;
  background: linear-gradient(135deg, #faf0d5, #f5e0a8);
  padding: 0.4em 1em;
  border-radius: 100px;
  margin-bottom: 1rem;
}

/* --- Section Titles --- */
.section-title {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 700;
  color: #102a43;
  line-height: 1.15;
}

/* --- Section Descriptions --- */
.section-desc {
  font-size: 1.1rem;
  color: #486581;
  line-height: 1.7;
}

/* --- Hero Animations --- */
.hero-badge {
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-headline {
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-subtitle {
  animation: fadeInUp 0.8s ease-out 0.6s both;
}

.hero-ctas {
  animation: fadeInUp 0.8s ease-out 0.8s both;
}

.hero-stats {
  animation: fadeInUp 0.8s ease-out 1s both;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(32px); }
  to { opacity: 1; transform: translateY(0); }
}

/* --- Floating Card --- */
.floating-card {
  animation: float 4s ease-in-out infinite;
}

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

.floating-card-2 {
  animation: float 5s ease-in-out infinite;
}

/* --- Service Cards --- */
.service-card {
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, #102a43, #243b53);
  opacity: 0;
  transition: opacity 0.5s ease;
  border-radius: 1.5rem;
  z-index: 0;
}

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

.service-card > * {
  position: relative;
  z-index: 1;
}

/* --- CTA Buttons --- */
.cta-primary {
  box-shadow: 0 20px 40px -12px rgba(16, 42, 67, 0.3);
}

.cta-primary:hover {
  box-shadow: 0 20px 40px -12px rgba(234, 191, 85, 0.4);
  transform: translateY(-2px);
}

.cta-secondary {
  box-shadow: 0 4px 12px rgba(16, 42, 67, 0.06);
}

.cta-secondary:hover {
  box-shadow: 0 8px 24px rgba(16, 42, 67, 0.1);
  transform: translateY(-2px);
}

/* --- Why Us Numbers --- */
.why-number {
  transition: color 0.5s ease;
}

/* --- Testimonial Cards --- */
.testimonial-card {
  transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.testimonial-card:hover {
  transform: translateY(-4px);
}

/* --- Contact Info Cards --- */
.contact-info-card {
  transition: transform 0.3s ease;
}

.contact-info-card:hover {
  transform: translateX(4px);
}

.contact-icon {
  transition: background 0.3s ease;
}

/* --- Form Submit Button --- */
.form-submit {
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.form-submit::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
  transition: left 0.5s ease;
}

.form-submit:hover::before {
  left: 100%;
}

/* --- Nav Links --- */
.nav-link {
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: #eabf55;
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

/* --- Mobile Links --- */
.mobile-link {
  position: relative;
}

/* --- Header Scroll State --- */
#site-header.scrolled {
  background: rgba(254, 253, 248, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(16, 42, 67, 0.06), 0 8px 32px rgba(16, 42, 67, 0.04);
}

/* --- Reveal on Scroll --- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .hero-headline {
    font-size: 3.5rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .why-number {
    font-size: 4rem !important;
  }
}

@media (max-width: 360px) {
  .hero-headline {
    font-size: 2.75rem;
  }
}
