/* ============================================
   COUTURES VIBES — Design System
   Dark/Light mode · Syne + Inter typography
   ============================================ */

:root {
  /* DARK MODE (default) */
  --bg: #0a0a0a;
  --bg-2: #111111;
  --bg-3: #1a1a1a;
  --surface: #161616;
  --surface-2: #222222;
  --border: rgba(255,255,255,0.08);
  --border-strong: rgba(255,255,255,0.15);
  --text: #f0f0f0;
  --text-muted: #888888;
  --text-faint: #555555;
  --accent: #e8c97a;
  --accent-dim: rgba(232,201,122,0.12);
  --accent-glow: rgba(232,201,122,0.25);
  --white: #ffffff;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 4px 24px rgba(0,0,0,0.4);
  --shadow-lg: 0 12px 48px rgba(0,0,0,0.6);
  --nav-h: 68px;
  --transition: 0.25s ease;
}

[data-theme="light"] {
  --bg: #fafaf8;
  --bg-2: #f2f2ef;
  --bg-3: #e8e8e4;
  --surface: #ffffff;
  --surface-2: #f5f5f2;
  --border: rgba(0,0,0,0.07);
  --border-strong: rgba(0,0,0,0.14);
  --text: #111111;
  --text-muted: #666666;
  --text-faint: #aaaaaa;
  --accent: #b8860b;
  --accent-dim: rgba(184,134,11,0.10);
  --accent-glow: rgba(184,134,11,0.20);
  --shadow: 0 4px 24px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 48px rgba(0,0,0,0.14);
}

/* ——— Reset ——— */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  transition: background var(--transition), color var(--transition);
  min-height: 100vh;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }

/* ——— Container ——— */
.container { max-width: 1160px; margin: 0 auto; padding: 0 1.5rem; }

/* ——— NAVBAR ——— */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2.5rem;
  background: rgba(10,10,10,0.82);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
  transition: background var(--transition), border-color var(--transition);
}
[data-theme="light"] .navbar {
  background: rgba(250,250,248,0.85);
}
.nav-logo {
  display: flex; align-items: center; gap: 0.6rem;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
}
.logo-img { width: 34px; height: 34px; object-fit: contain; border-radius: 8px; }
.logo-text { color: var(--text); }
.nav-links {
  display: flex; gap: 0.25rem; list-style: none;
}
.nav-link {
  padding: 0.45rem 1rem;
  border-radius: 8px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: all var(--transition);
}
.nav-link:hover, .nav-link.active {
  color: var(--text);
  background: var(--accent-dim);
}
.nav-link.active { color: var(--accent); }

.theme-toggle {
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  width: 36px; height: 36px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  transition: all var(--transition);
}
.theme-toggle:hover { border-color: var(--accent); }

.burger {
  display: none;
  background: none;
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  color: var(--text);
  font-size: 1.2rem;
  padding: 0.3rem 0.6rem;
  cursor: pointer;
}

/* ——— BUTTONS ——— */
.btn-primary {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--accent);
  color: #0a0a0a;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.75rem 1.75rem;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  letter-spacing: 0.01em;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--accent-glow);
  filter: brightness(1.05);
}
.btn-arrow { transition: transform 0.2s ease; }
.btn-primary:hover .btn-arrow { transform: translateX(3px); }

.btn-whatsapp {
  display: inline-flex; align-items: center; gap: 0.6rem;
  background: #25D366;
  color: #fff;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  padding: 0.9rem 2rem;
  border-radius: 50px;
  transition: all 0.2s ease;
  border: none; cursor: pointer;
}
.btn-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37,211,102,0.35);
  filter: brightness(1.05);
}

.btn-back {
  background: none;
  border: 1px solid var(--border-strong);
  color: var(--text-muted);
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  padding: 0.5rem 1.1rem;
  border-radius: 8px;
  cursor: pointer;
  transition: all var(--transition);
  margin-bottom: 2rem;
}
.btn-back:hover { border-color: var(--accent); color: var(--accent); }

