/* ============================
   KEYE MAHJONG B2B PREMIUM
   Deep Navy & Heritage Gold
   ============================ */

:root {
  --primary: #4B2C7A;
  --primary-light: #F3E5F5;
  --accent: #d4af37;
  --accent-light: #e6c86a;
  --accent-dark: #aa8c2c;
  --bg: #E8E0F5;
  --bg-card: #ffffff;
  --bg-nav: #D4C2E8;
  --text: #1a1a1a;
  --text-light: #444;
  --text-gold: #aa8c2c;
  --border: rgba(75, 44, 122, 0.1);
  --shadow: 0 4px 20px rgba(75, 44, 122, 0.05);
  --radius: 12px;
  --transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --header-h: 70px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}
.container { max-width: 1240px; margin: 0 auto; padding: 0 32px; }

/* TYPOGRAPHY */
h1, h2, h3, .logo-text { font-family: 'Playfair Display', serif; }
.text-gold { color: var(--text-gold); }

/* HEADER */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--header-h); background: var(--bg-nav);
  backdrop-filter: blur(16px); border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--primary); }
.logo-icon { font-size: 32px; }
.logo-text { font-size: 26px; font-weight: 700; letter-spacing: 2px; }
.logo-sub { font-size: 10px; color: var(--text-light); letter-spacing: 3px; text-transform: uppercase; align-self: flex-end; margin-bottom: 4px; }

.main-nav { display: flex; gap: 32px; }
.main-nav a { color: var(--text); font-size: 14px; font-weight: 500; text-transform: uppercase; letter-spacing: 1.5px; transition: var(--transition); }
.main-nav a:hover, .main-nav a.active { color: var(--primary); }

.btn-header-inquiry {
  background: var(--accent); color: var(--primary); padding: 8px 24px;
  border-radius: 4px; font-size: 13px; font-weight: 700; text-transform: uppercase;
}
.btn-header-inquiry:hover { background: #fff; }

/* HERO */
.hero-company {
  position: relative; height: 600px; display: flex; align-items: center;
  margin-top: var(--header-h); overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.5; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(232, 224, 245, 0.95) 0%, rgba(232, 224, 245, 0.6) 100%);
  z-index: 1;
}
.hero-content { position: relative; z-index: 2; max-width: 800px; }
.hero-badge {
  display: inline-block; padding: 6px 16px; border: 1px solid var(--primary);
  color: var(--primary); font-size: 11px; letter-spacing: 3px; border-radius: 20px; margin-bottom: 20px;
}
.hero-title { font-size: 64px; color: var(--primary); letter-spacing: 4px; margin-bottom: 12px; }
.hero-tagline { font-size: 22px; color: var(--text-gold); margin-bottom: 24px; }
.hero-desc { color: var(--text); font-size: 16px; line-height: 1.8; margin-bottom: 40px; }

.btn-primary-gold {
  display: inline-block; padding: 16px 40px; background: var(--accent);
  color: var(--primary); font-weight: 700; border-radius: 4px; transition: var(--transition);
}
.btn-primary-gold:hover { background: #fff; transform: translateY(-3px); }

/* SEASONAL SECTIONS */
.season-section { padding: 80px 0; border-bottom: 1px solid rgba(255,255,255,0.05); }
.season-title {
  text-align: center; font-size: 42px; margin-bottom: 60px;
  position: relative; color: #fff;
}
.season-title::after {
  content: ''; position: absolute; bottom: -12px; left: 50%; transform: translateX(-50%);
  width: 60px; height: 2px; background: var(--accent);
}

.showcase-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 40px; align-items: start; }

