/* =============================================
   SamWest — Main Stylesheet
   ============================================= */

:root {
  --navy:        #1b2d6b;
  --navy-dark:   #111e4d;
  --gold:        #f5a623;
  --gold-dark:   #d4861a;
  --white:       #ffffff;
  --light:       #f4f6fb;
  --card-bg:     #ffffff;
  --ink:         #1a1a2e;
  --gray:        #6b7280;
  --border:      #e2e8f0;
  --radius:      14px;
  --shadow:      0 2px 14px rgba(0,0,0,.08);
  --shadow-hover:0 8px 30px rgba(0,0,0,.14);
}

*,*::before,*::after { box-sizing:border-box; margin:0; padding:0; }

html { scroll-behavior:smooth; }

body {
  font-family:'Poppins',system-ui,sans-serif;
  background: var(--light);
  color: var(--ink);
  overflow-x: hidden;
}

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

/* =============================================
   NAVBAR
   ============================================= */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 999;
  background: rgba(17, 30, 77, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: background 0.3s;
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: flex;
  align-items: center;
  gap: 8px;
}
.brand-mark { font-size: 22px; }
.brand-name {
  font-size: 20px;
  font-weight: 800;
  color: var(--gold);
  letter-spacing: -0.3px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-link {
  color: rgba(255,255,255,0.85);
  font-size: 14.5px;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
}
.nav-link:hover, .nav-link.active {
  color: var(--gold);
  background: rgba(245,166,35,0.1);
}
.nav-call-btn {
  background: var(--gold);
  color: var(--navy-dark);
  font-size: 14px;
  font-weight: 700;
  padding: 9px 20px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: background 0.2s, transform 0.15s;
  margin-left: 8px;
  white-space: nowrap;
}
.nav-call-btn:hover { background: var(--gold-dark); transform: translateY(-1px); }

.nav-burger {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
}
.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 0;
  background: var(--navy-dark);
  border-top: 1px solid rgba(255,255,255,0.08);
  position: fixed;
  top: 68px;
  left: 0;
  right: 0;
  z-index: 998;
}
.mobile-menu.open { display: flex; }
.mob-link {
  color: rgba(255,255,255,0.85);
  font-size: 15px;
  font-weight: 500;
  padding: 14px 24px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: background 0.15s;
}
.mob-link:hover { background: rgba(245,166,35,0.12); color: var(--gold); }

@media(max-width:768px){
  .nav-links { display:none; }
  .nav-burger { display:block; }
  /* Keep a call button directly visible in navbar header on mobile */
  .nav-inner {
    display: flex;
    justify-content: space-between;
  }
}


/* =============================================
   HERO
   ============================================= */
.hero {
  position: relative;
  height: 100vh;
  min-height: 620px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* --- Background slideshow --- */
.hero-slides {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.07);
  transition: opacity 1.6s ease, transform 8s ease;
  will-change: opacity, transform;
}
.hero-slide.active {
  opacity: 1;
  transform: scale(1);
}

/* slow ken-burns on the active slide */
.hero-slide.active {
  animation: kenBurns 8s ease forwards;
}
@keyframes kenBurns {
  0%   { transform: scale(1.08); }
  100% { transform: scale(1.0); }
}

/* --- Dark overlay --- */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    135deg,
    rgba(17,30,77,0.82) 0%,
    rgba(17,30,77,0.55) 60%,
    rgba(17,30,77,0.75) 100%
  );
}

/* --- Content --- */
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  padding: 20px 24px;
  max-width: 820px;
}
.hero-brand {
  font-size: 22px;
  font-weight: 800;
  color: var(--gold);
  letter-spacing: 0.5px;
  margin-bottom: 12px;
  animation: fadeUp 0.7s ease both;
}
.hero-title {
  font-size: clamp(36px, 6vw, 66px);
  font-weight: 900;
  line-height: 1.15;
  color: #fff;
  animation: fadeUp 0.9s 0.15s ease both;
  text-shadow: 0 3px 20px rgba(0,0,0,0.35);
}
.hero-accent {
  color: var(--gold);
  display: inline-block;
}
.hero-sub {
  margin: 20px 0 32px;
  font-size: clamp(15px, 2.2vw, 18px);
  color: rgba(255,255,255,0.88);
  line-height: 1.6;
  animation: fadeUp 1s 0.3s ease both;
}
.hero-btns {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  animation: fadeUp 1s 0.45s ease both;
}

/* View Products button */
.btn-view {
  background: transparent;
  border: 2px solid var(--gold);
  color: var(--gold);
  font-size: 15px;
  font-weight: 700;
  padding: 13px 28px;
  border-radius: 999px;
  transition: background 0.2s, color 0.2s, transform 0.15s;
  font-family: inherit;
}
.btn-view:hover {
  background: var(--gold);
  color: var(--navy-dark);
  transform: translateY(-2px);
}

