/* ============================================
   COLLECTOR'S DISPLAY SERVICES - STYLESHEET
   Holographic Archive Theme
   ============================================ */

/* CSS Variables */
:root {
  /* Colors */
  --color-anthracite: #121212;
  --color-photon-gold: #FFD700;
  --color-glacier-blue: #E0FFFF;
  --color-laser-crimson: #FF003C;
  --color-text-primary: #E0FFFF;
  --color-text-secondary: #B0B0B0;
  --color-overlay: rgba(18, 18, 18, 0.85);
  
  /* Typography */
  --font-header: 'Syncopate', sans-serif;
  --font-body: 'Space Mono', monospace;
  --font-primary: 'Poppins', sans-serif;
  
  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-xxl: 4rem;
  
  /* Borders & Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --border-thin: 1px solid var(--color-glacier-blue);
  
  /* Shadows & Effects */
  --shadow-glow: 0 0 20px rgba(255, 215, 0, 0.3);
  --shadow-spotlight: 0 0 60px rgba(255, 215, 0, 0.5);
  --transition-fast: 0.3s ease;
  --transition-slow: 0.6s 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-anthracite);
  color: var(--color-text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* Spotlight Effect Container */
.spotlight-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 9999;
  background: radial-gradient(
    circle 400px at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(255, 215, 0, 0.15) 0%,
    transparent 50%
  );
  transition: opacity 0.3s ease;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-header);
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.2;
  margin-bottom: var(--space-md);
}

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

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-glacier-blue);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--color-photon-gold);
}

/* Header */
.site-header {
  position: relative;
  width: 100%;
  padding: var(--space-md) var(--space-lg);
  background: var(--color-overlay);
  backdrop-filter: blur(10px);
  border-bottom: var(--border-thin);
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: nowrap;
}

.site-header nav {
  display: flex;
  align-items: center;
  flex: 1;
  justify-content: flex-end;
}

.site-header .burger-toggle {
  order: 999;
  margin-left: var(--space-md);
}

.brand-name {
  font-family: var(--font-header);
  font-size: clamp(1rem, 2vw, 1.35rem);
  color: var(--color-photon-gold);
}

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

.nav-menu li a {
  font-family: var(--font-body);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: var(--space-sm) var(--space-md);
  border: 1px solid transparent;
  transition: all var(--transition-fast);
}

.nav-menu li a:hover {
  border-color: var(--color-glacier-blue);
  color: var(--color-photon-gold);
}

/* Burger Menu */
.burger-toggle {
  display: none;
  background: transparent;
  border: var(--border-thin);
  color: var(--color-glacier-blue);
  padding: var(--space-sm) var(--space-md);
  cursor: pointer;
  font-size: 1.5rem;
  transition: all var(--transition-fast);
  margin-left: auto;
  flex-shrink: 0;
  z-index: 10001;
}

.burger-toggle:hover {
  color: var(--color-photon-gold);
  border-color: var(--color-photon-gold);
}

.burger-icon {
  display: block;
  width: 24px;
  height: 2px;
  background: currentColor;
  position: relative;
}

.burger-icon::before,
.burger-icon::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 2px;
  background: currentColor;
  transition: transform var(--transition-fast);
}

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

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

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

.burger-toggle.active .burger-icon::before {
  transform: rotate(45deg) translate(5px, 5px);
}

.burger-toggle.active .burger-icon::after {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Main Content */
main {
  min-height: calc(100vh - 200px);
  position: relative;
}

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

.hero-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(18, 18, 18, 0.7) 0%,
    rgba(18, 18, 18, 0.9) 100%
  );
  z-index: 2;
}

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

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  padding: var(--space-xl);
  max-width: 900px;
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 5rem);
  color: var(--color-photon-gold);
  text-shadow: 0 0 30px rgba(255, 215, 0, 0.5);
  margin-bottom: var(--space-lg);
}

.hero-subtitle {
  font-family: var(--font-body);
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--color-text-primary);
  letter-spacing: 0.1em;
}

/* Section Styles */
.content-section {
  padding: var(--space-xxl) var(--space-lg);
  max-width: 1400px;
  margin: 0 auto;
}

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

.section-title::after {
  content: '';
  display: block;
  width: 100px;
  height: 2px;
  background: var(--color-laser-crimson);
  margin: var(--space-md) auto;
}

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

