:root {
  --primary-color: #0F4716;
  --secondary-color: #FAD895;
  --text-color: #042B08;
  --darkest-color: #030D04;
  --background-color-01: #FCFCFC;
  --background-color-03: #F7F7F7;
  --background-color-05: #f2f2f2;
  --background-color-07: #EDEDED;
  --background-color-10: #E5E6E5;
  --background-color-12: #E0E1E0;
  --background-color-15: #D9DAD9;
  --accent-color: #C67A30;
  --sky-color: #b4d1f2;
}

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

body {
  font-family: 'IBM Plex Sans','Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--background-color-01);
}

/* Typography */
h1 {
  font-size: clamp(2rem, -0.25rem + 10vw, 5rem);
  margin-bottom: 1rem;
  color: var(--primary-color);
  line-height:4rem;
}

h2 {
  font-size: clamp(1.5rem, 0.75rem + 3.33vw, 2.5rem);
  color: var(--text-color);
  margin-bottom: 2rem;
  line-height:2.2rem;
}

h3 {
  font-size: clamp(1.3rem, 0.77rem + 2.33vw, 2rem);
  color: var(--text-color);
  margin-bottom: 1.5rem;
  margin-top: 3rem;
  line-height:1.8rem;
}

h4 {
  font-size: clamp(1.1rem, 0.8rem + 1.33vw, 1.5rem);
  color: var(--text-color);
  margin-bottom: 1.5rem;
  margin-top: 3rem;
  line-height:1.8rem;
}

p, ol, ul {
  font-size: clamp(1.1rem, 0.8rem + 1.33vw, 1.5rem);
  margin-bottom: 1rem;
}

ol,ul {
  margin-left:20px;
}

a {
  color: inherit;
  text-decoration: underline;
  transition: color 0.5s ease;
}

a:hover {
  background-color: var(--sky-color);
}

button {
  background-color: var(--primary-color);
  color: var(--background-color-01);
  padding: 1rem 2rem;
  margin-bottom: 1rem;
  border: 2px solid var(--primary-color);
  border-radius: 10px;
  cursor: pointer;
  font-size: clamp(1.1rem, 1.02rem + 0.33vw, 1.2rem);
  transition: background-color 0.5s ease;
}

button a {
  text-decoration: none;
}

button:hover {
  background-color: var(--accent-color);
  border: 2px solid var(--accent-color);
}

button a:hover {
  background: none;
}

.button-secondary {
  background-color: var(--secondary-color);
  color: var(--text-color);
  border:2px solid var(--secondary-color)
}

.button-secondary:hover {
  color:var(--background-color-01);
}

.button-ghost {
  background-color: var(--background-color-01);
  color: var(--primary-color);
  border:2px solid var(--primary-color)
}

.button-ghost:hover {
  color:var(--background-color-01);
}

.image-svg-full {
  width:75%;
}

/* Header & Navigation */
header {
  background-color: var(--primary-color);
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Hamburger button */
.hamburger {
    background-color:var(--background-color-01);
    display: block;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
    margin-bottom:0;
}

.hamburger-line {
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 5px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* Hamburger animation when open */
.hamburger.active .hamburger-line:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

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

.logo {
  font-size: 1.5rem;
  font-weight: 600;
}

/* Mobile menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background-color: #f8f9fa;
    transition: right 0.3s ease-in-out;
    z-index: 999;
    padding-top: 80px;
    box-shadow: -2px 0 8px rgba(0,0,0,0.15);
}

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

/* Overlay */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
    z-index: 998;
}

.overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Menu items */
.mobile-menu nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-menu nav ul li {
    border-bottom: 1px solid #e0e0e0;
}

.mobile-menu nav ul li a {
    display: block;
    padding: 1rem 1.5rem;
    color: #2d5016;
    text-decoration: none;
    font-size: 1.1rem;
    transition: background-color 0.2s;
}

.mobile-menu nav ul li a:hover,
.mobile-menu nav ul li a:active {
    background-color: #e8f5e9;
}

/* Desktop menu (hide on mobile) */
.desktop-menu {
    display: none;
}

/* Togle */
.toggle-list {
    background:var(--background-color-01);
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    overflow: hidden;
}

.toggle-item {
    border-bottom: 1px solid var(--background-color-15);
}

.toggle-item:last-child {
    border-bottom: none;
}

.toggle-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    cursor: pointer;
    transition: background-color 0.2s ease;
    user-select: none;
}

