
:root {
  --brand-deep: #0B3C88;
  --brand-blue: #134E9C;
  --brand-light: #5EA2E6;
  --brand-gray: #74777C;
  --brand-white: #FFFFFF;
  --brand-accent: #0E63C7;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(0,0,0,.08);
}

* { box-sizing: border-box; }
html, body {
  margin: 0;
  padding: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji";
  color: var(--brand-deep);
  background: var(--brand-white);
  line-height: 1.5;
}

a { color: var(--brand-blue); text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
  width: min(1100px, 92%);
  margin: 0 auto;
}

.navbar {
  position: sticky; top: 0; z-index: 50;
  background: var(--brand-white);
  border-bottom: 1px solid #e6e9ef;
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 0;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 42px; width: auto; }
.brand .title { font-weight: 800; letter-spacing: .3px; color: var(--brand-deep); }

.nav-links { display: flex; gap: 18px; align-items: center; }
.nav-links a { padding: 8px 10px; border-radius: 10px; }
.nav-links a.active, .nav-links a:hover {
  background: rgba(19,78,156,.08);
  text-decoration: none;
}

.btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--brand-blue), var(--brand-accent));
  color: white;
  padding: 12px 18px;
  border-radius: 999px;
  box-shadow: var(--shadow);
  border: none;
  cursor: pointer;
  font-weight: 700;
}
.btn.secondary {
  background: transparent;
  color: var(--brand-blue);
  border: 2px solid var(--brand-blue);
  box-shadow: none;
}

.hero {
  background: radial-gradient(1200px 600px at 80% -100px, rgba(14,99,199,.12), transparent 60%),
              radial-gradient(900px 400px at -10% -50px, rgba(11,60,136,.10), transparent 60%);
  border-bottom: 1px solid #eef1f6;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 28px;
  padding: 72px 0;
  align-items: center;
}
.hero h1 { font-size: clamp(32px, 4vw, 56px); margin: 0 0 10px; }
.hero p  { font-size: clamp(16px, 2vw, 20px); color: var(--brand-gray); margin: 0 0 26px; }
.hero-card {
  background: white; border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow);
  display: flex; align-items: center; gap: 14px;
}
.hero-card img { height: 64px; width: auto; }

.badges { display: flex; gap: 10px; flex-wrap: wrap; }
.badge {
  border: 1px solid #e6e9ef; color: var(--brand-blue);
  padding: 6px 10px; border-radius: 999px; font-size: 14px; background: white;
}

.section { padding: 54px 0; }
.section h2 { margin: 0 0 16px; font-size: clamp(24px, 3vw, 34px); }
.section p.lead { color: var(--brand-gray); margin-top: 0; }

.cards { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; }
.card { background: white; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; }
.card .media { aspect-ratio: 4/3; background: linear-gradient(180deg, rgba(19,78,156,.15), rgba(14,99,199,.12)); }
.card .body { padding: 16px; }
.card h3 { margin: 0 0 6px; }
.card p { margin: 0; color: var(--brand-gray); }

.cta { text-align: center; background: linear-gradient(180deg, rgba(19,78,156,.06), transparent); padding: 60px 0 80px; }
.cta h2 { margin: 0 0 10px; }
.cta p { color: var(--brand-gray); }
.cta .actions { display: inline-flex; gap: 12px; margin-top: 16px; }

.footer {
  border-top: 1px solid #eef1f6; padding: 26px 0; color: #4b5563; background: white;
}
.footer .row { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; }
.footer .small { font-size: 14px; color: var(--brand-gray); }

.mobile-toggle { display: none; background: none; border: none; font-size: 26px; }
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr 1fr; }
  .mobile-toggle { display: block; }
  .nav-links { display: none; position: absolute; top: 64px; right: 4%; background: white; padding: 12px; border-radius: 12px; box-shadow: var(--shadow); }
  .nav-links.open { display: flex; flex-direction: column; }
}
@media (max-width: 620px) {
  .cards { grid-template-columns: 1fr; }
}

/* Photo hero */
.hero-photo{
  position: relative;
  background: url('assets/hero-waterfall.jpg') center/cover no-repeat;
  min-height: 64vh;
  display: grid; place-items: center;
}
.hero-photo::after{content:"";position:absolute;inset:0;background:rgba(0,0,0,.05);}
.hero-photo .content{ position: relative; z-index:1; text-align:center; color:white; padding: 24px; display:flex; flex-direction:column; justify-content:center; align-items:center; min-height:60vh;}
.hero-photo h1{ color:white; font-weight:800; font-size: clamp(42px, 6vw, 78px); letter-spacing:.2px; margin:0 0 14px; text-shadow:0 2px 6px rgba(0,0,0,.65); text-decoration:underline; text-decoration-color:var(--brand-blue); text-decoration-thickness:3px;}
.hero-photo p{ color:white; font-size: clamp(16px, 2.2vw, 20px); font-weight:600; margin:0 0 18px; text-shadow:0 2px 6px rgba(0,0,0,.65);}

