/* ============================================
   BIO-MORPHIA & TACTILE FUTURISM DESIGN SYSTEM
   ============================================ */

:root {
  /* Color Palette - Iridescent & Void */
  --color-iridescent: #F0F0F0;
  --color-void: #1A0033;
  --color-magenta: #FF00FF;
  --color-teal: #008080;
  --color-white: #FFFFFF;
  --color-black: #000000;
  
  /* Spacing System */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-xxl: 4rem;
  
  /* Typography */
  --font-brutal: 'Space Grotesk', sans-serif;
  --font-thin: 'Inter', sans-serif;
  --font-size-base: 1rem;
  --font-size-sm: 0.875rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.5rem;
  --font-size-xxl: 2rem;
  --font-size-hero: 3.5rem;
  
  /* Borders & Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  
  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(26, 0, 51, 0.1);
  --shadow-md: 0 4px 16px rgba(26, 0, 51, 0.15);
  --shadow-lg: 0 8px 32px rgba(26, 0, 51, 0.2);
  --shadow-glow: 0 0 20px rgba(255, 0, 255, 0.3);
  
  /* 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;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-thin);
  font-size: var(--font-size-base);
  line-height: 1.6;
  color: var(--color-void);
  background: var(--color-iridescent);
  overflow-x: hidden;
  position: relative;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(240, 240, 240, 0.95) 0%,
    rgba(255, 0, 255, 0.02) 50%,
    rgba(0, 128, 128, 0.02) 100%
  );
  pointer-events: none;
  z-index: -1;
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-brutal);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--space-md);
  color: var(--color-void);
}

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

h2 {
  font-size: clamp(1.75rem, 4vw, var(--font-size-xxl));
}

h3 {
  font-size: clamp(1.5rem, 3vw, var(--font-size-xl));
}

p {
  margin-bottom: var(--space-md);
  font-weight: 300;
  letter-spacing: 0.02em;
}

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

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

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

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

/* ============================================
   HEADER
   ============================================ */

.site-header {
  position: relative;
  width: 100%;
  padding: var(--space-md) var(--space-lg);
  background: rgba(240, 240, 240, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(26, 0, 51, 0.1);
  z-index: 1000;
}

.header-container {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
}

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

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

.nav-link {
  font-size: var(--font-size-sm);
  font-weight: 400;
  color: var(--color-void);
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
  white-space: nowrap;
}

.nav-link:hover {
  background: rgba(255, 0, 255, 0.1);
  color: var(--color-magenta);
}

/* Burger Menu - Always in Header */
.burger-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-sm);
  z-index: 1000001;
  position: relative;
  margin-left: var(--space-md);
}

.burger-icon {
  width: 28px;
  height: 28px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
}

.burger-icon span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--color-void);
  border-radius: 2px;
  transition: all var(--transition-base);
}

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

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

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

/* Mobile Navigation */
@media (max-width: 1023px) {
  .burger-toggle {
    display: block;
  }
  
  .nav-menu {
    position: fixed;
    top: var(--header-height);
    right: -100%;
    width: 320px;
    max-width: 85vw;
    height: calc(100vh - var(--header-height));
    background: rgba(240, 240, 240, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding: var(--space-xl) var(--space-lg);
    gap: var(--space-md);
    box-shadow: -4px 0 24px rgba(26, 0, 51, 0.2);
    transition: right var(--transition-base);
    z-index: 999;
    overflow-y: auto;
    border-top: 1px solid rgba(26, 0, 51, 0.1);
  }
  
  .nav-menu.active {
    right: 0;
  }
  
  .nav-link {
    width: 100%;
    padding: var(--space-md);
    font-size: var(--font-size-base);
  }
}

/* ============================================
   FULL-WIDTH BANNERS
   ============================================ */

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

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

.banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(240, 240, 240, 0.92) 0%,
    rgba(240, 240, 240, 0.88) 50%,
    rgba(26, 0, 51, 0.25) 100%
  );
  z-index: 1;
}