/* Call Now button - hero */
.btn-call-hero {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--navy);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  padding: 13px 28px;
  border-radius: 999px;
  border: 2px solid var(--navy);
  animation: heroBtnsDance 1.8s ease-in-out infinite;
  transition: background 0.2s, transform 0.15s;
  font-family: inherit;
}
.btn-call-hero:hover {
  background: var(--navy-dark);
  border-color: var(--navy-dark);
  animation-play-state: paused;
}

/* WhatsApp dance button */
.btn-whatsapp {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #25d366;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  padding: 13px 28px;
  border-radius: 999px;
  border: 2px solid #25d366;
  animation: heroBtnsDance 1.8s ease-in-out infinite;
  animation-delay: 0.2s;
  transition: background 0.2s, transform 0.15s;
  font-family: inherit;
}
.btn-whatsapp svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
.btn-whatsapp:hover { background:#1ebe5a; animation-play-state:paused; }

@keyframes heroBtnsDance {
  0%   { transform: translateY(0)      scale(1);    box-shadow: 0 4px 20px rgba(0,0,0,0.25); }
  20%  { transform: translateY(-6px)   scale(1.04); box-shadow: 0 10px 28px rgba(0,0,0,0.35); }
  40%  { transform: translateY(-2px)   scale(1.02); box-shadow: 0 6px 22px rgba(0,0,0,0.3); }
  60%  { transform: translateY(-8px)   scale(1.05); box-shadow: 0 14px 32px rgba(0,0,0,0.4);}
  80%  { transform: translateY(-3px)   scale(1.02); box-shadow: 0 8px 24px rgba(0,0,0,0.35); }
  100% { transform: translateY(0)      scale(1);    box-shadow: 0 4px 20px rgba(0,0,0,0.25); }
}

/* Hashtags */
.hero-tags {
  margin-top: 28px;
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  font-weight: 500;
  letter-spacing: 0.3px;
  animation: fadeUp 1s 0.6s ease both;
}
.hero-tags span { display: flex; align-items: center; gap: 5px; }

/* Slide dots */
.hero-dots {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 8px;
}
.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.6);
  background: transparent;
  cursor: pointer;
  transition: background 0.3s, border-color 0.3s;
}
.dot.active {
  background: var(--gold);
  border-color: var(--gold);
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* =============================================
   PRODUCT CATEGORIES SECTION
   ============================================= */
.cat-section {
  background: var(--white);
  padding: 72px 24px 60px;
}
.cat-section-inner {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}
.cat-section-title {
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 10px;
}
.cat-section-title .gold { color: var(--gold); }
.cat-section-sub {
  color: var(--gray);
  font-size: 16px;
  margin-bottom: 42px;
}

.cat-tiles {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 16px;
}
.cat-tile {
  background: var(--light);
  border: 2px solid var(--border);
  border-radius: 14px;
  padding: 22px 14px;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.cat-tile:hover {
  border-color: var(--gold);
  background: rgba(245,166,35,0.07);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(245,166,35,0.15);
}
.cat-tile-icon { font-size: 34px; }
.cat-tile-name {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--navy);
  text-align: center;
  line-height: 1.3;
}
.cat-tile-count {
  font-size: 12px;
  color: var(--gray);
  font-weight: 500;
}

/* =============================================
   SEARCH
   ============================================= */
.search-section {
  background: var(--navy);
  padding: 22px 24px;
}
.search-wrap {
  max-width: 680px;
  margin: 0 auto;
}
#searchInput {
  width: 100%;
  padding: 14px 22px;
  border-radius: 999px;
  border: none;
  background: rgba(255,255,255,0.12);
  color: #fff;
  font-size: 15px;
  font-family: inherit;
  outline: none;
  transition: background 0.2s;
}
#searchInput::placeholder { color: rgba(255,255,255,0.55); }
#searchInput:focus { background: rgba(255,255,255,0.2); }

/* =============================================
   CATEGORY NAV
   ============================================= */
.category-nav {
  background: var(--navy-dark);
  padding: 0 16px;
  display: flex;
  overflow-x: auto;
  gap: 6px;
  scrollbar-width: none;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.category-nav::-webkit-scrollbar { display:none; }
.cat-pill {
  background: transparent;
  border: none;
  color: rgba(255,255,255,0.7);
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 600;
  padding: 14px 16px;
  white-space: nowrap;
  cursor: pointer;
  border-bottom: 3px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.cat-pill:hover { color: var(--gold); }
.cat-pill.active {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

/* =============================================
   CATALOGUE
   ============================================= */
#catalogue {
  max-width: 1280px;
  margin: 0 auto;
  padding: 32px 20px 60px;
}
.cat-group { margin-bottom: 48px; scroll-margin-top: 140px; }
.cat-group-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}
.cat-group-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--navy);
}
.cat-group-line {
  flex: 1;
  height: 2px;
  background: linear-gradient(90deg, var(--gold) 0%, transparent 100%);
  border-radius: 999px;
}
.cat-count {
  font-size: 12px;
  font-weight: 700;
  color: var(--gold);
  background: rgba(245,166,35,0.12);
  border-radius: 999px;
  padding: 3px 10px;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 18px;
}