.product-grid{
  display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 22px;
}
.product{ background:white; border-radius:var(--radius); box-shadow:var(--shadow); overflow:hidden; display:grid; grid-template-columns:340px 1fr; gap:12px; align-items:center; }
.product .imgwrap{
  position: relative;
  background: linear-gradient(180deg, rgba(0,0,0,.05), rgba(0,0,0,.05)),
              linear-gradient(180deg, rgba(19,78,156,.06), rgba(14,99,199,.05));
  display:flex; align-items:center; justify-content:center; 
  border: 1px solid #e6e9ef;
  border-radius: 12px;
  padding: 16px;
}
.product .imgwrap img{ width:auto; height:320px; max-height:320px; object-fit:contain; transition: transform .3s ease, box-shadow .3s ease; }
.product .info{ display:flex; flex-direction:column; gap:8px; padding:12px 16px; }
@media (max-width: 980px){
  .product{ background:white; border-radius:var(--radius); box-shadow:var(--shadow); overflow:hidden; display:grid; grid-template-columns:340px 1fr; gap:12px; align-items:center; }
  .product .imgwrap{
  position: relative;
  background: linear-gradient(180deg, rgba(0,0,0,.05), rgba(0,0,0,.05)),
              linear-gradient(180deg, rgba(19,78,156,.06), rgba(14,99,199,.05));
  display:flex; align-items:center; justify-content:center; 
  border: 1px solid #e6e9ef;
  border-radius: 12px;
  padding: 16px;
}
}

.bottle-strip{ display:flex; gap:24px; justify-content:center; align-items:flex-end; padding: 8px 0 0; }
.bottle-strip img{ height:140px; width:auto; }
@media (max-width: 520px){
  .bottle-strip{ gap:16px; }
  .bottle-strip img{ height:120px; }
}

.hero-caption{ text-align:center; font-size:14px; color: var(--brand-gray); margin-top:8px; }

.product .info h3{ color: var(--brand-deep); }

/* Responsive layout for About page */
@media (max-width: 820px){
  .cards.about-grid{ grid-template-columns:1fr !important; }
  .cards.about-grid img{ max-width:90% !important; margin-bottom:18px; }
}

.product .imgwrap img{ width:auto; height:320px; max-height:320px; object-fit:contain; transition: transform .3s ease, box-shadow .3s ease; }
.product .imgwrap img:hover{ transform: scale(1.05); box-shadow: 0 8px 20px rgba(0,0,0,.15); border-radius:12px; }

.product .info .btn{ align-self:center; margin-top:12px; }

.actions .btn + .btn{ margin-left:12px; }

.badge:hover{ background: var(--brand-deep); }

.fact{ background:rgba(0,0,0,.45); color:white; padding:6px 14px; border-radius:999px; font-size:15px; font-weight:600; text-shadow:0 1px 2px rgba(0,0,0,.5);}
.badges{ display:flex; justify-content:center; gap:14px; flex-wrap:wrap; margin-top:18px; }

.tagline{ font-size:clamp(20px,2.8vw,26px); font-weight:600; color:white; margin:8px 0 22px; text-shadow:0 2px 6px rgba(0,0,0,.65);}

.card .media{ position:relative; overflow:hidden; aspect-ratio: 4/3; background: linear-gradient(180deg, rgba(19,78,156,.15), rgba(14,99,199,.12)); }
.card .media img{ width:100%; height:100%; object-fit:cover; display:block; }


  .product {
    width: 100%;
  }
}

  .product {
    width: 100%;
  }
}

@media (max-width: 768px){
  .products-grid {
    display: grid;
    grid-template-columns: 1fr; /* one column only */
    gap: 20px; /* spacing between cards */
    padding: 0 10px; /* space from screen edges */
  }
  .product {
    width: 100%;
  }
}

.product img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}


/* --- Mobile fix for Products page card stacking (force single column) --- */
@media (max-width: 768px){
  .products-grid,
  .products .products-grid,
  .cards.products-grid,
  .products .cards {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 20px !important;
    padding: 0 10px;
  }
  .product {
    width: 100% !important;
    max-width: 100% !important;
  }
  .product img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
  }
}



