/* ============================================
   CSS Variables & Base Styles
   ============================================ */

:root {
  /* Colors - Premium Eco Palette */
  --color-primary: #7D8F6A;
  --color-secondary: #D8C9B5;
  --color-accent: #4A3A2A;
  --color-background: #F5F1E8;
  --color-text: #3E3E3E;
  --color-white: #FFFFFF;
  --color-overlay: rgba(125, 143, 106, 0.9);
  
  /* Typography */
  --font-heading: 'Cormorant Garamond', serif;
  --font-body: 'Inter', sans-serif;
  --font-accent: 'Playfair Display', 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: 14px;
  --border-width: 1px;
  
  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(74, 58, 42, 0.1);
  --shadow-md: 0 4px 16px rgba(74, 58, 42, 0.15);
  --shadow-lg: 0 8px 32px rgba(74, 58, 42, 0.2);
  --shadow-warm: 0 4px 20px rgba(125, 143, 106, 0.3);
  
  /* Transitions */
  --transition-fast: 0.3s ease;
  --transition-smooth: 0.5s ease;
  --transition-slow: 0.8s ease;
  
  /* Layout */
  --max-width: 1200px;
  --header-height: 80px;
  --footer-height: 200px;
}

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

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

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

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background-color: var(--color-background);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

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

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

h3 {
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
}

h4 {
  font-size: clamp(1.25rem, 3vw, 1.75rem);
}

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

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

a:hover {
  color: var(--color-accent);
}

/* Drop Cap */
.drop-cap {
  float: left;
  font-family: var(--font-heading);
  font-size: 4rem;
  line-height: 0.8;
  padding-right: var(--space-sm);
  padding-top: var(--space-xs);
  color: var(--color-primary);
}

/* Accent Quote */
.accent-quote {
  font-family: var(--font-accent);
  font-style: italic;
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  color: var(--color-primary);
  text-align: center;
  padding: var(--space-lg);
  border-left: 3px solid var(--color-secondary);
  margin: var(--space-lg) 0;
}

/* ============================================
   Layout Containers
   ============================================ */

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

.section {
  padding: var(--space-xxl) var(--space-md);
}

.section-title {
  text-align: center;
  margin-bottom: var(--space-xl);
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 2px;
  background: var(--color-primary);
  margin: var(--space-md) auto;
}

/* ============================================
   Header
   ============================================ */

.site-header {
  background: var(--color-white);
  box-shadow: var(--shadow-sm);
  padding: var(--space-md) 0;
  position: relative;
  transition: transform var(--transition-fast);
  z-index: 1000;
}

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

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

.brand-name {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--color-accent);
  font-weight: 600;
  letter-spacing: -0.5px;
}

/* Navigation */
.main-nav {
  display: flex;
  gap: var(--space-lg);
  align-items: center;
}

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

.nav-menu li a {
  font-size: 1rem;
  color: var(--color-text);
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-md);
  transition: background var(--transition-fast), color var(--transition-fast);
}

.nav-menu li a:hover {
  background: var(--color-secondary);
  color: var(--color-accent);
}

/* Burger Menu */
.burger-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-sm);
  flex-direction: column;
  gap: 5px;
  z-index: 1001;
}

.burger-btn span {
  width: 25px;
  height: 2px;
  background: var(--color-accent);
  transition: var(--transition-fast);
}

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

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

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

/* Mobile Navigation */
@media (max-width: 768px) {
  .burger-btn {
    display: flex;
  }
  
  .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background: var(--color-white);
    box-shadow: var(--shadow-lg);
    flex-direction: column;
    align-items: flex-start;
    padding: var(--space-xxl) var(--space-lg);
    transition: right var(--transition-smooth);
    z-index: 1000;
  }
  
  .main-nav.active {
    right: 0;
  }
  
  .nav-menu {
    flex-direction: column;
    width: 100%;
    gap: var(--space-md);
    align-items: flex-start;
  }
  
  .nav-menu li {
    width: 100%;
  }
  
  .nav-menu li a {
    display: block;
    width: 100%;
    padding: var(--space-md);
  }
}

/* ============================================
   Hero Banner
   ============================================ */

.hero-section {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-background) 100%);
}

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

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

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

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

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

.btn {
  display: inline-block;
  padding: var(--space-md) var(--space-xl);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  border: none;
  text-decoration: none;
}

.btn-primary {
  background: var(--color-primary);
  color: var(--color-white);
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  box-shadow: var(--shadow-warm);
  transform: translateY(-2px);
}

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

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

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

.grid {
  display: grid;
  gap: var(--space-lg);
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  overflow: hidden;
}

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

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

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

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

.card-description {
  color: var(--color-text);
  margin-bottom: var(--space-md);
  font-size: 0.95rem;
}

.card-price {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--color-primary);
  font-weight: 600;
}

/* ============================================
   Images
   ============================================ */

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

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  aspect-ratio: 4 / 3;
}

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

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

/* Banner Images */
.banner-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-md);
  margin: var(--space-lg) 0;
  box-shadow: var(--shadow-md);
}

