/* ============================================
   SONIC MINIMALISM - Audio-Visual Sanctuary Design
   Dark Mode Technical Luxury Theme
   ============================================ */

:root {
  /* Color Palette */
  --color-primary: #020617;
  --color-secondary: #1E293B;
  --color-accent: #8B5CF6;
  --color-highlight: #F1F5F9;
  --color-text-primary: #F1F5F9;
  --color-text-secondary: #94A3B8;
  --color-border: rgba(139, 92, 246, 0.2);
  
  /* Typography */
  --font-primary: 'Space Grotesk', monospace;
  --font-heading: 'Syncopate', sans-serif;
  
  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 4rem;
  
  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  
  /* Shadows & Effects */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
  --glow-accent: 0 0 20px rgba(139, 92, 246, 0.3);
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;
}

/* ============================================
   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-primary);
  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-heading);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--space-md);
  color: var(--color-highlight);
}

h1 {
  font-size: clamp(2rem, 5vw, 4rem);
  letter-spacing: -0.02em;
}

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

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

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

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

a:hover {
  color: var(--color-highlight);
}

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

.site-header {
  position: relative;
  width: 100%;
  padding: var(--space-lg) var(--space-md);
  background: rgba(2, 6, 23, 0.8);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
  z-index: 1000;
}

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

.brand-text {
  font-family: var(--font-heading);
  font-size: clamp(1rem, 2vw, 1.35rem);
  font-weight: 700;
  color: var(--color-highlight);
  text-transform: uppercase;
}

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

.nav-menu li a {
  color: var(--color-text-secondary);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-sm);
  transition: all var(--transition-base);
}

.nav-menu li a:hover {
  color: var(--color-accent);
  background: rgba(139, 92, 246, 0.1);
}

.burger-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--color-border);
  color: var(--color-highlight);
  font-size: 1.5rem;
  padding: var(--space-sm) var(--space-md);
  cursor: pointer;
  border-radius: var(--radius-sm);
  transition: all var(--transition-base);
  z-index: 101;
  position: relative;
}

.burger-toggle:hover {
  background: rgba(139, 92, 246, 0.1);
  border-color: var(--color-accent);
}

.burger-toggle.active {
  background: var(--color-accent);
  border-color: var(--color-accent);
}

/* Mobile Navigation */
@media (max-width: 1023px) {
  .burger-toggle {
    display: block;
  }
  
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--color-secondary);
    flex-direction: column;
    align-items: flex-start;
    padding: var(--space-xl) var(--space-lg);
    gap: var(--space-md);
    transition: right var(--transition-base);
    z-index: 1000;
    border-left: 1px solid var(--color-border);
    box-shadow: var(--shadow-lg);
    margin: 0;
  }
  
  .nav-menu.active {
    right: 0;
  }
  
  .nav-menu li {
    width: 100%;
  }
  
  .nav-menu li a {
    display: block;
    width: 100%;
    padding: var(--space-md);
  }
  
  .nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 999;
  }
  
  .nav-overlay.active {
    display: block;
  }
}

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

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

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

.hero-banner {
  width: 100vw;
  position: relative;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--color-primary);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  width: 100%;
  padding: var(--space-xl) var(--space-md);
  text-align: center;
}

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

.hero-text {
  position: relative;
  z-index: 3;
  background: rgba(2, 6, 23, 0.75);
  backdrop-filter: blur(12px);
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  max-width: 900px;
  margin: 0 auto;
}

.hero-text h1 {
  margin-bottom: var(--space-lg);
  text-shadow: var(--glow-accent);
}

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

/* ============================================
   SECTIONS
   ============================================ */

.content-section {
  padding: var(--space-2xl) var(--space-md);
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
}

.content-section h2 {
  text-align: center;
  margin-bottom: var(--space-lg);
}

.content-section > p.text-center {
  text-align: center;
  max-width: 800px;
  margin: 0 auto var(--space-xl);
}

.section-grid {
  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;
}

.section-card {
  background: var(--color-secondary);
  padding: var(--space-lg);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  transition: all var(--transition-base);
  display: flex;
  flex-direction: column;
  text-align: center;
}

.section-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-accent);
}

.section-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-md);
  opacity: 0.9;
}

.section-title {
  color: var(--color-highlight);
  margin-bottom: var(--space-sm);
}

.section-description {
  color: var(--color-text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* Two Column Layout */
.two-column-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
  margin-top: var(--space-xl);
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.two-column-layout .column-image {
  width: 100%;
  height: 350px;
  object-fit: cover;
  border-radius: var(--radius-md);
  opacity: 0.9;
}

.two-column-layout .column-text {
  padding: var(--space-lg);
}

/* ============================================
   WAVEFORM GRAPHICS
   ============================================ */

.waveform-container {
  width: 100%;
  height: 120px;
  margin: var(--space-xl) 0;
  background: var(--color-secondary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-border);
  overflow: hidden;
}

.waveform-svg {
  width: 100%;
  height: 100%;
}

/* ============================================
   GRID SYSTEM (Blueprint Style)
   ============================================ */

.grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-lg);
  padding: var(--space-lg);
  background: var(--color-secondary);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  margin: var(--space-xl) auto;
  max-width: 1200px;
}

