/*
 * Maison Mistutor - Style Guide
 * Premium Furniture Website
 * Palette: Polished Walnut (#3F1F0E), Dark Chocolate (#271207), Brass Gold (#D4AF37), Ivory (#FFFDF9)
 * Typography: Playfair Display & Lora
 */

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

:root {
  --color-walnut: #3F1F0E;
  --color-chocolate: #271207;
  --color-brass: #D4AF37;
  --color-brass-dark: #B5902B;
  --color-brass-light: #F3D986;
  --color-ivory: #FFFDF9;
  --color-beige: #F4EFEA;
  --color-beige-dark: #E6DDD4;
  --color-text-dark: #271207;
  --color-text-light: #FFFDF9;
  --color-text-muted: #7E6C60;
  --color-text-muted-light: #C0B1A5;
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Lora', serif;
  --transition-smooth: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.3s ease;
  --border-brass: 1px solid rgba(212, 175, 55, 0.3);
  --border-brass-solid: 1px solid var(--color-brass);
}

/* Base Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--color-ivory);
  color: var(--color-text-dark);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: 0.02em;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

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

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--color-chocolate);
}
::-webkit-scrollbar-thumb {
  background: var(--color-brass);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-brass-light);
}

/* Header & Navigation */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(39, 18, 7, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
  transition: var(--transition-smooth);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  padding: 1.5rem 2rem;
}

.logo {
  display: flex;
  flex-direction: column;
}

.logo-main {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--color-ivory);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.logo-sub {
  font-size: 0.65rem;
  font-weight: 400;
  color: var(--color-brass);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-top: 0.2rem;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 2.5rem;
}

nav a {
  color: var(--color-text-muted-light);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 500;
  position: relative;
  padding: 0.5rem 0;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--color-brass);
  transition: var(--transition-smooth);
}

nav a:hover, nav a.active {
  color: var(--color-ivory);
}

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

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-toggle span {
  display: block;
  width: 25px;
  height: 2px;
  background-color: var(--color-ivory);
  margin: 5px 0;
  transition: var(--transition-smooth);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.9rem 2.2rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  border: none;
  cursor: pointer;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-primary {
  background-color: var(--color-brass);
  color: var(--color-chocolate);
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--color-chocolate);
  transition: var(--transition-smooth);
  z-index: -1;
}

.btn-primary:hover {
  color: var(--color-brass-light);
}

.btn-primary:hover::before {
  left: 0;
}

.btn-secondary {
  background-color: transparent;
  color: var(--color-brass);
  border: 1px solid var(--color-brass);
}

.btn-secondary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--color-brass);
  transition: var(--transition-smooth);
  z-index: -1;
}

.btn-secondary:hover {
  color: var(--color-chocolate);
}

.btn-secondary:hover::before {
  left: 0;
}

.btn-dark {
  background-color: var(--color-chocolate);
  color: var(--color-ivory);
  border: 1px solid var(--color-walnut);
}

.btn-dark::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--color-brass);
  transition: var(--transition-smooth);
  z-index: -1;
}

.btn-dark:hover {
  color: var(--color-chocolate);
}

.btn-dark:hover::before {
  left: 0;
}

/* Layered Marquetry Geometric Shapes */
.marquetry-container {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 400px;
  overflow: hidden;
  border: var(--border-brass);
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
  background-color: var(--color-walnut);
}

.marquetry-shape {
  position: absolute;
  background-size: cover;
  background-position: center;
  mix-blend-mode: multiply;
  transition: var(--transition-smooth);
}

/* We create marquetry layers with varying rotations & walnut grain opacity simulated via overlays */
.marquetry-shape-1 {
  top: 0; left: 0; width: 60%; height: 60%;
  background: linear-gradient(135deg, var(--color-chocolate), var(--color-walnut));
  clip-path: polygon(0 0, 100% 0, 0 100%);
  border-right: 1px solid var(--color-brass);
  opacity: 0.9;
}

