/* CSS Variables */
:root {
  --color-primary: #224B00;
  --color-secondary: #F5EEDC;
  --color-accent: #CC5500;
  --color-accent-alt: #B87333;
  --color-neutral: #4B3832;
  --color-text: #2C2416;
  --color-text-light: #6B5B4A;
  --color-white: #FFFFFF;
  --font-primary: 'Cormorant Garamond', serif;
  --font-secondary: 'Source Sans Pro', sans-serif;
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-xxl: 4rem;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --transition-fast: 0.3s ease;
  --transition-medium: 0.5s ease;
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.15);
  --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-primary);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--space-md);
  color: var(--color-neutral);
}

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

h2 {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
}

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

p {
  margin-bottom: var(--space-md);
}

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

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

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

/* Header */
.site-header {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-neutral) 100%);
  padding: var(--space-md) var(--space-lg);
  position: relative;
  box-shadow: var(--shadow-md);
  transform: translateY(0);
  transition: transform var(--transition-medium);
}

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

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

.brand-text {
  font-family: var(--font-primary);
  font-size: clamp(1rem, 2vw, 2rem);
  color: var(--color-white);
  font-weight: 700;
  letter-spacing: 1px;
}

.nav-menu {
  display: flex;
  list-style: none;
  align-items: center;
  flex-wrap: wrap;
}

.nav-menu li a {
  color: var(--color-white);
  font-weight: 500;
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-sm);
  transition: background-color var(--transition-fast);
}

.nav-menu li a:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--color-white);
}

.menu-toggle {
  display: none;
  background: transparent;
  border: 2px solid var(--color-white);
  color: var(--color-white);
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 1.5rem;
  transition: background-color var(--transition-fast);
  order: 999;
  z-index: 10001;
  position: relative;
}

.menu-toggle:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.menu-toggle.active {
  background-color: var(--color-accent);
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 400px;
  height: 100vh;
  background: white;
  box-shadow: -2px 0 10px rgba(0, 0, 0, 0.3);
  z-index: 10001;
  transition: right var(--transition-medium);
  overflow-y: auto;
  padding: var(--space-xl) var(--space-lg);
}

.mobile-menu.active {
  right: 0;
}

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

.mobile-menu-close:hover {
  background-color: rgba(0, 0, 0, 0.1);
}

.mobile-menu ul {
  list-style: none;
  margin-top: var(--space-xl);
}

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

.mobile-menu ul li a {
  display: block;
  color: var(--color-text);
  font-weight: 600;
  padding: var(--space-md);
  border-radius: var(--radius-md);
  transition: background-color var(--transition-fast);
  font-size: 1.125rem;
}

.mobile-menu ul li a:hover {
  background-color: rgba(0, 0, 0, 0.05);
  color: var(--color-primary);
}

/* Desktop Menu */
@media (min-width: 1024px) {
  .nav-menu {
    display: flex;
  }
}

/* Mobile Menu */
@media (max-width: 1023px) {
  .menu-toggle {
    display: block;
  }

  .nav-menu {
    display: none;
  }
}

/* Main Content */
.main-content {
  min-height: calc(100vh - 200px);
}

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

/* Hero Section */
.hero-section {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4));
  background-size: cover;
  background-position: center;
  margin-bottom: var(--space-xxl);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.hero-content {
  text-align: center;
  color: var(--color-white);
  padding: var(--space-xl);
  z-index: 2;
}

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

.hero-content p {
  font-size: clamp(1rem, 2vw, 1.25rem);
  max-width: 800px;
  margin: 0 auto var(--space-lg);
}

/* Sections */
.content-section {
  margin-bottom: var(--space-xxl);
  padding: var(--space-xl) 0;
}

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

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: var(--color-accent);
}

/* Grid Layouts */
.grid-two {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-lg);
  margin-bottom: var(--space-lg);
}

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

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

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

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

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

.card-title {
  color: var(--color-primary);
  margin-bottom: var(--space-sm);
}

.card-text {
  color: var(--color-text-light);
  font-size: 0.95rem;
}

/* Banner */
.banner-section {
  position: relative;
  min-height: 400px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-xl);
  overflow: hidden;
}

.banner-overlay {
  background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3));
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

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

