/* ============================================
   FUTURISTIC STORAGE SOLUTIONS - GLOBAL STYLES
   ============================================ */

:root {
  /* Color Palette - Hibernation Vault Theme */
  --color-sterile-pearl: #F5F5F7;
  --color-bioluminescent-teal: #00FFC2;
  --color-deep-space-charcoal: #121214;
  --color-copper-trace: #B87333;
  --color-accent-glow: rgba(0, 255, 194, 0.15);
  
  /* Typography */
  --font-modular: 'Exo 2', sans-serif;
  --font-technical: 'Titillium Web', sans-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 - Neumorphism */
  --shadow-soft-inset: inset 4px 4px 8px rgba(0, 0, 0, 0.1),
                        inset -4px -4px 8px rgba(255, 255, 255, 0.9);
  --shadow-soft-outset: 8px 8px 16px rgba(0, 0, 0, 0.1),
                        -8px -8px 16px rgba(255, 255, 255, 0.9);
  --shadow-glow: 0 0 20px var(--color-accent-glow);
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;
  
  /* Layout */
  --max-width-content: 1200px;
  --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-technical);
  background-color: var(--color-sterile-pearl);
  color: var(--color-deep-space-charcoal);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

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

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

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

p {
  margin-bottom: var(--space-md);
  font-size: clamp(1rem, 2vw, 1.125rem);
}

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

a:hover {
  color: var(--color-copper-trace);
}

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

.site-header {
  background: var(--color-sterile-pearl);
  padding: var(--space-md) var(--space-lg);
  position: relative;
  z-index: 1000;
  border-bottom: 1px solid rgba(18, 18, 20, 0.1);
}

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

.brand-text {
  font-family: var(--font-modular);
  font-size: clamp(1rem, 2vw, 1.5rem);
  font-weight: 700;
  color: var(--color-deep-space-charcoal);
  letter-spacing: 0.05em;
}

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

.nav-link {
  font-size: 1rem;
  color: var(--color-deep-space-charcoal);
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
  position: relative;
}

.nav-link:hover {
  background: var(--color-accent-glow);
  color: var(--color-bioluminescent-teal);
}

/* Burger Menu Button - Always Last in Header */
.burger-toggle {
  display: none;
  background: transparent;
  border: 2px solid var(--color-deep-space-charcoal);
  border-radius: var(--radius-sm);
  width: 44px;
  height: 44px;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  padding: var(--space-sm);
  transition: all var(--transition-base);
  order: 999;
  z-index: 100001;
}

.burger-toggle:hover {
  background: var(--color-accent-glow);
  border-color: var(--color-bioluminescent-teal);
}

.burger-line {
  width: 24px;
  height: 2px;
  background: var(--color-deep-space-charcoal);
  transition: all var(--transition-base);
  border-radius: 2px;
}

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

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

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

/* Mobile Navigation */
@media (max-width: 1023px) {
  .burger-toggle {
    display: flex;
  }
  
  .nav-menu {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: var(--color-sterile-pearl);
    flex-direction: column;
    padding: var(--space-lg);
    gap: var(--space-md);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
    border-bottom: 1px solid rgba(18, 18, 20, 0.1);
    box-shadow: var(--shadow-soft-outset);
    z-index: 999;
  }
  
  .nav-menu.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  
  .nav-link {
    width: 100%;
    text-align: center;
    padding: var(--space-md);
  }
}

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

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

.hero-content {
  max-width: var(--max-width-content);
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
  z-index: 2;
  position: relative;
}

.hero-text-wrapper {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4rem);
  background: linear-gradient(135deg, var(--color-deep-space-charcoal) 0%, var(--color-bioluminescent-teal) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: var(--space-md);
}

.hero-description {
  font-size: clamp(1.125rem, 2.5vw, 1.25rem);
  color: var(--color-deep-space-charcoal);
  opacity: 0.9;
}

.hero-actions {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
  margin-top: var(--space-lg);
}

.hero-image-wrapper {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-soft-outset);
}

.hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: var(--radius-xl);
}

/* Scanning Animation */
@keyframes scan-line {
  0% {
    transform: translateY(-100%);
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    transform: translateY(400%);
    opacity: 0;
  }
}

.scan-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    var(--color-bioluminescent-teal) 50%, 
    transparent 100%);
  animation: scan-line 3s infinite;
  pointer-events: none;
  z-index: 3;
}

@media (max-width: 768px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
  
  .hero-image-wrapper {
    order: -1;
  }
}

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

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

.section-title {
  text-align: center;
  margin-bottom: var(--space-xl);
  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: linear-gradient(90deg, 
    transparent 0%, 
    var(--color-bioluminescent-teal) 50%, 
    transparent 100%);
}

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

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

/* Feature Cards - Neumorphism */
.feature-card {
  background: var(--color-sterile-pearl);
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft-outset);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, 
    var(--color-bioluminescent-teal) 0%, 
    var(--color-copper-trace) 100%);
  transform: scaleX(0);
  transition: transform var(--transition-base);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow), var(--shadow-soft-outset);
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-icon {
  font-size: 2.5rem;
  color: var(--color-bioluminescent-teal);
  margin-bottom: var(--space-md);
}

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

.feature-description {
  color: var(--color-deep-space-charcoal);
  opacity: 0.8;
}

/* Image Containers */
.image-container {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft-outset);
  margin: var(--space-lg) 0;
}

.section-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* ============================================
   BUTTONS & CTAs
   ============================================ */

