/* =============================================
   HydroNova Power Wash — Main Stylesheet
   Colors: Navy #0A0E1A | Blue #1E6FFF | Gold #F0A500
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;600;700&family=Inter:wght@300;400;500;600&display=swap');

:root {
  --navy:   #0A0E1A;
  --steel:  #141B2D;
  --blue:   #1E6FFF;
  --blue2:  #0A4FCC;
  --glow:   #4D8FFF;
  --gold:   #F0A500;
  --gold2:  #C88800;
  --white:  #F0F4FF;
  --muted:  #8A9BBF;
  --border: #1E2A45;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--navy);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4 {
  font-family: 'Oswald', sans-serif;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

a { color: var(--blue); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--gold); }

/* ── NAV ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(10, 14, 26, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.nav-logo img {
  height: 50px;
  width: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--blue);
}

.nav-logo span {
  font-family: 'Oswald', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--white);
  line-height: 1.1;
}

.nav-logo span em {
  display: block;
  font-style: normal;
  color: var(--gold);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  align-items: center;
}

.nav-links a {
  font-family: 'Oswald', sans-serif;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  color: var(--muted);
  text-transform: uppercase;
  transition: color 0.2s;
}

.nav-links a:hover, .nav-links a.active { color: var(--white); }

.nav-cta {
  background: var(--gold);
  color: var(--navy) !important;
  padding: 0.5rem 1.2rem;
  border-radius: 4px;
  font-weight: 600 !important;
  transition: background 0.2s !important;
}

.nav-cta:hover { background: var(--gold2) !important; color: var(--navy) !important; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--white);
  transition: all 0.3s;
}

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8rem 2rem 4rem;
  position: relative;
  overflow: hidden;
  background: radial-gradient(ellipse at 50% 40%, rgba(30, 111, 255, 0.15) 0%, transparent 65%),
              linear-gradient(180deg, #0A0E1A 0%, #060810 100%);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%231E6FFF' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.4;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.hero-logo {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--blue);
  box-shadow: 0 0 40px rgba(30, 111, 255, 0.5), 0 0 80px rgba(30, 111, 255, 0.2);
  margin-bottom: 2rem;
  animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 40px rgba(30,111,255,0.5), 0 0 80px rgba(30,111,255,0.2); }
  50%       { box-shadow: 0 0 60px rgba(30,111,255,0.7), 0 0 120px rgba(30,111,255,0.3); }
}

.hero-eyebrow {
  font-family: 'Oswald', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.25em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.hero h1 {
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 700;
  line-height: 0.95;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.hero h1 span { color: var(--blue); }

.hero-sub {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 480px;
  margin: 1rem auto 2.5rem;
}

.btn-group { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

.btn-primary {
  background: var(--gold);
  color: var(--navy);
  padding: 0.85rem 2rem;
  border-radius: 4px;
  font-family: 'Oswald', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background 0.2s, transform 0.2s;
  border: none;
  cursor: pointer;
}

.btn-primary:hover { background: var(--gold2); color: var(--navy); transform: translateY(-2px); }

.btn-outline {
  border: 2px solid var(--blue);
  color: var(--white);
  padding: 0.85rem 2rem;
  border-radius: 4px;
  font-family: 'Oswald', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background 0.2s, transform 0.2s;
  background: transparent;
  cursor: pointer;
}

.btn-outline:hover { background: var(--blue); color: var(--white); transform: translateY(-2px); }

/* ── TRUST BAR ── */
.trust-bar {
  background: var(--steel);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 1.25rem 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Oswald', sans-serif;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  color: var(--muted);
  text-transform: uppercase;
}

.trust-item svg { color: var(--gold); }

/* ── SECTIONS ── */
.section {
  padding: 5rem 2rem;
}

.section-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.section-label {
  font-family: 'Oswald', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1rem;
  line-height: 1.1;
}

.section-title span { color: var(--blue); }

