/* =========================================================
   FL Drink Distributors - Full Style Sheet (Premium Redesign)
   Works with updated header.php / footer.php / index.php
   ========================================================= */

/* Reset */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root{
  --brand:#800000;
  --brand2:#5f0000;
  --ink:#0f172a;
  --muted:#475569;
  --bg:#f7f8fb;
  --card:#ffffff;
  --line:rgba(15,23,42,.10);
  --shadow:0 18px 45px rgba(15,23,42,.10);
  --shadowSoft:0 12px 24px rgba(15,23,42,.06);
  --r12:12px;
  --r16:16px;
  --r20:20px;
  --r22:22px;
}

/* Base */
html, body { height: 100%; }
body{
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
}

img{ max-width: 100%; display: block; }
a{ color: inherit; }
.wrap{ max-width:1180px; margin:0 auto; padding:0 1.5rem; }

h1,h2,h3{ line-height: 1.2; letter-spacing: -0.02em; }
h2{ font-size: clamp(1.6rem, 2.4vw, 2.2rem); }
p{ margin: 0; }

/* ---------------------------------
   Buttons
---------------------------------- */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:.88rem 1.1rem;
  border-radius:14px;
  font-weight:800;
  text-decoration:none;
  border:1px solid transparent;
  transition: transform .12s ease, box-shadow .12s ease, background-color .12s ease, border-color .12s ease;
  cursor: pointer;
}
.btn:active{ transform: translateY(1px); }

.btn-primary{
  background:var(--brand);
  color:#fff;
  box-shadow:0 14px 30px rgba(128,0,0,.18);
}
.btn-primary:hover{ background:var(--brand2); }

.btn-secondary{
  background:#fff;
  color:var(--brand);
  border-color: rgba(128,0,0,.25);
}
.btn-secondary:hover{
  border-color: rgba(128,0,0,.45);
  box-shadow:0 14px 30px rgba(15,23,42,.06);
}

.btn-link{
  background:transparent;
  border:none;
  padding-left:0;
  padding-right:0;
  color:var(--brand);
}

.btn-block{ width: 100%; }

