/* ============================================
   NOIR ESSENCE – Shared Stylesheet
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Poppins:wght@200;300;400;500&display=swap');

/* ── CSS Variables ── */
:root {
  --bg-primary:    #111111;
  --bg-secondary:  #1A1A1A;
  --gold:          #C6A75E;
  --gold-light:    #d9bc7e;
  --text-light:    #E5E5E5;
  --text-muted:    #AAAAAA;
  --transition:    0.3s ease;
  --max-width:     1200px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg-primary);
  color: var(--text-light);
  font-family: 'Poppins', sans-serif;
  font-weight: 300;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ── Container ── */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
}

/* ══════════════════════════════════════
   NAVIGATION
══════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 22px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background var(--transition), padding var(--transition);
}
.navbar.scrolled {
  background: rgba(10, 10, 10, 0.96);
  padding: 14px 40px;
  backdrop-filter: blur(8px);
}
.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.06em;
}
.nav-links {
  display: flex;
  gap: 40px;
}
.nav-links a {
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-light);
  position: relative;
  transition: color var(--transition);
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width var(--transition);
}
.nav-links a:hover { color: var(--gold); }
.nav-links a:hover::after { width: 100%; }
.nav-links a.active { color: var(--gold); }
.nav-links a.active::after { width: 100%; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1100;
}
.hamburger span {
  display: block;
  width: 24px; height: 1.5px;
  background: var(--text-light);
  transition: all var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile Overlay Menu */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.97);
  z-index: 1050;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}
.mobile-menu.open { opacity: 1; pointer-events: all; }
.mobile-menu a {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  color: var(--text-light);
  letter-spacing: 0.04em;
  transition: color var(--transition);
}
.mobile-menu a:hover { color: var(--gold); }

/* ══════════════════════════════════════
   BUTTONS
══════════════════════════════════════ */
.btn {
  display: inline-block;
  padding: 14px 36px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  cursor: pointer;
  border: 1px solid var(--gold);
  color: var(--gold);
  background: transparent;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition);
}
.btn:hover {
  background: var(--gold);
  color: #111;
  box-shadow: 0 0 24px rgba(198,167,94,0.35);
}
.btn-gold {
  background: var(--gold);
  color: #111;
}
.btn-gold:hover {
  background: var(--gold-light);
  box-shadow: 0 0 28px rgba(198,167,94,0.5);
}

/* ══════════════════════════════════════
   SECTION HEADINGS
══════════════════════════════════════ */
.section-tag {
  display: block;
  font-size: 0.65rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--text-light);
  line-height: 1.2;
}
.section-subtitle {
  font-size: 0.85rem;
  color: var(--text-muted);
  max-width: 520px;
  margin-top: 12px;
}

/* Gold Divider */
.gold-divider {
  width: 48px;
  height: 1px;
  background: var(--gold);
  margin: 20px auto 0;
}
.gold-divider.left { margin: 20px 0 0; }

/* ══════════════════════════════════════
   HERO – shared base
══════════════════════════════════════ */
.hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  transition: transform 6s ease;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,0,0,0.78) 0%, rgba(0,0,0,0.55) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 20px;
  max-width: 780px;
  animation: fadeUp 1s ease both;
}
.hero-content .section-tag { justify-content: center; display: block; }
.hero-heading {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.4rem, 6vw, 5rem);
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 20px;
}
.hero-sub {
  font-size: clamp(0.85rem, 1.4vw, 1rem);
  font-weight: 300;
  letter-spacing: 0.12em;
  color: rgba(229,229,229,0.8);
  margin-bottom: 40px;
}

/* ══════════════════════════════════════
   PRODUCT CARDS
══════════════════════════════════════ */
.product-card {
  background: var(--bg-secondary);
  border: 1px solid rgba(198,167,94,0.08);
  overflow: hidden;
  transition: border-color var(--transition), transform var(--transition);
  cursor: pointer;
}
.product-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
}
.product-card-img {
  overflow: hidden;
  aspect-ratio: 3/4;
}
.product-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.product-card:hover .product-card-img img { transform: scale(1.06); }
.product-card-body { padding: 22px 20px 24px; }
.product-card-name {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  margin-bottom: 6px;
}
.product-card-desc {
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  margin-bottom: 14px;
}
.product-card-price {
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  color: var(--gold);
  margin-bottom: 16px;
}
.btn-outline-sm {
  display: inline-block;
  padding: 9px 22px;
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border: 1px solid rgba(198,167,94,0.5);
  color: var(--text-light);
  background: transparent;
  cursor: pointer;
  transition: all var(--transition);
}
.btn-outline-sm:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* ══════════════════════════════════════
   TESTIMONIAL / QUOTE
══════════════════════════════════════ */
.quote-text {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  font-style: italic;
  font-weight: 400;
  color: var(--text-light);
  line-height: 1.5;
}
.quote-author {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 16px;
}

/* ══════════════════════════════════════
   NEWSLETTER
══════════════════════════════════════ */
.newsletter-form {
  display: flex;
  gap: 0;
  max-width: 460px;
  margin: 28px auto 0;
}
.newsletter-form input {
  flex: 1;
  padding: 14px 20px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(198,167,94,0.3);
  border-right: none;
  color: var(--text-light);
  font-family: 'Poppins', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  outline: none;
  transition: border-color var(--transition);
}
.newsletter-form input::placeholder { color: var(--text-muted); }
.newsletter-form input:focus { border-color: var(--gold); }
.newsletter-form .btn-gold {
  padding: 14px 28px;
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  border: 1px solid var(--gold);
  white-space: nowrap;
}

/* ══════════════════════════════════════
   FOOTER
══════════════════════════════════════ */
footer {
  background: #0a0a0a;
  padding: 70px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 50px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(198,167,94,0.12);
}
.footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  color: var(--gold);
  margin-bottom: 14px;
}
.footer-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.8;
  max-width: 260px;
}
.footer-col h4 {
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a {
  font-size: 0.8rem;
  color: var(--text-muted);
  transition: color var(--transition);
}
.footer-col ul a:hover { color: var(--gold); }
.footer-contact-item {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 10px;
}
.social-icons {
  display: flex;
  gap: 14px;
  margin-top: 20px;
}
.social-icons a {
  width: 36px; height: 36px;
  border: 1px solid rgba(198,167,94,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.85rem;
  transition: all var(--transition);
}
.social-icons a:hover {
  border-color: var(--gold);
  color: var(--gold);
}
.footer-bottom {
  padding-top: 28px;
  text-align: center;
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
}

/* ══════════════════════════════════════
   ANIMATIONS
══════════════════════════════════════ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ══════════════════════════════════════
   MEDIA QUERIES
══════════════════════════════════════ */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .container { padding: 0 20px; }
  .navbar { padding: 18px 20px; }
  .navbar.scrolled { padding: 12px 20px; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .mobile-menu { display: flex; }
  .hero-bg { background-attachment: scroll; }
  .newsletter-form { flex-direction: column; }
  .newsletter-form input { border-right: 1px solid rgba(198,167,94,0.3); }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
}

@media (max-width: 480px) {
  .btn { padding: 12px 28px; width: 100%; text-align: center; }
}
