@charset "utf-8";

/* ===== Global Styles ===== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Arimo', sans-serif;
  background-color: #060E00;
  color: #333;
  line-height: 1.6;
}


/* ===== Header Section ===== */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #2E6619;
  padding: 15px 30px;
  flex-wrap: wrap;
  gap: 10px;
}

.header img {
  width: 80px;
  height: 80px;
  border-radius: 0%;
  object-fit: cover;
}

.header h1 {
  color: white;
  font-family: 'Merriweather', serif;
  font-size: 1.6em;
  flex: 1;
  text-align: center;
}

/* ===== Navigation Links ===== */
.list {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  list-style: none;
  gap: 20px;
}

.list a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.list a:hover {
  color: #D9E34F;
}

/* ===== Header Icons ===== */
#ico {
  display: flex;
  gap: 15px;
  align-items: center;
  justify-content: flex-end;
}

#ico img {
  width: 28px;
  height: 28px;
  cursor: pointer;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

#ico img:hover {
  transform: scale(1.1);
  opacity: 0.85;
}

/* ===== Search Bar ===== */
#search-container {
  text-align: center;
  margin: 20px 0;
}

.search-wrapper {
  position: relative;
  width: 330px;
  margin: auto;
}

.search-input {
  width: 100%;
  padding: 10px 80px 10px 10px;
  border-radius: 10px;
  border: 1px solid #ccc;
	position: relative;
	top:30px;
}

.search-btn-text {
  position: absolute;
  left: 255px;
  top: 48.5px;
  transform: translateY(-50%);
  padding: 8px 15px;
  background: #2E6619;
  color: white;
  border: none;
  border-radius: 10px;
  cursor: pointer;
}

.search-btn-text:hover {
  background: #D9E34F;
}

/* ===== Slogan ===== */
.slog {
	position: relative;
	top:40px;
  text-align: center;
  color: #D9E34F;
  font-family: 'Merriweather', serif;
  margin: 40px 0 20px;
}

.slog h1 {
  font-size: 2em;
  font-weight: 600;
}

/* ===== Category Section ===== */
.category {
	position: relative;
	top:60px;
  text-align: center;
  margin: 0 auto 60px;
  width: 90%;
  max-width: 1100px;
}

.category h2 {
  color: #2E6619;
  font-family: 'Merriweather', serif;
  font-size: 2.0em;
  margin-bottom: 40px;
}

.grid {
  display:flex;

  gap: 40px;
  justify-items: center;
}

.item {
  text-align: center;
}

.item img {
  width: 100%;
 
  height: 200px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.25);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.item img:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* ===== Global Button Style (unified for all buttons) ===== */
.button,
.search-button,
.contact-container input[type="submit"] {
  display: inline-block;
  background: #2E6619;
  color: white;
  padding: 10px 25px;
  border-radius: 25px;
  border: none;
  text-decoration: none;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
  font-size: 1em;
  min-width: 150px;
  text-align: center;
}

.button:hover,
.search-button:hover,
.contact-container input[type="submit"]:hover {
  background: #D9E34F;
  transform: scale(1.05);
}

/* ===== Contact Us Section ===== */
.contact-container {
	position: relative;
	top:60px;
  background-color: #fff;
  padding: 35px 25px;
  margin: 60px auto;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  max-width: 600px;
}

.contact-container h2 {
  text-align: center;
  color: #2E6619;
  font-family: 'Merriweather', serif;
  margin-bottom: 25px;
}

.contact-container form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-container label {
  font-weight: bold;
  color: #333;
}

.contact-container input,
.contact-container textarea {
  padding: 12px;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 14px;
  width: 100%;
  resize: vertical;
}

/* ===== Footer ===== */
.socialmedia {
  display: flex;
	position: relative;
	top:40px;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  background: #2E6619;
  padding: 20px 40px;
  color: white;
  gap: 20px;
}

.part1 {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.part1 img {
  width: 80px;
  height: 80px;
  border-radius: 0%;
  object-fit: cover;
}

.part1 a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.part1 a:hover {
  color: #D9E34F;
}

#icon {
  display: flex;
  gap: 15px;
  justify-content: center;
  align-items: center;
}

#icon img {
  width: 40px;
  height: 40px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

#icon img:hover {
  transform: scale(1.1);
  opacity: 0.8;
}.subscribe-btn {
    display: inline-block;
    background: #2E8B57;
    color: #fff;
    padding: 12px 22px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
}
.subscribe-btn:hover {
    background: #246b45;
}


/* ===== Responsive Design ===== */
@media screen and (max-width: 768px) {
  .header {
    flex-direction: column;
    text-align: center;
  }

  .list {
    flex-direction: column;
    gap: 10px;
    padding: 15px 0;
  }

  #search-container {
    flex-direction: column;
    gap: 10px;
  }
	nav {
    display: none;
    width: 100%;
    text-align: center;
  }
	nav.open {
    display:block;
  }

  .contact-container input[type="submit"] {
    width: 80%;
  }

  .grid {
	  flex-direction: column;
   
  }

  .header h1 {
    font-size: 1.4em;
	  
  }
	footer.socialmedia {
    flex-direction: column;
    text-align: center;
  }
}


@media screen and (max-width: 480px) {
  .slog h1 {
    font-size: 1.4em;
  }

  .category h1 {
    font-size: 1.5em;
  }

  #icon img {
    width: 30px;
    height: 30px;
  }
	
	.grid {
	  flex-direction: column;
   
  }
	/* ===== HAMBURGER ICON ===== */
.hamburger {
  width: 35px;
  height: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
}

.hamburger span {
  display: block;
  height: 4px;
  width: 100%;
  background: #fff; /* Change color if needed */
  border-radius: 4px;
  transition: 0.3s ease;
}

/* ===== ACTIVE STATE (X ANIMATION) ===== */
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

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

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

}




