/* ============================================
   VINTAGE WATCH STRAP CRAFTING
   NASA-Inspired Technical Skeuomorphism Design
   ============================================ */

/* ===== CSS VARIABLES ===== */
:root {
  /* Color Palette - Technical Skeuomorphism */
  --color-anthracite: #121214;
  --color-lume-green: #D9F99D;
  --color-copper: #78350F;
  --color-data-blue: #3B82F6;
  --color-bg-light: #1a1b1e;
  --color-text-primary: #f4f4f5;
  --color-text-secondary: #a1a1aa;
  --color-border: rgba(120, 53, 15, 0.3);
  
  /* Typography */
  --font-primary: 'Space Grotesk', sans-serif;
  --font-secondary: 'Recursive', sans-serif;
  
  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 4rem;
  
  /* Layout */
  --container-max: 1400px;
  --border-radius: 8px;
  --transition-base: 0.3s ease;
  --transition-slow: 0.6s ease;
  
  /* Shadows & Effects */
  --shadow-glow: 0 0 20px rgba(217, 249, 157, 0.2);
  --shadow-deep: 0 8px 32px rgba(0, 0, 0, 0.4);
}

/* ===== RESET & BASE ===== */
* {
  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;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-secondary);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--space-md);
  color: var(--color-text-primary);
}

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

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

a:hover {
  color: var(--color-lume-green);
}

/* ===== HEADER ===== */
.site-header {
  background: linear-gradient(180deg, rgba(18, 18, 20, 0.95) 0%, rgba(18, 18, 20, 0.8) 100%);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
  padding: var(--space-md) var(--space-lg);
  position: relative;
  z-index: 1000;
}

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

.brand-name {
  font-family: var(--font-secondary);
  font-size: clamp(1rem, 2vw, 1.35rem);
  font-weight: 700;
  color: var(--color-lume-green);
}

.header-nav {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

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

.nav-menu li a {
  color: var(--color-text-secondary);
  font-size: 0.9rem;
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--border-radius);
  transition: all var(--transition-base);
  white-space: nowrap;
}

.nav-menu li a:hover {
  color: var(--color-lume-green);
  background: rgba(217, 249, 157, 0.1);
}

.burger-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--color-border);
  color: var(--color-text-primary);
  width: 44px;
  height: 44px;
  border-radius: var(--border-radius);
  cursor: pointer;
  font-size: 1.5rem;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-base);
  position: relative;
  z-index: 100002;
}

.burger-toggle:hover {
  border-color: var(--color-lume-green);
  color: var(--color-lume-green);
}

@media (max-width: 1023px) {
  .burger-toggle {
    display: flex;
  }
  
  .header-nav {
    position: static;
  }
  
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--color-anthracite);
    flex-direction: column;
    padding: var(--space-2xl) var(--space-lg);
    gap: var(--space-md);
    border-left: 1px solid var(--color-border);
    transition: right var(--transition-base);
    z-index: 1001;
    align-items: flex-start;
    justify-content: flex-start;
    overflow-y: auto;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.5);
  }
  
  .nav-menu.active {
    right: 0;
  }
  
  .nav-menu li {
    width: 100%;
  }
  
  .nav-menu li a {
    display: block;
    width: 100%;
    padding: var(--space-md);
  }
}

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

/* ===== MAIN CONTENT ===== */
main {
  flex: 1;
  width: 100%;
}

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

.banner-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.banner-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
}

.banner-content {
  position: relative;
  z-index: 2;
  max-width: var(--container-max);
  width: 100%;
  padding: var(--space-xl) var(--space-lg);
  text-align: center;
  background: linear-gradient(135deg, rgba(18, 18, 20, 0.92) 0%, rgba(26, 27, 30, 0.88) 100%);
  backdrop-filter: blur(10px);
  margin: 0 auto;
}

.banner-content h1 {
  color: var(--color-lume-green);
  margin-bottom: var(--space-lg);
}

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

/* ===== SECTIONS ===== */
.page-section {
  padding: var(--space-2xl) var(--space-lg);
  max-width: var(--container-max);
  margin: 0 auto;
  width: 100%;
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-2xl);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.section-header h2 {
  color: var(--color-lume-green);
  position: relative;
  display: inline-block;
  padding-bottom: var(--space-md);
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 2px;
  background: var(--color-copper);
}

.section-header p {
  max-width: 700px;
  margin: var(--space-md) auto 0;
}

/* ===== GRID LAYOUTS ===== */
.grid-2 {
  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;
}

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

@media (max-width: 768px) {
  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
    max-width: 100%;
  }
}

/* ===== CARDS ===== */
.feature-card {
  background: linear-gradient(135deg, rgba(26, 27, 30, 0.8) 0%, rgba(18, 18, 20, 0.9) 100%);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius);
  padding: var(--space-xl);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-lume-green), transparent);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-lume-green);
  box-shadow: var(--shadow-glow);
}

.feature-card:hover::before {
  opacity: 1;
}

.card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--border-radius);
  margin-bottom: var(--space-lg);
  border: 1px solid var(--color-border);
}

