/* ================================================================
   HydroLynx Systems — Light Theme Stylesheet v4.0
   www.hydrolynxsystems.com
   White with blue accents
   ================================================================ */

:root {
  /* Light theme palette */
  --bg-primary: #ffffff;
  --bg-secondary: #f5f7fa;
  --bg-tertiary: #edf1f7;
  --bg-card: #ffffff;
  --bg-hero: linear-gradient(135deg, #f0f5ff 0%, #e8eef8 50%, #f5f7fa 100%);
  --bg-hero-overlay: rgba(255,255,255,0.85);

  --text-primary: #1a2332;
  --text-secondary: #3d4f65;
  --text-tertiary: #6b7d93;
  --text-muted: #8e9cb0;

  --blue-primary: #1565c0;
  --blue-bright: #1976d2;
  --blue-light: #e3f2fd;
  --blue-lighter: #f0f7ff;
  --blue-dark: #0d47a1;
  --blue-accent: #2196f3;
  --cyan: #0097a7;
  --teal: #00897b;

  --border: #e0e6ed;
  --border-light: #edf1f7;
  --border-hover: #bbdefb;

  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.1);
  --shadow-card: 0 2px 12px rgba(0,0,0,0.06);

  --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'Space Mono', monospace;
  --radius: 8px;
  --radius-lg: 16px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);

  /* Image base URL */
  --img-base: https://www.hydrolynx.com;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font-body); background: var(--bg-primary); color: var(--text-primary); line-height: 1.7; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--blue-dark); }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* Skip Nav */
.skip-nav { position: absolute; top: -100%; left: 16px; background: var(--blue-primary); color: #fff; padding: 12px 24px; border-radius: var(--radius); z-index: 1000; font-weight: 600; }
.skip-nav:focus { top: 16px; }

/* ===== HEADER ===== */
header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; background: rgba(255,255,255,0.95); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 12px 24px; max-width: 1200px; margin: 0 auto; }
.logo { display: flex; align-items: center; gap: 0; }
.logo img { height: 44px; width: auto; }
.logo-text { display: none; } /* Hidden when logo image is used */

nav { display: flex; align-items: center; gap: 4px; }
nav > a, .nav-dropdown > a { color: var(--text-secondary); font-size: 0.88rem; font-weight: 500; padding: 8px 14px; border-radius: var(--radius); transition: all var(--transition); }
nav > a:hover, .nav-dropdown > a:hover { color: var(--blue-primary); background: var(--blue-light); }
nav > a.active, .nav-dropdown > a.active { color: var(--blue-primary); background: var(--blue-light); font-weight: 600; }
.nav-cta { background: var(--blue-primary) !important; color: #fff !important; font-weight: 600 !important; padding: 10px 20px !important; }
.nav-cta:hover { background: var(--blue-dark) !important; }
.mobile-toggle { display: none; background: none; border: none; color: var(--text-primary); font-size: 1.5rem; cursor: pointer; padding: 8px; }

/* Dropdown */
.nav-dropdown { position: relative; }
.dropdown-content { display: none; position: absolute; top: 100%; left: 0; background: var(--bg-primary); border: 1px solid var(--border); border-radius: var(--radius); min-width: 240px; padding: 8px; box-shadow: var(--shadow-lg); z-index: 200; }
.nav-dropdown:hover .dropdown-content { display: block; }
.dropdown-content a { display: block; padding: 10px 16px; color: var(--text-secondary); font-size: 0.85rem; border-radius: 6px; }
.dropdown-content a:hover { background: var(--blue-light); color: var(--blue-primary); }

/* ===== BUTTONS ===== */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 28px; border-radius: var(--radius); font-size: 0.95rem; font-weight: 600; font-family: var(--font-body); border: none; cursor: pointer; transition: all var(--transition); }
.btn-primary { background: var(--blue-primary); color: #fff; box-shadow: 0 4px 16px rgba(21,101,192,0.25); }
.btn-primary:hover { background: var(--blue-dark); color: #fff; transform: translateY(-2px); box-shadow: 0 6px 24px rgba(21,101,192,0.35); }
.btn-outline { background: transparent; color: var(--text-secondary); border: 1.5px solid var(--border); }
.btn-outline:hover { border-color: var(--blue-primary); color: var(--blue-primary); background: var(--blue-lighter); }
.btn-sm { padding: 10px 20px; font-size: 0.85rem; }

/* ===== HERO ===== */
.hero { position: relative; padding: 140px 0 80px; overflow: hidden; background: var(--bg-hero); }
.hero-image { position: absolute; inset: 0; }
.hero-image img { width: 100%; height: 100%; object-fit: cover; }
.hero-image::after { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(255,255,255,0.92) 0%, rgba(255,255,255,0.75) 50%, rgba(240,245,255,0.6) 100%); }
.hero-content { position: relative; z-index: 2; max-width: 680px; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: var(--blue-light); border: 1px solid var(--border-hover); padding: 6px 16px; border-radius: 100px; font-size: 0.8rem; font-weight: 600; color: var(--blue-primary); margin-bottom: 24px; letter-spacing: 0.5px; text-transform: uppercase; animation: fadeInUp 0.8s ease both; }
.hero-badge::before { content: ''; width: 6px; height: 6px; background: var(--blue-accent); border-radius: 50%; animation: pulse-dot 2s ease infinite; }
h1 { font-size: clamp(2.5rem, 5vw, 3.5rem); font-weight: 700; line-height: 1.1; letter-spacing: -1.5px; color: var(--text-primary); margin-bottom: 24px; animation: fadeInUp 0.8s ease 0.1s both; }
h1 .highlight { color: var(--blue-primary); }
.hero-description { font-size: 1.1rem; color: var(--text-secondary); line-height: 1.8; margin-bottom: 40px; max-width: 560px; animation: fadeInUp 0.8s ease 0.2s both; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; animation: fadeInUp 0.8s ease 0.3s both; }
.hero-stats { display: flex; gap: 48px; margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--border); animation: fadeInUp 0.8s ease 0.4s both; }
.stat-item { text-align: left; }
.stat-number { font-family: var(--font-mono); font-size: 1.5rem; font-weight: 700; color: var(--text-primary); letter-spacing: -1px; }
.stat-label { font-size: 0.78rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; margin-top: 4px; }