.grid-item {
  background: rgba(224, 255, 255, 0.05);
  border: var(--border-thin);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  transition: all var(--transition-slow);
  position: relative;
  overflow: hidden;
}

.grid-item::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(255, 215, 0, 0.1) 0%,
    transparent 70%
  );
  opacity: 0;
  transition: opacity var(--transition-slow);
}

.grid-item:hover {
  transform: translateY(-10px) rotateX(5deg);
  box-shadow: var(--shadow-glow);
  border-color: var(--color-photon-gold);
}

.grid-item:hover::before {
  opacity: 1;
}

.grid-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-md);
  border: 1px solid var(--color-glacier-blue);
}

.grid-content h3 {
  color: var(--color-photon-gold);
  margin-bottom: var(--space-sm);
  font-size: 1.25rem;
}

.grid-content p {
  font-family: var(--font-body);
  font-size: 0.875rem;
  line-height: 1.6;
}

/* Two Column Layout */
.two-column {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-xl);
  align-items: center;
  margin-top: var(--space-xl);
}

.column-image {
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  border: var(--border-thin);
  box-shadow: var(--shadow-glow);
}

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

.column-text h3 {
  color: var(--color-photon-gold);
  margin-bottom: var(--space-md);
}

/* Contact Form */
.contact-form {
  max-width: 600px;
  margin: var(--space-xl) auto;
  padding: var(--space-xl);
  background: rgba(224, 255, 255, 0.03);
  border: var(--border-thin);
  border-radius: var(--radius-lg);
}

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

.form-group label {
  display: block;
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--color-glacier-blue);
  margin-bottom: var(--space-sm);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: var(--space-md);
  background: rgba(18, 18, 18, 0.8);
  border: var(--border-thin);
  border-radius: var(--radius-sm);
  color: var(--color-text-primary);
  font-family: var(--font-primary);
  font-size: 1rem;
  transition: all var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-photon-gold);
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

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

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

.checkbox-group input[type="checkbox"] {
  width: auto;
  margin-top: 4px;
  cursor: pointer;
}

.checkbox-group label {
  margin-bottom: 0;
  font-size: 0.875rem;
  text-transform: none;
  letter-spacing: normal;
}

.submit-button {
  width: 100%;
  padding: var(--space-md) var(--space-lg);
  background: transparent;
  border: 2px solid var(--color-photon-gold);
  color: var(--color-photon-gold);
  font-family: var(--font-header);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: all var(--transition-fast);
  border-radius: var(--radius-sm);
  margin-top: 10px;
}

.submit-button:hover {
  background: var(--color-photon-gold);
  color: var(--color-anthracite);
  box-shadow: var(--shadow-glow);
}

/* Products Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-xl);
  margin-top: var(--space-xl);
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.product-card {
  background: rgba(224, 255, 255, 0.05);
  border: var(--border-thin);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  text-align: center;
  transition: all var(--transition-slow);
}

.product-card:hover {
  transform: translateY(-10px) rotateY(5deg);
  box-shadow: var(--shadow-glow);
  border-color: var(--color-photon-gold);
}

.product-image {
  width: 100%;
  max-width: 400px;
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-md);
  border: 1px solid var(--color-glacier-blue);
  margin-left: auto;
  margin-right: auto;
}

.product-title {
  color: var(--color-photon-gold);
  margin-bottom: var(--space-sm);
}

.product-price {
  font-family: var(--font-body);
  font-size: 1.5rem;
  color: var(--color-laser-crimson);
  margin-top: var(--space-md);
}

/* Google Maps */
.map-container {
  width: 100%;
  height: 400px;
  margin: var(--space-xl) 0;
  border: var(--border-thin);
  border-radius: var(--radius-md);
  overflow: hidden;
}

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

/* Footer */
.site-footer {
  background: var(--color-overlay);
  border-top: var(--border-thin);
  padding: var(--space-xl) var(--space-lg);
  margin-top: var(--space-xxl);
}

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

.footer-section h4 {
  color: var(--color-photon-gold);
  margin-bottom: var(--space-md);
  font-size: 1rem;
}

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

.footer-menu li {
  margin-bottom: var(--space-sm);
}

.footer-menu a {
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--color-text-secondary);
}