.card-title {
  font-size: 1.5rem;
  color: var(--color-lume-green);
  margin-bottom: var(--space-md);
}

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

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: var(--space-md) var(--space-xl);
  background: transparent;
  border: 1px solid var(--color-lume-green);
  color: var(--color-lume-green);
  font-family: var(--font-primary);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: all var(--transition-base);
  text-align: center;
  margin-top: 10px;
}

.btn:hover {
  background: var(--color-lume-green);
  color: var(--color-anthracite);
  box-shadow: var(--shadow-glow);
}

.btn-primary {
  background: var(--color-lume-green);
  color: var(--color-anthracite);
}

.btn-primary:hover {
  background: transparent;
  color: var(--color-lume-green);
}

/* ===== CONTACT FORM ===== */
.contact-section {
  max-width: 800px;
  margin: 0 auto;
}

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

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

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

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-lume-green);
  box-shadow: 0 0 0 3px rgba(217, 249, 157, 0.1);
}

.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;
  text-transform: none;
  letter-spacing: normal;
  cursor: pointer;
}

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

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

/* ===== PRODUCTS ===== */
.product-item {
  background: linear-gradient(135deg, rgba(26, 27, 30, 0.8) 0%, rgba(18, 18, 20, 0.9) 100%);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius);
  padding: var(--space-xl);
  text-align: center;
}

.product-image {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: var(--border-radius);
  margin-bottom: var(--space-lg);
  border: 1px solid var(--color-border);
}

.product-title {
  font-size: 1.5rem;
  color: var(--color-lume-green);
  margin-bottom: var(--space-md);
}

.product-price {
  font-size: 1.25rem;
  color: var(--color-data-blue);
  font-weight: 700;
  margin-top: var(--space-md);
}

.patina-slider {
  margin: var(--space-xl) 0;
}

.slider-label {
  display: block;
  margin-bottom: var(--space-md);
  color: var(--color-text-primary);
  font-size: 0.9rem;
  text-transform: uppercase;
}

.slider-input {
  width: 100%;
  height: 6px;
  background: rgba(26, 27, 30, 0.8);
  border: 1px solid var(--color-border);
  border-radius: 3px;
  outline: none;
  -webkit-appearance: none;
}

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

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

/* ===== FOOTER ===== */
.site-footer {
  background: var(--color-bg-light);
  border-top: 1px solid var(--color-border);
  padding: var(--space-xl) var(--space-lg);
  margin-top: var(--space-2xl);
}

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

.footer-section h3 {
  font-size: 1rem;
  color: var(--color-lume-green);
  margin-bottom: var(--space-md);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

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

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

.footer-menu a {
  color: var(--color-text-secondary);
  font-size: 0.9rem;
  transition: color var(--transition-base);
}

.footer-menu a:hover {
  color: var(--color-lume-green);
}

.footer-text {
  color: var(--color-text-secondary);
  font-size: 0.9rem;
  line-height: 1.7;
}

.copyright {
  text-align: center;
  padding-top: var(--space-xl);
  margin-top: var(--space-xl);
  border-top: 1px solid var(--color-border);
  color: var(--color-text-secondary);
  font-size: 0.85rem;
}

/* ===== UTILITY CLASSES ===== */
.text-center {
  text-align: center;
}

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

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

.highlight {
  color: var(--color-lume-green);
}

.technical-badge {
  display: inline-block;
  padding: var(--space-xs) var(--space-md);
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid var(--color-data-blue);
  color: var(--color-data-blue);
  font-size: 0.85rem;
  border-radius: var(--border-radius);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ===== LEGAL PAGES ===== */
.legal-content {
  max-width: 900px;
  margin: 0 auto;
  padding: var(--space-2xl) var(--space-lg);
}

.legal-content h1 {
  margin-bottom: var(--space-xl);
}

.legal-content h2 {
  margin-top: var(--space-xl);
  margin-bottom: var(--space-md);
}

.legal-content p,
.legal-content ul {
  margin-bottom: var(--space-md);
  color: var(--color-text-secondary);
}

.legal-content ul {
  padding-left: var(--space-xl);
}

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

.date-display {
  color: var(--color-data-blue);
  font-weight: 600;
  margin-bottom: var(--space-lg);
}

/* ===== 404 PAGE ===== */
.error-page {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-2xl);
}

.error-code {
  font-size: clamp(4rem, 10vw, 8rem);
  color: var(--color-lume-green);
  font-weight: 700;
  margin-bottom: var(--space-lg);
}

/* ===== RESPONSIVE ADJUSTMENTS ===== */
@media (max-width: 480px) {
  :root {
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
  }
  
  .hero-banner {
    min-height: 50vh;
  }
  
  .banner-content {
    padding: var(--space-lg) var(--space-md);
  }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeIn 0.6s ease-out;
}

/* ===== OVERLAY FOR MOBILE MENU ===== */
.menu-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 1000;
}

.menu-overlay.active {
  display: block;
}

@media (min-width: 1024px) {
  .menu-overlay {
    display: none !important;
  }
}

