/* ============================================
   CSS Variables & Base Styles
   ============================================ */

:root {
  /* Colors */
  --color-mist-silver: #DDE8EA;
  --color-steel-blue: #93A7B3;
  --color-acoustic-slate: #344955;
  --color-sand-beige: #F2F1EC;
  --color-copper-accent: #B37C4A;
  --color-primary: #344955;
  --color-secondary: #F2F1EC;
  --color-text: #2c3e50;
  --color-text-light: #5a6c7d;
  --color-white: #ffffff;
  --color-black: #000000;
  
  /* Typography */
  --font-primary: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-accent: 'Cormorant Garamond', serif;
  
  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-xxl: 4rem;
  
  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  
  /* Shadows */
  --shadow-sm: 0 2px 4px rgba(52, 73, 85, 0.1);
  --shadow-md: 0 4px 12px rgba(52, 73, 85, 0.15);
  --shadow-lg: 0 8px 24px rgba(52, 73, 85, 0.2);
  --shadow-acoustic: 0 4px 16px rgba(179, 124, 74, 0.2);
  
  /* Transitions */
  --transition-fast: 0.3s ease;
  --transition-medium: 0.5s ease;
  --transition-slow: 0.8s ease;
  
  /* Layout */
  --max-width: 1200px;
  --header-height: 80px;
}

/* ============================================
   Reset & Base Typography
   ============================================ */

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

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

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-mist-silver);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-primary);
  font-weight: 600;
  line-height: 1.2;
  color: var(--color-acoustic-slate);
  margin-bottom: var(--space-md);
}

h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
}

h2 {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
}

h3 {
  font-size: clamp(1.25rem, 3vw, 1.75rem);
}

p {
  margin-bottom: var(--space-md);
  color: var(--color-text-light);
}

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

a:hover {
  color: var(--color-acoustic-slate);
}

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

/* ============================================
   Header & Navigation
   ============================================ */

.header-wrapper {
  background: var(--color-white);
  box-shadow: var(--shadow-sm);
  position: relative;
  z-index: 1000;
  transition: transform var(--transition-medium);
}

.header-wrapper.hidden {
  transform: translateY(-100%);
}

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

.brand-text {
  font-family: var(--font-primary);
  font-size: clamp(1.65rem, 3vw, 1.75rem);
  font-weight: 600;
  color: var(--color-acoustic-slate);
  letter-spacing: -0.5px;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-sm);
  z-index: 1001;
}

.nav-toggle-icon {
  width: 28px;
  height: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
}

.nav-toggle-icon span {
  width: 100%;
  height: 3px;
  background: var(--color-acoustic-slate);
  border-radius: 2px;
  transition: all var(--transition-fast);
}

.nav-toggle.active .nav-toggle-icon span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

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

.nav-toggle.active .nav-toggle-icon span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: var(--space-lg);
  align-items: center;
}

.nav-menu-item {
  position: relative;
}

.nav-menu-link {
  font-family: var(--font-primary);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-acoustic-slate);
  padding: var(--space-sm) var(--space-md);
  transition: color var(--transition-fast);
  position: relative;
}

.nav-menu-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--color-copper-accent);
  transition: all var(--transition-fast);
  transform: translateX(-50%);
}

.nav-menu-link:hover::after {
  width: 80%;
}

.nav-menu-link:hover {
  color: var(--color-copper-accent);
}

/* ============================================
   Main Content
   ============================================ */

.main-content {
  min-height: calc(100vh - 200px);
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--space-lg);
}

.section {
  padding: var(--space-xxl) 0;
}

.section-title {
  text-align: center;
  margin-bottom: var(--space-xl);
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: var(--color-copper-accent);
  margin: var(--space-md) auto;
  border-radius: 2px;
}

/* ============================================
   Hero Section
   ============================================ */

.hero-section {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-mist-silver) 0%, var(--color-steel-blue) 100%);
  overflow: hidden;
  padding: var(--space-xxl) var(--space-lg);
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
  filter: blur(2px);
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
  color: var(--color-white);
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4rem);
  margin-bottom: var(--space-lg);
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
  color: var(--color-white);
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  margin-bottom: var(--space-xl);
  color: var(--color-sand-beige);
  font-weight: 300;
}

