/* ============================================
   PRISMATIC MINIMALISM - WARDROBE COLOR ANALYSIS
   ============================================ */

:root {
  /* Base Colors */
  --color-studio-grey: #E5E7EB;
  --color-soft-charcoal: #1F2937;
  --color-white: #FFFFFF;
  --color-black: #000000;
  
  /* Prism Gradient */
  --gradient-prism: linear-gradient(135deg, #A5B4FC 0%, #FCA5A5 50%, #FDE68A 100%);
  --gradient-prism-hover: linear-gradient(135deg, #FCA5A5 0%, #FDE68A 50%, #A5B4FC 100%);
  
  /* Typography */
  --font-serif: 'Cochin', 'Chronicle Display', Georgia, serif;
  --font-mono: 'Space Mono', 'Courier New', monospace;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  
  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 6rem;
  
  /* Layout */
  --container-max: 1200px;
  --section-padding: 5rem 1rem;
  
  /* Effects */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --shadow-sm: 0 2px 8px rgba(31, 41, 55, 0.1);
  --shadow-md: 0 4px 16px rgba(31, 41, 55, 0.15);
  --shadow-lg: 0 8px 32px rgba(31, 41, 55, 0.2);
  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;
  
  /* Blur */
  --blur-sm: blur(4px);
  --blur-md: blur(8px);
  --blur-lg: blur(16px);
}

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

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

html {
  font-size: 16px;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-soft-charcoal);
  background-color: var(--color-studio-grey);
  overflow-x: hidden;
  transition: background-color var(--transition-slow);
}

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

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

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

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

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

p {
  margin-bottom: var(--space-sm);
  max-width: 65ch;
}

a {
  color: var(--color-soft-charcoal);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: #6366F1;
}

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

.site-header {
  position: relative;
  width: 100%;
  padding: var(--space-md) var(--space-sm);
  background: rgba(229, 231, 235, 0.95);
  backdrop-filter: var(--blur-md);
  border-bottom: 1px solid rgba(31, 41, 55, 0.1);
  z-index: 1000;
}

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

.brand-text {
  font-family: var(--font-serif);
  font-size: clamp(1rem, 2vw, 1.35rem);
  font-weight: 400;
  color: var(--color-soft-charcoal);
}

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

.nav-link {
  font-size: 0.9375rem;
  font-weight: 400;
  padding: var(--space-xs) var(--space-sm);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: var(--space-sm);
  right: var(--space-sm);
  height: 1px;
  background: var(--gradient-prism);
  transform: scaleX(0);
  transition: transform var(--transition-base);
}

.nav-link:hover::after {
  transform: scaleX(1);
}

/* Burger Menu - Visible only up to 1023px */
.burger-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-xs);
  width: 2.5rem;
  height: 2.5rem;
  position: relative;
  z-index: 10001;
  flex-shrink: 0;
}

.burger-line {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-soft-charcoal);
  margin: 5px 0;
  transition: all var(--transition-base);
  transform-origin: center;
}

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

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

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

.burger-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  max-width: 400px;
  height: 100vh;
  background: rgba(229, 231, 235, 0.98);
  backdrop-filter: var(--blur-lg);
  padding: var(--space-xl) var(--space-md);
  transition: right var(--transition-base);
  z-index: 999;
  overflow-y: auto;
  box-shadow: -4px 0 32px rgba(31, 41, 55, 0.2);
}

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

.burger-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-base), visibility var(--transition-base);
  z-index: 998;
}

.burger-overlay.active {
  opacity: 1;
  visibility: visible;
}

.burger-nav {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  margin-top: var(--space-xl);
}

.burger-nav-link {
  font-size: 1.125rem;
  padding: var(--space-sm);
  display: block;
  border-bottom: 1px solid rgba(31, 41, 55, 0.1);
}

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

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

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-sm);
}

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

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

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

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(229, 231, 235, 0.9) 0%, rgba(31, 41, 55, 0.4) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: var(--space-lg);
  max-width: 800px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: var(--blur-sm);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 5rem);
  margin-bottom: var(--space-md);
  background: var(--gradient-prism);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(1.125rem, 2.5vw, 1.5rem);
  font-weight: 300;
  color: var(--color-soft-charcoal);
  margin-bottom: var(--space-lg);
}

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

.page-section {
  padding: var(--section-padding);
  position: relative;
}

.section-title {
  text-align: center;
  margin-bottom: var(--space-lg);
  font-size: clamp(2rem, 4vw, 3rem);
}

.section-content {
  max-width: var(--container-max);
  margin: 0 auto;
}

/* Grid Layouts - Centered and balanced */
.grid-two {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-md);
  margin-top: var(--space-lg);
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.grid-three {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-md);
  margin-top: var(--space-lg);
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

.grid-four {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-md);
  margin-top: var(--space-lg);
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================
   CARDS
   ============================================ */

.content-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
  overflow: hidden;
  position: relative;
}

.content-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

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

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

.card-title {
  font-size: 1.5rem;
  margin-bottom: var(--space-sm);
  color: var(--color-soft-charcoal);
}

.card-text {
  font-size: 0.9375rem;
  color: rgba(31, 41, 55, 0.8);
  line-height: 1.7;
}

/* Color Breakdown Overlay */
.color-breakdown {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(31, 41, 55, 0.95);
  backdrop-filter: var(--blur-md);
  padding: var(--space-sm);
  transform: translateY(100%);
  transition: transform var(--transition-base);
  font-family: var(--font-mono);
  font-size: 0.75rem;
}

