/* ============================================
   Neo-Baroque Futurism - Bespoke Millinery
   ============================================ */

:root {
  /* Color Palette */
  --color-bg-primary: #000000;
  --color-bg-secondary: #F9F9F9;
  --color-accent-platinum: #E5E4E2;
  --color-accent-burgundy: #800020;
  --color-accent-champagne: #E1C16E;
  --color-text-primary: #000000;
  --color-text-secondary: #F9F9F9;
  --color-text-muted: #666666;
  
  /* Typography */
  --font-header: 'Playfair Display', serif;
  --font-body: 'Questrial', sans-serif;
  --font-nav: 'Questrial', sans-serif;
  
  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 6rem;
  
  /* Border & Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  
  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.15);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.2);
  
  /* Transitions */
  --transition-fast: 0.3s ease;
  --transition-medium: 0.5s ease;
  --transition-slow: 0.8s ease;
  
  /* Glassmorphism */
  --glass-bg: rgba(255, 255, 255, 0.05);
  --glass-border: rgba(255, 255, 255, 0.1);
  --glass-blur: blur(20px);
}

/* ============================================
   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-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text-primary);
  background-color: var(--color-bg-secondary);
  overflow-x: hidden;
}

/* ============================================
   Typography
   ============================================ */

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

h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  letter-spacing: -0.01em;
}

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

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

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

/* ============================================
   Header & Navigation
   ============================================ */

.site-header {
  position: relative;
  width: 100%;
  padding: var(--space-md) var(--space-lg);
  background: transparent;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand-name {
  font-family: var(--font-header);
  font-size: clamp(1rem, 2vw, 1.3rem);
  font-weight: 400;
  color: var(--color-text-primary);
  text-transform: lowercase;
}

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

.nav-link {
  font-family: var(--font-nav);
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-primary);
  position: relative;
  padding: var(--space-xs) 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--color-accent-burgundy);
  transition: width var(--transition-fast);
}

.nav-link:hover::after {
  width: 100%;
}

/* Burger Menu */
.burger-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-xs);
  z-index: 10001;
  position: relative;
}

.burger-icon {
  width: 28px;
  height: 2px;
  background: var(--color-text-primary);
  position: relative;
  transition: background var(--transition-fast);
}

.burger-icon::before,
.burger-icon::after {
  content: '';
  position: absolute;
  width: 28px;
  height: 2px;
  background: var(--color-text-primary);
  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);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 9999;
  opacity: 0;
  transition: opacity var(--transition-medium);
  pointer-events: none;
}

.mobile-menu-overlay.active {
  display: block;
  opacity: 1;
  pointer-events: auto;
}

/* Mobile Navigation */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 320px;
  max-width: 85vw;
  height: 100vh;
  background: var(--color-bg-primary);
  z-index: 10000;
  box-shadow: -4px 0 20px rgba(0, 0, 0, 0.3);
  transition: right var(--transition-medium);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

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

.mobile-menu-header {
  padding: var(--space-lg);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mobile-menu-title {
  font-family: var(--font-header);
  font-size: 1.2rem;
  color: var(--color-accent-champagne);
  text-transform: lowercase;
}

.mobile-menu-close {
  background: none;
  border: none;
  color: var(--color-text-secondary);
  font-size: 1.5rem;
  cursor: pointer;
  padding: var(--space-xs);
  line-height: 1;
  transition: color var(--transition-fast);
}

.mobile-menu-close:hover {
  color: var(--color-accent-champagne);
}

.mobile-menu-nav {
  list-style: none;
  padding: var(--space-lg);
  margin: 0;
  flex: 1;
}

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

.mobile-menu-link {
  display: block;
  font-family: var(--font-nav);
  font-size: 1.1rem;
  color: var(--color-text-secondary);
  text-decoration: none;
  padding: var(--space-md) 0;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: all var(--transition-fast);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
}

.mobile-menu-link::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0;
  background: var(--color-accent-champagne);
  opacity: 0.1;
  transition: width var(--transition-fast);
}