/* Carousel */
.carousel-wrapper {
  position: relative; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); aspect-ratio: 4/3; background: #fff;
  border: 1px solid var(--border);
}
.carousel { width: 100%; height: 100%; position: relative; }
.carousel-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 0.8s ease; }
.carousel-slide.active { opacity: 1; }
.carousel-slide img, .carousel-slide video { width: 100%; height: 100%; object-fit: cover; }
.carousel-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.6); color: var(--primary); border: 1px solid var(--border);
  width: 48px; height: 48px; border-radius: 50%; cursor: pointer; z-index: 5;
}
.carousel-btn:hover { background: var(--primary); color: #fff; }
.carousel-prev { left: 20px; }
.carousel-next { right: 20px; }

/* Category Grid */
.category-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.category-card {
  position: relative; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--border); aspect-ratio: 1/1; transition: var(--transition);
  box-shadow: 0 4px 20px rgba(75, 44, 122, 0.05);
}
.category-card:hover { 
  transform: translateY(-8px); 
  border-color: var(--accent); 
  box-shadow: 0 12px 40px rgba(75, 44, 122, 0.15);
}
.category-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.category-card:hover img { transform: scale(1.1); }
.category-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(232, 224, 245, 0.9) 0%, rgba(232, 224, 245, 0) 60%);
  display: flex; flex-direction: column; justify-content: flex-end; padding: 16px;
}
.category-name { color: var(--primary); font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.category-desc { color: var(--text-gold); font-size: 11px; text-transform: uppercase; letter-spacing: 1px; }

/* ACCESSORIES NAV BAR */
.accessories-bar {
  background: #fff; border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border); margin-top: 40px;
}
.accessories-inner { display: flex; align-items: center; padding: 20px 0; gap: 30px; justify-content: center; }
.accessories-label { color: var(--primary); font-weight: 700; font-size: 13px; letter-spacing: 2px; }
.accessories-links { display: flex; gap: 16px; }
.accessory-link {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 24px; background: #fff;
  border: 1px solid var(--border); border-radius: 4px;
  color: var(--text); font-size: 13px; font-weight: 500; transition: var(--transition);
}
.accessory-link:hover { background: var(--primary); color: #fff; font-weight: 700; }

/* BOTTOM MODULES */
.bottom-modules { padding: 100px 0; background: var(--bg); }
.bottom-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.module-card {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--border); transition: var(--transition);
}
.module-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.module-img-link { display: block; aspect-ratio: 16/10; overflow: hidden; }
.module-img-link img { width: 100%; height: 100%; object-fit: cover; transition: 0.6s; }
.module-card:hover img { transform: scale(1.05); }
.module-info { padding: 32px; }
.module-title { font-size: 28px; color: var(--primary); margin-bottom: 8px; }
.module-subtitle { color: var(--accent-dark); font-weight: 700; font-size: 12px; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 16px; }
.module-desc { color: var(--text); margin-bottom: 30px; }

.btn-gold-outline {
  display: inline-block; padding: 12px 32px; border: 1px solid var(--accent);
  color: var(--accent-dark); font-weight: 700; border-radius: 4px; transition: var(--transition);
}
.btn-gold-outline:hover { background: var(--accent); color: #fff; }

/* FOOTER */
.site-footer { background: var(--bg-nav); padding: 80px 0 0; border-top: 1px solid var(--border); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1.5fr; gap: 60px; margin-bottom: 60px; }
.footer-logo { font-family: 'Playfair Display', serif; font-size: 32px; font-weight: 700; color: var(--primary); margin-bottom: 12px; }
.footer-contact h4, .footer-store h4 { color: var(--primary); font-size: 14px; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 24px; }
.footer-contact li { margin-bottom: 12px; font-size: 14px; }
.footer-contact a:hover { color: var(--primary); }

.btn-alibaba {
  display: flex; align-items: center; justify-content: center;
  padding: 16px; background: var(--primary); color: #fff;
  font-weight: 700; border-radius: 4px; transition: var(--transition);
}
.btn-alibaba:hover { background: var(--accent); }

.footer-bottom { border-top: 1px solid rgba(75, 44, 122, 0.05); padding: 30px 0; text-align: center; color: var(--text-light); font-size: 12px; }

/* WHATSAPP */
.whatsapp-widget { position: fixed; bottom: 30px; right: 30px; z-index: 1000; }
.whatsapp-fab {
  width: 60px; height: 60px; border-radius: 50%; background: #25D366;
  border: none; color: #fff; font-weight: 800; cursor: pointer; box-shadow: var(--shadow);
}

.admin-entry { position: fixed; bottom: 30px; left: 30px; opacity: 0.2; color: var(--accent); font-size: 24px; }
.admin-entry:hover { opacity: 1; }

/* RESPONSIVE */
@media (max-width: 1024px) {
  .showcase-grid { grid-template-columns: 1fr; }
  .category-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 768px) {
  .hero-title { font-size: 42px; }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .accessories-inner { flex-direction: column; align-items: center; gap: 20px; }
  .bottom-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
}
r; }
  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
}
r; }
  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
}
}
}
}
}