.content-card:hover .color-breakdown {
  transform: translateY(0);
}

.color-swatch {
  display: inline-block;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  margin-right: var(--space-xs);
  border: 2px solid var(--color-white);
}

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

.btn {
  display: inline-block;
  padding: var(--space-sm) var(--space-md);
  font-size: 1rem;
  font-family: var(--font-sans);
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-base);
  text-align: center;
  position: relative;
  margin-top: 10px;
  overflow: hidden;
}

.btn-primary {
  background: var(--gradient-prism);
  color: var(--color-white);
  font-weight: 500;
}

.btn-primary:hover {
  background: var(--gradient-prism-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

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

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

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

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

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

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

.form-label {
  display: block;
  margin-bottom: var(--space-xs);
  font-weight: 500;
  color: var(--color-soft-charcoal);
}

.form-input,
.form-textarea {
  width: 100%;
  padding: var(--space-sm);
  border: 2px solid rgba(31, 41, 55, 0.2);
  border-radius: var(--radius-md);
  font-family: var(--font-sans);
  font-size: 1rem;
  background: var(--color-white);
  transition: border-color var(--transition-fast);
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: #6366F1;
}

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

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

.checkbox-input {
  margin-top: 0.25rem;
  flex-shrink: 0;
}

.checkbox-label {
  font-size: 0.875rem;
  line-height: 1.5;
}

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

.product-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
  text-align: center;
}

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

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

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

.product-description {
  font-size: 0.9375rem;
  color: rgba(31, 41, 55, 0.7);
  margin-bottom: var(--space-sm);
}

.product-price {
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-soft-charcoal);
  margin-top: var(--space-sm);
}

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

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

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

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

.site-footer {
  background: var(--color-soft-charcoal);
  color: var(--color-studio-grey);
  padding: var(--space-lg) var(--space-sm);
  margin-top: var(--space-xl);
}

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

.footer-section {
  margin-bottom: var(--space-md);
}

.footer-title {
  font-size: 1.125rem;
  margin-bottom: var(--space-sm);
  color: var(--color-white);
}

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

.footer-link {
  color: rgba(229, 231, 235, 0.8);
  font-size: 0.875rem;
  padding: var(--space-xs) 0;
  display: block;
  transition: color var(--transition-fast);
}

.footer-link:hover {
  color: var(--color-white);
}

.footer-text {
  font-size: 0.875rem;
  color: rgba(229, 231, 235, 0.7);
  line-height: 1.6;
}

.footer-bottom {
  text-align: center;
  display: flex;
  justify-content: center;
  padding-top: var(--space-md);
  margin-top: var(--space-md);
  border-top: 1px solid rgba(229, 231, 235, 0.2);
  font-size: 0.875rem;
  color: rgba(229, 231, 235, 0.6);
}

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

.privacy-popup {
  position: fixed;
  bottom: var(--space-md);
  left: var(--space-md);
  right: var(--space-md);
  max-width: 500px;
  background: var(--color-white);
  padding: var(--space-md);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  z-index: 2000;
  transform: translateY(150%);
  transition: transform var(--transition-base);
}

.privacy-popup.active {
  transform: translateY(0);
}

.privacy-text {
  font-size: 0.875rem;
  margin-bottom: var(--space-sm);
  line-height: 1.6;
}

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

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

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

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

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

/* ============================================
   SPECTRUM TRANSITION (Seasonal Palette Shift)
   ============================================ */

body.season-autumn {
  background: linear-gradient(180deg, #E5E7EB 0%, #FEF3C7 50%, #FDE68A 100%);
}

body.season-winter {
  background: linear-gradient(180deg, #E5E7EB 0%, #DBEAFE 50%, #BFDBFE 100%);
}

body.season-spring {
  background: linear-gradient(180deg, #E5E7EB 0%, #D1FAE5 50%, #A7F3D0 100%);
}

body.season-summer {
  background: linear-gradient(180deg, #E5E7EB 0%, #FCE7F3 50%, #FBCFE8 100%);
}

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

@media (max-width: 1023px) {
  .nav-menu {
    display: none;
  }
  
  .burger-toggle {
    display: block;
  }
  
  .header-container {
    justify-content: space-between;
  }
}

@media (max-width: 768px) {
  :root {
    --section-padding: 3rem 1rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
  }
  
  .grid-two,
  .grid-three,
  .grid-four {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }
  
  .hero-banner {
    min-height: 50vh;
  }
  
  .footer-container {
    grid-template-columns: 1fr;
  }
  
  .privacy-popup {
    left: var(--space-sm);
    right: var(--space-sm);
  }
}

@media (max-width: 480px) {
  :root {
    --section-padding: 2rem 1rem;
  }
  
  .hero-content {
    padding: var(--space-md);
  }
  
  .content-card,
  .product-card {
    padding: var(--space-sm);
  }
}

@media (max-width: 320px) {
  :root {
    font-size: 14px;
  }
  
  .hero-banner {
    min-height: 40vh;
  }
  
  .map-container {
    height: 300px;
  }
}

/* ============================================
   PRINT STYLES
   ============================================ */

@media print {
  .site-header,
  .site-footer,
  .burger-toggle,
  .privacy-popup {
    display: none;
  }
  
  body {
    background: white;
    color: black;
  }
}

