:root {
  --color-base: #F4F1EA;
  --color-secondary: #C9BFA3;
  --color-accent: #8DA182;
  --color-warm: #A87F5F;
  --color-dark: #4A4A48;
  
  --font-primary: 'Outfit', sans-serif;
  --font-secondary: 'Merriweather', serif;
  
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 3rem;
  --space-xl: 5rem;
  
  --radius-sm: 0.5rem;
  --radius-md: 1rem;
  --radius-lg: 1.5rem;
  
  --shadow-sm: 0 2px 8px rgba(74, 74, 72, 0.08);
  --shadow-md: 0 4px 16px rgba(74, 74, 72, 0.12);
  --shadow-lg: 0 8px 32px rgba(74, 74, 72, 0.16);
  
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
  
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.5rem;
  --text-2xl: 2rem;
  --text-3xl: 2.5rem;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--color-dark);
  background-color: var(--color-base);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-secondary);
  line-height: 1.3;
  margin-bottom: var(--space-sm);
  color: var(--color-dark);
}

h1 { font-size: var(--text-3xl); }
h2 { font-size: var(--text-2xl); }
h3 { font-size: var(--text-xl); }
h4 { font-size: var(--text-lg); }
h5, h6 { font-size: var(--text-base); }

p {
  margin-bottom: var(--space-sm);
}

a {
  color: var(--color-accent);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--color-warm);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

.container {
  max-width: 75rem;
  margin: 0 auto;
  padding: 0 var(--space-sm);
}

.header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: var(--space-sm) 0;
  background: linear-gradient(180deg, rgba(244, 241, 234, 0.95) 0%, rgba(244, 241, 234, 0) 100%);
  transition: transform var(--transition-normal), background var(--transition-normal);
}

.header.scrolled {
  background: rgba(244, 241, 234, 0.98);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
}

.header.hidden {
  transform: translateY(-100%);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-md);
}

.logo {
  font-family: var(--font-secondary);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-dark);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.logo:hover {
  color: var(--color-accent);
}

.nav-main {
  display: flex;
  gap: var(--space-md);
  align-items: center;
}

.nav-list {
  display: flex;
  gap: var(--space-md);
  list-style: none;
}

.nav-link {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-dark);
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius-sm);
  transition: background var(--transition-fast), color var(--transition-fast);
}

.nav-link:hover {
  background: var(--color-secondary);
  color: var(--color-dark);
}

.burger {
  display: none;
  flex-direction: column;
  gap: 0.25rem;
  padding: var(--space-xs);
  background: transparent;
}

.burger-line {
  width: 1.5rem;
  height: 2px;
  background: var(--color-dark);
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}

.burger.active .burger-line:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.burger.active .burger-line:nth-child(2) {
  opacity: 0;
}

.burger.active .burger-line:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-xl) var(--space-sm);
  background: linear-gradient(135deg, var(--color-base) 0%, var(--color-secondary) 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 50%, rgba(141, 161, 130, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.hero-container {
  max-width: 75rem;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 35rem;
  text-align: left;
}

.hero h1 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  margin-bottom: var(--space-md);
  line-height: 1.2;
}

.hero p {
  font-size: var(--text-lg);
  color: var(--color-dark);
  opacity: 0.9;
  margin-bottom: var(--space-lg);
  line-height: 1.7;
}

.hero-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transform: perspective(1000px) rotateY(-5deg);
  transition: transform var(--transition-slow);
}

.hero-image:hover {
  transform: perspective(1000px) rotateY(0deg);
}

.hero-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(141, 161, 130, 0.2) 0%, rgba(168, 127, 95, 0.2) 100%);
  z-index: 1;
  pointer-events: none;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 25rem;
  max-height: 35rem;
  display: block;
  transition: transform var(--transition-slow);
}

.hero-image:hover img {
  transform: scale(1.05);
}

.section {
  padding: var(--space-xl) var(--space-sm);
}

.section-alt {
  background: var(--color-secondary);
}

.section-header {
  text-align: center;
  max-width: 45rem;
  margin: 0 auto var(--space-lg);
}

.section-title {
  margin-bottom: var(--space-sm);
}

.section-desc {
  font-size: var(--text-lg);
  opacity: 0.8;
}

.grid {
  display: grid;
  gap: var(--space-md);
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
}

.card {
  background: white;
  padding: var(--space-md);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.card:hover {
  transform: translateY(-0.25rem);
  box-shadow: var(--shadow-md);
}

.card-icon {
  font-size: var(--text-2xl);
  color: var(--color-accent);
  margin-bottom: var(--space-sm);
}

.card-title {
  margin-bottom: var(--space-sm);
}

.card-text {
  font-size: var(--text-sm);
  opacity: 0.85;
}

.btn {
  display: inline-block;
  padding: var(--space-sm) var(--space-md);
  font-size: var(--text-base);
  font-weight: 600;
  text-align: center;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  text-decoration: none;
}

.btn-primary {
  background: var(--color-accent);
  color: white;
}

.btn-primary:hover {
  background: var(--color-warm);
  color: white;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background: var(--color-warm);
  color: white;
}

.btn-secondary:hover {
  background: var(--color-accent);
  color: white;
}

.contact-section {
  background: white;
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-lg);
  max-width: 50rem;
  margin: 0 auto;
}