/* ===== Product card ===== */
.product-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 0;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.product-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
}

/* ===== Product image + Hot Deal badge ===== */
.product-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  background: #eef1f6;
  overflow: hidden;
}
.product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}
.product-card:hover .product-img {
  transform: scale(1.04);
}

/* Hot Deal badge — top-left corner */
.hot-deal-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  background: linear-gradient(135deg, #e63946, #c1121f);
  color: #fff;
  font-size: 11.5px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  letter-spacing: 0.3px;
  box-shadow: 0 2px 8px rgba(198, 18, 31, 0.45);
  user-select: none;
  animation: badgePop 0.4s ease both;
}
@keyframes badgePop {
  from { transform: scale(0.7); opacity: 0; }
  to   { transform: scale(1);   opacity: 1; }
}

.product-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.3;
  min-height: 42px;
  margin: 14px 16px 0;
}
.product-pack {
  font-size: 12.5px;
  color: var(--gray);
  margin: 2px 16px 4px;
}
.product-price {
  font-size: 22px;
  font-weight: 800;
  color: var(--navy);
  margin: 0 16px 12px;
}

/* =============================================
   FAQ, TESTIMONIALS & CONTACT SECTIONS
   ============================================= */
.section-inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 60px 20px;
  text-align: center;
}
.section-title {
  font-size: 28px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 24px;
}
.section-sub {
  color: var(--gray);
  font-size: 15px;
  margin-top: -16px;
  margin-bottom: 32px;
}

/* FAQ Accordion */
.faq-section {
  background: var(--white);
  border-top: 1px solid var(--border);
}
.faq-accordion {
  max-width: 700px;
  margin: 0 auto;
  text-align: left;
}
.faq-item {
  border: 1px solid var(--border);
  border-radius: 10px;
  margin-bottom: 12px;
  background: var(--white);
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0,0,0,0.03);
}
.faq-question {
  width: 100%;
  padding: 18px 20px;
  background: none;
  border: none;
  text-align: left;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.2s;
}
.faq-question:hover {
  background: var(--light);
}
.faq-question span {
  font-size: 18px;
  color: var(--gray);
  transition: transform 0.2s;
}
.faq-item.active .faq-question span {
  transform: rotate(45deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}
.faq-answer p {
  padding: 0 20px 20px;
  font-size: 14px;
  color: var(--gray);
  line-height: 1.5;
}

/* Testimonials */
.testimonials-section {
  background: var(--light);
  border-top: 1px solid var(--border);
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 16px;
}
.testimonial-card {
  background: var(--white);
  padding: 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: center;
  border: 1px solid var(--border);
}
.testimonial-text {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.6;
  font-style: italic;
  margin-bottom: 18px;
}
.testimonial-author {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--navy);
}
.testimonial-role {
  font-size: 12px;
  color: var(--gold-dark);
  font-weight: 600;
  margin-top: 2px;
}

/* Contact Section */
.contact-section {
  background: var(--white);
  border-top: 1px solid var(--border);
}
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}
.contact-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 20px;
  box-shadow: var(--shadow);
  transition: transform 0.2s;
}
.contact-card:hover {
  transform: translateY(-3px);
}
.contact-icon {
  font-size: 32px;
  margin-bottom: 12px;
}
.contact-card h3 {
  font-size: 16px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 8px;
}
.contact-info {
  font-size: 13.5px;
  color: var(--gray);
  line-height: 1.5;
}
.contact-info a {
  color: var(--gold-dark);
  font-weight: 700;
}

/* WhatsApp button on card */
.whatsapp-btn {
  margin: auto 16px 16px;
  background: var(--navy);
  color: #ffffff;
  border: none;
  border-radius: 10px;
  padding: 11px 16px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: background 0.18s ease;
}
.whatsapp-btn:hover { background: var(--navy-dark); }
.whatsapp-btn svg { width: 17px; height: 17px; }

/* =============================================
   EMPTY STATE
   ============================================= */
.no-results {
  text-align: center;
  color: var(--gray);
  font-size: 17px;
  padding: 60px 20px;
}

/* =============================================
   FOOTER
   ============================================= */
.site-footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.75);
  padding: 56px 24px 24px;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px,1fr));
  gap: 36px;
  margin-bottom: 40px;
}
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col h4 {
  color: var(--gold);
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
}
.footer-col a {
  color: rgba(255,255,255,0.7);
  font-size: 14px;
  transition: color 0.15s;
}
.footer-col a:hover { color: var(--gold); }
.footer-tagline { font-size: 13.5px; color: rgba(255,255,255,0.5); }
.footer-bottom {
  text-align: center;
  font-size: 12.5px;
  color: rgba(255,255,255,0.35);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 20px;
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width:600px){
  .hero-title { font-size: 34px; }
  .hero-btns { flex-direction: column; align-items: center; }
  .cat-tiles { grid-template-columns: repeat(2,1fr); }
  .products-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width:400px){
  .products-grid { grid-template-columns: 1fr; }
}
