@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@300;400;600;700&family=DM+Sans:wght@400;500;600&display=swap');
:root {
  /* Color Palette — Deep Berry Tones */
  --color-primary: #5A1A3D;
  --color-secondary: #7D2C4D;
  --color-tertiary: #4E1033;
  --color-accent: #6E244B;
  --color-dark: #3C0E26;
  --color-light: #FFF5F8;
  --color-white: #FFFFFF;
  --color-text: #2A0A1A;
  --color-text-light: #6E244B;
  --color-border: rgba(94, 16, 51, 0.15);
  
  /* Typography */
  --font-display: 'Cormorant Garamond', serif;
  --font-body: 'DM Sans', sans-serif;
  --font-weight-light: 300;
  --font-weight-regular: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  
  /* Font Sizes — Compact Scale */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 0.9375rem;
  --text-lg: 1.0625rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.625rem;
  --text-3xl: 2rem;
  --text-4xl: 2.75rem;
  --text-5xl: 3.5rem;
  
  /* Spacing — Compact System */
  --space-xs: 0.375rem;
  --space-sm: 0.625rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2.25rem;
  --space-2xl: 3.5rem;
  --space-3xl: 5rem;
  
  /* Layout */
  --container-max: 1200px;
  --container-sm: 900px;
  --border-radius-sm: 0.25rem;
  --border-radius-md: 0.5rem;
  --border-radius-lg: 1rem;
  
  /* Effects */
  --shadow-sm: 0 1px 3px rgba(60, 14, 38, 0.08);
  --shadow-md: 0 4px 12px rgba(60, 14, 38, 0.12);
  --shadow-lg: 0 12px 32px rgba(60, 14, 38, 0.18);
  --shadow-inset: inset 0 2px 8px rgba(60, 14, 38, 0.06);
  
  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ========================================
   RESET & BASE STYLES
   ======================================== */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 100%;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: var(--font-weight-regular);
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-light);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all var(--transition-base);
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

ul, ol {
  list-style: none;
}

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

/* ========================================
   TYPOGRAPHY
   ======================================== */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: var(--font-weight-semibold);
  line-height: 1.2;
  color: var(--color-primary);
  margin-bottom: var(--space-md);
}

h1 { font-size: var(--text-4xl); }
h2 { font-size: var(--text-3xl); }
h3 { font-size: var(--text-2xl); }
h4 { font-size: var(--text-xl); }
h5 { font-size: var(--text-lg); }
h6 { font-size: var(--text-base); }

p {
  margin-bottom: var(--space-md);
  color: var(--color-text);
}

.lead-text {
  font-size: var(--text-lg);
  font-weight: var(--font-weight-light);
  color: var(--color-text-light);
  font-family: var(--font-display);
}

/* ========================================
   HEADER — COLLAPSIBLE OVERLAY DESIGN
   ======================================== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  transform: translateY(0);
  transition: transform var(--transition-slow);
  padding: var(--space-sm) 0;
}

.site-header.header-hidden {
  transform: translateY(-100%);
}

.header-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-md);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-logo {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: var(--font-weight-bold);
  color: var(--color-white);
  letter-spacing: -0.02em;
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: var(--space-sm);
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius-sm);
  transition: all var(--transition-base);
}

.nav-toggle:hover {
  background: rgba(255, 255, 255, 0.2);
}

.nav-toggle span {
  display: block;
  width: 1.5rem;
  height: 0.15rem;
  background: var(--color-white);
  border-radius: 2px;
  transition: all var(--transition-base);
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(0.4rem, 0.4rem);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(0.4rem, -0.4rem);
}

.main-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  max-width: 320px;
  height: 100vh;
  background: linear-gradient(180deg, var(--color-dark) 0%, var(--color-tertiary) 100%);
  padding: var(--space-3xl) var(--space-xl);
  transition: right var(--transition-slow);
  overflow-y: auto;
  box-shadow: -8px 0 32px rgba(0, 0, 0, 0.3);
}

.main-nav.active {
  right: 0;
}

.nav-menu {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  margin-top: var(--space-2xl);
}

.nav-link {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: var(--font-weight-medium);
  color: var(--color-white);
  padding: var(--space-sm) 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: all var(--transition-base);
  opacity: 0;
  transform: translateX(1rem);
  animation: slideInNav 0.4s ease forwards;
}

.nav-link:nth-child(1) { animation-delay: 0.1s; }
.nav-link:nth-child(2) { animation-delay: 0.2s; }
.nav-link:nth-child(3) { animation-delay: 0.3s; }
.nav-link:nth-child(4) { animation-delay: 0.4s; }

@keyframes slideInNav {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.nav-link:hover {
  color: var(--color-light);
  padding-left: var(--space-sm);
}

/* ========================================
   LAYOUT CONTAINERS
   ======================================== */

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.container-sm {
  max-width: var(--container-sm);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

section {
  padding: var(--space-2xl) 0;
  opacity: 0;
  transform: translateY(2rem);
  animation: fadeInUp 0.8s ease forwards;
}

section:nth-of-type(1) { animation-delay: 0.1s; }
section:nth-of-type(2) { animation-delay: 0.2s; }
section:nth-of-type(3) { animation-delay: 0.3s; }
section:nth-of-type(4) { animation-delay: 0.4s; }

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ========================================
   HERO SECTION
   ======================================== */

.hero {
  min-height: 85vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 50%, var(--color-accent) 100%);
  position: relative;
  overflow: hidden;
  margin-top: 3.5rem;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><pattern id="grain" x="0" y="0" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.03)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.03)"/></pattern></defs><rect width="1000" height="1000" fill="url(%23grain)"/></svg>');
  opacity: 0.4;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 10;
  color: var(--color-white);
}