.banner-content {
  position: relative;
  z-index: 2;
  max-width: var(--max-width);
  width: 100%;
  padding: var(--space-xl) var(--space-lg);
  text-align: center;
  color: var(--color-void);
}

.banner-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  margin-bottom: var(--space-lg);
  text-shadow: 2px 2px 8px rgba(240, 240, 240, 0.8);
}

.banner-subtitle {
  font-size: clamp(1.125rem, 2.5vw, 1.5rem);
  font-weight: 300;
  max-width: 800px;
  margin: 0 auto;
  text-shadow: 1px 1px 4px rgba(240, 240, 240, 0.6);
}

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

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

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

.content-section > * {
  text-align: left;
}

.content-section > .section-title,
.content-section > h1,
.content-section > h2 {
  text-align: center;
}

.section-title {
  text-align: center;
  margin-bottom: var(--space-xl);
  position: relative;
  padding-bottom: var(--space-md);
  max-width: 100%;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--color-magenta), transparent);
}

/* Grid Layouts */
.grid-container {
  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;
}

.grid-item {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  transition: all var(--transition-base);
  border: 1px solid rgba(26, 0, 51, 0.1);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.grid-item h3,
.grid-item p {
  text-align: center;
  width: 100%;
}

.grid-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-magenta);
}

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

/* ============================================
   CHROMA-SYNC INTERACTIVE
   ============================================ */

.chroma-sync-container {
  padding: var(--space-xxl) var(--space-lg);
  background: rgba(26, 0, 51, 0.05);
  border-radius: var(--radius-xl);
  margin: var(--space-xxl) 0;
}

.chroma-question {
  text-align: center;
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  margin-bottom: var(--space-xl);
  color: var(--color-void);
}

.chroma-controls {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  max-width: 600px;
  margin: 0 auto var(--space-xl);
}

.control-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.control-label {
  font-family: var(--font-brutal);
  font-size: var(--font-size-lg);
  color: var(--color-void);
  display: flex;
  justify-content: space-between;
}

.control-slider {
  width: 100%;
  height: 8px;
  border-radius: var(--radius-sm);
  background: rgba(26, 0, 51, 0.2);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

.control-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--color-magenta);
  cursor: pointer;
  box-shadow: var(--shadow-glow);
}

.control-slider::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--color-magenta);
  cursor: pointer;
  border: none;
  box-shadow: var(--shadow-glow);
}

.chroma-canvas-container {
  width: 100%;
  max-width: 600px;
  height: 400px;
  margin: 0 auto;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--color-iridescent);
  box-shadow: var(--shadow-lg);
  position: relative;
}

.chroma-canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.chroma-result {
  text-align: center;
  margin-top: var(--space-lg);
  font-size: var(--font-size-lg);
  color: var(--color-void);
}

/* ============================================
   FORMS
   ============================================ */

.contact-form {
  max-width: 600px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(10px);
  padding: var(--space-xl);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
}

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

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

.form-input,
.form-textarea {
  width: 100%;
  padding: var(--space-md);
  border: 1px solid rgba(26, 0, 51, 0.2);
  border-radius: var(--radius-md);
  font-family: var(--font-thin);
  font-size: var(--font-size-base);
  background: rgba(255, 255, 255, 0.8);
  transition: all var(--transition-base);
}

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

.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 {
  font-size: var(--font-size-sm);
  line-height: 1.5;
}

.submit-button {
  width: 100%;
  padding: var(--space-md) var(--space-lg);
  background: linear-gradient(135deg, var(--color-magenta), var(--color-teal));
  color: var(--color-white);
  border: none;
  border-radius: var(--radius-md);
  font-family: var(--font-brutal);
  font-size: var(--font-size-lg);
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-base);
  box-shadow: var(--shadow-md);
  margin-top: 10px;
}

.submit-button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  color: black;
}

.submit-button:active {
  transform: translateY(0);
}

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

.product-card {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  text-align: center;
  transition: all var(--transition-base);
  border: 1px solid rgba(26, 0, 51, 0.1);
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-magenta);
}

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

