/* ============================================
   THE SONIC VOID - Dark Cinema Aesthetic
   Soundproofing & Home Cinema Comfort
   ============================================ */

:root {
  /* Color Palette - The Sonic Void */
  --color-midnight: #050505;
  --color-theater-red: #660000;
  --color-anthracite: #2C2C2E;
  --color-neon-amber: #FFB300;
  --color-soft-gray: #1a1a1a;
  --color-text-primary: #e8e8e8;
  --color-text-secondary: #b0b0b0;
  --color-accent-soft: rgba(255, 179, 0, 0.1);
  
  /* Typography */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Space Grotesk', 'Inter', sans-serif;
  
  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 4rem;
  --space-3xl: 6rem;
  
  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  
  /* Shadows */
  --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 20px rgba(255, 179, 0, 0.2);
  --shadow-deep: 0 8px 40px rgba(0, 0, 0, 0.8);
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;
  
  /* Layout */
  --max-width: 1400px;
  --header-height: 80px;
}

/* ============================================
   RESET & BASE STYLES
   ============================================ */

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

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

body {
  font-family: var(--font-primary);
  background-color: var(--color-midnight);
  color: var(--color-text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */

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

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

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-secondary);
}

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

a:hover {
  color: #ffc933;
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */

.header-container {
  position: relative;
  width: 100%;
  background: linear-gradient(180deg, rgba(5, 5, 5, 0.95) 0%, rgba(5, 5, 5, 0.8) 100%);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(44, 44, 46, 0.3);
  z-index: 1000;
}

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

.header-wrapper nav {
  flex: 1;
  display: flex;
  justify-content: flex-end;
}

.brand-text {
  font-family: var(--font-display);
  font-size: clamp(1rem, 2vw, 1.35rem);
  font-weight: 600;
  color: var(--color-text-primary);
}

.nav-menu {
  display: flex;
  gap: 15px;
  list-style: none;
  align-items: center;
}

.nav-link {
  color: var(--color-text-secondary);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color var(--transition-fast);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-neon-amber);
  transition: width var(--transition-base);
}

.nav-link:hover {
  color: var(--color-text-primary);
}

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

/* Burger Menu Button - Always at end of header */
.burger-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: var(--space-sm);
  color: var(--color-text-primary);
  font-size: 1.5rem;
  z-index: 10002;
  margin-left: var(--space-md);
  position: relative;
}

.burger-icon {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text-primary);
  position: relative;
  transition: background var(--transition-fast);
}

.burger-icon::before,
.burger-icon::after {
  content: '';
  position: absolute;
  width: 24px;
  height: 2px;
  background: var(--color-text-primary);
  transition: all var(--transition-base);
}

.burger-icon::before {
  top: -8px;
}

.burger-icon::after {
  bottom: -8px;
}

.burger-toggle.active .burger-icon {
  background: transparent;
}

.burger-toggle.active .burger-icon::before {
  top: 0;
  transform: rotate(45deg);
}

.burger-toggle.active .burger-icon::after {
  bottom: 0;
  transform: rotate(-45deg);
}

/* Mobile Navigation - Sidebar that slides in from left */
.mobile-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 280px;
  max-width: 85vw;
  height: 100vh;
  background: linear-gradient(180deg, rgba(5, 5, 5, 0.98) 0%, rgba(5, 5, 5, 0.95) 100%);
  backdrop-filter: blur(20px);
  z-index: 10001;
  padding: var(--space-2xl) var(--space-lg);
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 0;
  transform: translateX(-100%);
  transition: transform var(--transition-base);
  pointer-events: none;
  box-shadow: 4px 0 20px rgba(0, 0, 0, 0.5);
  border-right: 1px solid rgba(44, 44, 46, 0.3);
  overflow-y: auto;
  padding-top: calc(var(--header-height) + var(--space-lg));
}

.mobile-nav.active {
  transform: translateX(0);
  pointer-events: all;
}

/* Overlay when mobile menu is open */
.mobile-nav-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.7);
  z-index: 10000;
  opacity: 0;
  transition: opacity var(--transition-base);
  pointer-events: none;
}

.mobile-nav-overlay.active {
  display: block;
  opacity: 1;
  pointer-events: all;
}

.mobile-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  width: 100%;
  padding: 0;
  margin: 0;
}

.mobile-nav-list li {
  width: 100%;
  border-bottom: 1px solid rgba(44, 44, 46, 0.2);
}

.mobile-nav-list li:last-child {
  border-bottom: none;
}

.mobile-nav-link {
  display: block;
  font-size: 1.1rem;
  color: var(--color-text-primary);
  font-weight: 500;
  transition: all var(--transition-fast);
  padding: var(--space-md) 0;
  width: 100%;
  position: relative;
}