/* ——— SECTION TAGS / LABELS ——— */
.section-tag {
  display: inline-block;
  background: var(--accent-dim);
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.3rem 0.85rem;
  border-radius: 50px;
  margin-bottom: 1rem;
  border: 1px solid var(--accent-glow);
}
.section-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 2rem;
}
.accent { color: var(--accent); }

/* ——— HERO ——— */
.hero {
  min-height: 100vh;
  display: flex; align-items: center;
  padding: calc(var(--nav-h) + 4rem) 2.5rem 4rem;
  position: relative;
  overflow: hidden;
  gap: 4rem;
  max-width: 1300px;
  margin: 0 auto;
}
.hero-bg-pattern {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 70% 40%, rgba(232,201,122,0.06) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 20% 70%, rgba(232,201,122,0.04) 0%, transparent 50%);
  pointer-events: none;
}
[data-theme="light"] .hero-bg-pattern {
  background:
    radial-gradient(ellipse 60% 50% at 70% 40%, rgba(184,134,11,0.07) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 20% 70%, rgba(184,134,11,0.04) 0%, transparent 50%);
}
.hero-content { flex: 1; max-width: 580px; position: relative; z-index: 1; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: var(--accent-dim);
  border: 1px solid var(--accent-glow);
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 500;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  margin-bottom: 1.5rem;
  animation: fadeDown 0.6s ease both;
}
.hero-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
  animation: fadeUp 0.6s 0.1s ease both;
}
.hero-accent { color: var(--accent); display: block; }
.hero-sub {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  animation: fadeUp 0.6s 0.2s ease both;
}
.hero-content .btn-primary { animation: fadeUp 0.6s 0.3s ease both; }

.hero-visual {
  flex: 0 0 280px;
  position: relative;
  height: 320px;
  display: flex; align-items: center; justify-content: center;
}
.hero-card {
  position: absolute;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  display: flex; flex-direction: column; align-items: center; gap: 0.4rem;
  font-family: 'Syne', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  box-shadow: var(--shadow);
  transition: transform 0.3s ease;
}
.hero-card:hover { transform: translateY(-4px) scale(1.02); border-color: var(--accent-glow); }
.card-emoji { font-size: 2rem; }
.card-1 { top: 10px; left: 20px; animation: floatA 4s ease-in-out infinite; }
.card-2 { top: 80px; right: 0; animation: floatB 4s ease-in-out infinite 0.8s; }
.card-3 { bottom: 20px; left: 40px; animation: floatA 4s ease-in-out infinite 1.6s; }

/* ——— ABOUT ——— */
.about {
  padding: 6rem 0;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.about-grid {
  display: grid; grid-template-columns: 1fr 280px; gap: 4rem; align-items: start;
}
.about-text p { color: var(--text-muted); margin-bottom: 1.5rem; font-size: 1.03rem; }
.about-list {
  list-style: none;
  display: flex; flex-direction: column; gap: 0.9rem;
  margin-bottom: 2rem;
}
.about-list li {
  display: flex; align-items: center; gap: 0.85rem;
  font-weight: 500;
  color: var(--text);
}
.list-icon { font-size: 1.1rem; width: 28px; text-align: center; }
.about-cta-text { font-size: 0.95rem; font-style: italic; }
.about-visual {
  display: flex; flex-direction: column; gap: 1rem;
}
.about-card {
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  transition: all var(--transition);
}
.about-card:hover { border-color: var(--accent-glow); transform: translateY(-3px); }
.about-stat { font-family: 'Syne', sans-serif; font-size: 2.5rem; font-weight: 800; color: var(--accent); }
.about-stat-label { color: var(--text-muted); font-size: 0.88rem; margin-top: 0.25rem; }

/* ——— CTA STRIP ——— */
.cta-strip {
  padding: 4rem 0;
  background: var(--accent-dim);
  border-top: 1px solid var(--accent-glow);
  border-bottom: 1px solid var(--accent-glow);
}
.cta-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap;
}
.cta-text h3 { font-family: 'Syne', sans-serif; font-size: 1.5rem; font-weight: 700; margin-bottom: 0.35rem; }
.cta-text p { color: var(--text-muted); }