.grid-item {
  background: var(--color-primary);
  padding: var(--space-lg);
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
}

/* ============================================
   CONTACT FORM
   ============================================ */

.contact-container {
  max-width: 800px;
  margin: var(--space-xl) auto;
  padding: var(--space-xl);
  background: var(--color-secondary);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
}

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

.form-label {
  display: block;
  margin-bottom: var(--space-sm);
  color: var(--color-highlight);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

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

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

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

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

.checkbox-input {
  margin-top: 4px;
  width: 18px;
  height: 18px;
  cursor: pointer;
}

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

.btn-submit {
  width: 100%;
  padding: var(--space-md) var(--space-lg);
  background: var(--color-accent);
  color: var(--color-highlight);
  border: none;
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all var(--transition-base);
  margin-top: var(--space-md);
}

.btn-submit:hover {
  color: white;
  background: #7C3AED;
  box-shadow: var(--glow-accent);
  transform: translateY(-2px);
}

/* ============================================
   GOOGLE MAPS
   ============================================ */

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

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

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

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

.product-card {
  background: var(--color-secondary);
  padding: var(--space-lg);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  transition: all var(--transition-base);
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-accent);
}

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

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

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

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

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

.thank-you-container {
  max-width: 800px;
  margin: var(--space-2xl) auto;
  padding: var(--space-xl);
  text-align: center;
  background: var(--color-secondary);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
}

.thank-you-title {
  color: var(--color-accent);
  margin-bottom: var(--space-lg);
}

.thank-you-message {
  color: var(--color-text-secondary);
  font-size: 1.1rem;
  line-height: 1.8;
}

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

.error-container {
  max-width: 800px;
  margin: var(--space-2xl) auto;
  padding: var(--space-xl);
  text-align: center;
  background: var(--color-secondary);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
}

.error-code {
  font-size: clamp(4rem, 10vw, 8rem);
  color: var(--color-accent);
  font-family: var(--font-heading);
  margin-bottom: var(--space-md);
}

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

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

.site-footer {
  background: var(--color-secondary);
  border-top: 1px solid var(--color-border);
  padding: var(--space-xl) var(--space-md);
  margin-top: var(--space-2xl);
}

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

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

.footer-nav li a {
  color: var(--color-text-secondary);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: color var(--transition-fast);
}

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

.footer-info {
  text-align: center;
  color: var(--color-text-secondary);
  font-size: 0.85rem;
}

.footer-info p {
  margin-bottom: var(--space-xs);
}

/* ============================================
   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;
}

/* ============================================
   LISTS
   ============================================ */

ul, ol {
  margin-bottom: var(--space-md);
  padding-left: var(--space-lg);
  color: var(--color-text-secondary);
}

li {
  margin-bottom: var(--space-sm);
  line-height: 1.7;
}

ul li::marker {
  color: var(--color-accent);
}

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

.privacy-popup {
  display: none;
  position: fixed;
  bottom: var(--space-lg);
  left: var(--space-lg);
  right: var(--space-lg);
  max-width: 600px;
  margin: 0 auto;
  background: var(--color-secondary);
  padding: var(--space-lg);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-lg);
  z-index: 10000;
}

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

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

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

.privacy-accept,
.privacy-close {
  padding: var(--space-sm) var(--space-md);
  background: var(--color-accent);
  color: var(--color-highlight);
  border: none;
  border-radius: var(--radius-sm);
  font-family: var(--font-primary);
  font-size: 0.9rem;
  cursor: pointer;
  transition: all var(--transition-base);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.privacy-accept:hover,
.privacy-close:hover {
  background: #7C3AED;
  box-shadow: var(--glow-accent);
}

@media (max-width: 768px) {
  .privacy-popup {
    left: var(--space-md);
    right: var(--space-md);
    bottom: var(--space-md);
    padding: var(--space-md);
  }
  
  .privacy-popup-buttons {
    flex-direction: column;
  }
  
  .privacy-accept,
  .privacy-close {
    width: 100%;
  }
}

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

@media (max-width: 768px) {
  .two-column-layout {
    grid-template-columns: 1fr;
  }
  
  .two-column-layout .column-image {
    height: 300px;
  }
  
  .section-grid {
    grid-template-columns: 1fr;
  }
  
  .products-grid {
    grid-template-columns: 1fr;
  }
  
  .grid-container {
    grid-template-columns: repeat(6, 1fr);
  }
  
  .hero-banner {
    min-height: 50vh;
  }
  
  .contact-container {
    padding: var(--space-md);
  }
}

@media (max-width: 480px) {
  html {
    font-size: 14px;
  }
  
  .content-section {
    padding: var(--space-lg) var(--space-md);
  }
  
  .hero-content {
    padding: var(--space-md);
  }
  
  .hero-text {
    padding: var(--space-md);
  }
  
  .grid-container {
    grid-template-columns: repeat(1, 1fr);
    gap: var(--space-sm);
    padding: var(--space-md);
  }
  
  .footer-nav {
    flex-direction: column;
    gap: var(--space-md);
  }
}

@media (max-width: 320px) {
  html {
    font-size: 12px;
  }
  
  .header-container {
    flex-direction: column;
    gap: var(--space-md);
  }
  
  .brand-text {
    font-size: 1.25rem;
  }
}