.mobile-nav-link::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 3px;
  height: 100%;
  background: var(--color-neon-amber);
  transform: scaleY(0);
  transition: transform var(--transition-fast);
}

.mobile-nav-link:hover {
  color: var(--color-neon-amber);
  padding-left: var(--space-md);
}

.mobile-nav-link:hover::before {
  transform: scaleY(1);
}

/* ============================================
   HERO BANNERS (Full-Width)
   ============================================ */

.hero-section {
  position: relative;
  width: 100vw;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 0.4;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(5, 5, 5, 0.7) 0%, rgba(5, 5, 5, 0.9) 100%);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: var(--max-width);
  width: 100%;
  padding: var(--space-2xl) var(--space-lg);
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 700;
  margin-bottom: var(--space-md);
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
}

.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.5rem);
  color: var(--color-text-secondary);
  max-width: 800px;
  margin: 0 auto;
}

.hero-image {
  width: 100%;
  max-width: 600px;
  height: auto;
  border-radius: var(--radius-lg);
  margin-top: var(--space-lg);
  box-shadow: var(--shadow-deep);
  object-fit: cover;
}

/* ============================================
   SOUND WAVE VISUALIZER
   ============================================ */

.sound-wave-container {
  position: relative;
  width: 100%;
  height: 120px;
  margin: var(--space-xl) 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.sound-wave {
  width: 100%;
  height: 100%;
  opacity: 0.3;
}

.sound-wave path {
  fill: none;
  stroke: var(--color-neon-amber);
  stroke-width: 2;
  opacity: 0.6;
}

/* ============================================
   INTERACTIVE SOUND SIMULATION
   ============================================ */

.sound-demo-section {
  padding: var(--space-3xl) var(--space-lg);
  background: var(--color-soft-gray);
  position: relative;
  overflow: hidden;
}

.sound-demo-wrapper {
  max-width: var(--max-width);
  margin: 0 auto;
  text-align: center;
}

.sound-demo-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: var(--space-lg);
  color: var(--color-text-primary);
}

.sound-demo-question {
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  color: var(--color-neon-amber);
  margin-bottom: var(--space-xl);
  font-style: italic;
}

.sound-controls {
  display: flex;
  gap: var(--space-lg);
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: var(--space-xl);
}

.sound-btn {
  padding: var(--space-md) var(--space-xl);
  background: var(--color-anthracite);
  border: 2px solid var(--color-neon-amber);
  color: var(--color-text-primary);
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-base);
  font-family: var(--font-display);
  margin-top: 10px;
}

.sound-btn:hover {
  background: var(--color-neon-amber);
  color: var(--color-midnight);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.sound-btn.active {
  background: var(--color-neon-amber);
  color: var(--color-midnight);
}

.sound-visualizer {
  width: 100%;
  max-width: 800px;
  height: 200px;
  margin: var(--space-xl) auto;
  background: var(--color-midnight);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
  border: 1px solid var(--color-anthracite);
}

/* ============================================
   MAIN CONTENT AREA
   ============================================ */

.main-content {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--space-2xl) var(--space-lg);
}

.content-section {
  margin-bottom: var(--space-3xl);
  padding: var(--space-xl) 0;
  text-align: center;
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: var(--space-lg);
  text-align: center;
  position: relative;
  padding-bottom: var(--space-md);
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--color-neon-amber);
}

.section-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-lg);
  margin-top: var(--space-xl);
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 var(--space-md);
}

.content-card {
  background: var(--color-anthracite);
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  border: 1px solid rgba(44, 44, 46, 0.5);
  display: flex;
  flex-direction: column;
  text-align: center;
}

.content-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-deep);
  border-color: var(--color-neon-amber);
}

.card-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: var(--radius-md);
  margin-bottom: var(--space-md);
}

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

.card-text {
  color: var(--color-text-secondary);
  line-height: 1.7;
}

/* ============================================
   PRODUCTS PAGE
   ============================================ */

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

.product-card {
  background: var(--color-anthracite);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  border: 1px solid rgba(44, 44, 46, 0.5);
}

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

.product-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.product-info {
  padding: var(--space-lg);
}

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

.product-description {
  color: var(--color-text-secondary);
  margin-bottom: var(--space-md);
  line-height: 1.6;
}

.product-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-neon-amber);
  font-family: var(--font-display);
}

/* ============================================
   CONTACT PAGE
   ============================================ */

.contact-section {
  padding: var(--space-3xl) var(--space-lg);
}

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

.contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
}

.contact-icon {
  font-size: 1.5rem;
  color: var(--color-neon-amber);
  flex-shrink: 0;
}

.contact-details h3 {
  font-size: 1.25rem;
  margin-bottom: var(--space-xs);
}

.contact-details p {
  color: var(--color-text-secondary);
  margin: 0;
}

