/* ═══════════════════════════════════════════════════
   SUPREME WATERWORKS — Shared Stylesheet
   Fouro Digital Standard · GoDaddy cPanel Optimized
   ═══════════════════════════════════════════════════ */

/* ── TOKENS ── */
:root {
  --black:       #080808;
  --black-mid:   #111111;
  --black-soft:  #181818;
  --chrome-dk:   #4a5a6a;
  --chrome-md:   #8a9bb0;
  --chrome-lt:   #c8d4e0;
  --chrome-xl:   #e8eef4;
  --blue:        #3a9fd5;
  --blue-lt:     #5bc4f5;
  --blue-dim:    rgba(58,159,213,0.12);
  --blue-glow:   rgba(58,159,213,0.25);
  --text-dim:    rgba(200,212,224,0.45);
  --border:      rgba(200,212,224,0.1);
  --border-blue: rgba(58,159,213,0.28);
  --font-head:   'Bebas Neue', sans-serif;
  --font-body:   'Barlow', sans-serif;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--black);
  color: var(--chrome-lt);
  overflow-x: hidden;
  min-height: 100vh;
}

/* Subtle noise */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 999;
  opacity: 0.5;
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: 70px;
  padding: 0 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(8,8,8,0.9);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s;
}
nav.scrolled { box-shadow: 0 4px 32px rgba(0,0,0,0.6); }

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  flex-shrink: 0;
}
.nav-logo img {
  height: 42px;
  width: auto;
  filter: drop-shadow(0 0 8px rgba(58,159,213,0.35));
}
.nav-logo-text {
  font-family: var(--font-head);
  font-size: 1.25rem;
  letter-spacing: 0.08em;
  color: var(--chrome-xl);
  line-height: 1;
}
.nav-logo-text span { color: var(--blue); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  list-style: none;
}
.nav-links a {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--chrome-md);
  text-decoration: none;
  transition: color 0.2s;
  position: relative;
  padding-bottom: 2px;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 1px;
  background: var(--blue);
  transition: width 0.25s;
}
.nav-links a:hover { color: var(--blue-lt); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }
.nav-links a.active { color: var(--chrome-xl); }

.nav-cta {
  background: var(--blue) !important;
  color: var(--black) !important;
  padding: 0.5rem 1.35rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.12em !important;
  transition: background 0.2s, box-shadow 0.2s !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover {
  background: var(--blue-lt) !important;
  color: var(--black) !important;
  box-shadow: 0 0 20px var(--blue-glow) !important;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--chrome-lt);
  transition: all 0.3s;
}

/* Mobile overlay */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(8,8,8,0.97);
  z-index: 200;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-family: var(--font-head);
  font-size: 2.8rem;
  letter-spacing: 0.08em;
  color: var(--chrome-lt);
  text-decoration: none;
  transition: color 0.2s;
}
.mobile-menu a:hover { color: var(--blue); }
.mobile-close {
  position: absolute;
  top: 1.5rem; right: 2rem;
  background: none;
  border: none;
  color: var(--chrome-md);
  font-size: 1.75rem;
  cursor: pointer;
}

/* ── PAGE HEADER (inner pages) ── */
.page-header {
  padding: 9rem 2.5rem 5rem;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 80% at 50% 0%, rgba(58,159,213,0.07) 0%, transparent 65%);
}
.page-header::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: 0.5;
}
.page-header-inner {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
}
.page-eyebrow {
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  opacity: 0;
  animation: fadeUp 0.6s 0.2s forwards;
}
.page-eyebrow::after {
  content: '';
  width: 36px; height: 1px;
  background: var(--blue);
}
.page-title {
  font-family: var(--font-head);
  font-size: clamp(3rem, 7vw, 5.5rem);
  letter-spacing: 0.04em;
  color: var(--chrome-xl);
  line-height: 1;
  opacity: 0;
  animation: fadeUp 0.7s 0.35s forwards;
}
.page-title .accent { color: var(--blue); }
.page-sub {
  font-size: 1rem;
  font-weight: 300;
  color: var(--text-dim);
  line-height: 1.8;
  max-width: 540px;
  margin-top: 1.25rem;
  opacity: 0;
  animation: fadeUp 0.7s 0.5s forwards;
}

/* ── LAYOUT UTILITIES ── */
.container { max-width: 1200px; margin: 0 auto; }
section { padding: 6rem 2.5rem; }

.section-eyebrow {
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.section-eyebrow::after { content: ''; width: 36px; height: 1px; background: var(--blue); }

.section-title {
  font-family: var(--font-head);
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  letter-spacing: 0.04em;
  line-height: 1.05;
  color: var(--chrome-xl);
  margin-bottom: 1.1rem;
}
.section-title .accent { color: var(--blue); }

.section-body {
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--text-dim);
  line-height: 1.85;
  max-width: 520px;
}

/* ── BUTTONS ── */
.btn-primary {
  display: inline-block;
  background: var(--blue);
  color: var(--black);
  padding: 0.9rem 2.2rem;
  font-family: var(--font-head);
  font-size: 1rem;
  letter-spacing: 0.12em;
  text-decoration: none;
  transition: background 0.2s, box-shadow 0.2s, transform 0.2s;
}
.btn-primary:hover {
  background: var(--blue-lt);
  box-shadow: 0 0 24px var(--blue-glow), 0 4px 16px rgba(0,0,0,0.4);
  transform: translateY(-2px);
}

.btn-outline {
  display: inline-block;
  border: 1px solid var(--chrome-md);
  color: var(--chrome-lt);
  padding: 0.9rem 2.2rem;
  font-family: var(--font-head);
  font-size: 1rem;
  letter-spacing: 0.12em;
  text-decoration: none;
  transition: all 0.25s;
}
.btn-outline:hover {
  border-color: var(--blue);
  color: var(--blue-lt);
  box-shadow: 0 0 16px rgba(58,159,213,0.12);
}

/* ── TICKER ── */
.ticker {
  background: linear-gradient(90deg, var(--blue) 0%, #2a85b8 100%);
  padding: 0.8rem 0;
  overflow: hidden;
}
.ticker-track {
  display: flex;
  gap: 3rem;
  white-space: nowrap;
  animation: ticker 28s linear infinite;
}
.ticker-item {
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--black);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}
.ticker-item::before { content: '●'; font-size: 0.4rem; }

/* ── SCROLL REVEAL ── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── FOOTER ── */
footer {
  background: var(--black-soft);
  border-top: 1px solid var(--border);
  padding: 2.25rem 2.5rem;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.25rem;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.footer-logo img { height: 34px; filter: brightness(0.65); }
.footer-logo-text {
  font-family: var(--font-head);
  font-size: 1rem;
  letter-spacing: 0.08em;
  color: var(--chrome-md);
}
.footer-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}
.footer-links a {
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-dim);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--blue); }
.footer-copy { font-size: 0.68rem; color: rgba(138,155,176,0.3); }

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes spinR { to { transform: rotate(-360deg); } }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  nav { padding: 0 1.5rem; }
  section { padding: 4.5rem 1.5rem; }
  .page-header { padding: 8rem 1.5rem 4rem; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-links { flex-wrap: wrap; gap: 1.25rem; }
}