/* ——— PAGE HEADER ——— */
.page-header {
  padding: calc(var(--nav-h) + 4rem) 0 3rem;
  text-align: center;
  background: var(--bg-2);
  border-bottom: 1px solid var(--border);
}
.page-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  margin-bottom: 0.75rem;
}
.page-sub { color: var(--text-muted); font-size: 1.05rem; max-width: 500px; margin: 0 auto; }

/* ——— CATALOGUE ——— */
.catalogue-section { padding: 4rem 0 6rem; }

.cat-tabs {
  display: flex; flex-wrap: wrap; gap: 0.5rem;
  margin-bottom: 3rem;
}
.cat-tab {
  background: var(--surface);
  border: 1px solid var(--border-strong);
  color: var(--text-muted);
  font-family: 'Syne', sans-serif;
  font-weight: 600;
  font-size: 0.88rem;
  padding: 0.5rem 1.1rem;
  border-radius: 50px;
  cursor: pointer;
  transition: all var(--transition);
}
.cat-tab:hover { border-color: var(--accent); color: var(--accent); }
.cat-tab.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #0a0a0a;
}

/* Loading */
.loading-state {
  display: flex; flex-direction: column; align-items: center; gap: 1rem;
  padding: 5rem 0; color: var(--text-muted);
}
.spinner {
  width: 36px; height: 36px;
  border: 3px solid var(--border-strong);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

/* Empty */
.empty-state {
  text-align: center; padding: 5rem 0;
}
.empty-icon { font-size: 3.5rem; margin-bottom: 1rem; }
.empty-state h3 { font-family: 'Syne', sans-serif; font-size: 1.5rem; margin-bottom: 0.5rem; }
.empty-state p { color: var(--text-muted); }

/* Categories grid */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}
.category-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  transition: all 0.25s ease;
  text-align: left;
}
.category-card:hover {
  border-color: var(--accent-glow);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.cat-card-img {
  width: 100%; height: 180px; object-fit: cover;
  background: var(--bg-3);
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem;
}
.cat-card-img img { width: 100%; height: 100%; object-fit: cover; }
.cat-card-body { padding: 1.25rem; }
.cat-card-name {
  font-family: 'Syne', sans-serif; font-weight: 700; font-size: 1.1rem; margin-bottom: 0.3rem;
}
.cat-card-count { font-size: 0.85rem; color: var(--text-muted); }

/* Products grid */
.products-section {}
.products-title {
  font-family: 'Syne', sans-serif; font-size: 1.8rem; font-weight: 800;
  margin-bottom: 2rem; color: var(--accent);
}
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.5rem;
}
.product-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  transition: all 0.25s ease;
}
.product-card:hover {
  border-color: var(--accent-glow);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.prod-img {
  width: 100%; height: 220px; object-fit: cover;
  background: var(--bg-3);
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem;
}
.prod-img img { width: 100%; height: 100%; object-fit: cover; }
.prod-body { padding: 1.1rem; }
.prod-cat { font-size: 0.75rem; color: var(--accent); font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.3rem; }
.prod-name { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 1rem; margin-bottom: 0.5rem; }
.prod-price { font-weight: 600; color: var(--accent); font-size: 1.05rem; }

/* ——— MODAL ——— */
.modal-overlay {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(8px);
  display: none; align-items: center; justify-content: center;
  padding: 1.5rem;
}
.modal-overlay.open { display: flex; }
.modal-box {
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  max-width: 840px; width: 100%;
  max-height: 90vh; overflow-y: auto;
  display: grid; grid-template-columns: 1fr 1fr;
  position: relative;
  box-shadow: var(--shadow-lg);
}
.modal-close {
  position: absolute; top: 1rem; right: 1rem;
  background: var(--bg-3); border: 1px solid var(--border-strong);
  color: var(--text); border-radius: 50%;
  width: 32px; height: 32px;
  cursor: pointer; font-size: 0.85rem;
  display: flex; align-items: center; justify-content: center;
  z-index: 10;
  transition: all var(--transition);
}
.modal-close:hover { background: var(--accent); color: #0a0a0a; border-color: var(--accent); }
.modal-gallery {
  height: 100%; min-height: 320px;
  overflow: hidden; border-radius: var(--radius-lg) 0 0 var(--radius-lg);
}
.modal-gallery img { width: 100%; height: 100%; object-fit: cover; }
.modal-gallery-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 5rem; background: var(--bg-3);
}
.modal-info { padding: 2rem; }
.modal-category { font-size: 0.78rem; color: var(--accent); font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 0.5rem; }
.modal-title { font-family: 'Syne', sans-serif; font-size: 1.6rem; font-weight: 800; margin-bottom: 0.75rem; }
.modal-price { font-size: 1.4rem; font-weight: 700; color: var(--accent); margin-bottom: 1rem; }
.modal-desc { color: var(--text-muted); line-height: 1.7; font-size: 0.95rem; }

/* ——— CONTACT ——— */
.contact-section { padding: 5rem 0 7rem; }
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start;
}
.contact-info h2 {
  font-family: 'Syne', sans-serif; font-size: 1.8rem; font-weight: 800;
  margin-bottom: 1.25rem;
}
.contact-info p { color: var(--text-muted); margin-bottom: 1.25rem; font-size: 1rem; line-height: 1.7; }
.contact-detail {
  display: flex; align-items: center; gap: 1rem;
  padding: 1rem 1.25rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 0.75rem;
  transition: all var(--transition);
}
.contact-detail:hover { border-color: var(--accent-glow); }
.contact-detail-icon { font-size: 1.5rem; }
.contact-detail strong { display: block; font-weight: 600; margin-bottom: 0.1rem; }
.contact-detail div:last-child { font-size: 0.88rem; color: var(--text-muted); }