.marquetry-shape-2 {
  bottom: 0; right: 0; width: 60%; height: 60%;
  background: linear-gradient(315deg, var(--color-chocolate), #552B14);
  clip-path: polygon(100% 100%, 100% 0, 0 100%);
  opacity: 0.85;
}

.marquetry-shape-3 {
  top: 20%; left: 20%; width: 60%; height: 60%;
  background: radial-gradient(circle, var(--color-walnut) 0%, var(--color-chocolate) 100%);
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
  border: 1px solid var(--color-brass);
  box-shadow: inset 0 0 40px rgba(0,0,0,0.8);
  opacity: 0.95;
}

.marquetry-line {
  position: absolute;
  background-color: var(--color-brass);
  opacity: 0.6;
}

.marquetry-line-h {
  width: 100%; height: 1px; left: 0;
}

.marquetry-line-v {
  height: 100%; width: 1px; top: 0;
}

/* Polished Wood Veneer overlay card style */
.veneer-card {
  background: linear-gradient(145deg, var(--color-walnut), var(--color-chocolate));
  border: 1px solid var(--color-brass);
  padding: 3rem;
  color: var(--color-ivory);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
  position: relative;
  overflow: hidden;
}

.veneer-card::before {
  content: '';
  position: absolute;
  top: -50%; left: -50%; width: 200%; height: 200%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.05) 0%, transparent 60%);
  pointer-events: none;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background-color: var(--color-chocolate);
  color: var(--color-ivory);
  padding-top: 100px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(135deg, rgba(39, 18, 7, 0.95) 30%, rgba(63, 31, 14, 0.8) 100%);
  z-index: 1;
}

.hero-marquetry-deco {
  position: absolute;
  right: -10%;
  top: 10%;
  width: 60%;
  height: 80%;
  opacity: 0.3;
  z-index: 2;
  pointer-events: none;
  transform: rotate(15deg);
}

.hero-container {
  position: relative;
  z-index: 3;
  max-width: 1400px;
  margin: 0 auto;
  padding: 4rem 2rem;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  align-items: center;
}

.hero-subtitle {
  color: var(--color-brass);
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 1.1;
  font-weight: 800;
  margin-bottom: 2rem;
  color: var(--color-ivory);
}

.hero-description {
  color: var(--color-text-muted-light);
  font-size: 1.1rem;
  max-width: 600px;
  margin-bottom: 3rem;
}

.hero-buttons {
  display: flex;
  gap: 1.5rem;
}

.hero-showcase {
  position: relative;
}

.hero-frame {
  border: 1px solid var(--color-brass);
  padding: 1rem;
  position: relative;
}

.hero-frame::after {
  content: '';
  position: absolute;
  top: -10px;
  left: -10px;
  right: -10px;
  bottom: -10px;
  border: 1px solid rgba(212, 175, 55, 0.3);
  pointer-events: none;
}

/* Scroll Reveal Animations */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.reveal-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-left.active {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-right.active {
  opacity: 1;
  transform: translateX(0);
}

/* Sections General */
section {
  padding: 8rem 2rem;
  position: relative;
}

.section-dark {
  background-color: var(--color-chocolate);
  color: var(--color-ivory);
  border-bottom: 1px solid rgba(212, 175, 55, 0.15);
}

.section-header {
  max-width: 800px;
  margin-bottom: 5rem;
}

.section-subtitle {
  color: var(--color-brass);
  font-family: var(--font-body);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  margin-bottom: 1rem;
  display: block;
}

.section-title {
  font-size: clamp(2rem, 3.5vw, 3rem);
  line-height: 1.2;
}

/* Feature Grid Home Page */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  max-width: 1400px;
  margin: 0 auto;
}

.feature-card {
  padding: 3rem 2rem;
  background: var(--color-beige);
  border: 1px solid transparent;
  transition: var(--transition-smooth);
}

.feature-card:hover {
  background: var(--color-ivory);
  border: 1px solid var(--color-brass);
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(39, 18, 7, 0.05);
}

.feature-icon {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-brass);
  color: var(--color-brass);
  margin-bottom: 2rem;
  font-family: var(--font-heading);
  font-size: 1.5rem;
}

