:root {
  --black: #0a0a0a;
  --charcoal: #1c1c1c;
  --gold: #d4af37;
  --gold-gradient: linear-gradient(135deg, #bf953f, #fcf6ba, #b38728, #fbf5b7, #aa771c);
  --white: #ffffff;
  --cream: #fbf9f6;
  --gray: #888888;
  
  --font-serif: 'Playfair Display', serif;
  --font-sans: 'Inter', sans-serif;
  
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  color: var(--charcoal);
  background-color: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 600;
  color: var(--black);
  line-height: 1.2;
}

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

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Marquee */
.marquee-container {
  background-color: var(--gold);
  color: var(--black);
  padding: 10px 0;
  overflow: hidden;
  position: relative;
  display: flex;
  white-space: nowrap;
  border-bottom: 1px solid rgba(0,0,0,0.1);
}
.marquee-content {
  display: flex;
  animation: scroll-left 15s linear infinite;
}
.marquee-content span {
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0 30px;
  letter-spacing: 2px;
  text-transform: uppercase;
}
@keyframes scroll-left {
  0% { transform: translateX(0%); }
  100% { transform: translateX(-50%); }
}

/* Glass Header */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 18px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.container {
  width: 100%;
  padding: 0 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  color: var(--gold);
  font-weight: 700;
  letter-spacing: 1.5px;
}

/* Hero Section */
.hero {
  background-color: var(--black);
  color: var(--white);
  padding: 140px 0 160px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: ''; position: absolute; inset: -5%; z-index: 0;
  background-image: url('../assets/images/hero_model.webp');
  background-size: cover; background-position: center 20%;
  animation: zoom-in-out 25s infinite alternate linear;
}

.hero::after {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to bottom, rgba(10,10,10,0.85) 0%, rgba(10,10,10,0.4) 40%, rgba(10,10,10,0.8) 80%, rgba(10,10,10,1) 100%);
}

.hero .container { position: relative; z-index: 2; }

@keyframes zoom-in-out {
  0% { transform: scale(1); }
  100% { transform: scale(1.15); }
}

.text-gradient-gold {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero h1 {
  color: var(--white);
  font-size: 3.2rem;
  margin-bottom: 20px;
}

.hero p {
  color: #a0a0a0;
  font-size: 1.15rem;
  margin-bottom: 40px;
  max-width: 600px;
  margin-inline: auto;
}

.cta-group {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding: 18px 24px;
  border-radius: var(--radius);
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
}

.btn:active {
  transform: scale(0.98);
}

.btn-gold {
  background: var(--gold-gradient);
  color: var(--black);
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
  border: none;
}

.btn-gold:hover {
  background: linear-gradient(135deg, #fcf6ba, #aa771c, #bf953f);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.5);
}

.btn-white-outline {
  background-color: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.3);
}

.btn-white-outline:hover {
  border-color: var(--white);
  background-color: rgba(255,255,255,0.05);
}

.btn-black {
  background-color: var(--black);
  color: var(--gold);
}

/* Sections */
section {
  padding: 100px 0;
}

/* Scrolling Retail */
.horizontal-scroll {
  display: flex;
  overflow-x: auto;
  gap: 24px;
  padding-bottom: 30px;
  padding-top: 10px;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
}

.horizontal-scroll::-webkit-scrollbar {
  display: none;
}

.product-card {
  flex: 0 0 280px;
  scroll-snap-align: start;
  background-color: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.product-card:hover {
  transform: translateY(-8px);
}

.product-image {
  height: 380px;
  background-color: var(--black);
  position: relative;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-info {
  padding: 24px;
}

.product-title {
  font-size: 1.3rem;
  margin-bottom: 6px;
}

.product-price {
  color: var(--gold);
  font-weight: 700;
  font-size: 1.15rem;
  margin-bottom: 24px;
}

/* Glassmorphism Wholesale Card */
.wholesale-hub {
  background-color: var(--white);
  position: relative;
}

.wholesale-hub::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--cream);
  z-index: 0;
}

.wholesale-hub .container {
  position: relative;
  z-index: 1;
}

.glass-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  padding: 40px 32px;
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
  margin-bottom: 24px;
}

.glass-card h3 {
  font-size: 1.8rem;
  margin-bottom: 16px;
}

