/* Eagle Cleaning Supplies — Main Stylesheet (cappah-style v3) */
/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 15px;
  color: #333;
  background: #fff;
  overflow-x: hidden;
  line-height: 1.6;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }

/* ============================================================
   CSS VARIABLES
   ============================================================ */
:root {
  --green:  #3db54a;
  --teal:   #0d9b8a;
  --navy:   #0d1b2a;
  --white:  #ffffff;
  --text:   #333333;
  --font-head: 'Barlow Condensed', sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
}

/* ============================================================
   NAVBAR
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #fff;
  height: 64px;
  display: flex;
  align-items: center;
  transition: box-shadow 0.25s;
}
.nav.scrolled { box-shadow: 0 2px 12px rgba(0,0,0,0.09); }
.nav-inner {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo { display: flex; align-items: center; }
.nav-logo img {
  height: 50px;
  width: auto;
  object-fit: contain;
  display: block;
}

/* Grid icon — 4 squares */
.nav-grid-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.nav-grid-icon {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  width: 22px;
  height: 22px;
}
.nav-grid-icon span {
  display: block;
  background: var(--navy);
  border-radius: 2px;
  width: 9px;
  height: 9px;
}
.nav-drawer {
  display: none;
  position: fixed;
  top: 64px;
  right: 0;
  width: 240px;
  background: #fff;
  box-shadow: -4px 0 20px rgba(0,0,0,0.10);
  padding: 24px;
  z-index: 999;
}
.nav-drawer.open { display: block; }
.nav-drawer ul { list-style: none; }
.nav-drawer ul li { border-bottom: 1px solid #f0f0f0; }
.nav-drawer ul li a {
  display: block;
  padding: 12px 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.nav-drawer ul li a:hover { color: var(--teal); }

/* ============================================================
   HERO SLIDER
   ============================================================ */

/* Keyframe animations */
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-30px); }
  to   { opacity: 1; transform: none; }
}
@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-60px); }
  to   { opacity: 1; transform: none; }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* Slider wrapper */
.hero-slider {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

/* Individual slides */
.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.8s ease, transform 0.8s ease;
  transform: scale(1.05);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.hero-slide::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(45, 140, 60, 0.75);
  z-index: 1;
}
.hero-slide.is-active {
  opacity: 1;
  transform: scale(1.0);
  z-index: 2;
}

/* Slide content */
.hero-slide-content {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 48px 32px;
}

/* Animated text — only plays when slide has is-active */
.hero-slide .hero-welcome {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 15px;
  color: #fff;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 0;
  opacity: 0;
}
.hero-slide .hero-wordmark {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(88px, 18vw, 260px);
  color: #fff;
  line-height: 0.88;
  letter-spacing: -2px;
  text-transform: uppercase;
  user-select: none;
  opacity: 0;
}
.hero-slide .hero-subtext {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: clamp(14px, 2vw, 20px);
  color: rgba(255,255,255,0.90);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-top: 12px;
  opacity: 0;
}

/* Trigger animations only on active slide */
.hero-slide.is-active .hero-welcome {
  animation: fadeInDown 0.6s ease forwards 0.1s;
}
.hero-slide.is-active .hero-wordmark {
  animation: slideInLeft 0.6s ease forwards 0.4s;
}
.hero-slide.is-active .hero-subtext {
  animation: fadeIn 0.6s ease forwards 0.7s;
}

/* Vertical text */
.hero-vertical {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%) rotate(90deg);
  transform-origin: center center;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  color: rgba(255,255,255,0.70);
  letter-spacing: 3px;
  text-transform: uppercase;
  white-space: nowrap;
  z-index: 10;
}

/* Arrow buttons */
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(255,255,255,0.25);
  border: none;
  color: #fff;
  font-size: 28px;
  line-height: 1;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  backdrop-filter: blur(4px);
}
.hero-arrow:hover { background: rgba(255,255,255,0.45); }
.hero-arrow-prev { left: 20px; }
.hero-arrow-next { right: 20px; }