.feature-card h3 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  color: var(--color-chocolate);
}

.feature-card p {
  color: var(--color-text-muted);
}

/* Layered Marquetry Gallery Showcase */
.marquetry-showcase-section {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 6rem;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
}

.showcase-text {
  padding-right: 2rem;
}

.showcase-text h2 {
  font-size: 2.8rem;
  margin-bottom: 2rem;
  line-height: 1.2;
}

.showcase-text p {
  color: var(--color-text-muted-light);
  font-size: 1.1rem;
  margin-bottom: 2.5rem;
}

/* Testimonial Section */
.testimonials-container {
  max-width: 1100px;
  margin: 0 auto;
}

.testimonial-card {
  background: rgba(255, 253, 249, 0.03);
  border: var(--border-brass);
  padding: 4rem;
  position: relative;
  margin-bottom: 2rem;
}

.testimonial-quote {
  font-size: 1.5rem;
  line-height: 1.6;
  font-style: italic;
  margin-bottom: 2rem;
  position: relative;
}

.testimonial-quote::before {
  content: '“';
  font-family: var(--font-heading);
  font-size: 5rem;
  position: absolute;
  top: -30px;
  left: -20px;
  color: rgba(212, 175, 55, 0.15);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.author-info h4 {
  color: var(--color-brass);
  font-size: 1.1rem;
}

.author-info p {
  font-size: 0.85rem;
  color: var(--color-text-muted-light);
}

/* About Page Specific Styles */
.about-hero {
  height: 50vh;
  background-color: var(--color-chocolate);
  color: var(--color-ivory);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 100px;
}

.about-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
}

.about-tradition-section {
  background-color: var(--color-beige);
}

.tradition-timeline {
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  padding: 2rem 0;
}

.tradition-timeline::before {
  content: '';
  position: absolute;
  top: 0; bottom: 0; left: 50%;
  width: 1px;
  background-color: var(--color-brass);
}

.timeline-item {
  width: 50%;
  padding: 2rem 3rem;
  position: relative;
}

.timeline-item:nth-child(odd) {
  left: 0;
  text-align: right;
}

.timeline-item:nth-child(even) {
  left: 50%;
  text-align: left;
}

.timeline-item::after {
  content: '';
  position: absolute;
  top: 2.5rem;
  width: 12px;
  height: 12px;
  background-color: var(--color-chocolate);
  border: 2px solid var(--color-brass);
  border-radius: 50%;
  z-index: 2;
}

.timeline-item:nth-child(odd)::after {
  right: -6px;
}

.timeline-item:nth-child(even)::after {
  left: -6px;
}

.timeline-year {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--color-brass);
  margin-bottom: 0.5rem;
}

.timeline-content h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: var(--color-walnut);
}

.timeline-content p {
  color: var(--color-text-muted);
}

/* Products/Collections Page Styles */
.filter-bar {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 4rem;
  flex-wrap: wrap;
}

.filter-btn {
  background: none;
  border: none;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.5rem 1.5rem;
  cursor: pointer;
  color: var(--color-text-muted);
  border-bottom: 2px solid transparent;
  transition: var(--transition-fast);
}

.filter-btn.active, .filter-btn:hover {
  color: var(--color-chocolate);
  border-bottom: 2px solid var(--color-brass);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 3rem;
  max-width: 1400px;
  margin: 0 auto;
}

.product-card {
  background: var(--color-ivory);
  border: 1px solid var(--color-beige-dark);
  overflow: hidden;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px rgba(39, 18, 7, 0.08);
  border-color: var(--color-brass);
}

.product-image-container {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--color-beige);
}

.product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-card:hover .product-img {
  transform: scale(1.08);
}

.product-tag {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background-color: var(--color-chocolate);
  color: var(--color-brass);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.3rem 1rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border: 1px solid var(--color-brass);
}

