/* ============================================
   Neo-Impressionist & Fluid Aesthetic
   Fine Art Painting Classes Website
   ============================================ */

:root {
  /* Base Color Palette - Studio Shadow & Artist Pigments */
  --color-studio-shadow: #121212;
  --color-titanium-white: #E0E0E0;
  --color-cadmium-yellow: #FFD700;
  --color-cobalt-blue: #0047AB;
  --color-graphite: #2C2C2C;
  --color-canvas-cream: #F5F1E8;
  --color-burnt-umber: #8B4513;
  --color-alizarin-crimson: #E32636;
  
  /* Typography */
  --font-elegant: 'Cormorant Garamond', serif;
  --font-modern: 'Space Grotesk', sans-serif;
  
  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-xxl: 4rem;
  
  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  
  /* Transitions */
  --transition-fast: 0.3s ease;
  --transition-medium: 0.5s ease;
  --transition-slow: 0.8s ease;
  
  /* Shadows */
  --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.3);
  --shadow-medium: 0 8px 30px rgba(0, 0, 0, 0.4);
  --shadow-strong: 0 12px 40px rgba(0, 0, 0, 0.5);
  
  /* Glassmorphism */
  --glass-bg: rgba(18, 18, 18, 0.7);
  --glass-border: rgba(224, 224, 224, 0.1);
}

/* ============================================
   Reset & Base Styles
   ============================================ */

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

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

body {
  font-family: var(--font-modern);
  background-color: var(--color-studio-shadow);
  color: var(--color-titanium-white);
  line-height: 1.6;
  overflow-x: hidden;
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-elegant);
  font-weight: 600;
  line-height: 1.2;
  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-md);
  font-size: clamp(1rem, 1.5vw, 1.125rem);
}

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

a:hover {
  color: var(--color-cobalt-blue);
}

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

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

.brand-text {
  font-family: var(--font-elegant);
  font-size: clamp(1rem, 2vw, 1.3rem);
  color: var(--color-titanium-white);
  font-weight: 600;
}

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

.main-navigation a {
  color: var(--color-titanium-white);
  font-size: clamp(0.9rem, 1.2vw, 1rem);
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  position: relative;
}

.main-navigation a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--color-cadmium-yellow);
  transition: all var(--transition-fast);
  transform: translateX(-50%);
}

.main-navigation a:hover::after {
  width: 80%;
}

/* Burger Menu Button - Hidden by default, shown up to 1023px */
.burger-toggle {
  display: none;
  background: transparent;
  border: 2px solid var(--color-titanium-white);
  border-radius: var(--radius-sm);
  width: 44px;
  height: 44px;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  padding: var(--space-sm);
  transition: all var(--transition-fast);
  order: 999;
  z-index: 1001;
}

.burger-toggle:hover {
  border-color: var(--color-cadmium-yellow);
  background: rgba(255, 215, 0, 0.1);
}

.burger-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-titanium-white);
  transition: all var(--transition-fast);
  border-radius: 2px;
}

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

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

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

/* Mobile Navigation Menu - Hidden by default, shown up to 1023px */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: var(--color-studio-shadow);
  z-index: 10000;
  padding: var(--space-xxl) var(--space-lg);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-xl);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-medium);
  pointer-events: none;
}

.mobile-nav.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.mobile-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  align-items: center;
}

.mobile-nav-list a {
  font-size: 1.5rem;
  color: var(--color-titanium-white);
  padding: var(--space-md);
  display: block;
  text-align: center;
  border-bottom: 2px solid transparent;
  transition: all var(--transition-fast);
}

.mobile-nav-list a:hover {
  border-bottom-color: var(--color-cadmium-yellow);
  color: var(--color-cadmium-yellow);
}

/* ============================================
   Hero Banners (Full-Width with Image Under Text)
   ============================================ */

.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-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(18, 18, 18, 0.9) 0%,
    rgba(18, 18, 18, 0.75) 50%,
    rgba(18, 18, 18, 0.9) 100%
  );
  z-index: 2;
}

.hero-banner img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 0.5;
  filter: brightness(0.6);
}

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

.hero-content h1 {
  color: var(--color-titanium-white);
  margin-bottom: var(--space-lg);
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
}

.hero-content p {
  font-size: clamp(1.125rem, 2vw, 1.5rem);
  color: var(--color-titanium-white);
  margin-bottom: var(--space-xl);
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.8);
}

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

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

.content-section {
  margin-bottom: var(--space-xxl);
  padding: var(--space-xl) 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.section-title {
  text-align: center;
  margin-bottom: var(--space-xl);
  color: var(--color-titanium-white);
  position: relative;
  padding-bottom: var(--space-md);
  width: 100%;
  max-width: 1200px;
}

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

/* ============================================
   Grid Layouts
   ============================================ */

.image-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-lg);
  margin-top: var(--space-xl);
  width: 100%;
  max-width: 1200px;
  justify-items: center;
}

.grid-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-graphite);
  transition: transform var(--transition-medium), box-shadow var(--transition-medium);
  aspect-ratio: 4/3;
}

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

.grid-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.grid-item:hover img {
  transform: scale(1.1);
}

.grid-item-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-lg);
  background: linear-gradient(to top, rgba(18, 18, 18, 0.95), transparent);
  color: var(--color-titanium-white);
}

.grid-item-overlay h3 {
  margin-bottom: var(--space-sm);
  font-size: 1.25rem;
}

/* Two Column Layout */
.two-column {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-xl);
  align-items: center;
  margin-top: var(--space-xl);
  width: 100%;
  max-width: 1200px;
  justify-items: center;
}

.two-column img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-medium);
}