/* Backward-compat for your older class */
.button{
  background-color: #e11d48;
  color: white;
  padding: 0.75rem 1.25rem;
  border: none;
  border-radius: 12px;
  font-size: 1rem;
  text-decoration: none;
  display: inline-block;
  transition: background-color 0.2s ease, transform 0.12s ease;
  font-weight: 800;
}
.button:hover { background-color: #be123c; }
.button:active { transform: translateY(1px); }

/* ---------------------------------
   NAV (matches updated header.php)
---------------------------------- */
.nav{
  position: sticky;
  top: 0;
  z-index: 9999;
  background: rgba(255,255,255,.86);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}
.nav-inner{
  max-width: 1180px;
  margin: 0 auto;
  padding: .7rem 1.2rem;
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 1rem;
}

.brand{
  display:flex;
  align-items:center;
  gap:.75rem;
  text-decoration:none;
  color:var(--ink);
}
.brand-logo{ height:42px; width:auto; object-fit:contain; }
.brand-text{ display:flex; flex-direction:column; line-height:1.1; }
.brand-name{ font-weight:950; letter-spacing:-.02em; }
.brand-sub{ font-size:.9rem; color:var(--muted); margin-top:.15rem; }

.nav-links{
  list-style:none;
  display:flex;
  align-items:center;
  gap:.55rem;
  margin:0; padding:0;
}
.nav-links a{
  color: var(--ink);
  text-decoration:none;
  font-weight:800;
  padding:.55rem .7rem;
  border-radius: 12px;
}
.nav-links a:hover{ background: rgba(15,23,42,.05); }

.nav-cta{ margin-left: .25rem; }
.nav-hide-mobile{ display:list-item; }

.nav-toggle{
  display:none;
  background:transparent;
  border:1px solid var(--line);
  border-radius: 12px;
  padding:.55rem .65rem;
  cursor:pointer;
}
.nav-toggle-bar{
  display:block;
  width:20px;
  height:2px;
  background: var(--ink);
  margin:4px 0;
  border-radius: 10px;
}

/* Mobile nav */
@media (max-width: 860px){
  .nav-toggle{ display:block; }

  .nav-links{
    display:none;
    position:absolute;
    left: 0;
    right: 0;
    top: 64px;
    background: rgba(255,255,255,.96);
    border-bottom: 1px solid var(--line);
    padding: .8rem 1.1rem;
    flex-direction: column;
    align-items: stretch;
    gap: .35rem;
  }
  .nav-links.show{ display:flex; }
  .nav-links a{ width:100%; }
  .nav-hide-mobile{ display:none; }
}

/* ---------------------------------
   HERO / HOMEPAGE SECTIONS
---------------------------------- */
.hero2{
  padding: 4.8rem 0 3.2rem;
  background:
    radial-gradient(900px 550px at 12% 22%, rgba(128,0,0,.16), transparent 60%),
    radial-gradient(900px 650px at 88% 10%, rgba(225,29,72,.10), transparent 55%),
    linear-gradient(180deg, #ffffff, #f7f8fb);
  border-bottom: 1px solid var(--line);
}

.hero2 .wrap{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 2rem;
  align-items:center;
}

.pill-top{
  display:inline-flex;
  align-items:center;
  gap:.55rem;
  border:1px solid var(--line);
  background: rgba(255,255,255,.88);
  padding: .45rem .75rem;
  border-radius: 999px;
  font-weight: 800;
  color: var(--muted);
}

.pulse{
  width:10px;height:10px;border-radius:999px;background:#22c55e;
  box-shadow:0 0 0 6px rgba(34,197,94,.14);
}

.hero2 h1{
  font-size: clamp(2.35rem, 4vw, 3.15rem);
  letter-spacing:-.03em;
  margin: .9rem 0 .8rem;
}

.lead{
  color: var(--muted);
  font-size: 1.12rem;
  max-width: 62ch;
}

.hero2-actions{
  display:flex;
  gap:.9rem;
  flex-wrap:wrap;
  margin-top:1.25rem;
}

.hero2-trust{
  margin-top: 1.4rem;
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .8rem;
}

.trust-card{
  background: rgba(255,255,255,.86);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1rem;
  box-shadow: var(--shadowSoft);
}

.trust-title{ font-weight:950; color: var(--brand); }
.trust-sub{ color: var(--muted); margin-top:.2rem; }

.hero2-box{
  background: rgba(255,255,255,.92);
  border:1px solid var(--line);
  border-radius: var(--r22);
  box-shadow: var(--shadow);
  padding: 1.25rem;
}

.box-head{
  display:flex;
  align-items:flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.box-kicker{ color: var(--muted); font-weight: 900; font-size: .9rem; }
.box-title{ font-weight: 950; font-size: 1.25rem; letter-spacing:-.02em; }

.box-badge{
  background: rgba(128,0,0,.08);
  border:1px solid rgba(128,0,0,.18);
  color: var(--brand);
  padding:.35rem .7rem;
  border-radius:999px;
  font-weight: 950;
  font-size:.85rem;
}

.cat-grid{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .75rem;
  margin-top: 1rem;
}

.cat{
  display:block;
  text-decoration:none;
  color: var(--ink);
  background: rgba(15,23,42,.03);
  border: 1px solid var(--line);
  border-radius: var(--r16);
  padding: 1rem;
  transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease;
}

.cat:hover{
  transform: translateY(-2px);
  border-color: rgba(128,0,0,.25);
  box-shadow: 0 16px 30px rgba(15,23,42,.08);
}

.cat-name{ font-weight: 950; letter-spacing:-.01em; }
.cat-sub{ color: var(--muted); margin-top:.15rem; font-weight: 700; }

.box-cta{ margin-top: 1rem; }
.micro{ text-align:center; margin-top:.65rem; color: var(--muted); font-size:.92rem; }

/* Section blocks */
.section2{ padding: 4rem 0; }
.section2.alt{
  background: linear-gradient(180deg, #ffffff, #f7f8fb);
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
}

.section-head2{ max-width: 78ch; }
.section-head2 p{ color: var(--muted); margin-top:.6rem; }

/* Feature cards */
.feature-grid{
  margin-top: 1.6rem;
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.feature{
  background: var(--card);
  border:1px solid var(--line);
  border-radius: var(--r20);
  padding: 1.25rem;
  box-shadow: var(--shadowSoft);
}

.feature-ico{ font-size: 1.35rem; margin-bottom: .65rem; }
.feature h3{ font-size: 1.12rem; margin-bottom: .35rem; }
.feature p{ color: var(--muted); margin:0; }

/* Split + panel */
.split2{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 1.5rem;
  align-items:start;
}

.muted{ color: var(--muted); }

.pill-row2{
  display:flex;
  flex-wrap:wrap;
  gap:.55rem;
  margin-top: 1rem;
}

.pill2{
  background: rgba(15,23,42,.04);
  border:1px solid var(--line);
  padding:.4rem .7rem;
  border-radius: 999px;
  font-weight: 800;
}

.inline-actions{
  display:flex;
  gap:.85rem;
  flex-wrap:wrap;
  margin-top: 1.2rem;
}

.panel2{
  background: rgba(255,255,255,.92);
  border:1px solid var(--line);
  border-radius: var(--r22);
  padding: 1.25rem;
  box-shadow: var(--shadow);
}

.panel2-title{
  font-weight: 950;
  letter-spacing:-.02em;
  margin-bottom: .35rem;
}

.checklist{
  list-style:none;
  padding:0;
  margin: 1rem 0 0;
  display:grid;
  gap:.6rem;
}

.tick{
  display:inline-flex; width:22px; height:22px;
  align-items:center; justify-content:center;
  border-radius: 6px;
  background: rgba(34,197,94,.12);
  color:#16a34a; font-weight: 950;
  margin-right:.55rem;
}

/* CTA */
.cta2{
  border-radius: var(--r22);
  border:1px solid rgba(128,0,0,.18);
  background: linear-gradient(180deg, rgba(128,0,0,.06), rgba(255,255,255,.95));
  padding: 1.6rem;
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 1rem;
  box-shadow: var(--shadow);
}

.cta2-actions{
  display:grid;
  gap:.75rem;
  align-content:center;
}

/* ---------------------------------
   Generic Page Styling (Products/About/Contact/Signup)
---------------------------------- */
.page{
  padding: 3rem 0 4rem;
}
.page .wrap{
  max-width: 1100px;
}

.page-title{
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  letter-spacing: -0.03em;
  margin-bottom: .5rem;
}
.page-subtitle{
  color: var(--muted);
  max-width: 75ch;
}

/* Cards + grids for product pages */
.grid{
  margin-top: 1.5rem;
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.card{
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r20);
  box-shadow: var(--shadowSoft);
  padding: 1.25rem;
}

.card h3{ margin-bottom: .35rem; }
.card p{ color: var(--muted); }

/* Forms */
.form{
  margin-top: 1.5rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r22);
  box-shadow: var(--shadowSoft);
  padding: 1.25rem;
}

.form-row{ display:grid; gap:.4rem; margin-bottom: 1rem; }
.form-row label{ font-weight: 800; }

.form-row input,
.form-row textarea,
.form-row select{
  padding: .85rem .9rem;
  font-size: 1rem;
  border: 1px solid rgba(15,23,42,.18);
  border-radius: 12px;
  width: 100%;
  outline: none;
  background: #fff;
}

.form-row input:focus,
.form-row textarea:focus,
.form-row select:focus{
  border-color: rgba(128,0,0,.55);
  box-shadow: 0 0 0 4px rgba(128,0,0,.12);
}

.form-actions{ margin-top: .8rem; display:flex; gap:.75rem; flex-wrap:wrap; }

/* ---------------------------------
   Footer (matches updated footer.php)
---------------------------------- */
.site-footer{
  border-top: 1px solid var(--line);
  background: #fff;
  margin-top: 2rem;
}

.footer-inner{
  max-width: 1180px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem;
  display:grid;
  grid-template-columns: 1.4fr .8fr .8fr;
  gap: 1.5rem;
}

.footer-col a{
  display:block;
  color: var(--muted);
  text-decoration:none;
  padding:.25rem 0;
  font-weight: 650;
}

.footer-col a:hover{ color: var(--ink); }

.footer-brand{
  font-weight: 950;
  letter-spacing:-.02em;
  font-size: 1.05rem;
}

.footer-title{
  font-weight: 950;
  margin-bottom: .6rem;
}

.footer-muted{ color: var(--muted); }

.footer-bottom{
  border-top: 1px solid var(--line);
  text-align:center;
  padding: 1rem 1.5rem;
  color: var(--muted);
  font-size: .95rem;
}

/* ---------------------------------
   Cookie Popup
---------------------------------- */
.cookie-popup{
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #0f172a;
  color: white;
  z-index: 9999;
  padding: 1rem 1.25rem;
  display: none;
  box-shadow: 0 -2px 18px rgba(0,0,0,0.25);
  animation: slideInUp 0.35s ease-out;
}
@keyframes slideInUp{
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0%); opacity: 1; }
}
.cookie-box{
  max-width: 1180px;
  margin: 0 auto;
  display:flex;
  align-items:center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.cookie-box p{ flex: 1 1 60%; font-size: 0.95rem; }
.cookie-box a{ color: #facc15; text-decoration: underline; }
.cookie-box button{
  background-color: #e11d48;
  color: white;
  border: none;
  padding: 0.65rem 1.2rem;
  font-size: 1rem;
  border-radius: 12px;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.12s ease;
  font-weight: 900;
}
.cookie-box button:hover{ background-color: #be123c; }
.cookie-box button:active{ transform: translateY(1px); }

/* ---------------------------------
   Responsive
---------------------------------- */
@media (max-width: 980px){
  .hero2 .wrap{ grid-template-columns: 1fr; }
  .hero2-trust{ grid-template-columns: 1fr; }
  .cat-grid{ grid-template-columns: 1fr; }
  .feature-grid{ grid-template-columns: 1fr; }
  .split2{ grid-template-columns: 1fr; }
  .cta2{ grid-template-columns: 1fr; }
  .footer-inner{ grid-template-columns: 1fr; }
  .grid{ grid-template-columns: 1fr; }
}

@media (max-width: 600px){
  .cookie-box{ flex-direction: column; align-items: flex-start; }
  .cookie-box button{ width: 100%; }
}