.footer-menu a:hover {
  color: var(--color-photon-gold);
}

.footer-info {
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--color-text-secondary);
  line-height: 1.8;
}

.copyright {
  text-align: center;
  padding-top: var(--space-lg);
  margin-top: var(--space-lg);
  border-top: 1px solid rgba(224, 255, 255, 0.1);
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: var(--color-text-secondary);
}

/* Privacy Popup */
.privacy-popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(18, 18, 18, 0.95);
  z-index: 10000;
  backdrop-filter: blur(10px);
}

.privacy-popup.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

.popup-content {
  background: var(--color-anthracite);
  border: var(--border-thin);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  max-width: 600px;
  max-height: 80vh;
  overflow-y: auto;
  margin: var(--space-lg);
  box-shadow: var(--shadow-spotlight);
}

.popup-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-lg);
}

.popup-header h3 {
  color: var(--color-photon-gold);
  margin-bottom: 0;
}

.close-popup {
  background: transparent;
  border: var(--border-thin);
  color: var(--color-glacier-blue);
  width: 32px;
  height: 32px;
  cursor: pointer;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.close-popup:hover {
  color: var(--color-photon-gold);
  border-color: var(--color-photon-gold);
}

.popup-text {
  font-family: var(--font-body);
  font-size: 0.875rem;
  line-height: 1.8;
  color: var(--color-text-secondary);
}

.popup-text p {
  margin-bottom: var(--space-md);
}

/* Thank You Page */
.thank-you-container {
  text-align: center;
  padding: var(--space-xxl) var(--space-lg);
  max-width: 800px;
  margin: 0 auto;
}

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

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

/* 404 Page */
.error-container {
  text-align: center;
  padding: var(--space-xxl) var(--space-lg);
  max-width: 600px;
  margin: 0 auto;
}

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

.error-message {
  color: var(--color-text-primary);
  margin-bottom: var(--space-xl);
}

/* Utility Classes */
.text-center {
  text-align: center;
}

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

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

.date {
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--color-text-secondary);
}

/* Responsive Design */
@media (max-width: 1023px) {
  .site-header {
    position: relative;
    z-index: 10000;
  }

  .site-header nav {
    display: block;
    position: static;
    width: auto;
    height: auto;
  }

  .site-header nav ul.nav-menu {
    position: fixed !important;
    top: 0 !important;
    right: -100% !important;
    width: 100% !important;
    max-width: 400px !important;
    height: 100vh !important;
    background: var(--color-overlay) !important;
    backdrop-filter: blur(20px) !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    align-items: flex-start !important;
    padding: var(--space-xxl) var(--space-lg) !important;
    padding-top: calc(var(--space-xxl) + 80px) !important;
    border-left: var(--border-thin) !important;
    transition: right var(--transition-slow) !important;
    z-index: 9999 !important;
    overflow-y: auto !important;
    margin: 0 !important;
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.5) !important;
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    list-style: none !important;
  }

  .site-header nav ul.nav-menu.active {
    right: 0 !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  .nav-menu li {
    width: 100%;
    margin-bottom: var(--space-md);
  }

  .nav-menu li a {
    display: block;
    width: 100%;
    padding: var(--space-md);
    border: var(--border-thin);
  }

  .burger-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 10001;
  }

  /* Overlay when menu is open */
  body.menu-open::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(18, 18, 18, 0.6);
    z-index: 9998;
    pointer-events: none;
  }

  .hero-banner {
    min-height: 50vh;
  }

  .content-section {
    padding: var(--space-xl) var(--space-md);
  }

  .grid-container {
    grid-template-columns: 1fr;
  }

  .two-column {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .site-header {
    padding: var(--space-md);
  }

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

  .content-section {
    padding: var(--space-lg) var(--space-md);
  }

  .products-grid {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  html {
    font-size: 14px;
  }

  .hero-banner {
    min-height: 40vh;
  }

  .contact-form {
    padding: var(--space-lg);
  }

  .popup-content {
    padding: var(--space-lg);
    margin: var(--space-md);
  }
}

@media (max-width: 320px) {
  html {
    font-size: 12px;
  }

  .site-header {
    padding: var(--space-sm);
  }

  .content-section {
    padding: var(--space-md) var(--space-sm);
  }
}

