/* ===================== FLEXXO CATALOGUE PAGE ===================== */
:root{
  color-scheme: light only;
  --brand-green:#2fa84f;
  --brand-green-dark:#1c7a38;
  --navy:#0e2f4f;
  --ink:#1c2530;
  --muted:#5b6672;
  --bg:#f4f6f8;
  --white:#ffffff;
  --radius:16px;
  --shadow:0 10px 30px rgba(15,30,45,.12);
  --maxw:1200px;
}

*{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  margin:0;
  font-family:"Segoe UI", Arial, Helvetica, sans-serif;
  background:var(--bg);
  color:var(--ink);
  -webkit-font-smoothing:antialiased;
}
img{max-width:100%;display:block;}
a{text-decoration:none;}

/* ---------- HERO / SLIDESHOW ---------- */
.hero{
  position:relative;
  width:100%;
  height:min(92vh, 640px);
  min-height:420px;
  overflow:hidden;
  background:#000;
}
.slides{position:relative; width:100%; height:100%;}
.slide{
  position:absolute; inset:0;
  display:flex; align-items:center; justify-content:center;
  background-size:cover; background-position:center;
  opacity:0; visibility:hidden;
  transition:opacity .9s ease;
  text-align:center;
}
.slide.active{opacity:1; visibility:visible; z-index:2;}

.overlay{position:absolute; inset:0; z-index:0;}
.overlay-dark{background:linear-gradient(180deg, rgba(10,20,35,.55), rgba(10,20,35,.78));}
.overlay-green{background:linear-gradient(135deg, rgba(14,47,79,.92), rgba(31,122,56,.85));}