.hero-cta {
  display: inline-block;
  padding: var(--space-md) var(--space-xl);
  background: var(--color-copper-accent);
  color: var(--color-white);
  border-radius: var(--radius-md);
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 1.1rem;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-acoustic);
  border: none;
  cursor: pointer;
}

.hero-cta:hover {
  background: var(--color-acoustic-slate);
    color: white;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* ============================================
   Feature Cards
   ============================================ */

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-lg);
  margin-top: var(--space-xl);
}

.feature-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-fast);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--color-copper-accent), var(--color-steel-blue));
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.feature-icon {
  width: 60px;
  height: 60px;
  background: var(--color-mist-silver);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-md);
  color: var(--color-copper-accent);
  font-size: 1.5rem;
}

.feature-title {
  font-size: 1.25rem;
  margin-bottom: var(--space-sm);
}

.feature-description {
  font-size: 0.95rem;
  color: var(--color-text-light);
}

/* ============================================
   Image Gallery
   ============================================ */

.image-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-lg);
  margin: var(--space-xl) 0;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-fast);
  aspect-ratio: 4/3;
}

.gallery-item:hover {
  transform: scale(1.03);
  box-shadow: var(--shadow-lg);
}

.gallery-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ============================================
   Product Cards
   ============================================ */

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-xl);
  margin: var(--space-xl) 0;
}

.product-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-fast);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.product-image-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--color-mist-silver);
}

.product-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-medium);
}

.product-card:hover .product-image {
  transform: scale(1.1);
}

.product-content {
  padding: var(--space-lg);
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.product-title {
  font-size: 1.5rem;
  margin-bottom: var(--space-sm);
  color: var(--color-acoustic-slate);
}

.product-description {
  flex-grow: 1;
  margin-bottom: var(--space-md);
  color: var(--color-text-light);
}

.product-price {
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--color-copper-accent);
  margin-bottom: var(--space-md);
}

.product-button {
  padding: var(--space-md);
  background: var(--color-acoustic-slate);
  color: var(--color-white);
  border: none;
  border-radius: var(--radius-md);
  font-family: var(--font-primary);
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.product-button:hover {
  background: var(--color-copper-accent);
  transform: translateY(-2px);
}

/* ============================================
   Contact Form
   ============================================ */

.contact-section {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-md);
  margin: var(--space-xl) 0;
}

.form-group {
  margin-bottom: var(--space-lg);
}

.form-label {
  display: block;
  font-family: var(--font-primary);
  font-weight: 500;
  color: var(--color-acoustic-slate);
  margin-bottom: var(--space-sm);
  font-size: 0.95rem;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: var(--space-md);
  border: 2px solid var(--color-mist-silver);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: all var(--transition-fast);
  background: var(--color-white);
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--color-copper-accent);
  box-shadow: 0 0 0 3px rgba(179, 124, 74, 0.1);
}

.form-textarea {
  min-height: 150px;
  resize: vertical;
}

.form-checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
}

.form-checkbox {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  cursor: pointer;
  accent-color: var(--color-copper-accent);
}

.form-checkbox-label {
  font-size: 0.9rem;
  color: var(--color-text-light);
  line-height: 1.5;
}

.form-submit {
  width: 100%;
  padding: var(--space-md) var(--space-xl);
  background: var(--color-copper-accent);
  color: var(--color-white);
  border: none;
  border-radius: var(--radius-md);
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-acoustic);
}

.form-submit:hover {
  background: var(--color-acoustic-slate);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* ============================================
   Google Maps
   ============================================ */

.map-container {
  width: 100%;
  height: 400px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin: var(--space-xl) 0;
}

.map-iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ============================================
   Footer
   ============================================ */

.footer-wrapper {
  background: var(--color-acoustic-slate);
  color: var(--color-white);
  padding: var(--space-xl) 0 var(--space-lg);
  margin-top: var(--space-xxl);
}

.footer-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.footer-menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-lg);
  list-style: none;
  margin-bottom: var(--space-lg);
}

.footer-menu-link {
  color: var(--color-sand-beige);
  font-size: 0.9rem;
  transition: color var(--transition-fast);
}