.contact-cta-box {
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  text-align: center;
  box-shadow: var(--shadow);
}
.whatsapp-icon { font-size: 3.5rem; margin-bottom: 1rem; }
.contact-cta-box h3 {
  font-family: 'Syne', sans-serif; font-size: 1.5rem; font-weight: 800; margin-bottom: 1rem;
}
.contact-cta-box p { color: var(--text-muted); margin-bottom: 1.75rem; font-size: 0.95rem; line-height: 1.6; }
.whatsapp-hint { font-size: 0.8rem; color: var(--text-faint); margin-top: 1rem; margin-bottom: 0 !important; }

/* ——— FOOTER ——— */
.footer {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  padding: 2.5rem 0;
}
.footer-inner {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1.5rem;
}
.footer-brand { display: flex; align-items: center; gap: 0.5rem; }
.footer-nav { display: flex; gap: 1.5rem; }
.footer-nav a { font-size: 0.9rem; color: var(--text-muted); transition: color var(--transition); }
.footer-nav a:hover { color: var(--accent); }
.footer-copy { font-size: 0.82rem; color: var(--text-faint); }

/* ——— ANIMATIONS ——— */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-10px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes floatA {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@keyframes floatB {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}
@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ——— RESPONSIVE ——— */
@media (max-width: 900px) {
  .hero { flex-direction: column; padding-top: calc(var(--nav-h) + 3rem); gap: 2rem; }
  .hero-visual { width: 100%; height: 200px; }
  .about-grid { grid-template-columns: 1fr; }
  .about-visual { flex-direction: row; }
  .modal-box { grid-template-columns: 1fr; }
  .modal-gallery { min-height: 220px; border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
  .contact-grid { grid-template-columns: 1fr; }
  .cta-inner { flex-direction: column; text-align: center; }
}
@media (max-width: 640px) {
  .nav-links { display: none; }
  .burger { display: flex; }
  .navbar { padding: 0 1.25rem; }
  .about-visual { flex-direction: column; }
  .footer-inner { flex-direction: column; align-items: center; text-align: center; }
}
.nav-links.mobile-open {
  display: flex !important;
  position: fixed;
  top: var(--nav-h); left: 0; right: 0;
  background: var(--bg-2);
  flex-direction: column;
  padding: 1.5rem;
  border-bottom: 1px solid var(--border);
  z-index: 999;
  gap: 0.5rem;
}