/* ============================================
   GRANGE DESIGN — LUXURY MODERN REDESIGN
   Bilingual: EN / FR
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400&family=Jost:wght@300;400;500;600&display=swap');

:root {
  /* Brand Palette — Original Dark/Gold */
  --black: #080808;
  --charcoal: #121212;
  --dark-surface: #181818;
  --gold: #c5a065;
  --gold-light: #d4b483;
  --gold-dim: rgba(197, 160, 101, 0.12);
  --cream: #f0ebe2;
  --cream-soft: #f7f5f1;
  --white: #ffffff;
  --text-primary: #f0ebe2;
  --text-secondary: #a8a098;
  --text-muted: #6e6a63;
  --divider: rgba(197, 160, 101, 0.15);
  --overlay-dark: rgba(8, 8, 8, 0.65);

  /* Typography */
  --font-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-body: 'Jost', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Spacing */
  --section-pad: 120px;
  --section-pad-mobile: 72px;
  --container: 1280px;
  --radius: 2px;
  --radius-lg: 6px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background-color: var(--black);
  color: var(--text-primary);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection {
  background: rgba(197, 160, 101, 0.25);
  color: var(--cream);
}

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

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

ul { list-style: none; }

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

@media (max-width: 768px) {
  .container { padding: 0 20px; }
  :root { --section-pad: 72px; }
}

/* ============================================
   LANGUAGE SWITCHER
   ============================================ */
.lang-switcher {
  position: fixed;
  top: 28px; right: 32px;
  z-index: 9999;
  display: flex;
  gap: 0;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(197,160,101,0.2);
  border-radius: 30px;
  overflow: hidden;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.lang-switcher a {
  border: none;
  background: transparent;
  color: var(--text-secondary);
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 8px 18px;
  cursor: pointer;
  transition: all 0.35s ease;
  font-weight: 500;
  display: inline-block;
}

.lang-switcher a.active,
.lang-switcher a:hover {
  background: var(--gold);
  color: var(--black);
}

/* ============================================
   NAVIGATION
   ============================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: 96px;
  display: flex;
  align-items: center;
  background: linear-gradient(180deg, rgba(8,8,8,0.92) 0%, rgba(8,8,8,0.0) 100%);
  transition: background 0.5s ease, height 0.4s ease;
  padding: 0 32px;
}

.site-header.scrolled {
  background: rgba(8,8,8,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  height: 72px;
  border-bottom: 1px solid rgba(197,160,101,0.08);
}

.header-inner {
  max-width: var(--container);
  margin: 0 auto;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 300;
  letter-spacing: 4px;
  color: var(--cream);
  position: relative;
}

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

.logo:hover::after { width: 100%; }

.nav-links {
  display: flex;
  gap: 36px;
  align-items: center;
}

.nav-links a {
  font-family: var(--font-body);
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-secondary);
  position: relative;
  padding-bottom: 2px;
  transition: color 0.3s ease;
  font-weight: 400;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 50%;
  width: 0; height: 1px;
  background: var(--gold);
  transition: all 0.35s ease;
  transform: translateX(-50%);
}

.nav-links a:hover { color: var(--cream); }
.nav-links a:hover::after { width: 100%; }

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--cream);
  cursor: pointer;
  padding: 8px;
}

/* Mobile Menu */
.mobile-nav {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(8,8,8,0.97);
  z-index: 999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 32px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.mobile-nav.open { opacity: 1; pointer-events: auto; }

.mobile-nav a {
  font-family: var(--font-display);
  font-size: 32px;
  color: var(--cream);
  letter-spacing: 2px;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s ease;
}

.mobile-nav.open a { opacity: 1; transform: translateY(0); }

.mobile-nav a:nth-child(1) { transition-delay: 0.05s; }
.mobile-nav a:nth-child(2) { transition-delay: 0.1s; }
.mobile-nav a:nth-child(3) { transition-delay: 0.15s; }
.mobile-nav a:nth-child(4) { transition-delay: 0.2s; }
.mobile-nav a:nth-child(5) { transition-delay: 0.25s; }

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 720px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
  animation: slowZoom 20s ease-in-out infinite alternate;
}

@keyframes slowZoom {
  from { transform: scale(1); }
  to { transform: scale(1.06); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(8,8,8,0.75) 0%, rgba(8,8,8,0.35) 60%, rgba(8,8,8,0.65) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
  padding: 140px 32px 0;
}

.hero-subtitle {
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 6px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
  display: block;
  opacity: 0;
  animation: fadeUp 0.9s ease forwards;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(48px, 6.5vw, 96px);
  font-weight: 300;
  line-height: 1.05;
  color: var(--cream);
  margin-bottom: 28px;
  letter-spacing: -2px;
}

.hero-title em {
  font-style: italic;
  color: var(--gold-light);
  font-weight: 400;
}

.hero-desc {
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 300;
  color: var(--text-secondary);
  max-width: 520px;
  line-height: 1.7;
  margin-bottom: 48px;
  opacity: 0;
  animation: fadeUp 0.9s ease 0.2s forwards;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 16px 36px;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  transition: all 0.4s ease;
  opacity: 0;
  animation: fadeUp 0.9s ease 0.4s forwards;
}

.hero-cta:hover {
  background: var(--gold);
  color: var(--black);
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============================================
   CATEGORY GRID
   ============================================ */
.categories-section {
  padding: var(--section-pad) 0;
  background: var(--charcoal);
  position: relative;
}

.section-label {
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
  display: block;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 60px);
  font-weight: 300;
  color: var(--cream);
  margin-bottom: 16px;
  letter-spacing: -1px;
}

.section-subtitle {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 520px;
  font-weight: 300;
  margin-bottom: 80px;
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 1024px) {
  .categories-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .categories-grid { grid-template-columns: 1fr; }
}

.category-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  height: 420px;
  display: block;
  background: var(--black);
}

.category-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease, filter 0.5s ease;
  filter: brightness(0.85);
}