/* Page Hero (sub-pages) */
.page-hero { position: relative; padding: 130px 0 50px; background: var(--bg-secondary); border-bottom: 1px solid var(--border); }
.page-hero-content { position: relative; z-index: 2; max-width: 700px; }
.page-hero h1 { font-size: clamp(2rem, 4vw, 2.75rem); animation: fadeInUp 0.6s ease both; }
.page-hero .hero-description { animation: fadeInUp 0.6s ease 0.1s both; }
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 0.82rem; color: var(--text-muted); margin-bottom: 16px; animation: fadeInUp 0.6s ease both; }
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--blue-primary); }
.breadcrumb .sep { color: var(--text-muted); }

/* ===== SECTIONS ===== */
section { padding: 80px 0; }
.section-label { font-family: var(--font-mono); font-size: 0.75rem; color: var(--blue-primary); text-transform: uppercase; letter-spacing: 2px; margin-bottom: 12px; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); font-weight: 700; letter-spacing: -0.8px; line-height: 1.2; color: var(--text-primary); margin-bottom: 16px; }
h3 { font-size: 1.15rem; font-weight: 600; color: var(--text-primary); }
.section-description { font-size: 1.05rem; color: var(--text-secondary); max-width: 600px; line-height: 1.8; }

/* ===== PRODUCTS GRID ===== */
.products-section { background: var(--bg-secondary); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.products-header { text-align: center; margin-bottom: 56px; }
.products-header .section-description { margin: 0 auto; }
.products-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }

.product-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 32px; transition: all var(--transition); position: relative; overflow: hidden; }
.product-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--blue-primary), var(--blue-accent)); opacity: 0; transition: opacity var(--transition); }
.product-card:hover { border-color: var(--border-hover); transform: translateY(-4px); box-shadow: var(--shadow-md); }
.product-card:hover::before { opacity: 1; }
.product-card-img { width: 100%; height: 180px; object-fit: contain; background: var(--bg-secondary); border-radius: var(--radius); margin-bottom: 20px; padding: 16px; }
.product-icon { width: 52px; height: 52px; background: var(--blue-light); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; margin-bottom: 20px; }
.product-card h3 { margin-bottom: 10px; }
.product-card p { font-size: 0.9rem; color: var(--text-tertiary); line-height: 1.7; margin-bottom: 16px; }
.product-link { font-size: 0.85rem; font-weight: 600; color: var(--blue-primary); display: inline-flex; align-items: center; gap: 6px; transition: gap var(--transition); }
.product-link:hover { gap: 10px; }

/* Product list items */
.product-list-container { display: flex; flex-direction: column; gap: 8px; margin-top: 32px; }
.product-list-item { display: flex; align-items: center; gap: 16px; padding: 18px 24px; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); transition: all var(--transition); color: var(--text-primary); }
.product-list-item:hover { border-color: var(--border-hover); background: var(--blue-lighter); color: var(--text-primary); transform: translateX(4px); box-shadow: var(--shadow-sm); }
.product-list-model { font-family: var(--font-mono); font-size: 0.8rem; font-weight: 700; color: var(--blue-primary); min-width: 200px; }
.product-list-desc { flex: 1; font-size: 0.9rem; color: var(--text-secondary); }
.product-list-arrow { color: var(--text-muted); font-size: 1.1rem; transition: all var(--transition); }
.product-list-item:hover .product-list-arrow { transform: translateX(4px); color: var(--blue-primary); }

