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

:root {
  --primary-dark: #1a1a1a;
  --secondary-dark: #2d2d2d;
  --accent-green: #4a7c59;
  --accent-brown: #8b4513;
  --accent-gold: #8bc34a;
  --light-green: #90ee90;
  --text-primary: #ffffff;
  --text-secondary: #e0e0e0;
  --text-muted: #b0b0b0;
}

body {
  font-family: "Inter", sans-serif;
  background-color: var(--primary-dark);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
header {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(26, 26, 26, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  transition: all 0.3s ease;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.logo {
  font-family: "Playfair Display", serif;
  font-size: rem;
  font-weight: 700;
  color: var(--accent-gold);
  text-decoration: none;
  
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-links a {
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--accent-gold);
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-gold);
  transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-links .contact-btn {
  background: linear-gradient(45deg, var(--accent-green), var(--accent-gold));
  color: var(--text-primary) !important;
  padding: 10px 20px;
  border-radius: 25px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(139, 195, 74, 0.3);
}

.nav-links .contact-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(139, 195, 74, 0.4);
  color: var(--text-primary) !important;
}

.nav-links .contact-btn::after {
  display: none;
}

.burger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.burger span {
  width: 25px;
  height: 3px;
  background: var(--text-primary);
  margin: 3px 0;
  transition: 0.3s;
}

/* Main Content */
main {
  margin-top: 80px;
  min-height: calc(100vh - 160px);
}

/* Hero Section */
.hero {
  height: 90vh;
  background: linear-gradient(rgba(26, 26, 26, 0.7), rgba(26, 26, 26, 0.7)),
    url("/placeholder.svg?height=1080&width=1920");
  background-size: cover;
  background-position: center;
  background-attachment: fixed; /* Added for parallax effect */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
}

.hero-content {
  max-width: 800px;
  animation: fadeInUp 1s ease-out;
}

.hero h1 {
  font-family: "Playfair Display", serif;
  font-size: 4rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-primary);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero .subtitle {
  font-size: 1.5rem;
  color: var(--accent-gold);
  margin-bottom: 2rem;
  font-weight: 300;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: var(--text-secondary);
}

.cta-button {
  display: inline-block;
  background: linear-gradient(45deg, var(--accent-green), var(--accent-gold));
  color: var(--text-primary);
  padding: 15px 30px;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(139, 195, 74, 0.3);
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(139, 195, 74, 0.4);
}

/* Page Header */
.page-header {
  background: linear-gradient(rgba(26, 26, 26, 0.8), rgba(26, 26, 26, 0.8)),
    url("/placeholder.svg?height=400&width=1920");
  background-size: cover;
  background-position: center;
  padding: 100px 0 60px;
  text-align: center;
}

.page-header h1 {
  font-family: "Playfair Display", serif;
  font-size: 3.5rem;
  color: var(--text-primary);
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-header p {
  font-size: 1.2rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* Sections */
section {
  padding: 80px 0;
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s ease;
}

section.visible {
  opacity: 1;
  transform: translateY(0);
}

.section-title {
  font-family: "Playfair Display", serif;
  font-size: 3rem;
  text-align: center;
  margin-bottom: 3rem;
  color: var(--accent-gold);
  position: relative;
}

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

/* About Section */
.about {
  background: var(--secondary-dark);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-text {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-secondary);
}

.about-text h3 {
  color: var(--accent-gold);
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.about-image {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.about-image img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.about-image:hover img {
  transform: scale(1.02);
}

/* Products Section */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.product-card {
  background: var(--secondary-dark);
  border-radius: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.product-image {
  height: 250px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.product-content {
  padding: 2rem;
}

.product-content h3 {
  color: var(--accent-gold);
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.product-content p {
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.product-price {
  color: var(--accent-green);
  font-weight: 600;
  font-size: 1.2rem;
}

/* Benefits Section */
.benefits {
  background: var(--secondary-dark);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.benefit-item {
  text-align: center;
  padding: 2rem;
  background: var(--primary-dark);
  border-radius: 15px;
  transition: all 0.3s ease;
}

.benefit-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(139, 195, 74, 0.2);
}

.benefit-icon {
  font-size: 3rem;
  color: var(--accent-gold);
  margin-bottom: 1rem;
}

.benefit-item h3 {
  color: var(--accent-gold);
  margin-bottom: 1rem;
}

.benefit-item p {
  color: var(--text-secondary);
}

/* Contact Section */
.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.contact-form {
  background: var(--secondary-dark);
  padding: 2rem;
  border-radius: 15px;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--accent-gold);
  font-weight: 500;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px;
  background: var(--primary-dark);
  border: 2px solid transparent;
  border-radius: 8px;
  color: var(--text-primary);
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

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

.submit-btn {
  background: linear-gradient(45deg, var(--accent-green), var(--accent-gold));
  color: var(--text-primary);
  padding: 12px 30px;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(139, 195, 74, 0.3);
}

.contact-info {
  padding: 2rem;
}

.contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 2rem;
}

.contact-item i {
  font-size: 1.5rem;
  color: var(--accent-gold);
  margin-right: 1rem;
  width: 30px;
}

.map-placeholder {
  width: 100%;
  height: 300px;
  background: var(--secondary-dark);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  margin-top: 2rem;
}

/* Footer */
footer {
  background: var(--primary-dark);
  text-align: center;
  padding: 2rem 0;
  border-top: 1px solid var(--secondary-dark);
}

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

/* Responsive Design */
@media (max-width: 768px) {
  .nav-links {
    position: fixed; /* Keep fixed to stay with header */
    top: 60px; /* Start slightly above final position for pop-up effect */
    left: 50%;
    transform: translateX(-50%);
    width: 280px; /* Set a fixed width, not full screen */
    max-width: 90vw; /* Ensure it doesn't exceed viewport width */
    max-height: 0; /* Hidden state: no height */
    overflow: hidden; /* Hide content when max-height is 0 */
    opacity: 0; /* Hidden state: fully transparent */
    padding: 0; /* No padding when hidden */
    background: rgba(26, 26, 26, 0.98);
    backdrop-filter: blur(10px);
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    /* Animate max-height, opacity, and top for the pop-up effect */
    transition: max-height 0.3s ease-out, opacity 0.3s ease-out, top 0.3s ease-out;
    border-radius: 0 0 15px 15px; /* Rounded bottom corners for dropdown look */
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3); /* Centered shadow */
  }

  .nav-links.active {
    max-height: calc(100vh - 70px); /* Active state: expand to full height below header */
    opacity: 1; /* Active state: fully visible */
    top: 70px; /* Final position below header */
    padding: 2rem 1rem; /* Restore padding when active */
    overflow-y: auto; /* Add scroll if content exceeds height */
  }

  .nav-links li {
    margin: 0.5rem 0;
    width: 100%;
    text-align: center;
  }

  .nav-links a {
    display: block;
    padding: 0.8rem 1rem;
    width: 100%;
    border-radius: 8px;
    transition: all 0.3s ease;
  }

  .nav-links a:hover {
    background: rgba(139, 195, 74, 0.1);
  }

  .nav-links .contact-btn {
    margin-top: 1rem;
    width: auto;
    display: inline-block;
  }

  .burger {
    display: flex;
  }

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

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

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

  .hero h1,
  .page-header h1 {
    font-size: 2.5rem;
  }

  .hero .subtitle {
    font-size: 1.2rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .about-content,
  .contact-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .products-grid,
  .benefits-grid {
    grid-template-columns: 1fr;
  }

  section {
    padding: 60px 0;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }

  .hero h1,
  .page-header h1 {
    font-size: 2rem;
  }

  .hero p,
  .page-header p {
    font-size: 1rem;
  }

  .cta-button {
    padding: 12px 25px;
    font-size: 0.9rem;
  }
}