.contact-form-wrapper {
  background: var(--color-anthracite);
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

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

.form-label {
  display: block;
  margin-bottom: var(--space-sm);
  color: var(--color-text-primary);
  font-weight: 500;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: var(--space-md);
  background: var(--color-midnight);
  border: 1px solid var(--color-anthracite);
  border-radius: var(--radius-md);
  color: var(--color-text-primary);
  font-family: var(--font-primary);
  font-size: 1rem;
  transition: border-color var(--transition-fast);
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--color-neon-amber);
}

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

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

.checkbox-input {
  margin-top: 4px;
  flex-shrink: 0;
}

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

.submit-btn {
  width: 100%;
  padding: var(--space-md) var(--space-xl);
  background: var(--color-neon-amber);
  color: var(--color-midnight);
  border: none;
  border-radius: var(--radius-md);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-base);
  font-family: var(--font-display);
}

.submit-btn:hover {
  background: #ffc933;
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

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

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

/* ============================================
   FOOTER
   ============================================ */

.footer-container {
  background: var(--color-soft-gray);
  border-top: 1px solid rgba(44, 44, 46, 0.3);
  padding: var(--space-xl) var(--space-lg);
  margin-top: var(--space-3xl);
}

.footer-wrapper {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  align-items: center;
  text-align: center;
}

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

.footer-link {
  color: var(--color-text-secondary);
  font-size: 0.9rem;
  transition: color var(--transition-fast);
}

.footer-link:hover {
  color: var(--color-neon-amber);
}

.footer-copyright {
  color: var(--color-text-secondary);
  font-size: 0.85rem;
  margin: 0;
}

/* ============================================
   UTILITY CLASSES
   ============================================ */

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

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

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

.date {
  color: var(--color-text-secondary);
  font-size: 0.9rem;
  font-style: italic;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 1023px) {
  .nav-menu {
    display: none;
  }
  
  .burger-toggle {
    display: block;
  }
  
  .header-wrapper {
    justify-content: space-between;
  }
  
  .header-wrapper nav {
    display: none;
  }
  
  .mobile-nav {
    display: flex;
  }
}

@media (max-width: 768px) {
  :root {
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
  }
  
  .hero-section {
    min-height: 60vh;
  }
  
  .section-content {
    grid-template-columns: 1fr;
  }
  
  .contact-wrapper {
    grid-template-columns: 1fr;
  }
  
  .sound-controls {
    flex-direction: column;
  }
  
  .sound-btn {
    width: 100%;
  }
  
  .footer-nav {
    flex-direction: column;
    gap: var(--space-md);
  }
}

@media (max-width: 480px) {
  .header-wrapper {
    padding: var(--space-sm) var(--space-md);
  }
  
  .main-content {
    padding: var(--space-lg) var(--space-md);
  }
  
  .hero-content {
    padding: var(--space-lg) var(--space-md);
  }
  
  .content-card,
  .contact-form-wrapper {
    padding: var(--space-md);
  }
}

@media (max-width: 320px) {
  html {
    font-size: 14px;
  }
  
  .hero-section {
    min-height: 50vh;
  }
}

/* ============================================
   PRIVACY POPUP
   ============================================ */

.privacy-popup {
  display: none;
  position: fixed;
  bottom: var(--space-lg);
  left: 50%;
  transform: translateX(-50%);
  max-width: 600px;
  width: calc(100% - var(--space-lg) * 2);
  background: var(--color-anthracite);
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-deep);
  z-index: 2000;
  border: 1px solid var(--color-neon-amber);
}

.privacy-popup.active {
  display: block;
}

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

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

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

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

.privacy-btn {
  flex: 1;
  min-width: 120px;
  padding: var(--space-sm) var(--space-md);
  border: none;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
  font-family: var(--font-display);
}

.privacy-btn-accept {
  background: var(--color-neon-amber);
  color: var(--color-midnight);
}

.privacy-btn-accept:hover {
  background: #ffc933;
}

.privacy-btn-decline {
  background: transparent;
  color: var(--color-text-secondary);
  border: 1px solid var(--color-anthracite);
}

.privacy-btn-decline:hover {
  color: var(--color-text-primary);
  border-color: var(--color-text-secondary);
}

/* ============================================
   THANK YOU PAGE
   ============================================ */

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

.thank-you-content {
  max-width: 600px;
}

.thank-you-title {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: var(--space-lg);
  color: var(--color-neon-amber);
}

.thank-you-message {
  font-size: 1.25rem;
  color: var(--color-text-secondary);
  line-height: 1.8;
  margin-bottom: var(--space-xl);
}

/* ============================================
   404 PAGE
   ============================================ */

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

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

.error-code {
  font-size: clamp(4rem, 10vw, 8rem);
  font-weight: 700;
  color: var(--color-neon-amber);
  margin-bottom: var(--space-md);
  font-family: var(--font-display);
}

.error-title {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  margin-bottom: var(--space-md);
}

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