.slide-content{
  position:relative; z-index:1;
  max-width:900px;
  padding:32px 24px;
  color:#fff;
}
.hero-logo{
  max-width:420px;
  width:60%;
  margin:0 auto 22px;
  filter:drop-shadow(0 6px 16px rgba(0,0,0,.35));
}
.slide-content h1{
  font-size:clamp(28px, 6vw, 54px);
  font-weight:800;
  letter-spacing:1px;
  margin:0 0 10px;
  line-height:1.1;
}
.slide-content h1 span{color:#57d97b;}
.slide-content h2{
  font-size:clamp(20px, 4vw, 34px);
  font-weight:800;
  line-height:1.3;
  margin:0 0 22px;
}
.subtitle{
  font-size:clamp(15px, 2.4vw, 20px);
  font-style:italic;
  opacity:.95;
  margin:0;
}

.mini-covers{
  display:flex;
  gap:16px;
  justify-content:center;
  align-items:flex-end;
  margin:0 auto 26px;
  flex-wrap:wrap;
}
.mini-covers img{
  width:170px;
  filter:drop-shadow(0 10px 14px rgba(0,0,0,.45));
}

.social-row{
  display:flex; gap:16px; justify-content:center; flex-wrap:wrap;
}
.social-pill{
  display:flex; align-items:center; gap:10px;
  background:rgba(255,255,255,.12);
  border:1px solid rgba(255,255,255,.4);
  color:#fff;
  padding:12px 22px;
  border-radius:999px;
  font-weight:600;
  backdrop-filter:blur(4px);
  transition:background .2s ease, transform .2s ease;
}
.social-pill:hover{background:rgba(255,255,255,.25); transform:translateY(-2px);}
.social-icon{
  width:26px; height:26px; border-radius:50%;
  background:#fff;
  display:inline-flex; align-items:center; justify-content:center;
  flex:none;
}
.social-icon.icon-fb{background:#1877F2;}
.social-icon.icon-google{background:#fff;}
footer .footer-links a{
  display:inline-flex; align-items:center; gap:8px;
}
footer .social-icon{width:22px; height:22px;}

.btn{
  display:inline-block;
  padding:13px 28px;
  border-radius:999px;
  font-weight:700;
  font-size:15px;
  cursor:pointer;
  border:none;
  transition:transform .2s ease, box-shadow .2s ease, opacity .2s ease;
}
.btn:hover{transform:translateY(-2px);}
.btn-light{background:#fff; color:var(--navy);}
.btn-primary{
  background:var(--brand-green);
  color:#fff;
  width:100%;
  text-align:center;
  box-shadow:0 8px 18px rgba(47,168,79,.35);
}
.btn-primary:hover{background:var(--brand-green-dark);}
.btn-facebook{
  background:var(--brand-green);
  color:#fff;
  width:100%;
  text-align:center;
  box-shadow:0 8px 18px rgba(47,168,79,.35);
}
.btn-facebook:hover{background:var(--brand-green-dark);}
.btn-google{
  background:var(--brand-green);
  color:#fff;
  width:100%;
  text-align:center;
  box-shadow:0 8px 18px rgba(47,168,79,.35);
}
.btn-google:hover{background:var(--brand-green-dark);}

/* arrows + dots */
.slide-arrow{
  position:absolute; top:50%; transform:translateY(-50%);
  z-index:5;
  background:rgba(255,255,255,.18);
  border:none;
  color:#fff;
  width:44px; height:44px;
  border-radius:50%;
  font-size:16px;
  cursor:pointer;
  display:flex; align-items:center; justify-content:center;
  transition:background .2s ease;
}
.slide-arrow:hover{background:rgba(255,255,255,.35);}
.slide-arrow.prev{left:18px;}
.slide-arrow.next{right:18px;}

.slide-dots{
  position:absolute; bottom:22px; left:0; right:0;
  z-index:5;
  display:flex; gap:10px; justify-content:center;
}
.slide-dots button{
  width:10px; height:10px; border-radius:50%;
  border:2px solid #fff;
  background:transparent;
  cursor:pointer;
  padding:0;
}
.slide-dots button.active{background:#fff;}

/* ---------- CATALOGUE SECTION ---------- */
main{max-width:var(--maxw); margin:0 auto; padding:64px 24px 40px;}

.section-heading{text-align:center; max-width:640px; margin:0 auto 42px;}
.section-heading h2{
  font-size:clamp(24px,4vw,34px);
  margin:0 0 10px;
  color:var(--navy);
}
.section-heading p{color:var(--muted); margin:0; font-size:15px;}

.catalogue-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(280px, 1fr));
  gap:32px;
}

.catalogue-card{
  background:var(--white);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  overflow:hidden;
  display:flex;
  flex-direction:column;
  transition:transform .25s ease, box-shadow .25s ease;
}
.catalogue-card:hover{transform:translateY(-6px); box-shadow:0 18px 40px rgba(15,30,45,.18);}

.card-cover{
  background:linear-gradient(160deg,#eef3f0,#e3ece6);
  padding:26px 26px 10px;
  display:flex; align-items:center; justify-content:center;
}
.card-cover img{
  max-height:220px;
  width:auto;
  margin:0 auto;
  filter:drop-shadow(0 14px 20px rgba(0,0,0,.18));
}

.card-body{
  padding:22px 26px 28px;
  text-align:center;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:6px;
}
.card-body h3{margin:0; font-size:20px; color:var(--ink);}
.card-body p{margin:0 0 6px; color:var(--muted); font-size:14px; min-height:36px;}

.qr-box{
  background:#fff;
  border:1px solid #e7ebee;
  border-radius:12px;
  padding:10px;
  margin:8px 0 16px;
  display:flex;
  align-items:center;
  justify-content:center;
}
.qr-box img{image-rendering:pixelated;}

.download-link{margin-top:auto;}

/* ---------- CONNECT WITH US ---------- */
.connect-heading{margin-top:76px;}

.connect-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(280px, 1fr));
  gap:32px;
  max-width:760px;
  margin:0 auto;
}

.connect-card{
  background:var(--white);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  padding:32px 26px 28px;
  text-align:center;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:6px;
  transition:transform .25s ease, box-shadow .25s ease;
}
.connect-card:hover{transform:translateY(-6px); box-shadow:0 18px 40px rgba(15,30,45,.18);}

.connect-icon{
  width:64px; height:64px;
  border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  margin-bottom:6px;
}
.icon-fb-lg{background:#1877F2; box-shadow:0 8px 18px rgba(24,119,242,.3);}
.icon-google-lg{background:#fff; border:1.5px solid #eceff1; box-shadow:0 6px 14px rgba(15,30,45,.08);}

.connect-card h3{margin:0; font-size:19px; color:var(--ink);}
.connect-card p{margin:0 0 6px; color:var(--muted); font-size:14px;}
.connect-link{margin-top:auto;}

/* ---------- FOOTER ---------- */
footer{
  background:linear-gradient(180deg, rgba(10,20,35,.72), rgba(10,20,35,.85)), url('../assets/hero-bg.jpg') center/cover no-repeat;
  color:#cfe0ee;
  text-align:center;
  padding:40px 24px 28px;
  margin-top:40px;
}
.footer-logo{
  max-width:170px;
  margin:0 auto 18px;
  filter:drop-shadow(0 6px 16px rgba(0,0,0,.35));
}
.footer-links{display:flex; gap:22px; justify-content:center; margin-bottom:16px;}
.footer-links a{color:#fff; font-weight:600; font-size:14px; opacity:.9;}
.footer-links a:hover{opacity:1; text-decoration:underline;}
footer p{margin:0; font-size:12px; opacity:.6;}

/* ---------- RESPONSIVE ---------- */
@media (max-width:640px){
  .hero{height:78vh;}
  .mini-covers img{width:110px;}
  .slide-arrow{width:36px; height:36px;}
}
