@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&family=Lora:wght@400;600&display=swap');

* {
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  margin: 0;
  padding: 0;
  background: linear-gradient(to bottom, #f4f4f4, #e8f5e9);
  text-align: center;
  color: #2c3e50;
}


html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  max-width: 100%;
  overflow-x: hidden;
}

/* NAVIGATION STYLES */
nav {
  background: #2c3e50;
  color: white;
  padding: 5px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.logo img {
  height: 60px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
}

.nav-links ul {
  list-style: none;
  display: flex;
  padding: 0;
  margin: 0;
}

.nav-links ul li {
  margin: 0 15px;
  display: flex;
  align-items: center;
}

.nav-links ul li a {
  color: white;
  text-decoration: none;
  font-size: 18px;
  transition: color 0.3s;
}

.nav-links ul li a:hover {
  color: #1abc9c;
}

/* MOBILE MENU TOGGLE */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.menu-toggle div {
  width: 25px;
  height: 3px;
  background-color: white;
  margin: 4px 0;
  transition: 0.4s;
}

@media only screen and (max-width: 600px) {
  nav {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    position: relative;
  }

  .menu-toggle {
    display: flex;
    margin-left: auto;
    margin-right: 15px;
    z-index: 1001;
  }

  .nav-links {
    width: 100%;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: all 0.3s ease-in-out;
    overflow: hidden;
    max-height: 0;
    position: absolute;
    top: 100%;
    left: 0;
    background: #2c3e50;
    z-index: 1000;
    display: flex;
    justify-content: flex-end;
    flex-direction: column;
  }

  .nav-links ul {
    flex-direction: column;
    align-items: flex-end;
    width: 100%;
    padding: 10px 5px 20px 20px;
    box-sizing: border-box;
  }

  .nav-links ul li {
    text-align: right;
    width: 100%;
  }

  .nav-links ul li a {
    padding: 4px 0;
    display: inline-block;
    width: 100%;
  }

  .nav-links.active {
    max-height: 500px;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }
}

/* DROPDOWN STYLES */
.nav-links ul li.dropdown {
  position: relative;
}

.nav-links ul li.dropdown .dropdown-toggle {
  background: none;
  border: none;
  color: white;
  font-size: 18px;
  font-family: "Poppins", sans-serif;
  cursor: pointer;
  padding: 0;
  margin: 0;
  line-height: 60px;
  display: inline-block;
  vertical-align: middle;
  transition: color 0.3s ease;
}

.nav-links ul li.dropdown .dropdown-toggle:hover,
.nav-links ul li.dropdown .dropdown-toggle:focus {
  color: #1abc9c;
}

.nav-links ul li.dropdown .caret-icon {
  font-size: 10px;
  transform: translateY(1px);
  transition: transform 0.2s ease;
}

.nav-links ul li.dropdown .dropdown-menu {
  display: none;
  position: absolute;
  top: 90%;
  left: 0;
  background: #f9f9f9;
  border-radius: 10px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.1);
  min-width: 180px;
  z-index: 999;
  padding: 10px 0;
}

.nav-links ul li.dropdown .dropdown-menu li a {
  width: 100%;
  padding: 10px 20px;
  color: #2c3e50;
  font-size: 16px;
  text-align: left;
  font-family: "Poppins", sans-serif;
  cursor: pointer;
  text-decoration: none;
  display: block;
}

.nav-links ul li.dropdown .dropdown-menu li a:hover {
  background: none;
  color: #1abc9c;
}

.nav-links ul li.dropdown:hover .dropdown-menu {
  display: block;
}

@media only screen and (max-width: 600px) {
  .nav-links ul li.dropdown .dropdown-toggle {
    width: 100%;
    justify-content: space-between;
    padding: 10px 15px;
  }

  .nav-links ul li.dropdown .dropdown-menu {
    position: static;
    display: block;
    box-shadow: none;
    border-radius: 0;
    background: none;
    padding: 0;
  }

  .nav-links ul li.dropdown .dropdown-menu li a {
    padding: 8px 15px;
    font-size: 16px;
    text-align: right;
  }
}

/* HERO SECTION */

.coconut-hero {
  padding: 80px 20px 60px;
  text-align: center;
  min-height: 0vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: transparent;
}

.hero-content {
  max-width: 700px;
  margin-top: -30px;
  margin-left: auto;
  margin-right: auto;
}

.hero-title {
  font-family: 'Lora', serif;
  font-size: 2.7rem;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 20px;
  text-align: center;
  margin-top: 60px;  /* Matches top spacing of home hero */
}

.hero-subtext {
  font-family: 'Poppins', sans-serif;
  font-size: 18px;
  color: #555;
  text-align: center;
  line-height: 1.6;
  max-width: 700px;
  margin: 0 auto 40px auto; /* Bottom margin adjusted for visual balance */
}

/* FOOTER */

.footer {
  background: #2c3e50;
  color: white;
  text-align: center;
  padding: 15px;
  font-size: 14px;
  width: 100%;
  position: relative;
  bottom: 0;
  margin-top: 40px;
  box-shadow: 0 -2px 5px rgba(0,0,0,0.1);
}


.footer a {
  color: #1abc9c;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s;
  margin: 0 10px;
}

.footer a:hover {
  color: #16a085;
  text-decoration: underline;
}


.footer p {
  color: white;
}

@media only screen and (max-width: 600px) {
  .footer {
    font-size: 12px;
    padding: 10px;
  }
}
