/* ============================================
   STAINED GLASS ARTISTRY - PRISMATIC INTERFACE
   Glassmorphism & Cyber-Gothic Design System
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Cinzel+Decorative:wght@400;700&family=Tenor+Sans&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

:root {
  /* Color Palette - Spectrum & Solder */
  --color-obsidian: #080808;
  --color-zinc: #2C2C2E;
  --color-cobalt: #2E5BFF;
  --color-ruby: #E0115F;
  --color-graphite: #3A3A3A;
  --color-frost: rgba(255, 255, 255, 0.1);
  --color-glass: rgba(255, 255, 255, 0.05);
  --color-text-primary: #FFFFFF;
  --color-text-secondary: rgba(255, 255, 255, 0.8);
  --color-text-muted: rgba(255, 255, 255, 0.6);
  
  /* Typography */
  --font-header: 'Cinzel Decorative', serif;
  --font-header-alt: 'Tenor Sans', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  
  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 4rem;
  --space-3xl: 6rem;
  
  /* Border & Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --border-lead: 1px solid var(--color-graphite);
  --border-glow: 1px solid var(--color-cobalt);
  
  /* Shadows */
  --shadow-glass: 0 8px 32px rgba(0, 0, 0, 0.3);
  --shadow-glow: 0 0 20px rgba(46, 91, 255, 0.3);
  --shadow-ruby: 0 0 20px rgba(224, 17, 95, 0.3);
  --shadow-caster: 0 20px 60px rgba(46, 91, 255, 0.2);
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;
  
  /* Glassmorphism */
  --glass-bg: rgba(255, 255, 255, 0.05);
  --glass-border: rgba(255, 255, 255, 0.1);
  --glass-blur: blur(10px);
}

/* ============================================
   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-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text-primary);
  background: var(--color-obsidian);
  background-image: 
    radial-gradient(circle at 20% 50%, rgba(46, 91, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(224, 17, 95, 0.1) 0%, transparent 50%);
  background-attachment: fixed;
  overflow-x: hidden;
  min-height: 100vh;
}

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

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

h1 {
  font-size: clamp(1.5rem, 4vw, 3rem);
}

h2 {
  font-size: clamp(1.3rem, 3vw, 2rem);
}

h3 {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
}

h4 {
  font-size: clamp(1rem, 1.5vw, 1rem);
}

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

a {
  color: var(--color-cobalt);
  text-decoration: none;
  transition: color var(--transition-base);
}

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

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

.site-header {
  position: relative;
  width: 100%;
  padding: var(--space-lg) var(--space-md);
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  border-bottom: var(--border-lead);
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.brand-text {
  font-family: var(--font-header);
  font-size: clamp(1rem, 2vw, 1.35rem);
  font-weight: 700;
  color: var(--color-text-primary);
  text-shadow: 0 0 10px rgba(46, 91, 255, 0.5);
}

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

.burger-toggle {
  display: none;
  background: transparent;
  border: var(--border-lead);
  border-radius: var(--radius-md);
  padding: var(--space-sm) var(--space-md);
  cursor: pointer;
  color: var(--color-text-primary);
  font-size: 1.5rem;
  transition: all var(--transition-base);
  margin-left: auto;
}

.nav-menu li a {
  color: var(--color-text-secondary);
  font-weight: 500;
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
  position: relative;
}

.nav-menu li a::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--color-cobalt);
  transition: width var(--transition-base);
}

.nav-menu li a:hover::before {
  width: 80%;
}

.nav-menu li a:hover {
  color: var(--color-text-primary);
  background: var(--glass-bg);
}


.burger-toggle:hover {
  border-color: var(--color-cobalt);
  box-shadow: var(--shadow-glow);
}

.burger-toggle:focus {
  outline: 2px solid var(--color-cobalt);
  outline-offset: 2px;
}

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

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

/* ============================================
   HERO BANNER (Full Width)
   ============================================ */

.hero-banner {
  position: relative;
  width: 100vw;
  min-height: 70vh;
  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;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(46, 91, 255, 0.2), rgba(224, 17, 95, 0.2));
  z-index: 1;
}

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

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

.hero-title {
  font-size: clamp(2.5rem, 6vw, 5rem);
  margin-bottom: var(--space-lg);
  background: linear-gradient(135deg, var(--color-cobalt), var(--color-ruby));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 30px rgba(46, 91, 255, 0.5);
}

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

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

.content-section {
  padding: var(--space-3xl) var(--space-md);
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.section-title {
  text-align: center;
  margin-bottom: var(--space-2xl);
  position: relative;
  padding-bottom: var(--space-lg);
}

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

/* Lead Line Divider */
.lead-divider {
  width: 100%;
  height: 1px;
  background: var(--color-graphite);
  margin: var(--space-2xl) 0;
  position: relative;
}

.lead-divider::before,
.lead-divider::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 8px;
  height: 8px;
  background: var(--color-graphite);
  border-radius: 50%;
  transform: translateY(-50%);
}

.lead-divider::before {
  left: 0;
}

.lead-divider::after {
  right: 0;
}

/* ============================================
   GRID LAYOUTS
   ============================================ */

.grid-container {
  display: grid;
  gap: var(--space-lg);
  margin: var(--space-xl) 0;
  width: 100%;
  justify-items: center;
}

.grid-two {
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  max-width: 1000px;
}