.b2b-list {
  list-style: none;
  margin-top: 24px;
}

.b2b-list li {
  padding-left: 36px;
  position: relative;
  margin-bottom: 20px;
  color: var(--charcoal);
  font-weight: 500;
  font-size: 1.05rem;
}

.b2b-list li::before {
  content: '✦';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: 1.3rem;
  line-height: 1;
}

/* Interactive Grading (Accordion) */
.grading-section {
  background-color: var(--black);
  color: var(--white);
}

.grading-section h2, .grading-section p {
  color: var(--white);
}

.grading-section p {
  color: #a0a0a0;
}

.grading-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 40px;
}

.grade-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 24px 32px;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.3s ease;
}

.grade-box:hover, .grade-box.active {
  background: rgba(212, 175, 55, 0.1);
  border-color: var(--gold);
}

.grade-box h4 {
  color: var(--gold);
  font-size: 1.3rem;
  margin-bottom: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.grade-box h4::after {
  content: '+';
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}

.grade-box.active h4::after {
  transform: rotate(45deg);
}

.grade-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0, 1, 0, 1);
}

.grade-box.active .grade-content {
  max-height: 200px;
  transition: max-height 0.4s ease-in-out;
}

.grade-content p {
  padding-top: 16px;
  color: #ccc;
  font-size: 1.05rem;
}

/* Floating WhatsApp */
.floating-whatsapp {
  position: fixed;
  bottom: 30px;
  right: 24px;
  background-color: var(--gold);
  color: var(--black);
  width: 65px;
  height: 65px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
  z-index: 1000;
  animation: pulse-gold 2s infinite;
  text-decoration: none;
}

.floating-whatsapp svg {
  width: 32px;
  height: 32px;
}

@keyframes pulse-gold {
  0% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.7); }
  70% { box-shadow: 0 0 0 15px rgba(212, 175, 55, 0); }
  100% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0); }
}

/* Animations */
.animate-fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.165, 0.84, 0.44, 1), transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.animate-fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered load */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }

/* Footer */
footer {
  background-color: var(--black);
  color: var(--white);
  padding: 80px 0 40px;
  text-align: center;
}

footer .logo {
  margin-bottom: 24px;
  font-size: 2.5rem;
}

footer p {
  color: var(--gray);
  margin-bottom: 24px;
}

/* Desktop */
@media (min-width: 768px) {
  .hero h1 { font-size: 5rem; }
  .cta-group { flex-direction: row; justify-content: center; }
  .btn { width: auto; min-width: 220px; }
  .horizontal-scroll { grid-template-columns: repeat(3, 1fr); display: grid; overflow-x: visible; }
  .product-card { flex: auto; }
}

/* Compliance Additions */
.cookie-banner { position: fixed; bottom: -100%; left: 0; right: 0; background-color: var(--black); color: var(--white); padding: 16px 24px; display: flex; justify-content: space-between; align-items: center; z-index: 9999; box-shadow: 0 -4px 20px rgba(0,0,0,0.5); transition: bottom 0.5s ease; flex-wrap: wrap; gap: 16px; border-top: 1px solid rgba(212, 175, 55, 0.3); }
.cookie-banner.show { bottom: 0; }
.cookie-banner p { margin: 0; font-size: 0.95rem; flex: 1; min-width: 280px; }
.cookie-banner a { color: var(--gold); text-decoration: underline; }
.btn-sm { padding: 10px 20px; font-size: 0.9rem; height: auto; min-width: auto; }
.pejji-badge { margin-top: 32px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.1); font-size: 0.85rem; color: #666; }
.pejji-badge strong { color: var(--gold); }

/* Instagram Feed Integration */
.ig-feed { padding: 80px 0; background-color: var(--white); border-top: 1px solid rgba(0,0,0,0.05); }
.ig-feed-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 32px; }
.ig-feed-header h2 { font-size: 2rem; margin-bottom: 8px; }
.ig-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.ig-post { position: relative; aspect-ratio: 1 / 1; overflow: hidden; border-radius: var(--radius); background-color: var(--black); cursor: pointer; transform: translateZ(0); }
.ig-post img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1); }
.ig-post:hover img { transform: scale(1.08); }
.ig-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.4); display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity 0.3s ease; color: var(--white); font-weight: 600; font-size: 1.3rem; }
.ig-post:hover .ig-overlay { opacity: 1; }
@media (max-width: 768px) { .ig-grid { grid-template-columns: 1fr; gap: 24px; } .ig-feed-header { flex-direction: column; align-items: flex-start; gap: 16px; } }

