/* ============================================================
   GLOBAL.CSS — Lumière Luxury Store
   Variables · Reset · Typography · Nav · Footer · Utilities
   ============================================================ */

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

/* ── CSS VARIABLES ── */
:root {
  /* Palette */
  --ivory:       #F5F0E8;
  --parchment:   #EDE6D6;
  --espresso:    #1A0F0A;
  --gold:        #C9963F;
  --brass:       #8B6914;
  --mahogany:    #2C1810;
  --cream:       #FAF6EE;
  --sand:        #A89880;
  --border:      rgba(201, 150, 63, 0.2);
  --border-dark: rgba(201, 150, 63, 0.15);

  /* Typography */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;

  /* Spacing */
  --section-pad:  7rem 2rem;
  --inner-max:    1200px;

  /* Transitions */
  --ease:         cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-bounce:  cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ── RESET ── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--ivory);
  color: var(--mahogany);
  line-height: 1.6;
  overflow-x: hidden;
  cursor: none;
}

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

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

ul {
  list-style: none;
}

/* ── CUSTOM CURSOR ── */
.cursor-dot,
.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s;
}

.cursor-dot {
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 50%;
}

.cursor-ring {
  width: 36px;
  height: 36px;
  border: 1.5px solid var(--gold);
  border-radius: 50%;
  transition: transform 0.12s var(--ease), width 0.3s, height 0.3s;
}

.cursor-ring.hovering {
  width: 56px;
  height: 56px;
  border-color: var(--brass);
  background: rgba(201, 150, 63, 0.06);
}

/* ── UTILITY CLASSES ── */
.section-inner {
  max-width: var(--inner-max);
  margin: 0 auto;
  padding: 0 2rem;
}

.section-eyebrow {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  color: var(--mahogany);
  line-height: 1.2;
  margin-bottom: 3rem;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2.2rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 2px;
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,0.25) 50%, transparent 60%);
  transform: translateX(-100%);
  transition: transform 0.5s var(--ease);
}

.btn:hover::after {
  transform: translateX(100%);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(201, 150, 63, 0.3);
}

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

.btn-ghost {
  background: transparent;
  color: var(--cream);
  border: 1.5px solid rgba(250, 246, 238, 0.4);
}

.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
  box-shadow: none;
}

.btn-outline {
  background: transparent;
  color: var(--mahogany);
  border: 1.5px solid var(--border);
}

.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
  box-shadow: none;
}

/* ── SCROLL REVEAL ── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── NAVIGATION ── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.5rem 2rem;
  transition: background 0.4s var(--ease), padding 0.4s var(--ease), box-shadow 0.4s;
}

.nav.scrolled {
  background: rgba(26, 15, 10, 0.96);
  backdrop-filter: blur(12px);
  padding: 1rem 2rem;
  box-shadow: 0 1px 0 var(--border-dark);
}

.nav-inner {
  max-width: var(--inner-max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--cream);
  letter-spacing: 0.05em;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  margin-left: auto;
}

.nav-link {
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(250, 246, 238, 0.7);
  position: relative;
  transition: color 0.25s;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.3s var(--ease);
}

.nav-link:hover,
.nav-link.active {
  color: var(--cream);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-cta {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  padding: 0.6rem 1.4rem;
  border: 1px solid var(--border);
  border-radius: 2px;
  transition: background 0.25s, color 0.25s;
  flex-shrink: 0;
}

.nav-link--cta {
  color: var(--gold) !important;
  border: 1px solid var(--border);
  padding: 0.6rem 1.4rem;
  border-radius: 2px;
  text-align: center;
  display: none;
}

.nav-link--cta::after {
  display: none;
}

.nav-link--cta:hover {
  background: var(--gold);
  color: var(--cream) !important;
}

.nav-cta:hover {
  background: var(--gold);
  color: var(--cream);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}
.nav-logo-img {
  height: 108px;
  width: 100%;
  object-fit: contain;
}



.nav-toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--cream);
  transition: transform 0.3s, opacity 0.3s;
}

.nav-toggle.active span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* ── FOOTER ── */
.footer {
  background: var(--espresso);
  color: var(--sand);
  padding: 5rem 2rem 2rem;
}

.footer-inner {
  max-width: var(--inner-max);
  margin: 0 auto;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--border-dark);
  margin-bottom: 2rem;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--cream);
  display: block;
  margin-bottom: 1rem;
}

.footer-tagline {
  font-size: 0.9rem;
  color: var(--sand);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.footer-socials {
  display: flex;
  gap: 1rem;
}

.social-link {
  width: 36px;
  height: 36px;
  border: 1px solid var(--border-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sand);
  transition: border-color 0.25s, color 0.25s;
}

.social-link svg {
  width: 16px;
  height: 16px;
}

.social-link:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.footer-nav-title {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cream);
  margin-bottom: 1.2rem;
}

.footer-nav ul {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-nav a {
  font-size: 0.9rem;
  color: var(--sand);
  transition: color 0.25s;
}

.footer-nav a:hover {
  color: var(--gold);
}

.footer-contact p {
  font-size: 0.9rem;
  margin-bottom: 0.6rem;
  color: var(--sand);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: rgba(168, 152, 128, 0.6);
}

/* ── REDUCED MOTION ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
/* smaller on mobile */
@media (max-width: 768px) {
  .nav-logo-img {
    height: 68px;
  }
}
/* ── RESPONSIVE — NAVIGATION ── */
@media (max-width: 900px) {
  .nav-cta { display: none; }
  .nav-link--cta{
    display: block;
    color: var(--gold);
    border: 1px solid var(--border);
    padding: 0.6rem 1.4rem;
    border-radius: 2px;
    text-align: center;
  }

  .nav-link--cta::after{
    display: none;
  }

  .nav-link--cta:hover{
    background: var(--gold);
    color: var(--cream);
  }

  .nav-toggle {
    display: flex;
    position: relative;
    z-index: 1001;
  }

  .nav-links {
    position:fixed;
    top:0px;
    right: -100%;
    width: 75vw;
    max-width: 320px;
    height: 100vh;
    background: var(--espresso);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
   /* padding: 3rem 2.5rem;*/
    gap: 2rem;
    transition: right 0.4s var(--ease);
    z-index: 999;
    margin-left: 0;
  }

  .nav-links.open {
    right: 0;
  }

  .nav-link {
    font-size: 1rem;
    color: var(--cream);
  }
}

/* ── RESPONSIVE — FOOTER ── */
@media (max-width: 768px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .footer-top {
    grid-template-columns: 1fr;
  }
}