.grid-three {
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  max-width: 1000px;
}

.grid-four {
  grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr));
  max-width: 1200px;
}

/* ============================================
   CARDS & GLASSMORPHISM
   ============================================ */

.glass-card {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  border: var(--border-lead);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

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

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

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

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

.glass-card:hover .card-image {
  transform: scale(1.05);
}

.card-title {
  font-family: var(--font-header-alt);
  font-size: 1.5rem;
  margin-bottom: var(--space-sm);
  color: var(--color-text-primary);
}

.card-text {
  color: var(--color-text-secondary);
  font-size: 0.95rem;
}

/* ============================================
   BUTTONS (Solder-Joint Effect)
   ============================================ */

.btn-primary {
  display: inline-block;
  padding: var(--space-md) var(--space-xl);
  background: var(--glass-bg);
  border: var(--border-glow);
  border-radius: var(--radius-md);
  color: var(--color-text-primary);
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
  font-family: var(--font-body);
  margin-top: 10px;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(46, 91, 255, 0.3), transparent);
  transition: left var(--transition-slow);
}

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

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

.btn-primary:active {
  transform: translateY(0);
}

/* Spark effect on hover */
.btn-primary::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: var(--radius-md);
  box-shadow: 
    0 0 4px var(--color-cobalt),
    0 0 8px var(--color-cobalt),
    0 0 12px var(--color-cobalt);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.btn-primary:hover::after {
  opacity: 1;
}

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

.contact-form {
  max-width: 600px;
  margin: var(--space-xl) auto;
  padding: var(--space-xl);
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  border: var(--border-lead);
  border-radius: var(--radius-xl);
}

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

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

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

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

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

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

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

.form-checkbox label {
  color: var(--color-text-secondary);
  font-size: 0.9rem;
  cursor: pointer;
}

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

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

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

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

.product-card {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  border: var(--border-lead);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  text-align: center;
  transition: all var(--transition-base);
  position: relative;
}

.product-card:hover {
  border-color: var(--color-cobalt);
  box-shadow: var(--shadow-caster);
  transform: translateY(-8px);
}

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

.product-title {
  font-family: var(--font-header-alt);
  font-size: 1.5rem;
  margin-bottom: var(--space-sm);
  color: var(--color-text-primary);
}

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

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

.site-footer {
  padding: var(--space-xl) var(--space-md);
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  border-top: var(--border-lead);
  margin-top: var(--space-3xl);
}

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

.footer-section h4 {
  font-family: var(--font-header-alt);
  font-size: 1.25rem;
  margin-bottom: var(--space-md);
  color: var(--color-text-primary);
}

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

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

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

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

.footer-bottom {
  text-align: center;
  margin-top: var(--space-xl);
  padding-top: var(--space-lg);
  border-top: var(--border-lead);
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

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

.privacy-popup {
  position: fixed;
  bottom: var(--space-md);
  left: var(--space-md);
  right: var(--space-md);
  max-width: 500px;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  border: var(--border-glow);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  z-index: 10000;
  box-shadow: var(--shadow-glass);
  display: none;
}

.privacy-popup.active {
  display: block;
  animation: slideUp 0.5s ease;
}

@keyframes slideUp {
  from {
    transform: translateY(100px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.privacy-popup p {
  margin-bottom: var(--space-md);
  color: var(--color-text-secondary);
  font-size: 0.9rem;
}

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

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

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

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

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

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

@media (max-width: 1023px) {
  .site-header nav {
    position: relative;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--color-obsidian);
    backdrop-filter: var(--glass-blur);
    border-left: var(--border-lead);
    flex-direction: column;
    align-items: flex-start;
    padding: var(--space-2xl) var(--space-lg);
    transition: right var(--transition-base);
    z-index: 9999;
    overflow-y: auto;
    margin: 0;
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-menu li {
    width: 100%;
  }

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

  .burger-toggle {
    display: block;
  }

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

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

  .grid-two,
  .grid-three,
  .grid-four {
    grid-template-columns: 1fr;
  }
}

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

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

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

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

  .glass-card,
  .product-card {
    padding: var(--space-md);
  }

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

  .footer-content {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .privacy-popup {
    left: var(--space-sm);
    right: var(--space-sm);
    padding: var(--space-md);
  }
}

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

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

  .btn-primary {
    padding: var(--space-sm) var(--space-lg);
    font-size: 0.9rem;
  }
}

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

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

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

/* ============================================
   LIGHT BLEED EFFECT (Scroll Animation)
   ============================================ */

@keyframes lightBleed {
  0%, 100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

.light-bleed {
  background: linear-gradient(
    90deg,
    transparent,
    rgba(46, 91, 255, 0.1),
    rgba(224, 17, 95, 0.1),
    rgba(46, 91, 255, 0.1),
    transparent
  );
  background-size: 200% 100%;
  animation: lightBleed 8s ease infinite;
}

/* ============================================
   SHADOW CASTER EFFECT (Mouse Position)
   ============================================ */

.shadow-caster {
  position: relative;
  transition: filter var(--transition-base);
}

.shadow-caster::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: inherit;
  background: radial-gradient(
    circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(46, 91, 255, 0.3) 0%,
    transparent 50%
  );
  pointer-events: none;
  opacity: 0;
  transition: opacity var(--transition-base);
}

.shadow-caster:hover::after {
  opacity: 1;
}