.banner-content h2 {
  color: var(--color-white);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: var(--space-md) var(--space-lg);
  background-color: var(--color-accent);
  color: var(--color-white);
  border: none;
  border-radius: var(--radius-md);
  font-weight: 600;
  cursor: pointer;
  transition: background-color var(--transition-fast), transform var(--transition-fast);
  text-align: center;
  font-size: 1rem;
    margin-top: 10px;
}

.btn:hover {
  background-color: var(--color-accent-alt);
  transform: translateY(-2px);
  color: var(--color-white);
}

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

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

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

.btn-outline:hover {
  background-color: var(--color-accent);
  color: var(--color-white);
}

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

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

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

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

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

.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-weight: 400;
  cursor: pointer;
}

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

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

/* Footer */
.site-footer {
  background: var(--color-neutral);
  color: var(--color-white);
  padding: var(--space-xl) var(--space-lg);
  margin-top: var(--space-xxl);
}

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

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

.footer-section ul {
  list-style: none;
}

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

.footer-section ul li a {
  color: var(--color-secondary);
  transition: color var(--transition-fast);
}

.footer-section ul li a:hover {
  color: var(--color-white);
}

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

/* Privacy Popup */
.privacy-popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 10000;
  align-items: center;
  justify-content: center;
  padding: var(--space-lg);
}

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

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

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

.popup-close:hover {
  background: var(--color-accent-alt);
}

.popup-content h2 {
  margin-bottom: var(--space-lg);
}

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

/* Product Cards */
.product-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

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

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

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

.product-title {
  color: var(--color-primary);
  margin-bottom: var(--space-sm);
}

.product-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: var(--space-md);
}

.product-description {
  color: var(--color-text-light);
  margin-bottom: var(--space-md);
}

/* Timeline */
.timeline {
  position: relative;
  padding: var(--space-xl) 0;
}

.timeline-item {
  display: flex;
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
  position: relative;
}

.timeline-marker {
  width: 20px;
  height: 20px;
  background: var(--color-accent);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 4px;
}

.timeline-content {
  flex: 1;
  background: var(--color-white);
  padding: var(--space-lg);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

/* Map Interactive */
.origin-map-container {
  background: var(--color-white);
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  margin-bottom: var(--space-xl);
}

.map-region {
  cursor: pointer;
  transition: opacity var(--transition-fast);
}

.map-region:hover {
  opacity: 0.8;
}

.region-card {
  display: none;
  background: var(--color-white);
  padding: var(--space-lg);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  margin-top: var(--space-lg);
}

.region-card.active {
  display: block;
}

/* Text Content */
.text-content {
  max-width: 800px;
  margin: 0 auto;
  padding: var(--space-lg);
}

.text-content h2 {
  margin-top: var(--space-xl);
  margin-bottom: var(--space-md);
}

.text-content h2:first-child {
  margin-top: 0;
}

.text-content ul,
.text-content ol {
  margin-left: var(--space-lg);
  margin-bottom: var(--space-md);
}

.text-content li {
  margin-bottom: var(--space-sm);
}

/* Date Display */
.date {
  font-style: italic;
  color: var(--color-text-light);
  font-size: 0.9rem;
}

/* 404 Page */
.error-page {
  text-align: center;
  padding: var(--space-xxl) var(--space-lg);
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

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

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

/* Responsive Design */
@media (max-width: 1024px) {
  .container {
    padding: 0 var(--space-md);
  }

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

@media (max-width: 768px) {
  :root {
    --space-xl: 2rem;
    --space-xxl: 3rem;
  }

  .hero-section {
    min-height: 50vh;
  }

  .banner-section {
    min-height: 300px;
  }

  .grid-two,
  .grid-three,
  .grid-four {
    grid-template-columns: 1fr;
  }

  .timeline-item {
    flex-direction: column;
  }

  .timeline-marker {
    align-self: flex-start;
  }
}

@media (max-width: 480px) {
  .header-container {
    padding: var(--space-sm);
  }

  .container {
    padding: 0 var(--space-sm);
  }

  .form-container {
    padding: var(--space-md);
  }

  .popup-content {
    padding: var(--space-md);
    max-height: 90vh;
  }
}

@media (max-width: 320px) {
  html {
    font-size: 14px;
  }

  .hero-content,
  .banner-content {
    padding: var(--space-md);
  }
}

/* Print Styles */
@media print {
  .site-header,
  .site-footer,
  .menu-toggle,
  .privacy-popup {
    display: none;
  }


}