.section-desc {
  color: var(--muted);
  max-width: 560px;
  margin-bottom: 3rem;
}

/* ── SERVICES ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: var(--steel);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 2rem 1.5rem;
  transition: border-color 0.3s, transform 0.3s;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
}

.service-card:hover { border-color: var(--blue); transform: translateY(-4px); }
.service-card:hover::before { transform: scaleX(1); }

.service-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.service-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.service-card p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.5;
}

/* ── WHY US ── */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.why-list { list-style: none; display: flex; flex-direction: column; gap: 1.25rem; }

.why-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.why-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: rgba(30, 111, 255, 0.12);
  border: 1px solid rgba(30, 111, 255, 0.3);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.why-text h4 {
  font-size: 1rem;
  color: var(--white);
  margin-bottom: 0.2rem;
}

.why-text p { font-size: 0.88rem; color: var(--muted); }

.why-visual {
  background: var(--steel);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 2.5rem;
  text-align: center;
}

.stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.stat-box { text-align: center; }

.stat-num {
  font-family: 'Oswald', sans-serif;
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--blue);
  line-height: 1;
}

.stat-num span { color: var(--gold); }
.stat-label { font-size: 0.78rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.1em; margin-top: 0.3rem; }

/* ── GALLERY PREVIEW ── */
.gallery-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.gallery-placeholder {
  aspect-ratio: 4/3;
  background: var(--steel);
  border: 2px dashed var(--border);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: var(--muted);
  font-size: 0.85rem;
  transition: border-color 0.3s;
}

.gallery-placeholder:hover { border-color: var(--blue); }
.gallery-placeholder .icon { font-size: 2rem; }

/* ── CTA BAND ── */
.cta-band {
  background: linear-gradient(135deg, var(--blue2), var(--blue));
  padding: 4rem 2rem;
  text-align: center;
}

.cta-band h2 {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  color: var(--white);
  margin-bottom: 0.75rem;
}

.cta-band p { color: rgba(240,244,255,0.8); margin-bottom: 2rem; }

/* ── FOOTER ── */
footer {
  background: #060810;
  border-top: 1px solid var(--border);
  padding: 3rem 2rem 1.5rem;
  text-align: center;
}

.footer-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.footer-logo img {
  height: 48px;
  width: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--blue);
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  list-style: none;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.footer-links a {
  font-family: 'Oswald', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  color: var(--muted);
  text-transform: uppercase;
}

.footer-links a:hover { color: var(--gold); }

.footer-copy {
  font-size: 0.8rem;
  color: var(--muted);
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
  margin-top: 1rem;
}

/* ── PAGE HEADER ── */
.page-header {
  padding: 8rem 2rem 3rem;
  text-align: center;
  background: radial-gradient(ellipse at 50% 30%, rgba(30,111,255,0.12) 0%, transparent 65%);
  border-bottom: 1px solid var(--border);
}

/* ── GALLERY PAGE ── */
.gallery-controls {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.filter-btn {
  background: var(--steel);
  border: 1px solid var(--border);
  color: var(--muted);
  padding: 0.5rem 1.2rem;
  border-radius: 4px;
  font-family: 'Oswald', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s;
}

.filter-btn:hover, .filter-btn.active {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}

/* Before/After Slider */
.ba-card {
  background: var(--steel);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}

.ba-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.4);
}

.ba-slider {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  cursor: ew-resize;
  user-select: none;
}

.ba-before, .ba-after {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.ba-before {
  background: linear-gradient(135deg, #1a1a2e, #2d1b4e);
  width: 100%;
}

.ba-after {
  background: linear-gradient(135deg, #0a2a4a, #0a4080);
  clip-path: inset(0 50% 0 0);
  width: 100%;
  transition: none;
}

.ba-placeholder-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.3);
  font-size: 0.8rem;
  font-family: 'Oswald', sans-serif;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  pointer-events: none;
}

.ba-placeholder-text span { font-size: 2.5rem; }

.ba-divider {
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  width: 3px;
  background: var(--gold);
  transform: translateX(-50%);
  z-index: 10;
  pointer-events: none;
}

.ba-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  background: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  font-size: 1rem;
  font-weight: 700;
  z-index: 11;
  box-shadow: 0 0 0 4px rgba(240,165,0,0.3);
  pointer-events: none;
}