.toggle-header:hover {
  background-color: var(--background-color-07);
}

.toggle-header h4 {
  font-size: clamp(1rem, 0.92rem + 0.33vw, 1.1rem);
  color: var(--primary-color);
  margin:0;
  font-weight:600;
}

.toggle-icon {
    font-size: 1em;
    color:var(--primary-color);
    transition: transform 0.3s ease;
}

.toggle-item.active .toggle-icon {
    transform: rotate(180deg);
}

.toggle-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    background-color: var(--background-color-01);
}

.toggle-item.active .toggle-content {
    max-height: 500px;
}

.toggle-content li{
  margin: 1rem 2rem;
}

/* Hero Section */
.hero {
  height: 50vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background: url(/images/Logo.jpg) center/cover;
  padding: 0 1rem;
  max-width:100%;
  margin-left:auto;
  margin-right:auto;
}

.hero h1 {
  font-size: 6rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
  text-shadow: var(--background-color-01) 3px 3px 8px;
}

.hero p {
  font-size: 2rem;
  max-width: 800px;
  font-weight:bold;
  color: var(--darkest-color);
}

/* Sections */
section {
  max-width: 1200px;
  padding: 5rem 10%;
  margin-bottom: 1rem;
  margin-left:auto;
  margin-right:auto;
}

.section-background {
  background-color: var(--background-color-03);
}

/* About Section */


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

.product-card {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  img {
    width: 100%;
    object-fit: cover;
  }
  h3 {
    padding: 1.2rem 1rem 1rem;
    color: var(--primary-color);
    margin:0;
  }
  p {
    padding: 0 1rem 1rem;
    color: var(--text-color);
  }
  ul {
    padding: 0 1rem 1rem;
    margin-left:2rem;
  }
}

.product-card:hover {
  transform: translateY(-3px);
}


/* Contact Section */

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

label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--primary-color);
}

input,
textarea {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 1rem;
}

textarea {
  height: 150px;
  resize: vertical;
}

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

.image-grid img {
  width: 100%;
  object-fit: cover;
  max-width:100%;
}

/* Footer */
footer {
  background-color: var(--primary-color);
  color: var(--background-color-01);
  text-align: center;
  padding: 2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .image-svg-full {
    width:100%;
  }

  nav {
    flex-direction: column;
    padding: 1rem;
  }

  .nav-links {
    margin-top: 1rem;
    font-size: 1rem;
    gap: 1rem;
  }

  .nav-links a {
    text-decoration: underline;
  }

  .hero {
    height:150px;
  }
 
 header {
    padding: 1rem 5%;
 }

  ol,ul {
    margin-left:10%;
  }

  .toggle-header {
    padding: 18px 20px;
  }

  .toggle-header h4 {
      font-size: 1.1em;
}

  section {
    padding: 1rem 5%;
    margin:0;
  }
}

 @media (min-width: 768px) {
  .hamburger {
      display: none;
  }

  header{ 
    padding: 1rem 5%;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
  }

  .desktop-menu {
      display:block;
  }

  .desktop-menu ul {
      list-style: none;
      display: flex;
      gap: 2rem;
      font-size:1.2rem;
      margin:0;
  }

  .desktop-menu ul li a {
      color: white;
      text-decoration: none;
      font-weight: 400;
      transition: color 0.5s ease;
  }

  .desktop-menu ul li a:hover {
      color: var(--secondary-color);
      background: none;
      text-decoration: underline;
  } 
}