.footer-menu-link:hover {
  color: var(--color-white);
}

.footer-copyright {
  text-align: center;
  font-size: 0.85rem;
  color: var(--color-steel-blue);
  padding-top: var(--space-md);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* ============================================
   Privacy Popup
   ============================================ */

.privacy-popup {
  position: fixed;
  bottom: var(--space-lg);
  left: var(--space-lg);
  right: var(--space-lg);
  max-width: 500px;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-lg);
  z-index: 10000;
  transform: translateY(150%);
  transition: transform var(--transition-medium);
}

.privacy-popup.active {
  transform: translateY(0);
}

.privacy-popup-content {
  margin-bottom: var(--space-md);
}

.privacy-popup-title {
  font-size: 1.25rem;
  margin-bottom: var(--space-sm);
  color: var(--color-acoustic-slate);
}

.privacy-popup-text {
  font-size: 0.9rem;
  color: var(--color-text-light);
  margin-bottom: var(--space-md);
}

.privacy-popup-buttons {
  display: flex;
  gap: var(--space-md);
}

.privacy-popup-button {
  flex: 1;
  padding: var(--space-sm) var(--space-md);
  border: none;
  border-radius: var(--radius-md);
  font-family: var(--font-primary);
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.privacy-popup-accept {
  background: var(--color-copper-accent);
  color: var(--color-white);
}

.privacy-popup-accept:hover {
  background: var(--color-acoustic-slate);
}

.privacy-popup-decline {
  background: var(--color-mist-silver);
  color: var(--color-acoustic-slate);
}

.privacy-popup-decline:hover {
  background: var(--color-steel-blue);
  color: var(--color-white);
}

/* ============================================
   Thank You Page
   ============================================ */

.thank-you-section {
  text-align: center;
  padding: var(--space-xxl) var(--space-lg);
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.thank-you-content {
  max-width: 600px;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-xxl);
  box-shadow: var(--shadow-md);
}

.thank-you-icon {
  font-size: 4rem;
  color: var(--color-copper-accent);
  margin-bottom: var(--space-lg);
}

.thank-you-title {
  font-size: 2rem;
  margin-bottom: var(--space-md);
  color: var(--color-acoustic-slate);
}

.thank-you-message {
  font-size: 1.1rem;
  color: var(--color-text-light);
  margin-bottom: var(--space-xl);
}

/* ============================================
   404 Page
   ============================================ */

.error-section {
  text-align: center;
  padding: var(--space-xxl) var(--space-lg);
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.error-content {
  max-width: 600px;
}

.error-code {
  font-size: 6rem;
  font-weight: 700;
  color: var(--color-copper-accent);
  margin-bottom: var(--space-md);
  line-height: 1;
}

.error-title {
  font-size: 2rem;
  margin-bottom: var(--space-md);
  color: var(--color-acoustic-slate);
}

.error-message {
  font-size: 1.1rem;
  color: var(--color-text-light);
  margin-bottom: var(--space-xl);
}

/* ============================================
   Content Sections
   ============================================ */

.content-section {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  margin-bottom: var(--space-xl);
  box-shadow: var(--shadow-sm);
}

.content-section-title {
  font-size: 1.75rem;
  margin-bottom: var(--space-md);
  color: var(--color-acoustic-slate);
}

.content-section-text {
  color: var(--color-text-light);
  line-height: 1.8;
}

/* ============================================
   Chart & Visual Elements
   ============================================ */

.chart-container {
  background: var(--color-sand-beige);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  margin: var(--space-lg) 0;
}

.chart-title {
  font-size: 1.25rem;
  margin-bottom: var(--space-md);
  text-align: center;
  color: var(--color-acoustic-slate);
}

.chart-visual {
  width: 100%;
  height: 200px;
  background: linear-gradient(90deg, var(--color-steel-blue) 0%, var(--color-mist-silver) 100%);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  font-size: 1.5rem;
  font-weight: 600;
}

/* ============================================
   Style Cards
   ============================================ */

.style-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-lg);
  margin: var(--space-xl) 0;
}

.style-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-fast);
}