.ba-labels {
  position: absolute;
  bottom: 0.75rem;
  left: 0; right: 0;
  display: flex;
  justify-content: space-between;
  padding: 0 0.75rem;
  z-index: 12;
  pointer-events: none;
}

.ba-label {
  font-family: 'Oswald', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.25rem 0.6rem;
  border-radius: 3px;
}

.ba-label.before { background: rgba(0,0,0,0.6); color: #ff8080; }
.ba-label.after  { background: rgba(0,0,0,0.6); color: #80ff80; }

.ba-info {
  padding: 1rem 1.25rem;
}

.ba-info h3 {
  font-size: 1rem;
  color: var(--white);
  margin-bottom: 0.25rem;
}

.ba-info p {
  font-size: 0.82rem;
  color: var(--muted);
}

.ba-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-family: 'Oswald', sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.2rem 0.6rem;
  background: rgba(30,111,255,0.15);
  border: 1px solid rgba(30,111,255,0.3);
  color: var(--glow);
  border-radius: 3px;
  margin-top: 0.5rem;
}

/* Upload notice */
.upload-notice {
  background: rgba(30, 111, 255, 0.08);
  border: 1px solid rgba(30, 111, 255, 0.25);
  border-radius: 8px;
  padding: 1.5rem 2rem;
  margin-bottom: 2.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.upload-notice .icon { font-size: 1.5rem; flex-shrink: 0; }
.upload-notice p { font-size: 0.9rem; color: var(--muted); }
.upload-notice strong { color: var(--white); }

/* ── QUOTE FORM ── */
.form-card {
  background: var(--steel);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 2.5rem;
  max-width: 720px;
  margin: 0 auto;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group.full { grid-column: 1 / -1; }

label {
  font-family: 'Oswald', sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  color: var(--muted);
  text-transform: uppercase;
}

input, select, textarea {
  background: rgba(10, 14, 26, 0.8);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.75rem 1rem;
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%;
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(30, 111, 255, 0.15);
}

select option { background: var(--steel); }
textarea { resize: vertical; min-height: 120px; }

.checkbox-group { display: flex; flex-direction: column; gap: 0.6rem; margin-top: 0.25rem; }

.checkbox-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  cursor: pointer;
  font-size: 0.9rem;
  color: var(--muted);
}

.checkbox-item input[type="checkbox"] {
  width: 18px; height: 18px;
  min-width: 18px;
  accent-color: var(--blue);
  cursor: pointer;
}

.form-note {
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  text-align: center;
}

.success-msg {
  display: none;
  background: rgba(30, 255, 100, 0.08);
  border: 1px solid rgba(30, 255, 100, 0.3);
  border-radius: 8px;
  padding: 1.5rem;
  text-align: center;
  margin-top: 1.5rem;
  color: #80ffaa;
  font-family: 'Oswald', sans-serif;
  font-size: 1.1rem;
  letter-spacing: 0.05em;
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  nav { padding: 0 1.25rem; }
  .nav-links { display: none; flex-direction: column; position: absolute; top: 72px; left: 0; right: 0; background: rgba(10,14,26,0.98); padding: 1.5rem; gap: 1.25rem; border-bottom: 1px solid var(--border); }
  .nav-links.open { display: flex; }
  .hamburger { display: flex; }
  .why-grid { grid-template-columns: 1fr; }
  .gallery-preview-grid { grid-template-columns: 1fr 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .trust-bar { gap: 1.5rem; }
}

@media (max-width: 480px) {
  .gallery-preview-grid { grid-template-columns: 1fr; }
  .btn-group { flex-direction: column; align-items: center; }
}