.mobile-menu-link:hover {
  color: var(--color-accent-champagne);
  padding-left: var(--space-md);
}

.mobile-menu-link:hover::before {
  width: 4px;
}

@media (max-width: 1023px) {
  .burger-toggle {
    display: block;
  }
  
  nav {
    display: none;
  }
  
  .mobile-menu-overlay {
    display: block;
  }
}

@media (min-width: 1024px) {
  .burger-toggle {
    display: none !important;
  }
  
  nav {
    display: block !important;
  }
  
  .mobile-menu-overlay {
    display: none !important;
  }
  
  .mobile-menu {
    display: none !important;
  }
  
  .main-nav {
    position: static;
    width: auto;
    height: auto;
    background: transparent;
    flex-direction: row;
    padding: 0;
    box-shadow: none;
  }
  
  .nav-link {
    color: var(--color-text-primary);
    font-size: 0.9rem;
    width: auto;
  }
}

/* ============================================
   Hero Banners (Full-Width)
   ============================================ */

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

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

.banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.3) 0%,
    rgba(0, 0, 0, 0.1) 50%,
    rgba(249, 249, 249, 0.2) 100%
  );
  z-index: 2;
}

.banner-content {
  position: relative;
  z-index: 3;
  text-align: center;
  padding: var(--space-lg);
  max-width: 900px;
  margin: 0 auto;
  background: rgba(249, 249, 249, 0.85);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-md);
}

.banner-title {
  color: var(--color-text-primary);
  margin-bottom: var(--space-md);
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.1);
}

.banner-text {
  color: var(--color-text-primary);
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  margin-bottom: var(--space-lg);
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.1);
}

/* ============================================
   Main Content & Sections
   ============================================ */

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

.content-section {
  margin-bottom: var(--space-xl);
  padding: var(--space-lg) 0;
}

.section-title {
  text-align: center;
  margin-bottom: var(--space-lg);
  color: var(--color-text-primary);
}

.section-content {
  max-width: 1200px;
  margin: 0 auto;
}

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

.grid-item {
  background: var(--color-bg-secondary);
  padding: var(--space-md);
  border-radius: var(--radius-md);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

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

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

.grid-title {
  font-size: 1.5rem;
  margin-bottom: var(--space-xs);
  color: var(--color-text-primary);
}

.grid-text {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Centered Grid with Images */
.centered-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-lg);
  align-items: start;
  justify-items: center;
  margin: var(--space-lg) auto;
  max-width: 1200px;
  padding: 0 var(--space-md);
}

.centered-grid-item {
  text-align: center;
  max-width: 400px;
}

.centered-grid-image {
  width: 100%;
  max-width: 300px;
  height: 250px;
  object-fit: cover;
  border-radius: var(--radius-md);
  margin-bottom: var(--space-md);
  box-shadow: var(--shadow-md);
}

/* ============================================
   Glassmorphism Effects
   ============================================ */

.glass-card {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
}

/* ============================================
   Buttons & CTAs
   ============================================ */

.btn {
  display: inline-block;
  padding: var(--space-sm) var(--space-lg);
  font-family: var(--font-body);
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid var(--color-accent-burgundy);
  background: transparent;
  color: var(--color-accent-burgundy);
  cursor: pointer;
  transition: all var(--transition-fast);
  margin-top: 10px;
  border-radius: var(--radius-sm);
}

.btn:hover {
  background: var(--color-accent-burgundy);
  color: var(--color-text-secondary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-primary {
  background: var(--color-accent-burgundy);
  color: var(--color-text-secondary);
  border-color: var(--color-accent-burgundy);
}

.btn-primary:hover {
  background: var(--color-accent-champagne);
  border-color: var(--color-accent-champagne);
  color: var(--color-text-primary);
}

/* ============================================
   Forms
   ============================================ */

.form-container {
  max-width: 600px;
  margin: var(--space-lg) auto;
  padding: var(--space-lg);
  background: var(--color-bg-secondary);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

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

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

.form-input,
.form-textarea {
  width: 100%;
  padding: var(--space-sm);
  border: 1px solid var(--color-accent-platinum);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 1rem;
  background: var(--color-bg-secondary);
  color: var(--color-text-primary);
  transition: border-color var(--transition-fast);
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--color-accent-burgundy);
}

.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: 4px;
  cursor: pointer;
}

.checkbox-label {
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--color-text-muted);
}