/* --- Force products to stack on mobile (robust override) --- */
@media (max-width: 1024px){
  .products-grid {
    display: block !important;        /* disable grid/flex on mobile */
  }
  .products-grid .product,
  .products .products-grid .product,
  .products .cards .product {
    width: 100% !important;           /* full width */
    max-width: 100% !important;
    margin: 0 0 20px 0 !important;    /* vertical spacing */
    float: none !important;
    grid-column: 1 / -1 !important;
    flex: 0 0 100% !important;
  }
}



/* === FINAL mobile stacking override for Products (≤1024px) === */
@media (max-width: 1024px){
  /* Disable multi-column layout sources */
  .products-grid,
  .products .products-grid,
  .products .cards,
  .cards.products-grid,
  .products [class*="grid"],
  .products [class*="row"]{
    display: block !important;
  }

  /* Force each product card onto its own row */
  .products-grid .product,
  .products .products-grid .product,
  .products .cards .product,
  .products [class*="row"] .product,
  .products [class*="col-"] .product {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 0 20px 0 !important;
    float: none !important;
    grid-column: 1 / -1 !important;
    flex: 0 0 100% !important;
    display: block !important;
  }

  /* Image safety */
  .product img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
    margin: 0 auto !important;
  }
}



/* --- Absolute override: stack Products cards on mobile (final) --- */
@media (max-width: 1024px) {
  /* kill grid/flex on all containers in products page */
  .products-grid,
  .products .row,
  .products [class*="row"],
  .products [class*="grid"] {
    display: block !important;
  }

  /* force any bootstrap column/card to full width */
  .products .product,
  .products [class*="col-"],
  .products-grid .product {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
    float: none !important;
    display: block !important;
    margin: 0 0 20px 0 !important;
    grid-column: 1 / -1 !important;
  }
}



/* --- Mobile product card content fix: prevent text overflow and stack inside card --- */
@media (max-width: 768px){
  /* Ensure the card itself stacks its internal layout */
  .products .product,
  .product {
    display: flex !important;
    flex-direction: column !important;
    align-items: center;
  }

  /* Kill column widths/floats inside each card */
  .product [class*="col-"],
  .product .right,
  .product .left {
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
    flex: 0 0 100% !important;
  }

  /* Text containers: allow wrapping and avoid overflow off-screen */
  .product .content,
  .product .details,
  .product .text,
  .product .description,
  .product .info,
  .product .copy {
    width: 100% !important;
    max-width: 100% !important;
    overflow-wrap: anywhere;
    word-break: break-word;
    white-space: normal !important;
    margin-top: 12px;
  }

  /* Images responsive and centered */
  .product img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
    margin: 0 auto !important;
  }

  /* Safety: no horizontal overflow on the card */
  .product {
    overflow-x: hidden;
  }
}



/* ===== PRODUCTS MOBILE OVERFLOW HOTFIX ===== */
@media (max-width: 640px) {
  /* Make the list a single column on mobile */
  .products, .product-list, .products-grid, .cards {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  /* Stack image over text, make sure nothing can force the width wider than viewport */
  .product-card, .product, .card.product, [class*="product-card"] {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 12px !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
    border-radius: 12px;
  }

  /* Critical: allow children to shrink and wrap */
  .product-card > *, 
  .product > *, 
  [class*="product-card"] > * {
    min-width: 0 !important;
  }

  /* Media should never push wider than viewport */
  .product-card img,
  .product-card video,
  .product-card canvas,
  .product-card svg,
  .product-media img,
  .product-media {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  /* Text containers—force wrapping */
  .product-content, .product-text, .product-info, .description, .copy {
    min-width: 0 !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    word-break: break-word !important;
    hyphens: auto !important;
  }

  /* Any badges/buttons that might be positioned offscreen—cap them */
  .product-card [class*="badge"],
  .product-card [class*="price"],
  .product-card [class*="cta"] {
    max-width: 100% !important;
    right: 0 !important;
  }
}

/* Global safety nets */
*, *::before, *::after { box-sizing: border-box; }
img, video, canvas, svg { max-width: 100%; height: auto; }
pre, code, kbd, samp { white-space: pre-wrap; word-break: break-word; }
html, body { overflow-x: hidden; }



/* === Product images: normalize sizing on mobile (v8) === */
@media (max-width: 640px) {
  .product-card img,
  .product img,
  .product-media img {
    width: 100% !important;
    height: auto !important;
    max-height: 320px;       /* adjust as needed */
    object-fit: contain !important;
    display: block;
    margin: 0 auto;
  }
}