/* Dot indicators */
.hero-dots {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 10px;
  align-items: center;
}
.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid #fff;
  background: transparent;
  cursor: pointer;
  transition: background 0.3s;
  padding: 0;
}
.hero-dot.is-active { background: #fff; }

/* Band below slider */
.hero-band {
  background: var(--navy);
  padding: 0 24px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-band-text {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  color: rgba(255,255,255,0.80);
  letter-spacing: 2.5px;
  text-transform: uppercase;
  text-align: center;
  line-height: 1.7;
}

/* ============================================================
   PRODUCTS INTRO
   ============================================================ */
.intro {
  background: #fff;
  padding: 72px 24px 56px;
}
.intro-inner {
  max-width: 820px;
  margin: 0 auto;
}
.intro-heading {
  font-family: var(--font-head);
  font-size: 28px;
  font-weight: 900;
  color: var(--teal);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
}
.intro-body {
  font-size: 15px;
  line-height: 1.8;
  color: #444;
  text-align: justify;
}

/* ============================================================
   PRODUCT SECTIONS
   ============================================================ */
.products-wrap {
  background: #fff;
  padding: 0 0 48px;
}
.product-section {
  padding: 56px 24px 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 680px;
  margin: 0 auto;
}
.product-section + .product-section {
  border-top: 1px solid #f0f0f0;
}
.product-img-wrap {
  position: relative;
  z-index: 1;
}
.product-img-wrap img {
  width: 100%;
  max-width: 320px;
  height: 300px;
  object-fit: contain;
  position: relative;
  z-index: 1;
  margin: 0 auto;
  display: block;
}
.product-pedestal {
  width: 280px;
  height: 55px;
  background: white;
  border-radius: 50%;
  box-shadow: 0 8px 40px rgba(0,0,0,0.18);
  margin: -30px auto 0;
  position: relative;
  z-index: 0;
}
.product-heading {
  font-family: var(--font-head);
  font-size: 24px;
  font-weight: 900;
  color: var(--teal);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 28px;
  margin-bottom: 14px;
  text-align: center;
}
.product-desc {
  font-size: 15px;
  line-height: 1.75;
  color: #444;
  text-align: justify;
  margin-bottom: 20px;
  max-width: 540px;
}
.product-link {
  font-weight: 700;
  font-size: 14px;
  color: #111;
  letter-spacing: 0.3px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: color 0.2s;
}
.product-link:hover { color: var(--teal); }

.explore-more-wrap {
  display: flex;
  justify-content: center;
  padding: 32px 24px 72px;
}
.btn-explore {
  background: var(--teal);
  color: white;
  padding: 16px 40px;
  border-radius: 40px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  font-size: 15px;
  font-family: var(--font-body);
  transition: background 0.2s, transform 0.15s;
  display: inline-block;
}
.btn-explore:hover {
  background: #0b8274;
  transform: translateY(-1px);
}

/* ============================================================
   OUR MATERIALS
   ============================================================ */
.materials {
  background: var(--teal);
  padding: 72px 24px;
}
.materials-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.materials-heading {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 36px;
  font-weight: 400;
  color: #fff;
  margin-bottom: 48px;
  letter-spacing: 0.5px;
}
.materials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}
@media (min-width: 768px) {
  .materials-grid {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 56px;
  }
}
.material-item-heading {
  font-family: var(--font-body);
  font-size: 26px;
  font-weight: 300;
  color: #fff;
  margin-bottom: 14px;
  letter-spacing: 0.3px;
}
.material-item-text {
  font-size: 14px;
  line-height: 1.85;
  color: rgba(255,255,255,0.85);
}

/* ============================================================
   MADE IN CANADA
   ============================================================ */
.made-in-canada {
  background: #fff;
  padding: 64px 24px 48px;
  text-align: center;
}
.made-in-canada-label {
  font-size: 18px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #333;
  margin-bottom: 36px;
}
.made-in-canada-label strong {
  color: var(--green);
  font-style: italic;
  font-weight: 700;
}
.product-strip-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.product-strip-wrap::-webkit-scrollbar { display: none; }
.product-strip {
  display: flex;
  gap: 20px;
  padding: 8px 0 12px;
  width: max-content;
  margin: 0 auto;
}
.product-strip img {
  height: 120px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
}

/* ============================================================
   THE SPECIALIST
   ============================================================ */
.specialist {
  background: #fff;
  padding: 72px 24px 80px;
  border-top: 1px solid #f0f0f0;
}
.specialist-inner {
  max-width: 740px;
  margin: 0 auto;
  text-align: center;
}
.specialist-heading {
  font-family: var(--font-head);
  font-size: clamp(26px, 4vw, 34px);
  font-weight: 900;
  color: var(--teal);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1.1;
  margin-bottom: 28px;
}
.specialist-body {
  font-size: 15px;
  line-height: 1.85;
  color: #444;
  text-align: justify;
  margin-bottom: 44px;
}
.specialist-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}
.btn-teal-pill {
  background: var(--teal);
  color: #fff;
  padding: 14px 36px;
  border-radius: 40px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.5px;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
  display: inline-block;
}
.btn-teal-pill:hover { background: #0b8274; }
.btn-outline-pill {
  background: transparent;
  color: var(--navy);
  padding: 13px 36px;
  border-radius: 40px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.5px;
  border: 2px solid var(--navy);
  cursor: pointer;
  transition: all 0.2s;
  display: inline-block;
}
.btn-outline-pill:hover {
  background: var(--navy);
  color: #fff;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--navy);
  padding: 64px 24px 36px;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 44px;
  margin-bottom: 48px;
}
@media (min-width: 768px) {
  .footer-inner {
    grid-template-columns: 2fr 1fr 1fr;
    gap: 64px;
  }
}
.footer-logo-wrap {
  display: inline-block;
  background: #fff;
  border-radius: 6px;
  padding: 4px 8px;
  margin-bottom: 20px;
}
.footer-logo-wrap img {
  height: 44px;
  width: auto;
  object-fit: contain;
}
.footer-brand-text {
  font-size: 13px;
  color: rgba(255,255,255,0.50);
  line-height: 1.75;
  margin-bottom: 20px;
  max-width: 340px;
}
.footer-contact-line {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  margin-bottom: 8px;
}
.footer-contact-line a {
  color: rgba(255,255,255,0.55);
  transition: color 0.2s;
}
.footer-contact-line a:hover { color: #fff; }
.footer-col-title {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.30);
  margin-bottom: 18px;
}
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links li a {
  font-size: 13px;
  color: rgba(255,255,255,0.50);
  transition: color 0.2s;
}
.footer-links li a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}
.footer-copy {
  font-size: 12px;
  color: rgba(255,255,255,0.28);
}
.footer-legal {
  display: flex;
  gap: 20px;
}
.footer-legal a {
  font-size: 12px;
  color: rgba(255,255,255,0.28);
  transition: color 0.2s;
}
.footer-legal a:hover { color: rgba(255,255,255,0.60); }

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

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (min-width: 768px) {
  .intro { padding: 88px 48px 72px; }
  .product-section { padding: 72px 48px 60px; }
  .hero-slide-content { padding: 64px 64px 56px; }
  .hero-vertical { right: 32px; }
  .hero-arrow-prev { left: 32px; }
  .hero-arrow-next { right: 52px; }
}
@media (min-width: 1024px) {
  .product-section { max-width: 800px; }
}
@media (max-width: 400px) {
  .hero-slide .hero-wordmark { font-size: 20vw; }
  .product-pedestal { width: 220px; }
  .product-img-wrap img { max-width: 260px; }
}