.product-title {
  font-size: var(--font-size-xl);
  margin-bottom: var(--space-sm);
  color: var(--color-void);
}

.product-description {
  font-size: var(--font-size-sm);
  color: rgba(26, 0, 51, 0.7);
  margin-bottom: var(--space-md);
}

.product-price {
  font-family: var(--font-brutal);
  font-size: var(--font-size-lg);
  font-weight: 700;
  color: var(--color-magenta);
}

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

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

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

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

.site-footer {
  background: rgba(26, 0, 51, 0.95);
  color: var(--color-iridescent);
  padding: var(--space-xl) var(--space-lg);
  margin-top: var(--space-xxl);
}

.footer-container {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-lg);
}

.footer-section h3 {
  color: var(--color-iridescent);
  margin-bottom: var(--space-md);
  font-size: var(--font-size-lg);
}

.footer-menu {
  list-style: none;
}

.footer-link {
  color: rgba(240, 240, 240, 0.8);
  font-size: var(--font-size-sm);
  margin-bottom: var(--space-sm);
  display: block;
  transition: color var(--transition-fast);
}

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

.footer-info {
  font-size: var(--font-size-sm);
  color: rgba(240, 240, 240, 0.7);
  line-height: 1.8;
}

.footer-copyright {
  text-align: center;
  padding-top: var(--space-lg);
  margin-top: var(--space-lg);
  border-top: 1px solid rgba(240, 240, 240, 0.2);
  font-size: var(--font-size-sm);
  color: rgba(240, 240, 240, 0.6);
}

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

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

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

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

.date {
  font-size: var(--font-size-sm);
  color: rgba(26, 0, 51, 0.6);
  font-style: italic;
}

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

@media (max-width: 768px) {
  :root {
    --space-xl: 2rem;
    --space-xxl: 3rem;
  }
  
  .main-content {
    padding: var(--space-lg) var(--space-md);
  }
  
  .content-section {
    padding: var(--space-lg) 0;
  }
  
  .grid-container {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }
  
  .hero-banner {
    min-height: 50vh;
  }
  
  .chroma-canvas-container {
    height: 300px;
  }
  
  .footer-container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  
  .contact-form {
    padding: var(--space-md);
  }
  
  .banner-content {
    padding: var(--space-md);
  }
}

/* ============================================
   ANIMATIONS & EFFECTS
   ============================================ */

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.float-animation {
  animation: float 3s ease-in-out infinite;
}

@keyframes glow {
  0%, 100% {
    box-shadow: 0 0 20px rgba(255, 0, 255, 0.3);
  }
  50% {
    box-shadow: 0 0 30px rgba(255, 0, 255, 0.5);
  }
}

.glow-effect {
  animation: glow 2s ease-in-out infinite;
}

/* Magnetic Cursor Effect */
.magnetic-element {
  transition: transform var(--transition-fast);
}

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

.privacy-popup {
  position: fixed;
  bottom: var(--space-lg);
  left: 50%;
  transform: translateX(-50%);
  max-width: 600px;
  width: calc(100% - var(--space-lg) * 2);
  background: rgba(26, 0, 51, 0.95);
  backdrop-filter: blur(20px);
  color: var(--color-iridescent);
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  z-index: 2000;
  display: none;
}

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

.privacy-popup-content {
  margin-bottom: var(--space-md);
  font-size: var(--font-size-sm);
  line-height: 1.6;
}

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

.privacy-button {
  padding: var(--space-sm) var(--space-md);
  border: none;
  border-radius: var(--radius-md);
  font-family: var(--font-thin);
  font-size: var(--font-size-sm);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.privacy-accept {
  background: var(--color-magenta);
  color: var(--color-white);
}

.privacy-accept:hover {
  background: var(--color-teal);
}

.privacy-decline {
  background: transparent;
  color: var(--color-iridescent);
  border: 1px solid rgba(240, 240, 240, 0.3);
}

.privacy-decline:hover {
  background: rgba(240, 240, 240, 0.1);
}