/* ============================================
   Products
   ============================================ */

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

.product-card {
  background: var(--color-bg-secondary);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

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

.product-image {
  width: 100%;
  height: 350px;
  object-fit: cover;
}

.product-info {
  padding: var(--space-md);
}

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

.product-description {
  color: var(--color-text-muted);
  margin-bottom: var(--space-sm);
  font-size: 0.95rem;
}

.product-price {
  font-family: var(--font-header);
  font-size: 1.5rem;
  color: var(--color-accent-burgundy);
  margin-top: var(--space-sm);
}

/* ============================================
   Google Maps
   ============================================ */

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

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

/* ============================================
   Footer
   ============================================ */

.site-footer {
  background: var(--color-bg-primary);
  color: var(--color-text-secondary);
  padding: var(--space-lg);
  margin-top: var(--space-xl);
}

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

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

.footer-title {
  font-size: 1.2rem;
  margin-bottom: var(--space-sm);
  color: var(--color-accent-champagne);
}

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

.footer-nav-item {
  margin-bottom: var(--space-xs);
}

.footer-link {
  color: var(--color-text-secondary);
  font-size: 0.9rem;
  transition: color var(--transition-fast);
}

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

.footer-text {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

.footer-bottom {
  text-align: center;
  padding-top: var(--space-md);
  margin-top: var(--space-md);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

/* ============================================
   Privacy Policy Popup
   ============================================ */

.privacy-popup {
  display: none;
  position: fixed;
  bottom: var(--space-md);
  right: var(--space-md);
  max-width: 400px;
  background: var(--color-bg-primary);
  color: var(--color-text-secondary);
  padding: var(--space-md);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  z-index: 2000;
  border: 1px solid var(--glass-border);
}

.privacy-popup.active {
  display: block;
}

.privacy-popup-content {
  margin-bottom: var(--space-sm);
}

.privacy-popup-title {
  font-size: 1.1rem;
  margin-bottom: var(--space-xs);
  color: var(--color-accent-champagne);
}

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

.privacy-popup-actions {
  display: flex;
  gap: var(--space-xs);
}

.btn-accept {
  background: var(--color-accent-champagne);
  color: var(--color-text-primary);
  border: none;
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 0.85rem;
  transition: opacity var(--transition-fast);
}

.btn-accept:hover {
  opacity: 0.9;
}

.btn-decline {
  background: transparent;
  color: var(--color-text-secondary);
  border: 1px solid var(--color-text-secondary);
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 0.85rem;
  transition: all var(--transition-fast);
}

.btn-decline:hover {
  background: var(--color-text-secondary);
  color: var(--color-bg-primary);
}

/* ============================================
   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); }

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

/* ============================================
   Responsive Design
   ============================================ */

@media (max-width: 768px) {
  .site-header {
    padding: var(--space-sm) var(--space-md);
  }
  
  main {
    padding: var(--space-lg) var(--space-md);
  }
  
  .hero-banner {
    min-height: 60vh;
  }
  
  .grid-container,
  .centered-grid,
  .product-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }
  
  .footer-content {
    grid-template-columns: 1fr;
  }
  
  .privacy-popup {
    bottom: var(--space-sm);
    right: var(--space-sm);
    left: var(--space-sm);
    max-width: none;
  }
}

@media (max-width: 480px) {
  html {
    font-size: 14px;
  }
  
  .hero-banner {
    min-height: 50vh;
  }
  
  .banner-content {
    padding: var(--space-md);
  }
}

@media (min-width: 320px) and (max-width: 1023px) {
  .burger-toggle {
    display: block;
  }
  
  .main-nav {
    display: none;
  }
  
  .main-nav.active {
    display: flex;
  }
}