.section-banner {
  margin: var(--space-xl) 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.section-banner img {
  width: 100%;
  height: auto;
  display: block;
}

/* Wood Texture Hover Effect */
.wood-texture {
  position: relative;
  overflow: hidden;
}

.wood-texture::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(125, 143, 106, 0.1), transparent);
  transition: left var(--transition-smooth);
  z-index: 1;
}

.wood-texture:hover::before {
  left: 100%;
}

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

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

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

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

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

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

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

.checkbox-label {
  font-size: 0.9rem;
  color: var(--color-text);
  cursor: pointer;
}

.checkbox-label a {
  text-decoration: underline;
}

.form-error {
  color: #d32f2f;
  font-size: 0.875rem;
  margin-top: var(--space-xs);
  display: none;
}

.form-error.show {
  display: block;
}

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

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

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

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

.site-footer {
  background: var(--color-accent);
  color: var(--color-white);
  padding: var(--space-xl) var(--space-md);
  margin-top: var(--space-xxl);
}

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

.footer-section h4 {
  color: var(--color-white);
  margin-bottom: var(--space-md);
  font-size: 1.25rem;
}

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

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

.footer-menu a {
  color: var(--color-secondary);
  transition: color var(--transition-fast);
}

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

.footer-bottom {
  text-align: center;
  margin-top: var(--space-xl);
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--color-secondary);
}

/* ============================================
   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-lg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  z-index: 2000;
  transform: translateY(150%);
  transition: transform var(--transition-smooth);
}

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

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

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

.privacy-popup-actions .btn {
  flex: 1;
  min-width: 120px;
  padding: var(--space-sm) var(--space-md);
  font-size: 0.9rem;
}

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

.thank-you-container {
  max-width: 700px;
  margin: var(--space-xxl) auto;
  text-align: center;
  padding: var(--space-xl);
}

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

.thank-you-message {
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  color: var(--color-accent);
  margin-bottom: var(--space-lg);
}

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

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

.error-code {
  font-size: clamp(5rem, 15vw, 10rem);
  font-family: var(--font-heading);
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: var(--space-lg);
}

.error-message {
  font-size: clamp(1.25rem, 3vw, 2rem);
  color: var(--color-accent);
  margin-bottom: var(--space-xl);
}

/* ============================================
   Content Sections
   ============================================ */

.content-block {
  margin-bottom: var(--space-xl);
}

.content-block p {
  text-align: justify;
}

.content-image {
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  margin: var(--space-lg) 0;
  box-shadow: var(--shadow-sm);
}

.feature-list {
  list-style: none;
  padding: 0;
}

.feature-list li {
  padding: var(--space-md);
  margin-bottom: var(--space-sm);
  background: var(--color-white);
  border-radius: var(--radius-md);
  border-left: 4px solid var(--color-primary);
  transition: transform var(--transition-fast);
}

.feature-list li:hover {
  transform: translateX(5px);
}

.feature-list li::before {
  content: '✓';
  color: var(--color-primary);
  font-weight: bold;
  margin-right: var(--space-sm);
}

/* Process Steps */
.process-steps {
  display: grid;
  gap: var(--space-xl);
  margin: var(--space-xl) 0;
}

.process-step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: var(--space-lg);
  align-items: start;
}

.step-number {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--color-primary);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 600;
  flex-shrink: 0;
}

.step-content h3 {
  margin-bottom: var(--space-sm);
}

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

.cert-item {
  text-align: center;
  padding: var(--space-lg);
  background: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.cert-icon {
  font-size: 3rem;
  color: var(--color-primary);
  margin-bottom: var(--space-md);
}

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

@media (max-width: 1024px) {
  .section {
    padding: var(--space-xl) var(--space-md);
  }
  
  .grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  :root {
    --space-xl: 2rem;
    --space-xxl: 3rem;
  }
  
  .section {
    padding: var(--space-lg) var(--space-md);
  }
  
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
  
  .process-step {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .step-number {
    margin: 0 auto var(--space-md);
  }
  
  .hero-section {
    min-height: 50vh;
  }
  
  .map-container {
    height: 300px;
  }
  
  .privacy-popup {
    left: var(--space-sm);
    right: var(--space-sm);
    max-width: none;
  }
}

@media (max-width: 480px) {
  :root {
    --space-lg: 1.5rem;
    --space-xl: 1.5rem;
  }
  
  .card {
    padding: var(--space-md);
  }
  
  .form-container {
    padding: var(--space-lg);
  }
  
  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

@media (max-width: 320px) {
  .container {
    padding: 0 var(--space-sm);
  }
  
  .section {
    padding: var(--space-md) var(--space-sm);
  }
  
  .btn {
    padding: var(--space-sm) var(--space-md);
    font-size: 0.9rem;
  }
}

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

/* Watercolor Divider */
.watercolor-divider {
  width: 100%;
  height: 100px;
  background: linear-gradient(135deg, var(--color-secondary) 0%, transparent 50%, var(--color-primary) 100%);
  opacity: 0.3;
  margin: var(--space-xl) 0;
  border-radius: 50% 50% 0 0;
}