.category-card:hover img {
  transform: scale(1.08);
  filter: brightness(1);
}

.category-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(8,8,8,0.85) 0%, rgba(8,8,8,0.15) 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 36px;
  transition: background 0.4s ease;
}

.category-card:hover .category-card-overlay {
  background: linear-gradient(0deg, rgba(8,8,8,0.9) 0%, rgba(8,8,8,0.3) 60%);
}

.category-card h3 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 300;
  color: var(--cream);
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.category-card p {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--text-secondary);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  transition: color 0.3s ease;
}

.category-card:hover p { color: var(--gold); }

/* ============================================
   ABOUT / SERVICES BLOCKS
   ============================================ */
.about-section {
  padding: var(--section-pad) 0;
  background: var(--black);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
}

.about-img-wrap {
  position: relative;
}

.about-img-wrap img {
  width: 100%;
  border-radius: var(--radius-lg);
  filter: grayscale(30%) contrast(1.05);
}

.about-img-wrap::before {
  content: '';
  position: absolute;
  top: 24px; left: -24px;
  width: 100%; height: 100%;
  border: 1px solid var(--gold);
  border-radius: var(--radius-lg);
  z-index: -1;
  opacity: 0.3;
}

.about-text h2 {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 300;
  color: var(--cream);
  line-height: 1.2;
  margin-bottom: 28px;
  letter-spacing: -1px;
}

.about-text h2 em {
  font-style: italic;
  color: var(--gold);
  font-weight: 400;
}

.about-text p {
  font-size: 16px;
  color: var(--text-secondary);
  font-weight: 300;
  line-height: 1.85;
  margin-bottom: 24px;
}

.about-text .btn-link {
  display: inline-block;
  color: var(--gold);
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 4px;
  transition: all 0.3s ease;
}

.about-text .btn-link:hover {
  color: var(--cream);
  border-color: var(--cream);
}

/* ============================================
   SERVICES
   ============================================ */
.services-section {
  padding: var(--section-pad) 0;
  background: var(--charcoal);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

@media (max-width: 1024px) {
  .services-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .services-grid { grid-template-columns: 1fr; }
}

.service-card {
  background: var(--dark-surface);
  border: 1px solid rgba(197,160,101,0.08);
  border-radius: var(--radius-lg);
  padding: 48px 36px;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: var(--gold);
  opacity: 0.5;
  transition: opacity 0.3s ease;
}

.service-card:hover {
  border-color: rgba(197,160,101,0.2);
  transform: translateY(-6px);
}

.service-card:hover::before { opacity: 1; }

.service-card h3 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 300;
  color: var(--cream);
  margin-bottom: 16px;
  letter-spacing: 0.5px;
}

.service-card p {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
  font-weight: 300;
}

/* ============================================
   FEATURED / BESTSELLERS STRIP
   ============================================ */
.bestsellers-section {
  padding: var(--section-pad) 0;
  background: var(--black);
}

.bestseller-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