/* Three Column Layout */
.three-column {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-lg);
  margin-top: var(--space-xl);
  width: 100%;
  max-width: 1200px;
  justify-items: center;
}

/* ============================================
   Cards & Content Blocks
   ============================================ */

.content-card {
  background: var(--color-graphite);
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  border: 1px solid var(--glass-border);
  transition: all var(--transition-medium);
  width: 100%;
  max-width: 1200px;
}

.content-card:hover {
  background: rgba(44, 44, 44, 0.8);
  border-color: var(--color-cadmium-yellow);
  box-shadow: var(--shadow-soft);
}

.card-icon {
  font-size: 3rem;
  color: var(--color-cadmium-yellow);
  margin-bottom: var(--space-md);
}

/* ============================================
   Buttons
   ============================================ */

.btn {
  display: inline-block;
  padding: var(--space-md) var(--space-xl);
  background: var(--color-cadmium-yellow);
  color: var(--color-studio-shadow);
  border: none;
  border-radius: var(--radius-md);
  font-family: var(--font-modern);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-align: center;
  margin-top: 10px;
  text-decoration: none;
}

.btn:hover {
  background: var(--color-cobalt-blue);
  color: var(--color-titanium-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
}

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

.btn-secondary:hover {
  background: var(--color-titanium-white);
  color: var(--color-studio-shadow);
}

/* ============================================
   Contact Form
   ============================================ */

.contact-form {
  max-width: 600px;
  margin: var(--space-xl) auto;
  background: var(--color-graphite);
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  border: 1px solid var(--glass-border);
  width: 100%;
}

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

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

.form-group input,
.form-group textarea {
  width: 100%;
  padding: var(--space-md);
  background: var(--color-studio-shadow);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  color: var(--color-titanium-white);
  font-family: var(--font-modern);
  font-size: 1rem;
  transition: all var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-cadmium-yellow);
  box-shadow: 0 0 0 3px rgba(255, 215, 0, 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;
  font-size: 0.9rem;
  line-height: 1.5;
}

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

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

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

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

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-xl);
  margin-top: var(--space-xl);
  width: 100%;
  max-width: 1200px;
  justify-items: center;
}

.product-card {
  background: var(--color-graphite);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--glass-border);
  transition: all var(--transition-medium);
}

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

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

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

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

.product-price {
  font-size: 1.25rem;
  color: var(--color-cadmium-yellow);
  font-weight: 600;
  margin-top: var(--space-md);
}

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

.site-footer {
  background: var(--color-graphite);
  padding: var(--space-xl) var(--space-lg);
  margin-top: var(--space-xxl);
  border-top: 1px solid var(--glass-border);
}

.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);
  color: var(--color-titanium-white);
  font-size: 1.125rem;
}

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

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

.footer-links a {
  color: var(--color-titanium-white);
  font-size: 0.9rem;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--color-cadmium-yellow);
}

.footer-bottom {
  text-align: center;
  margin-top: var(--space-xl);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--glass-border);
  color: rgba(224, 224, 224, 0.7);
  font-size: 0.9rem;
}

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

.privacy-popup {
  display: none;
  position: fixed;
  bottom: var(--space-lg);
  right: var(--space-lg);
  max-width: 400px;
  background: var(--color-graphite);
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-cadmium-yellow);
  box-shadow: var(--shadow-strong);
  z-index: 10000;
}

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

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

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

/* ============================================
   Thank You & 404 Pages
   ============================================ */

.thank-you-container,
.error-container {
  text-align: center;
  padding: var(--space-xxl) var(--space-lg);
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.thank-you-container h1,
.error-container h1 {
  font-size: clamp(3rem, 6vw, 5rem);
  margin-bottom: var(--space-lg);
  color: var(--color-cadmium-yellow);
}

.thank-you-container p,
.error-container p {
  font-size: clamp(1.125rem, 2vw, 1.5rem);
  max-width: 600px;
  margin-bottom: var(--space-xl);
}

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

@media (max-width: 1023px) {
  .main-navigation {
    display: none;
  }
  
  .burger-toggle {
    display: flex;
  }
  
  .mobile-nav {
    display: flex;
  }
  
  .hero-banner {
    min-height: 50vh;
  }
  
  .image-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: var(--space-md);
  }
  
  .two-column {
    grid-template-columns: 1fr;
  }
  
  .three-column {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
  
  .products-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .site-header {
    padding: var(--space-md);
  }
  
  main {
    padding: var(--space-lg) var(--space-md);
  }
  
  .content-section {
    padding: var(--space-lg) 0;
  }
  
  .hero-content {
    padding: var(--space-lg);
  }
  
  .image-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .privacy-popup {
    max-width: calc(100% - 2rem);
    right: var(--space-md);
    bottom: var(--space-md);
  }
}

@media (max-width: 480px) {
  html {
    font-size: 14px;
  }
  
  .hero-banner {
    min-height: 40vh;
  }
  
  .contact-form {
    padding: var(--space-lg);
  }
  
  .content-card {
    padding: var(--space-lg);
  }
}

@media (max-width: 320px) {
  html {
    font-size: 12px;
  }
  
  .site-header {
    padding: var(--space-sm);
  }
  
  main {
    padding: var(--space-md) var(--space-sm);
  }
}

/* ============================================
   Paint Wipe Transition Effect
   ============================================ */

.paint-wipe {
  position: fixed;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    var(--color-cadmium-yellow) 0%,
    var(--color-cobalt-blue) 50%,
    var(--color-alizarin-crimson) 100%
  );
  z-index: 10000;
  transition: left var(--transition-slow);
  pointer-events: none;
}

.paint-wipe.active {
  left: 100%;
}

/* ============================================
   Utility Classes
   ============================================ */

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

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

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

.hidden {
  display: none;
}

