/* ============================================
   CSS Variables & Design System
   ============================================ */

:root {
  /* Colors - Emotional Wellness Palette */
  --color-linen-white: #F4EFE6;
  --color-clay-beige: #E2D4C6;
  --color-peach-sunlight: #F0BFA4;
  --color-aqua-calm: #C6DBD8;
  --color-misty-blue: #8FA4B8;
  --color-sky-tint: #E8F2FF;
  --color-golden-ray: #F6C76E;
  --color-lavender-calm: #A39ED1;
  
  /* Primary & Secondary (for compatibility) */
  --color-primary: #2c6e49;
  --color-secondary: #f4f1de;
  
  /* Typography */
  --font-primary: 'Inter', sans-serif;
  --font-title: 'Playfair Display', serif;
  --font-subtitle: 'Cormorant Garamond', 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;
  --radius-xxl: 32px;
  
  /* Shadows */
  --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-medium: 0 8px 30px rgba(0, 0, 0, 0.12);
  --shadow-strong: 0 12px 40px rgba(0, 0, 0, 0.15);
  --shadow-glow: 0 0 30px rgba(246, 199, 110, 0.3);
  
  /* Transitions */
  --transition-fast: 0.3s ease;
  --transition-medium: 0.5s ease;
  --transition-slow: 0.8s ease;
  
  /* Layout */
  --max-width: 1200px;
  --header-height: 80px;
}

/* ============================================
   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-primary);
  font-weight: 300;
  line-height: 1.7;
  color: #333;
  background-color: var(--color-linen-white);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

a:hover {
  opacity: 0.7;
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-title);
  font-weight: 400;
  line-height: 1.3;
  margin-bottom: var(--space-md);
  color: #2a2a2a;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
}

h2 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
}

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

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

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

.site-header {
  background: rgba(244, 239, 230, 0.95);
  backdrop-filter: blur(10px);
  padding: var(--space-md) var(--space-lg);
  position: relative;
  z-index: 1000;
  transition: transform var(--transition-medium);
  box-shadow: var(--shadow-soft);
}

.site-header.hidden {
  transform: translateY(-100%);
}

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

.brand-text {
  font-family: var(--font-title);
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--color-misty-blue);
  font-weight: 400;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-sm);
  z-index: 1001;
}

.nav-toggle span {
  display: block;
  width: 28px;
  height: 2px;
  background: var(--color-misty-blue);
  margin: 6px 0;
  transition: var(--transition-fast);
}

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

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

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

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

.main-nav a {
  font-size: clamp(0.9rem, 2vw, 1rem);
  color: var(--color-misty-blue);
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-md);
  transition: background var(--transition-fast);
}

.main-nav a:hover {
  background: rgba(163, 158, 209, 0.1);
  opacity: 1;
}

/* Mobile Navigation */
@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }
  
  .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: rgba(244, 239, 230, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: var(--space-xxl) var(--space-lg);
    gap: var(--space-md);
    transition: right var(--transition-medium);
    box-shadow: var(--shadow-medium);
  }
  
  .main-nav.active {
    right: 0;
  }
  
  .main-nav a {
    width: 100%;
    text-align: center;
    padding: var(--space-md);
  }
}

/* ============================================
   Main Content
   ============================================ */

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

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

.section {
  padding: var(--space-xxl) 0;
  position: relative;
}

.section-title {
  text-align: center;
  margin-bottom: var(--space-xl);
  color: var(--color-misty-blue);
}

/* ============================================
   Hero Section
   ============================================ */

.hero-section {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-linen-white) 0%, var(--color-sky-tint) 100%);
  padding: var(--space-xxl) var(--space-lg);
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('../visual_gallery/1.webp') center/cover;
  opacity: 0.15;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4rem);
  margin-bottom: var(--space-lg);
  color: var(--color-misty-blue);
  animation: fadeInUp 1s ease;
}

.hero-subtitle {
  font-family: var(--font-subtitle);
  font-size: clamp(1.25rem, 3vw, 1.75rem);
    color: var(--color-misty-blue);
  margin-bottom: var(--space-xl);
  animation: fadeInUp 1.2s ease;
}

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

/* ============================================
   Cards & Grids
   ============================================ */

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

.card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-xxl);
  padding: var(--space-xl);
  box-shadow: var(--shadow-soft);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  border: 1px solid rgba(163, 158, 209, 0.2);
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-medium);
}

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

.card-title {
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  margin-bottom: var(--space-sm);
  color: var(--color-misty-blue);
}

.card-text {
  color: #555;
  font-size: clamp(0.95rem, 2vw, 1rem);
  line-height: 1.6;
}

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

.btn {
  display: inline-block;
  padding: var(--space-md) var(--space-xl);
  background: rgba(246, 199, 110, 0.3);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(246, 199, 110, 0.5);
  border-radius: var(--radius-xl);
  color: #2a2a2a;
  font-size: clamp(1rem, 2vw, 1.125rem);
  font-weight: 400;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-align: center;
  box-shadow: var(--shadow-soft);
}

.btn:hover {
  background: rgba(246, 199, 110, 0.5);
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
  opacity: 1;
}

.btn-primary {
  background: rgba(246, 199, 110, 0.4);
  border-color: var(--color-golden-ray);
}

.btn-secondary {
  background: rgba(163, 158, 209, 0.2);
  border-color: var(--color-lavender-calm);
}

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

.form-container {
  max-width: 600px;
  margin: var(--space-xl) auto;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  padding: var(--space-xl);
  border-radius: var(--radius-xxl);
  box-shadow: var(--shadow-soft);
}

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