.form-group {
  margin-bottom: var(--space-md);
}

.form-label {
  display: block;
  margin-bottom: var(--space-xs);
  font-weight: 500;
  font-size: var(--text-sm);
  color: var(--color-dark);
}

.form-input,
.form-textarea {
  width: 100%;
  padding: var(--space-sm);
  border: 2px solid var(--color-secondary);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: var(--text-base);
  transition: border-color var(--transition-fast);
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--color-accent);
}

.form-textarea {
  min-height: 8rem;
  resize: vertical;
}

.form-checkbox-group {
  display: flex;
  gap: var(--space-sm);
  align-items: flex-start;
}

.form-checkbox {
  margin-top: 0.25rem;
}

.form-checkbox-label {
  font-size: var(--text-sm);
  cursor: pointer;
}

.contact-info {
  display: grid;
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.contact-item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.contact-icon {
  font-size: var(--text-xl);
  color: var(--color-accent);
}

.map-container {
  margin-top: var(--space-lg);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.map-container iframe {
  width: 100%;
  height: 25rem;
  border: none;
  display: block;
}

.footer {
  background: var(--color-dark);
  color: var(--color-base);
  padding: var(--space-md) var(--space-sm);
  text-align: center;
}

.footer-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  align-items: center;
  font-size: var(--text-sm);
}

.footer-links {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
  justify-content: center;
  list-style: none;
}

.footer-link {
  color: var(--color-base);
  opacity: 0.8;
  transition: opacity var(--transition-fast);
}

.footer-link:hover {
  opacity: 1;
  color: var(--color-base);
}

.product-card {
  background: white;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-normal);
}

.product-card:hover {
  transform: translateY(-0.5rem);
}

.product-image {
  width: 100%;
  height: 15rem;
  object-fit: cover;
}

.product-content {
  padding: var(--space-md);
}

.product-title {
  margin-bottom: var(--space-xs);
}

.product-price {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-warm);
  margin-top: var(--space-sm);
}

.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(74, 74, 72, 0.9);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: var(--space-md);
}

.modal.active {
  display: flex;
}

.modal-content {
  background: white;
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
  max-width: 35rem;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
}

.modal-close {
  position: absolute;
  top: var(--space-sm);
  right: var(--space-sm);
  font-size: var(--text-xl);
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--color-secondary);
  color: var(--color-dark);
  transition: background var(--transition-fast);
}

.modal-close:hover {
  background: var(--color-accent);
  color: white;
}

.error-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-lg);
}

.error-content h1 {
  font-size: clamp(3rem, 10vw, 8rem);
  color: var(--color-accent);
  margin-bottom: var(--space-md);
}

.thankyou-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-lg);
  background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-warm) 100%);
  color: white;
}

.thankyou-content {
  max-width: 40rem;
}

.thankyou-icon {
  font-size: 4rem;
  margin-bottom: var(--space-md);
}

@media (max-width: 768px) {
  :root {
    --text-xs: 0.7rem;
    --text-sm: 0.8rem;
    --text-base: 0.9rem;
    --text-lg: 1rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.75rem;
    --text-3xl: 2rem;
    
    --space-md: 1.5rem;
    --space-lg: 2.5rem;
    --space-xl: 3.5rem;
  }

  .header {
    position: fixed;
    background: rgba(244, 241, 234, 0.98);
    backdrop-filter: blur(10px);
  }

  .nav-main {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    max-width: 20rem;
    height: 100vh;
    background: var(--color-base);
    flex-direction: column;
    align-items: flex-start;
    padding: var(--space-xl) var(--space-md);
    box-shadow: var(--shadow-lg);
    transition: right var(--transition-normal);
  }

  .nav-main.active {
    right: 0;
  }

  .nav-list {
    flex-direction: column;
    width: 100%;
  }

  .nav-link {
    display: block;
    width: 100%;
  }

  .burger {
    display: flex;
  }

  .hero {
    padding: var(--space-lg) var(--space-sm);
    min-height: auto;
    padding-top: calc(var(--space-xl) + 3rem);
  }

  .hero-container {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .hero-content {
    text-align: center;
    max-width: 100%;
  }

  .hero-image {
    transform: none;
    max-width: 100%;
  }

  .hero-image:hover {
    transform: none;
  }

  .hero-image img {
    min-height: 18rem;
    max-height: 25rem;
  }

  .section {
    padding: var(--space-lg) var(--space-sm);
  }

  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }

  .contact-section {
    padding: var(--space-md);
  }

  .footer-content {
    font-size: var(--text-xs);
  }

  .footer-links {
    gap: var(--space-sm);
  }
}

@media (max-width: 480px) {
  :root {
    --space-sm: 0.75rem;
    --space-md: 1.25rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
  }

  .card {
    padding: var(--space-sm);
  }

  .modal-content {
    padding: var(--space-md);
  }

  h2{
    font-size: 1.4rem;
  }
}


