/* Merged styles for Sentinel Water Systems site including header and page sections */

/* Base styles */
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: #333333; /* Slate Grey */
  background-color: #ffffff; /* Clean White */
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Header */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 30px;
  background-color: #FFFFFF;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  gap: 16px;
}

.logo-container {
  display: flex;
  align-items: center;
}

.logo {
  height: 60px;
  width: auto;
}

.logo-link {
  display: inline-flex;
  align-items: center;
}

/* Mobile menu button (hidden on desktop) */
.nav-toggle {
  display: none;
  border: 1px solid rgba(27,54,93,0.2);
  background: #fff;
  border-radius: 10px;
  padding: 10px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.nav-toggle-bar {
  display: block;
  width: 18px;
  height: 2px;
  background: #1B365D;
  margin: 3px 0;
  border-radius: 1px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Navigation */
.navigation ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 20px;
}

.navigation .nav-link {
  color: #1B365D; /* Sentinel Navy */
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}

.navigation .nav-link:hover {
  color: #48C0E0; /* Purified Aqua */
}

/* CTA Button – unified style used across header and hero */
.cta-button {
  background-color: #48C0E0; /* Purified Aqua */
  color: #FFFFFF;
  padding: 0.8em 1.5em;
  font-weight: bold;
  border-radius: 4px;
  display: inline-block;
  text-decoration: none;
  transition: background-color 0.3s, color 0.3s;
}

.cta-button:hover {
  background-color: #1B365D; /* Sentinel Navy */
  color: #FFFFFF;
}

/* WhatsApp Button */
.whatsapp-float{
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 9999;
  background: #25D366;
  color: #fff;
  padding: 12px 16px;
  border-radius: 999px;
  font-weight: 700;
  box-shadow: 0 8px 18px rgba(0,0,0,0.18);
  text-decoration: none;
}

.whatsapp-float:hover{
  filter: brightness(0.95);
}

/* Hero Section */
.hero {
  /* A gradient to suggest water flowing */
  background: linear-gradient(135deg, #1B365D 0%, #48C0E0 100%);
  color: #ffffff;
  padding: 100px 20px;
  text-align: center;
}

.hero h1 {
  font-size: 2.5rem;
  margin: 0 0 0.5em;
}

.hero p {
  font-size: 1.25rem;
  margin: 0 0 1.5em;
}

/* Section layout */
.section {
  padding: 60px 20px;
  max-width: 1000px;
  margin: 0 auto;
}

.section h2 {
  margin-top: 0;
  margin-bottom: 20px;
  color: #1B365D;
  font-size: 1.75rem;
}

/* Problem Section */
.problem p {
  margin-bottom: 1em;
}

.benefits {
  list-style-type: disc;
  padding-left: 20px;
}

.benefits li {
  margin-bottom: 0.5em;
}

/* Solution Section */
.solution-content {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
}

.solution-content .product-image {
  max-width: 200px;
  height: auto;
  margin-right: 20px;
  margin-bottom: 20px;
}

.solution-content ul {
  list-style-type: disc;
  padding-left: 20px;
  margin: 0;
}

.solution-content li {
  margin-bottom: 0.75em;
}

/* Social Proof */
.social-proof blockquote {
  font-style: italic;
  background-color: #F5F9FC; /* Very light blue for emphasis */
  padding: 20px;
  border-left: 4px solid #48C0E0;
  margin: 0;
  color: #333333;
}

.social-proof cite {
  display: block;
  margin-top: 10px;
  font-style: normal;
  font-weight: bold;
  color: #1B365D;
}

/* Form Section */
.form-embed {
  border: 2px dashed #48C0E0;
  border-radius: 8px;
  padding: 14px;
  background: #fff;
}

.form-embed iframe {
  width: 100%;
  max-width: 100%;
  height: 1250px; /* Google Forms needs a fixed-ish height */
  min-height: 900px;
  border: 0;
  display: block;
}

/* Footer */
.footer {
  background-color: #1B365D;
  color: #ffffff;
  text-align: center;
  padding: 20px;
  font-size: 0.875rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  /* Hero adjustments */
  .hero {
    padding: 80px 20px;
  }
  .hero h1 {
    font-size: 2rem;
  }
  .hero p {
    font-size: 1rem;
  }
  /* Solution adjustments */
  .solution-content {
    flex-direction: column;
  }
  .solution-content .product-image {
    margin-right: 0;
    margin-bottom: 20px;
    align-self: center;
  }
  /* Header adjustments */
  .site-header {
    flex-wrap: wrap;
    padding: 10px 14px;
  }

  .logo {
    height: 48px;
  }

  .nav-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  /* Hide nav by default on mobile; show when header is open */
  .navigation {
    display: none;
    width: 100%;
    order: 4;
  }

  .site-header.is-open .navigation {
    display: block;
  }

  .navigation ul {
    flex-direction: column;
    gap: 0;
    padding: 8px 0;
  }

  .navigation li {
    border-top: 1px solid rgba(27,54,93,0.08);
  }

  .navigation .nav-link {
    display: block;
    padding: 12px 6px;
  }

  .header-cta {
    order: 3;
    width: 100%;
    text-align: center;
    margin-top: 8px;
  }

  .form-embed {
    padding: 10px;
  }

  .form-embed iframe {
    height: 1400px; /* a bit taller on mobile to avoid internal scrolling */
  }
}