/* JAX Pool Care - Custom Styles */
/* Design: Coastal premium — emerald/teal + warm gold, distinct from Ocala's blue/cyan */

html {
  scroll-behavior: smooth;
}

/* Top announcement bar */
.topbar {
  background: linear-gradient(90deg, #134e4a, #0f766e);
}

/* Hero split pattern */
.hero-pattern {
  background-image: radial-gradient(circle at 20% 50%, rgba(20, 184, 166, 0.15) 0%, transparent 50%),
                     radial-gradient(circle at 80% 20%, rgba(217, 119, 6, 0.1) 0%, transparent 40%);
}

/* Subtle wave SVG separator */
.wave-separator {
  position: relative;
}

.wave-separator::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 48px;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 1200 48' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 24C200 48 400 0 600 24C800 48 1000 0 1200 24V48H0Z' fill='%23ffffff'/%3E%3C/svg%3E") no-repeat center bottom;
  background-size: cover;
}

/* Fade in on scroll */
.fade-in-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Card hover */
.card-lift {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card-lift:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12);
}

/* Process step connector line */
.step-connector {
  position: relative;
}

.step-connector::after {
  content: '';
  position: absolute;
  top: 40px;
  left: 24px;
  width: 2px;
  height: calc(100% - 40px);
  background: linear-gradient(to bottom, #99f6e4, transparent);
}

.step-connector:last-child::after {
  display: none;
}

/* CTA button glow */
.btn-glow {
  position: relative;
  overflow: hidden;
}

.btn-glow::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: 0 0 20px rgba(217, 119, 6, 0.4);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.btn-glow:hover::after {
  opacity: 1;
}

/* FAQ accordion */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-answer.open {
  max-height: 500px;
}

/* Sticky header */
.nav-scrolled {
  background-color: rgba(255, 255, 255, 0.97) !important;
  box-shadow: 0 1px 12px rgba(0, 0, 0, 0.08);
}

/* Mobile menu */
.mobile-menu {
  transform: translateX(100%);
  transition: transform 0.3s ease;
}

.mobile-menu.open {
  transform: translateX(0);
}

/* Form focus */
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: #0d9488;
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.15);
}

/* Breadcrumb separator */
.breadcrumb-sep::after {
  content: '/';
  margin: 0 0.5rem;
  color: #94a3b8;
}

/* Number circle for process steps */
.step-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.125rem;
  flex-shrink: 0;
}

/* Social proof placeholder */
.social-proof-placeholder {
  border: 2px dashed #d1d5db;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 10px,
    rgba(0,0,0,0.015) 10px,
    rgba(0,0,0,0.015) 20px
  );
}

/* Skip to content */
.skip-link {
  position: absolute;
  top: -100%;
  left: 0;
  background: #134e4a;
  color: white;
  padding: 0.5rem 1rem;
  z-index: 100;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 0;
}

/* Print styles */
@media print {
  header, footer, .mobile-menu, .btn-glow {
    display: none !important;
  }
  body {
    font-size: 12pt;
    color: #000;
  }
}