.product-info {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-title {
  font-size: 1.4rem;
  color: var(--color-chocolate);
  margin-bottom: 0.5rem;
}

.product-desc {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.product-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--color-beige-dark);
  padding-top: 1.5rem;
}

.product-price {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-walnut);
}

/* Contact Page Styles */
.contact-container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 6rem;
  max-width: 1400px;
  margin: 0 auto;
}

.contact-form-container {
  background: var(--color-beige);
  padding: 4rem;
  border: 1px solid var(--color-beige-dark);
}

.contact-form h3 {
  font-size: 1.8rem;
  margin-bottom: 2.5rem;
  color: var(--color-chocolate);
}

.form-group {
  position: relative;
  margin-bottom: 2.5rem;
}

.form-input {
  width: 100%;
  padding: 0.8rem 0;
  background: none;
  border: none;
  border-bottom: 1px solid var(--color-text-muted);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-chocolate);
  outline: none;
  transition: var(--transition-fast);
}

.form-input:focus {
  border-bottom: 1px solid var(--color-brass);
}

.form-label {
  position: absolute;
  top: 0.8rem;
  left: 0;
  color: var(--color-text-muted);
  pointer-events: none;
  transition: var(--transition-fast);
}

/* Floating label effect using Javascript classes */
.form-input:focus ~ .form-label,
.form-input:not(:placeholder-shown) ~ .form-label {
  top: -1.2rem;
  font-size: 0.8rem;
  color: var(--color-brass);
}