.btn-primary {
  display: inline-block;
  padding: var(--space-md) var(--space-xl);
  background: var(--color-deep-space-charcoal);
  color: var(--color-sterile-pearl);
  border-radius: var(--radius-md);
  font-family: var(--font-modular);
  font-weight: 600;
  font-size: 1rem;
  text-align: center;
  border: none;
  cursor: pointer;
  transition: all var(--transition-base);
  box-shadow: var(--shadow-soft-outset);
  position: relative;
  overflow: hidden;
  margin-top: 10px;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, 
    transparent 0%, 
    var(--color-bioluminescent-teal) 50%, 
    transparent 100%);
  transition: left var(--transition-slow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-secondary {
  display: inline-block;
  padding: var(--space-md) var(--space-xl);
  background: transparent;
  color: var(--color-deep-space-charcoal);
  border: 2px solid var(--color-deep-space-charcoal);
  border-radius: var(--radius-md);
  font-family: var(--font-modular);
  font-weight: 600;
  font-size: 1rem;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-base);
  margin-top: 10px;
}

.btn-secondary:hover {
  background: var(--color-deep-space-charcoal);
  color: var(--color-sterile-pearl);
  border-color: var(--color-bioluminescent-teal);
}

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

.contact-form {
  max-width: 600px;
  margin: var(--space-xl) auto;
  background: var(--color-sterile-pearl);
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft-outset);
}

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

.form-label {
  display: block;
  margin-bottom: var(--space-sm);
  font-weight: 600;
  color: var(--color-deep-space-charcoal);
  font-family: var(--font-modular);
}

.form-input,
.form-textarea {
  width: 100%;
  padding: var(--space-md);
  border: 2px solid rgba(18, 18, 20, 0.1);
  border-radius: var(--radius-md);
  font-family: var(--font-technical);
  font-size: 1rem;
  background: var(--color-sterile-pearl);
  transition: all var(--transition-base);
  box-shadow: var(--shadow-soft-inset);
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--color-bioluminescent-teal);
  box-shadow: var(--shadow-glow), var(--shadow-soft-inset);
}

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

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

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

.checkbox-label {
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--color-deep-space-charcoal);
  opacity: 0.8;
}

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

.product-card {
  background: var(--color-sterile-pearl);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft-outset);
  transition: all var(--transition-base);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-glow), var(--shadow-soft-outset);
}

.product-image-wrapper {
  position: relative;
  width: 100%;
  padding-top: 75%;
  overflow: hidden;
}

.product-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

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

.product-description {
  color: var(--color-deep-space-charcoal);
  opacity: 0.8;
  flex-grow: 1;
}

.product-price {
  font-family: var(--font-modular);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-bioluminescent-teal);
  margin-top: auto;
}

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

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

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

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

.site-footer {
  background: var(--color-deep-space-charcoal);
  color: var(--color-sterile-pearl);
  padding: var(--space-xl) var(--space-lg);
  margin-top: var(--space-xxl);
}

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

.footer-section-title {
  font-family: var(--font-modular);
  font-size: 1.25rem;
  margin-bottom: var(--space-md);
  color: var(--color-bioluminescent-teal);
}

.footer-menu {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer-link {
  color: var(--color-sterile-pearl);
  opacity: 0.8;
  transition: all var(--transition-fast);
}

.footer-link:hover {
  opacity: 1;
  color: var(--color-bioluminescent-teal);
  padding-left: var(--space-sm);
}

.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  opacity: 0.8;
}

.footer-bottom {
  text-align: center;
  padding-top: var(--space-lg);
  margin-top: var(--space-lg);
  border-top: 1px solid rgba(245, 245, 247, 0.1);
  opacity: 0.6;
  font-size: 0.9rem;
}

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

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

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

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

.hidden {
  display: none;
}

/* Legal Pages Styling */
.legal-content ul {
  margin-left: var(--space-lg);
  margin-top: var(--space-md);
  margin-bottom: var(--space-md);
}

.legal-content li {
  margin-bottom: var(--space-sm);
}

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

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

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

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

.privacy-popup-text {
  font-size: 0.9rem;
  opacity: 0.8;
}

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

/* ============================================
   THANK YOU & 404 PAGES
   ============================================ */

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

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

.message-icon {
  font-size: 4rem;
  color: var(--color-bioluminescent-teal);
  margin-bottom: var(--space-lg);
}

/* ============================================
   RESPONSIVE ADJUSTMENTS
   ============================================ */

@media (max-width: 768px) {
  :root {
    --space-xl: 2rem;
    --space-xxl: 3rem;
  }
  
  .content-section {
    padding: var(--space-xl) var(--space-md);
  }
  
  .grid-two-columns,
  .grid-three-columns {
    grid-template-columns: 1fr;
  }
  
  .footer-container {
    grid-template-columns: 1fr;
  }
  
  .privacy-popup {
    left: var(--space-md);
    right: var(--space-md);
  }
}

@media (max-width: 480px) {
  html {
    font-size: 14px;
  }
  
  .hero-section {
    min-height: 50vh;
    padding: var(--space-lg) var(--space-md);
  }
  
  .contact-form {
    padding: var(--space-lg);
  }
}

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

/* ============================================
   INERTIA SCROLLING EFFECT
   ============================================ */

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
  
  * {
    scroll-margin-top: var(--header-height);
  }
}

/* ============================================
   ACCESSIBILITY
   ============================================ */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

:focus-visible {
  outline: 3px solid var(--color-bioluminescent-teal);
  outline-offset: 2px;
}

/* Skip to main content link */
.skip-link {
  position: absolute;
  top: -100px;
  left: 0;
  background: var(--color-deep-space-charcoal);
  color: var(--color-sterile-pearl);
  padding: var(--space-md);
  z-index: 10001;
  text-decoration: none;
}

.skip-link:focus {
  top: 0;
}