/* E-commerce Cart & Checkout Styles */
.cart-badge { background: var(--gold); color: var(--black); font-size: 0.75rem; font-weight: 700; padding: 2px 6px; border-radius: 12px; position: absolute; top: -8px; right: -12px; }
.nav-actions { display: flex; gap: 20px; align-items: center; }
.cart-btn { position: relative; background: none; border: none; color: var(--white); font-size: 1.5rem; cursor: pointer; display: flex; align-items: center; }
.cart-overlay, .modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.6); backdrop-filter: blur(4px); z-index: 2000; opacity: 0; pointer-events: none; transition: opacity 0.3s ease; }
.cart-overlay.show, .modal-overlay.show { opacity: 1; pointer-events: auto; }
.cart-drawer { position: absolute; top: 0; right: -100%; width: 100%; max-width: 400px; height: 100%; background: var(--white); display: flex; flex-direction: column; transition: right 0.4s cubic-bezier(0.165, 0.84, 0.44, 1); box-shadow: -5px 0 30px rgba(0,0,0,0.2); }
.cart-overlay.show .cart-drawer { right: 0; }
.cart-header { padding: 24px; border-bottom: 1px solid #eaeaea; display: flex; justify-content: space-between; align-items: center; background: var(--black); color: var(--white); }
.cart-title { font-size: 1.5rem; margin: 0; color: var(--gold); }
.close-cart, .close-modal { background: none; border: none; font-size: 2rem; cursor: pointer; color: var(--white); line-height: 1; }
.cart-items { flex: 1; overflow-y: auto; padding: 24px; display: flex; flex-direction: column; gap: 24px; }
.cart-empty { text-align: center; color: var(--gray); margin-top: 40px; font-size: 1.1rem; }
.cart-item { display: flex; gap: 16px; border-bottom: 1px solid #f0f0f0; padding-bottom: 16px; }
.cart-item-img { width: 80px; height: 80px; border-radius: 8px; object-fit: cover; }
.cart-item-details { flex: 1; display: flex; flex-direction: column; justify-content: space-between; }
.cart-item-title { font-weight: 600; font-size: 1.1rem; color: var(--black); }
.cart-item-price { color: var(--gold); font-weight: 700; }
.cart-item-actions { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; }
.qty-controls { display: flex; align-items: center; gap: 12px; border: 1px solid #ddd; border-radius: 4px; padding: 2px; }
.qty-btn { background: none; border: none; padding: 4px 8px; cursor: pointer; font-weight: bold; }
.remove-item { background: none; border: none; color: #ff4444; font-size: 0.9rem; cursor: pointer; text-decoration: underline; }
.cart-footer { padding: 24px; border-top: 1px solid #eaeaea; background: var(--cream); }
.cart-summary-line { display: flex; justify-content: space-between; font-size: 1.25rem; font-weight: 700; margin-bottom: 20px; }

/* Checkout Modal */
.checkout-modal-content { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%) scale(0.95); background: var(--white); width: 90%; max-width: 500px; border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; transition: transform 0.4s ease; }
.modal-overlay.show .checkout-modal-content { transform: translate(-50%, -50%) scale(1); }
.checkout-header { padding: 24px; background: var(--black); display: flex; justify-content: space-between; align-items: center; }
.checkout-header h2 { color: var(--gold); margin: 0; font-size: 1.5rem; }
.checkout-body { padding: 24px; max-height: 70vh; overflow-y: auto; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; margin-bottom: 8px; font-weight: 500; font-size: 0.9rem; }
.form-control { width: 100%; padding: 12px; border: 1px solid #ddd; border-radius: var(--radius); font-family: var(--font-sans); }
.form-row { display: flex; gap: 16px; }
.paystack-secure { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 24px; font-size: 0.85rem; color: var(--gray); font-weight: 600; }
.checkout-success { display: none; text-align: center; padding: 40px 24px; }
.success-icon { font-size: 5rem; color: #25D366; margin-bottom: 16px; }