.hero h1 {
  font-size: var(--text-5xl);
  color: var(--color-white);
  margin-bottom: var(--space-lg);
  line-height: 1.1;
}

.hero p {
  font-size: var(--text-lg);
  color: rgba(255, 255, 255, 0.9);
  max-width: 600px;
  margin-bottom: var(--space-xl);
}

/* ========================================
   BUTTONS & INTERACTIVE ELEMENTS
   ======================================== */

.btn {
  display: inline-block;
  padding: var(--space-sm) var(--space-lg);
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: var(--font-weight-medium);
  text-align: center;
  border-radius: var(--border-radius-md);
  transition: all var(--transition-base);
  cursor: pointer;
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--color-white);
  color: var(--color-primary);
}

.btn-primary:hover {
  background: var(--color-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  color: var(--color-white);
  border-color: var(--color-white);
}

.btn-outline:hover {
  background: var(--color-white);
  color: var(--color-primary);
}

.btn-dark {
  background: var(--color-primary);
  color: var(--color-white);
}

.btn-dark:hover {
  background: var(--color-secondary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* ========================================
   CARDS & CONTENT BLOCKS
   ======================================== */

.card {
  background: var(--color-white);
  border-radius: var(--border-radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
  border: 1px solid var(--color-border);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--border-radius-md);
  margin-bottom: var(--space-md);
}

.card-title {
  font-size: var(--text-xl);
  margin-bottom: var(--space-sm);
}

.card-text {
  font-size: var(--text-sm);
  color: var(--color-text-light);
  margin-bottom: 0;
}

/* ========================================
   GRID LAYOUTS
   ======================================== */

.grid {
  display: grid;
  gap: var(--space-lg);
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

/* ========================================
   DIAGONAL FLOW SECTIONS
   ======================================== */

.diagonal-section {
  position: relative;
  padding: var(--space-3xl) 0;
  background: var(--color-white);
}

.diagonal-section::before {
  content: '';
  position: absolute;
  top: -3rem;
  left: 0;
  right: 0;
  height: 6rem;
  background: var(--color-light);
  transform: skewY(-2deg);
  transform-origin: left;
}

/* ========================================
   CONTACT FORM — ARTISTIC DESIGN
   ======================================== */

.contact-form-wrapper {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  padding: var(--space-2xl);
  border-radius: var(--border-radius-lg);
  position: relative;
  overflow: hidden;
}

.contact-form-wrapper::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.form-group {
  margin-bottom: var(--space-lg);
}

.form-label {
  display: block;
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: var(--font-weight-medium);
  color: var(--color-white);
  margin-bottom: var(--space-xs);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: var(--space-sm) var(--space-md);
  background: rgba(255, 255, 255, 0.95);
  border: 2px solid transparent;
  border-radius: var(--border-radius-md);
  font-size: var(--text-base);
  color: var(--color-text);
  transition: all var(--transition-base);
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  background: var(--color-white);
  border-color: var(--color-light);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.2);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

.checkbox-wrapper {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
}

.checkbox-wrapper input[type="checkbox"] {
  margin-top: 0.25rem;
  width: 1.125rem;
  height: 1.125rem;
  cursor: pointer;
}

.checkbox-label {
  font-size: var(--text-sm);
  color: var(--color-white);
  line-height: 1.5;
}

.checkbox-label a {
  color: var(--color-light);
  text-decoration: underline;
}

/* ========================================
   FOOTER — MINIMALIST
   ======================================== */

.site-footer {
  background: var(--color-dark);
  color: var(--color-white);
  padding: var(--space-xl) 0 var(--space-md);
  font-size: var(--text-sm);
}

.footer-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  align-items: center;
  text-align: center;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  justify-content: center;
}

.footer-link {
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--transition-base);
}

.footer-link:hover {
  color: var(--color-white);
}

.footer-copyright {
  color: rgba(255, 255, 255, 0.5);
  font-size: var(--text-xs);
}

/* ========================================
   PRIVACY POPUP
   ======================================== */

.privacy-popup {
  position: fixed;
  bottom: -100%;
  left: 0;
  right: 0;
  background: var(--color-white);
  padding: var(--space-lg);
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.15);
  z-index: 2000;
  transition: bottom var(--transition-slow);
  border-top: 3px solid var(--color-primary);
}

.privacy-popup.active {
  bottom: 0;
}

.popup-content {
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  align-items: center;
}

.popup-text {
  font-size: var(--text-sm);
  color: var(--color-text);
  margin: 0;
  text-align: center;
}

.popup-actions {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
  justify-content: center;
}

/* ========================================
   GOOGLE MAP
   ======================================== */

.map-container {
  width: 100%;
  height: 350px;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 2px solid var(--color-border);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ========================================
   UTILITY CLASSES
   ======================================== */

.text-center { text-align: center; }
.text-white { color: var(--color-white); }
.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: fadeIn 0.8s ease forwards;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

@media (min-width: 768px) {
  :root {
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.375rem;
    --text-2xl: 1.875rem;
    --text-3xl: 2.375rem;
    --text-4xl: 3.25rem;
    --text-5xl: 4.5rem;
  }
  
  .nav-toggle {
    display: none;
  }
  
  .main-nav {
    position: static;
    width: auto;
    max-width: none;
    height: auto;
    background: transparent;
    padding: 0;
    box-shadow: none;
    overflow: visible;
  }
  
  .nav-menu {
    flex-direction: row;
    gap: var(--space-lg);
    margin-top: 0;
  }
  
  .nav-link {
    font-size: var(--text-base);
    padding: 0;
    border-bottom: none;
    opacity: 1;
    transform: none;
    animation: none;
    position: relative;
  }
  
  .nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-white);
    transition: width var(--transition-base);
  }
  
  .nav-link:hover {
    padding-left: 0;
  }
  
  .nav-link:hover::after {
    width: 100%;
  }
  
  .popup-content {
    flex-direction: row;
    justify-content: space-between;
  }
  
  .popup-text {
    text-align: left;
  }
  
  .popup-actions {
    flex-shrink: 0;
  }
}

@media (min-width: 1024px) {
  section {
    padding: var(--space-3xl) 0;
  }
  
  .hero {
    min-height: 90vh;
  }
  
  .contact-form-wrapper {
    padding: var(--space-3xl);
  }
}

/* ========================================
   404 & THANK YOU PAGES
   ======================================== */

.error-page,
.thank-you-page {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-3xl) var(--space-md);
}

.error-content,
.thank-you-content {
  max-width: 600px;
}

.error-code {
  font-family: var(--font-display);
  font-size: 8rem;
  font-weight: var(--font-weight-bold);
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: var(--space-md);
  opacity: 0.3;
}

/* ========================================
   LOADING STATES
   ======================================== */

.loading {
  opacity: 0.6;
  pointer-events: none;
}

.spinner {
  width: 1.5rem;
  height: 1.5rem;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-top-color: var(--color-white);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}