/* ============================================
   GLASS HORIZON - Seasonal Window Dressing
   Dual-Core Palette: Summer & Winter Modes
   ============================================ */

:root {
  /* Solstice Mode (Summer) - Frosted Mint & Liquid Silver */
  --color-summer-primary: #E0F2F1;
  --color-summer-secondary: #E5E7EB;
  --color-summer-accent: #14B8A6;
  --color-summer-text: #0F172A;
  
  /* Equinox Mode (Winter) - Deep Hearth Amber & Burnt Obsidian */
  --color-winter-primary: #B45309;
  --color-winter-secondary: #1F2937;
  --color-winter-accent: #F59E0B;
  --color-winter-text: #F9FAFB;
  
  /* Base Colors (Default: Summer) */
  --color-primary: var(--color-summer-primary);
  --color-secondary: var(--color-summer-secondary);
  --color-accent: var(--color-summer-accent);
  --color-text: var(--color-summer-text);
  --color-bg: #FFFFFF;
  --color-surface: rgba(255, 255, 255, 0.7);
  
  /* Typography */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Space Grotesk', 'Inter', 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: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  --shadow-glass: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;
  --transition-bounce: 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  
  /* Z-index layers */
  --z-base: 1;
  --z-header: 100;
  --z-menu: 200;
  --z-overlay: 300;
  --z-modal: 400;
}

/* ============================================
   RESET & BASE
   ============================================ */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body {
  font-family: var(--font-primary);
  color: var(--color-text);
  background-color: var(--color-bg);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

h1 {
  font-size: clamp(1.3rem, 4vw, 3.5rem);
  font-weight: 700;
}

h2 {
  font-size: clamp(1.2rem, 3vw, 2.5rem);
}

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

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

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

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

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

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

.site-header {
  position: relative;
  width: 100%;
  padding: var(--space-md) var(--space-lg);
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  z-index: var(--z-header);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

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

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

.nav-menu a {
  font-size: clamp(0.875rem, 2vw, 1rem);
  color: var(--color-text);
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
  position: relative;
}

.nav-menu a:hover {
  background: rgba(20, 184, 166, 0.1);
  color: var(--color-accent);
}

/* Burger Menu Button - Always Last in Header */
.burger-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: var(--space-sm);
  z-index: calc(var(--z-menu) + 1);
  order: 999;
}

.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-text);
  border-radius: var(--radius-full);
  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(7px, -7px);
}

/* Mobile Menu Overlay */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  z-index: var(--z-menu);
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: var(--space-xl);
  padding: var(--space-2xl);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.mobile-menu.active {
  display: flex;
  opacity: 1;
}

.mobile-menu a {
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-text);
  padding: var(--space-md);
  border-radius: var(--radius-lg);
  transition: all var(--transition-base);
}

.mobile-menu a:hover {
  background: rgba(20, 184, 166, 0.15);
  transform: translateY(-2px);
}

/* ============================================
   HERO BANNERS (Full-Width)
   ============================================ */

.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-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: var(--z-base);
  opacity: 0.4;
  filter: brightness(0.7);
}

.hero-content {
  position: relative;
  z-index: calc(var(--z-base) + 1);
  text-align: center;
  padding: var(--space-2xl) var(--space-lg);
  max-width: 1200px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-glass);
  margin: var(--space-xl) auto;
}

.hero-content h1 {
  color: var(--color-text);
  margin-bottom: var(--space-lg);
  animation: breeze 3s ease-in-out infinite;
}

.hero-content p {
  font-size: clamp(1.125rem, 2.5vw, 1.25rem);
  color: var(--color-text);
  max-width: 800px;
  margin: 0 auto;
}

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

main {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: var(--space-2xl) var(--space-lg);
}

/* ============================================
   SECTIONS (Centered Grid Layout)
   ============================================ */

.content-section {
  margin-bottom: var(--space-3xl);
  padding: var(--space-2xl) 0;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin-bottom: var(--space-md);
  color: var(--color-text);
}

.section-subtitle {
  font-size: clamp(1rem, 2vw, 1.125rem);
  color: rgba(15, 23, 42, 0.7);
  max-width: 700px;
  margin: 0 auto;
}

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

.grid-item {
  background: var(--color-surface);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.grid-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

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

.grid-item .image-wrapper img {
  height: 200px;
  width: 100%;
  object-fit: cover;
}

.grid-2-col {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-xl);
  align-items: center;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.grid-2-col .image-wrapper img {
  max-height: 300px;
  height: auto;
  width: 100%;
  object-fit: cover;
}

.grid-3-col {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-lg);
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================
   IMAGES
   ============================================ */

.section-image {
  width: 100%;
  max-height: 300px;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  object-fit: cover;
}

.image-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-md);
}

.image-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.1) 100%);
  pointer-events: none;
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
  display: inline-block;
  padding: var(--space-md) var(--space-xl);
  font-size: 1rem;
  font-weight: 500;
  text-align: center;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: all var(--transition-base);
  background: var(--color-accent);
  color: white;
  text-decoration: none;
  margin-top: 10px;
}