/* ===== CONTENT PAGES ===== */
.content-section { padding: 60px 0; }
.content-body { max-width: 800px; }
.content-body h2 { font-size: 1.4rem; margin: 36px 0 12px; }
.content-body h2:first-child { margin-top: 0; }
.content-body p { color: var(--text-secondary); font-size: 0.95rem; line-height: 1.8; margin-bottom: 14px; }
.content-body ul { list-style: none; margin-bottom: 20px; }
.content-body ul li { display: flex; align-items: flex-start; gap: 10px; padding: 5px 0; font-size: 0.92rem; color: var(--text-secondary); line-height: 1.6; }
.content-body ul li::before { content: '›'; color: var(--blue-primary); font-weight: 700; font-size: 1.1rem; line-height: 1.4; }

/* ===== FEATURES GRID ===== */
.features-section { background: var(--bg-secondary); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 40px; }
.feature-card { text-align: center; padding: 32px 24px; border-radius: var(--radius-lg); background: var(--bg-card); border: 1px solid var(--border); transition: all var(--transition); }
.feature-card:hover { border-color: var(--border-hover); box-shadow: var(--shadow-card); }
.feature-icon { font-size: 2rem; margin-bottom: 14px; }
.feature-card h3 { margin-bottom: 8px; font-size: 1.05rem; }
.feature-card p { font-size: 0.85rem; color: var(--text-tertiary); line-height: 1.6; }

/* ===== CTA BAND ===== */
.cta-band { background: var(--blue-primary); padding: 28px 0; text-align: center; }
.cta-band h3 { font-size: 1rem; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 4px; color: #fff; }
.cta-band p { font-size: 0.95rem; color: rgba(255,255,255,0.9); }
.cta-band a { color: #fff; font-weight: 600; text-decoration: underline; }

/* ===== CTA SECTION ===== */
.cta-section { text-align: center; }
.cta-box { background: var(--blue-lighter); border: 1px solid var(--border-hover); border-radius: 24px; padding: 64px 40px; }
.cta-box h2 { color: var(--text-primary); }
.cta-box p { color: var(--text-secondary); font-size: 1.05rem; max-width: 500px; margin: 0 auto 28px; }
.cta-box .hero-actions { justify-content: center; }

/* ===== CONTACT ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; margin-top: 40px; }
.contact-info-card { background: var(--bg-secondary); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; margin-bottom: 16px; }
.contact-info-card h3 { font-size: 1rem; margin-bottom: 10px; }
.contact-info-card p { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.7; }
.contact-form label { display: block; font-size: 0.85rem; font-weight: 500; color: var(--text-secondary); margin-bottom: 6px; margin-top: 18px; }
.contact-form label:first-child { margin-top: 0; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; padding: 12px 16px; background: var(--bg-primary); border: 1px solid var(--border); border-radius: var(--radius); color: var(--text-primary); font-family: var(--font-body); font-size: 0.92rem; transition: border-color var(--transition); }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: none; border-color: var(--blue-primary); box-shadow: 0 0 0 3px rgba(21,101,192,0.1); }
.contact-form textarea { min-height: 120px; resize: vertical; }
.contact-form .btn { margin-top: 20px; }

/* ===== FOOTER ===== */
footer { background: var(--text-primary); color: rgba(255,255,255,0.8); padding: 56px 0 28px; }
footer a { color: rgba(255,255,255,0.7); }
footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 40px; }
.footer-brand .logo img { height: 36px; margin-bottom: 12px; }
.footer-brand p { color: rgba(255,255,255,0.6); font-size: 0.85rem; line-height: 1.7; margin-top: 12px; }
.footer-col h4 { font-size: 0.78rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1.5px; color: rgba(255,255,255,0.5); margin-bottom: 16px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { font-size: 0.85rem; }
.footer-isg { margin-top: 16px; }
.footer-isg img { height: 28px; opacity: 0.7; margin-top: 8px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 28px; border-top: 1px solid rgba(255,255,255,0.1); font-size: 0.78rem; color: rgba(255,255,255,0.4); }

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes pulse-dot { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }
.fade-in { opacity: 0; transform: translateY(24px); transition: opacity 0.5s ease, transform 0.5s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  nav { display: none; }
  .mobile-toggle { display: block; }
  nav.open { display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--bg-primary); border-bottom: 1px solid var(--border); padding: 16px; z-index: 200; box-shadow: var(--shadow-lg); }
  nav.open .nav-dropdown { width: 100%; }
  nav.open .dropdown-content { display: block; position: static; border: none; box-shadow: none; padding-left: 16px; }
  .hero { padding: 110px 0 50px; }
  .hero-stats { gap: 20px; flex-wrap: wrap; }
  .products-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .product-list-item { flex-wrap: wrap; }
  .product-list-model { min-width: auto; width: 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}
@media (max-width: 480px) {
  h1 { font-size: 2rem; }
  .hero-actions { flex-direction: column; }
  .btn { width: 100%; justify-content: center; }
  .cta-box { padding: 40px 20px; }
}