@media (max-width: 1024px) {
  .bestseller-strip { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .bestseller-strip { grid-template-columns: 1fr; }
}

.bestseller-item {
  background: var(--charcoal);
  border: 1px solid rgba(197,160,101,0.06);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.4s ease;
}

.bestseller-item:hover {
  border-color: rgba(197,160,101,0.2);
  transform: translateY(-4px);
  box-shadow: 0 24px 48px rgba(0,0,0,0.5);
}

.bestseller-item img {
  width: 100%; height: 300px; object-fit: cover;
  filter: brightness(0.9);
  transition: filter 0.5s ease;
}

.bestseller-item:hover img { filter: brightness(1); }

.bestseller-info {
  padding: 28px 28px 32px;
}

.bestseller-info h4 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 300;
  color: var(--cream);
  margin-bottom: 8px;
}

.bestseller-info .price {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--gold);
  font-weight: 500;
  letter-spacing: 1px;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: var(--charcoal);
  border-top: 1px solid rgba(197,160,101,0.08);
  padding: 96px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 80px;
}

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

.footer-brand .logo {
  font-size: 24px;
  margin-bottom: 16px;
  display: inline-block;
}

.footer-brand p {
  font-size: 14px;
  color: var(--text-secondary);
  font-weight: 300;
  line-height: 1.7;
  max-width: 320px;
}

.footer-col h4 {
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
}

.footer-col ul li { margin-bottom: 12px; }

.footer-col ul a {
  font-size: 15px;
  color: var(--text-secondary);
  font-weight: 300;
  transition: color 0.25s ease;
}

.footer-col ul a:hover { color: var(--cream); }

.footer-bottom {
  border-top: 1px solid rgba(197,160,101,0.08);
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom p {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 300;
}

/* ============================================
   SUB-PAGE HEADER
   ============================================ */
.page-hero {
  position: relative;
  height: 60vh;
  min-height: 520px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  margin-top: 96px;
}

.page-hero img {
  position: absolute;
  inset: 0; width: 100%; height: 100%; object-fit: cover;
  z-index: 0;
  filter: brightness(0.4);
}

.page-hero .hero-overlay { background: linear-gradient(0deg, rgba(8,8,8,0.9) 0%, rgba(8,8,8,0.2) 100%); }

.page-hero-content {
  position: relative; z-index: 2;
  padding: 100px 32px 80px;
  max-width: var(--container); margin: 0 auto; width: 100%;
}

.page-hero-content h1 {
  font-family: var(--font-display);
  font-size: clamp(40px, 7vw, 80px);
  font-weight: 300;
  color: var(--cream);
  letter-spacing: -2px;
}

.page-hero-content h1 em { color: var(--gold); font-style: italic; font-weight: 400; }

/* ============================================
   CONTENT SECTIONS (About, Services, Contact)
   ============================================ */
.page-content {
  max-width: var(--container);
  margin: 0 auto;
  padding: 100px 32px;
}

.page-content h2 {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 300;
  color: var(--cream);
  margin-bottom: 24px;
  letter-spacing: -0.5px;
}

.page-content p {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.85;
  font-weight: 300;
  margin-bottom: 24px;
}

/* Contact form */
.contact-form { max-width: 640px; }
.contact-form label {
  display: block;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
  margin-top: 28px;
}
.contact-form input, .contact-form textarea {
  width: 100%;
  background: var(--dark-surface);
  border: 1px solid rgba(197,160,101,0.12);
  border-radius: var(--radius);
  padding: 16px 18px;
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 15px;
  transition: border-color 0.3s ease;
}
.contact-form input:focus, .contact-form textarea:focus {
  outline: none;
  border-color: var(--gold);
}
.contact-form button {
  margin-top: 32px;
  background: var(--gold);
  color: var(--black);
  border: none;
  padding: 16px 40px;
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: var(--radius);
  transition: background 0.3s ease;
  font-weight: 500;
}
.contact-form button:hover { background: var(--cream); }

/* Responsive Header */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .mobile-menu-btn { display: block; }
  .logo { font-size: 22px; }
}

/* ============================================
   SCROLL REVEAL ANIMATIONS
   ============================================ */
.reveal {
  opacity: 1;
}

@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(30px);
    animation: revealUp 0.9s ease forwards;
  }
  .reveal-delay-1 { animation-delay: 0.1s; }
  .reveal-delay-2 { animation-delay: 0.2s; }
  .reveal-delay-3 { animation-delay: 0.3s; }
}

@keyframes revealUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