.style-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.style-card-image {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
}

.style-card-content {
  padding: var(--space-lg);
}

.style-card-title {
  font-size: 1.5rem;
  margin-bottom: var(--space-sm);
  color: var(--color-acoustic-slate);
}

.style-card-details {
  margin: var(--space-md) 0;
  padding: var(--space-md);
  background: var(--color-mist-silver);
  border-radius: var(--radius-md);
}

.style-card-detail-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: var(--space-sm);
  font-size: 0.9rem;
}

.style-card-detail-label {
  color: var(--color-text-light);
  font-weight: 500;
}

.style-card-detail-value {
  color: var(--color-acoustic-slate);
  font-weight: 600;
}

/* ============================================
   Installation Steps
   ============================================ */

.installation-steps {
  display: grid;
  gap: var(--space-lg);
  margin: var(--space-xl) 0;
}

.installation-step {
  display: flex;
  gap: var(--space-lg);
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.installation-step:hover {
  box-shadow: var(--shadow-md);
  transform: translateX(5px);
}

.step-number {
  width: 60px;
  height: 60px;
  background: var(--color-copper-accent);
  color: var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  flex-shrink: 0;
}

.step-content {
  flex-grow: 1;
}

.step-title {
  font-size: 1.25rem;
  margin-bottom: var(--space-sm);
  color: var(--color-acoustic-slate);
}

.step-description {
  color: var(--color-text-light);
}

.step-image {
  width: 200px;
  height: 150px;
  object-fit: cover;
  border-radius: var(--radius-md);
  flex-shrink: 0;
}

/* ============================================
   Responsive Design
   ============================================ */

@media (max-width: 768px) {
  :root {
    --header-height: 70px;
  }
  
  .nav-toggle {
    display: block;
  }
  
  .nav-menu {
    position: fixed;
    top: 50px;
    left: 0;
    right: 0;
    background: var(--color-white);
    flex-direction: column;
    padding: var(--space-lg);
    box-shadow: var(--shadow-lg);
    transform: translateX(-100%);
    transition: transform var(--transition-medium);
    z-index: 999;
    gap: var(--space-md);
  }
  
  .nav-menu.active {
    transform: translateX(0);
  }
  
  .hero-section {
    min-height: 50vh;
  }
  
  .features-grid,
  .products-grid,
  .style-cards-grid {
    grid-template-columns: 1fr;
  }
  
  .installation-step {
    flex-direction: column;
  }
  
  .step-image {
    width: 100%;
    height: 200px;
  }
  
  .privacy-popup {
    left: var(--space-md);
    right: var(--space-md);
    bottom: var(--space-md);
  }
  
  .footer-menu {
    flex-direction: column;
    align-items: center;
    gap: var(--space-md);
  }
  
  .contact-section {
    margin-bottom: var(--space-lg);
  }
  
  .map-container {
    margin-top: var(--space-lg);
  }
  
  section > .container > div[style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 480px) {
  html {
    font-size: 14px;
  }
  
  .container {
    padding: var(--space-md);
  }
  
  .section {
    padding: var(--space-xl) 0;
  }
  
  .hero-section {
    min-height: 40vh;
    padding: var(--space-lg) var(--space-md);
  }
  
  .contact-section {
    padding: var(--space-lg);
  }
  
  .image-gallery {
    grid-template-columns: 1fr;
  }
  
  .map-container {
    height: 300px;
  }
}

@media (max-width: 320px) {
  html {
    font-size: 13px;
  }
  
  .header-container {
    padding: var(--space-sm) var(--space-md);
  }
  
  .container {
    padding: var(--space-sm);
  }
  
  .section {
    padding: var(--space-lg) 0;
  }
}

/* ============================================
   Utility Classes
   ============================================ */

.text-center {
  text-align: center;
}

.mt-sm {
  margin-top: var(--space-sm);
}

.mt-md {
  margin-top: var(--space-md);
}

.mt-lg {
  margin-top: var(--space-lg);
}

.mb-sm {
  margin-bottom: var(--space-sm);
}

.mb-md {
  margin-bottom: var(--space-md);
}

.mb-lg {
  margin-bottom: var(--space-lg);
}