.btn:hover {
  transform: translateY(-2px);
  background: var(--color-primary);
  color: black;
}

.btn-secondary {
  background: transparent;
  border: 2px solid var(--color-accent);
  color: var(--color-accent);
}

.btn-secondary:hover {
  background: var(--color-accent);
  color: white;
}

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

.form-container {
  max-width: 600px;
  margin: 0 auto;
  background: var(--color-surface);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: var(--space-2xl);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}

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

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

.form-group input,
.form-group textarea {
  width: 100%;
  padding: var(--space-md);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: var(--radius-md);
  font-family: var(--font-primary);
  font-size: 1rem;
  transition: all var(--transition-base);
  background: rgba(255, 255, 255, 0.9);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.1);
}

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

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

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

.checkbox-group label {
  font-size: 0.875rem;
  margin-bottom: 0;
}

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

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

.product-card {
  background: var(--color-surface);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
  border: 1px solid rgba(255, 255, 255, 0.3);
  text-align: center;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}

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

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

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

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

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

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

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

.site-footer {
  background: rgba(15, 23, 42, 0.05);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: var(--space-2xl) var(--space-lg);
  margin-top: var(--space-3xl);
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

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

.footer-section h4 {
  margin-bottom: var(--space-md);
  font-size: 1.125rem;
}

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

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

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

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

.footer-bottom {
  text-align: center;
  margin-top: var(--space-xl);
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  font-size: 0.875rem;
  color: rgba(15, 23, 42, 0.6);
}

/* ============================================
   ANIMATIONS
   ============================================ */

@keyframes breeze {
  0%, 100% {
    transform: translateX(0) translateY(0);
  }
  25% {
    transform: translateX(2px) translateY(-1px);
  }
  50% {
    transform: translateX(-1px) translateY(1px);
  }
  75% {
    transform: translateX(1px) translateY(-1px);
  }
}

@keyframes lightLeak {
  0% {
    opacity: 0;
    transform: translateX(-100%) scaleX(0);
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateX(100%) scaleX(1);
  }
}

.light-leak {
  position: relative;
  overflow: hidden;
}

.light-leak::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  animation: lightLeak 3s ease-in-out infinite;
  pointer-events: none;
  z-index: 1;
}

/* ============================================
   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); }
.mt-2xl { margin-top: var(--space-2xl); }

.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); }
.mb-2xl { margin-bottom: var(--space-2xl); }

.content-wrapper {
  max-width: 900px;
  margin: 0 auto;
}

.content-wrapper-narrow {
  max-width: 600px;
  margin: 0 auto;
  padding: var(--space-2xl);
}

.policy-item {
  margin-bottom: var(--space-xl);
}

.policy-list {
  margin-left: var(--space-lg);
  margin-top: var(--space-md);
}

.contact-info-item {
  margin-top: var(--space-xl);
}

.footer-text {
  font-size: 0.875rem;
  margin-bottom: var(--space-sm);
}

.full-width-btn {
  width: 100%;
  margin-top: var(--space-lg);
}

.centered-section {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

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

@media (max-width: 1023px) {
  .burger-toggle {
    display: block;
  }
  
  .nav-menu {
    display: none;
  }
  
  .site-header {
    padding: var(--space-md);
  }
  
  .hero-content {
    padding: var(--space-xl) var(--space-md);
    margin: var(--space-lg) var(--space-md);
  }
  
  .grid-container,
  .grid-2-col,
  .grid-3-col {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
  
  .product-grid {
    grid-template-columns: 1fr;
  }
  
  main {
    padding: var(--space-xl) var(--space-md);
  }
  
  .content-section {
    margin-bottom: var(--space-2xl);
    padding: var(--space-xl) 0;
  }
}

@media (max-width: 768px) {
  :root {
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
  }
  
  .hero-banner {
    min-height: 50vh;
  }
  
  .form-container {
    padding: var(--space-lg);
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .site-header {
    padding: var(--space-sm) var(--space-md);
  }
  
  .hero-content {
    padding: var(--space-lg) var(--space-md);
  }
  
  .content-section {
    padding: var(--space-lg) 0;
  }
  
  .grid-item,
  .product-card {
    padding: var(--space-lg);
  }
}

@media (max-width: 320px) {
  html {
    font-size: 14px;
  }
  
  .hero-banner {
    min-height: 40vh;
  }
  
  .form-container {
    padding: var(--space-md);
  }
}

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

.privacy-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: var(--z-overlay);
  display: none;
  align-items: center;
  justify-content: center;
  padding: var(--space-lg);
}

.privacy-overlay.active {
  display: flex;
}

.privacy-popup {
  background: white;
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  max-width: 600px;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: var(--shadow-xl);
  position: relative;
}

.privacy-popup h2 {
  margin-bottom: var(--space-lg);
}

.privacy-popup .close-btn {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  background: transparent;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--color-text);
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
}

.privacy-popup .close-btn:hover {
  background: rgba(0, 0, 0, 0.1);
}