.form-label {
  display: block;
  margin-bottom: var(--space-sm);
  color: var(--color-misty-blue);
  font-weight: 400;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: var(--space-md);
  border: 2px solid rgba(163, 158, 209, 0.3);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.8);
  font-family: var(--font-primary);
  font-size: 1rem;
  transition: border-color var(--transition-fast);
}

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

.form-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"] {
  margin-top: 4px;
  cursor: pointer;
}

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

/* ============================================
   Banner Sections
   ============================================ */

.banner-section {
  position: relative;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-xxl) var(--space-lg);
  margin: var(--space-xl) 0;
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.banner-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.25;
  z-index: 0;
}

.banner-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
  padding: var(--space-xl);
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(15px);
  border-radius: var(--radius-xl);
}

.banner-1::before {
  background-image: url('../visual_gallery/2.webp');
}

.banner-2::before {
  background-image: url('../visual_gallery/3.webp');
}

.banner-3::before {
  background-image: url('../visual_gallery/4.webp');
}

.banner-4::before {
  background-image: url('../visual_gallery/5.webp');
}

.banner-5::before {
  background-image: url('../visual_gallery/6.webp');
}

/* ============================================
   Image Gallery
   ============================================ */

.image-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-md);
  margin: var(--space-xl) 0;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-soft);
  transition: transform var(--transition-fast);
}

.gallery-item:hover {
  transform: scale(1.05);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

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

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

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

.privacy-popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(5px);
  z-index: 10000;
  align-items: center;
  justify-content: center;
  padding: var(--space-lg);
}

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

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

.popup-close {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  color: var(--color-misty-blue);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background var(--transition-fast);
}

.popup-close:hover {
  background: rgba(163, 158, 209, 0.1);
}

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

.site-footer {
  background: rgba(226, 212, 198, 0.4);
  backdrop-filter: blur(10px);
  padding: var(--space-xl) var(--space-lg);
  margin-top: var(--space-xxl);
  border-top: 1px solid rgba(163, 158, 209, 0.2);
}

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

.footer-section h3 {
  font-size: clamp(1.1rem, 2vw, 1.25rem);
  margin-bottom: var(--space-md);
  color: var(--color-misty-blue);
}

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

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

.footer-menu a {
  color: #555;
  font-size: 0.95rem;
  transition: color var(--transition-fast);
}

.footer-menu a:hover {
  color: var(--color-lavender-calm);
  opacity: 1;
}

.footer-bottom {
  text-align: center;
  margin-top: var(--space-xl);
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(163, 158, 209, 0.2);
  color: #666;
  font-size: 0.9rem;
}

/* ============================================
   Thank You Page
   ============================================ */

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

.thank-you-content {
  max-width: 600px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  padding: var(--space-xxl);
  border-radius: var(--radius-xxl);
  box-shadow: var(--shadow-soft);
}

.thank-you-icon {
  font-size: 4rem;
  color: var(--color-golden-ray);
  margin-bottom: var(--space-lg);
}

/* ============================================
   404 Page
   ============================================ */

.error-page {
  text-align: center;
  padding: var(--space-xxl) var(--space-lg);
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.error-content {
  max-width: 600px;
}

.error-code {
  font-size: clamp(4rem, 10vw, 8rem);
  color: var(--color-peach-sunlight);
  margin-bottom: var(--space-md);
}

/* ============================================
   Color Palette Generator
   ============================================ */

.palette-generator {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  padding: var(--space-xl);
  border-radius: var(--radius-xxl);
  box-shadow: var(--shadow-soft);
  margin: var(--space-xl) 0;
}

.generator-controls {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
}

.control-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.control-group label {
  color: var(--color-misty-blue);
  font-weight: 400;
}

.control-group select {
  padding: var(--space-md);
  border: 2px solid rgba(163, 158, 209, 0.3);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.9);
  font-family: var(--font-primary);
  font-size: 1rem;
}

.palette-result {
  margin-top: var(--space-xl);
  padding: var(--space-xl);
  background: rgba(255, 255, 255, 0.5);
  border-radius: var(--radius-lg);
  border: 2px dashed rgba(163, 158, 209, 0.3);
}

.color-swatches {
  display: flex;
  gap: var(--space-md);
  margin: var(--space-lg) 0;
  flex-wrap: wrap;
}

.color-swatch {
  flex: 1;
  min-width: 100px;
  height: 120px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  font-size: 0.85rem;
  font-weight: 500;
}

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

@media (max-width: 768px) {
  .container {
    padding: var(--space-md);
  }
  
  .section {
    padding: var(--space-lg) 0;
  }
  
  .card-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }
  
  .banner-section {
    min-height: 300px;
    padding: var(--space-lg);
  }
  
  .generator-controls {
    grid-template-columns: 1fr;
  }
  
  .color-swatches {
    flex-direction: column;
  }
  
  .color-swatch {
    width: 100%;
  }
}

@media (max-width: 480px) {
  html {
    font-size: 14px;
  }
  
  .hero-section {
    min-height: 50vh;
  }
  
  .form-container {
    padding: var(--space-lg);
  }
  
  .popup-content {
    padding: var(--space-lg);
    max-height: 90vh;
  }
}

@media (max-width: 320px) {
  html {
    font-size: 13px;
  }
  
  .container {
    padding: var(--space-sm);
  }
  
  .card {
    padding: var(--space-md);
  }
}

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

.fade-in {
  animation: fadeInUp 0.8s ease;
}