.contact-info-panel {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.info-details {
  margin-bottom: 4rem;
}

.info-item {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.info-icon {
  width: 45px;
  height: 45px;
  border: 1px solid var(--color-brass);
  color: var(--color-brass);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.info-text h4 {
  font-size: 1.1rem;
  margin-bottom: 0.3rem;
  color: var(--color-chocolate);
}

.info-text p {
  color: var(--color-text-muted);
}

/* Custom Brass Grid Map */
.brass-map-container {
  border: 1px solid var(--color-brass);
  padding: 1rem;
  background-color: var(--color-chocolate);
}

.brass-grid-map {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: repeat(8, 50px);
  gap: 4px;
  background-color: rgba(212, 175, 55, 0.05);
  position: relative;
  overflow: hidden;
}

.map-node {
  background-color: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.15);
  transition: var(--transition-fast);
}

.map-node:hover {
  background-color: rgba(212, 175, 55, 0.4);
}

.map-marker {
  grid-column: 7 / span 1;
  grid-row: 4 / span 1;
  background-color: var(--color-brass);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 20px var(--color-brass);
  cursor: pointer;
  z-index: 10;
  position: relative;
}

.map-marker::after {
  content: '';
  position: absolute;
  width: 200%;
  height: 200%;
  border: 1px solid var(--color-brass);
  border-radius: 50%;
  animation: pulse-ring 2s infinite;
}

.map-marker-popup {
  position: absolute;
  bottom: 120%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-walnut);
  border: 1px solid var(--color-brass);
  padding: 0.8rem 1.2rem;
  color: var(--color-ivory);
  font-size: 0.75rem;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: var(--transition-fast);
  z-index: 12;
}

.map-marker:hover .map-marker-popup {
  opacity: 1;
  bottom: 130%;
}

@keyframes pulse-ring {
  0% { transform: scale(0.5); opacity: 1; }
  100% { transform: scale(1.5); opacity: 0; }
}

/* GDPR Cookie Consent Banner */
.cookie-consent {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  right: 2rem;
  max-width: 600px;
  background: rgba(39, 18, 7, 0.98);
  border: 1px solid var(--color-brass);
  padding: 2rem;
  color: var(--color-ivory);
  z-index: 2000;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  display: none;
  backdrop-filter: blur(10px);
}

.cookie-content h4 {
  font-size: 1.2rem;
  color: var(--color-brass);
  margin-bottom: 0.8rem;
}

.cookie-content p {
  font-size: 0.85rem;
  color: var(--color-text-muted-light);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.cookie-buttons {
  display: flex;
  gap: 1rem;
}

.cookie-buttons button {
  padding: 0.6rem 1.5rem;
  font-size: 0.75rem;
}

/* Legal Pages (Privacy Policy, Terms, Cookie Policy) */
.legal-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 6rem 2rem;
}

.legal-title {
  font-size: 2.8rem;
  margin-bottom: 1.5rem;
  color: var(--color-chocolate);
  text-align: center;
}

.legal-meta {
  text-align: center;
  color: var(--color-text-muted);
  font-size: 0.9rem;
  margin-bottom: 4rem;
}

.legal-content h2 {
  font-size: 1.6rem;
  color: var(--color-chocolate);
  margin-top: 3rem;
  margin-bottom: 1.2rem;
  border-bottom: 1px solid var(--color-beige-dark);
  padding-bottom: 0.5rem;
}

.legal-content p, .legal-content ul {
  color: var(--color-text-muted);
  margin-bottom: 1.5rem;
}

.legal-content ul {
  padding-left: 2rem;
}

.legal-content li {
  margin-bottom: 0.5rem;
}

/* Footer */
footer {
  background-color: var(--color-chocolate);
  color: var(--color-ivory);
  padding: 6rem 2rem 2rem 2rem;
  border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: 4rem;
  margin-bottom: 5rem;
}

.footer-logo-desc p {
  color: var(--color-text-muted-light);
  margin-top: 1.5rem;
  font-size: 0.95rem;
  max-width: 320px;
}

.footer-links-col h4 {
  color: var(--color-brass);
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.footer-links-col ul {
  list-style: none;
}

.footer-links-col li {
  margin-bottom: 0.8rem;
}

.footer-links-col a {
  color: var(--color-text-muted-light);
  font-size: 0.9rem;
}

.footer-links-col a:hover {
  color: var(--color-ivory);
  padding-left: 5px;
}

.footer-newsletter h4 {
  color: var(--color-brass);
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.footer-newsletter p {
  color: var(--color-text-muted-light);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.newsletter-form {
  display: flex;
}

.newsletter-input {
  flex-grow: 1;
  padding: 0.8rem 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(212, 175, 55, 0.3);
  color: var(--color-ivory);
  font-family: var(--font-body);
  font-size: 0.9rem;
  outline: none;
}

.newsletter-input:focus {
  border-color: var(--color-brass);
}

.newsletter-btn {
  background-color: var(--color-brass);
  color: var(--color-chocolate);
  border: none;
  padding: 0.8rem 1.5rem;
  cursor: pointer;
  font-weight: 600;
  transition: var(--transition-fast);
}

.newsletter-btn:hover {
  background-color: var(--color-brass-light);
}

.footer-bottom {
  max-width: 1400px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--color-text-muted-light);
  font-size: 0.85rem;
}

.footer-bottom-links {
  display: flex;
  gap: 2rem;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }
  .hero-description {
    margin: 0 auto 3rem auto;
  }
  .hero-buttons {
    justify-content: center;
  }
  .hero-showcase {
    max-width: 600px;
    margin: 0 auto;
  }
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .marquetry-showcase-section {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
  .about-intro-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
  .contact-container {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
  .footer-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  section {
    padding: 5rem 1.5rem;
  }
  .header-container {
    padding: 1rem 1.5rem;
  }
  .nav-toggle {
    display: block;
  }
  nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--color-chocolate);
    border-bottom: 1px solid var(--color-brass);
    display: none;
    padding: 2rem;
  }
  nav.active {
    display: block;
  }
  nav ul {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }
  .feature-grid {
    grid-template-columns: 1fr;
  }
  .tradition-timeline::before {
    left: 20px;
  }
  .timeline-item {
    width: 100%;
    padding-left: 45px;
    padding-right: 0;
    text-align: left !important;
  }
  .timeline-item:nth-child(even) {
    left: 0;
  }
  .timeline-item::after {
    left: 14px !important;
  }
  .footer-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }
  .footer-bottom-links {
    flex-direction: column;
    gap: 1rem;
  }
  .cookie-consent {
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    padding: 1.5rem;
  }
}
