@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700;900&display=swap');

:root {
  --bg: #F5F5F5;
  --bg-card: #FFFFFF;
  --text: #222222;
  --text-dim: #555555;
  --border: #E0E0E0;
  --brand: var(--pink, #9C1A2E);
  --brand-light: rgba(156, 26, 46, 0.1);
  --shadow: 0 4px 15px rgba(0,0,0,0.05);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-family: 'Roboto', sans-serif; background: var(--bg); color: var(--text); }
body { overflow-x: hidden; }
a { text-decoration: none; color: inherit; }

/* NAVBAR */
.navbar {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 15px 5%; background: #FFFFFF;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}
.nav-brand { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 1.3rem; color: var(--text); }
.nav-brand img { height: 45px; width: auto; object-fit: contain; }

.nav-links { display: flex; gap: 35px; list-style: none; align-items: center; }
.nav-links a { font-weight: 500; font-size: 0.9rem; color: var(--text); text-transform: uppercase; letter-spacing: 1px; transition: 0.2s; }
.nav-links a:hover { color: var(--brand); }

.nav-actions { display: flex; gap: 15px; align-items: center; }
.nav-actions a { font-weight: 500; font-size: 0.9rem; color: var(--text); text-transform: uppercase; letter-spacing: 1px; transition: 0.2s; }
.nav-actions a:hover { color: var(--brand); }

.mobile-toggle { display: none; font-size: 1.5rem; background: none; border: none; color: var(--text); cursor: pointer; }
.mobile-menu {
  position: fixed; top: 0; right: -100%; width: 280px; height: 100vh;
  background: #FFFFFF; box-shadow: -5px 0 15px rgba(0,0,0,0.05); z-index: 99;
  display: flex; flex-direction: column; padding: 80px 20px 20px;
  transition: right 0.3s ease;
}
.mobile-menu.open { right: 0; }
.mobile-menu a {
  padding: 15px; border-bottom: 1px solid var(--border);
  font-weight: 500; color: var(--text); text-transform: uppercase;
}

/* HERO SLIDER */
.hero-slider {
  margin-top: 75px; /* offset for navbar */
  width: 100%;
  position: relative; overflow: hidden;
  background: #111;
  line-height: 0;
}
.swiper { width: 100%; }
.swiper-slide { display: block; }
.swiper-slide img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

/* SECTIONS */
.section { padding: 80px 5%; max-width: 1200px; margin: 0 auto; }
.section-title { text-align: center; font-size: 2rem; font-weight: 500; color: var(--brand); text-transform: uppercase; letter-spacing: 2px; margin-bottom: 50px; }

/* ABOUT / DISCOVER */
.about-section { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; padding-top: 100px; padding-bottom: 100px; }
.about-image { width: 100%; border-radius: 8px; box-shadow: var(--shadow); }
.about-image img { width: 100%; height: auto; object-fit: cover; display: block; border-radius: 8px; }
.about-text h2 { font-size: 2.5rem; font-weight: 500; color: var(--text); margin-bottom: 20px; line-height: 1.3; }
.about-text p { font-size: 1.05rem; color: var(--text-dim); line-height: 1.8; margin-bottom: 30px; }
.btn-outline-brand { display: inline-block; padding: 12px 30px; background: var(--brand); color: #fff; font-weight: 500; letter-spacing: 1px; border-radius: 4px; transition: 0.2s; }
.btn-outline-brand:hover { opacity: 0.9; }

/* PRODUCTS */
.products-section { background: var(--bg); }
.products-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.product-card {
  background: var(--brand); border-radius: 12px; overflow: hidden;
  text-align: center; color: #fff; padding: 30px 20px;
  transition: transform 0.3s;
}
.product-card:hover { transform: translateY(-10px); }
.product-img-wrap { width: 100%; height: 180px; margin-bottom: 20px; display: flex; align-items: center; justify-content: center; }
.product-img-wrap img { max-width: 100%; max-height: 100%; object-fit: contain; }
.product-name { font-size: 1.1rem; font-weight: 700; margin-bottom: 10px; }
.product-price { font-size: 1rem; font-weight: 500; margin-bottom: 20px; color: #FFD93D; }
.btn-buy-card { display: inline-block; padding: 8px 24px; background: #fff; color: var(--brand); font-weight: 700; border-radius: 50px; text-transform: uppercase; font-size: 0.85rem; }

/* TESTIMONIALS */
.testi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; }

/* AFFILIATE CTA (Shihlin Big Banner style) */
.affiliate-section { width: 100%; background: #EAEAEA; padding: 60px 5%; display: flex; align-items: center; justify-content: center; }
.affiliate-banner { 
  width: 100%; max-width: 1200px; 
  background: var(--brand); color: #fff; 
  border-radius: 12px; overflow: hidden;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 60px 20px;
  position: relative;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.affiliate-banner::before {
  content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  background: url('data:image/svg+xml;utf8,<svg width="100" height="100" viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="40" stroke="rgba(255,255,255,0.05)" stroke-width="20" fill="none"/></svg>') repeat;
  background-size: 150px; opacity: 0.5; z-index: 1;
}
.affiliate-banner-content { position: relative; z-index: 2; }
.affiliate-banner h2 { font-size: 3rem; font-weight: 900; letter-spacing: 2px; margin-bottom: 15px; text-transform: uppercase; }
.affiliate-banner p { font-size: 1.2rem; font-weight: 300; margin-bottom: 30px; max-width: 600px; }
.btn-affiliate-large {
  display: inline-block; background: #FFD93D; color: #222; font-weight: 700; font-size: 1.1rem;
  padding: 15px 40px; border-radius: 50px; text-transform: uppercase; letter-spacing: 1px;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 15px rgba(255,217,61,0.4);
}
.btn-affiliate-large:hover { transform: translateY(-3px); box-shadow: 0 8px 25px rgba(255,217,61,0.6); }

/* FOOTER */
.footer { background: #1A1D20; color: #FFFFFF; padding: 80px 5% 40px; }
.footer-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 60px; margin-bottom: 60px; }
.footer-brand h3 { font-size: 2rem; font-weight: 900; margin-bottom: 16px; color: #fff; }
.footer-brand span { color: var(--brand); }
.footer-brand p { color: rgba(255,255,255,0.7); line-height: 1.6; margin-bottom: 24px; max-width: 400px; }
.footer-wa {
  display: inline-flex; padding: 12px 24px; background: #25D366; color: #fff;
  border-radius: 50px; font-weight: 700; transition: 0.2s;
}
.footer-wa:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(37,211,102,0.3); }
.footer-col h4 { font-size: 1.2rem; font-weight: 700; margin-bottom: 24px; color: #fff; }
.footer-col a { display: block; color: rgba(255,255,255,0.7); margin-bottom: 12px; transition: 0.2s; }
.footer-col a:hover { color: var(--brand); transform: translateX(5px); }
.footer-bottom {
  max-width: 1200px; margin: 0 auto; text-align: center;
  padding-top: 30px; border-top: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.5); font-size: 0.9rem;
}

/* RESPONSIVE */
@media (max-width: 992px) {
  .about-section { grid-template-columns: 1fr; text-align: center; }
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .affiliate-banner h2 { font-size: 2.2rem; }
}

@media (max-width: 768px) {
  .nav-links, .nav-actions { display: none; }
  .mobile-toggle { display: block; }
  .hero-slider { height: auto; }
  .swiper-slide img { width: 100%; height: auto; }
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 15px; }
  .product-card { padding: 15px 10px; }
  .product-img-wrap { height: 120px; }
  .product-name { font-size: 0.9rem; }
  .product-price { font-size: 0.85rem; }
  .btn-buy-card { padding: 6px 16px; font-size: 0.75rem; }
  .affiliate-banner { padding: 40px 15px; }
  .affiliate-banner h2 { font-size: 1.8rem; }
  .affiliate-banner p { font-size: 1rem; }
}
