* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  outline: none;
  border: none;
  text-decoration: none;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", sans-serif;
  background-color: #fff;
  color: #000;
}

/* Navbar */

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.4rem 7%;
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  z-index: 9999;
  min-height: 11rem;
  transition: 200ms ease-in-out;
  background-color: transparent;
  box-shadow: none;
}

.navbar .navbar-nav {
  position: relative;
}

.navbar .navbar-logo {
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 2px;
}

.navbar .navbar-nav a {
  color: #fff;
  display: inline-block;
  font-size: 1.25rem;
  margin: 0 1rem;
}

.navbar .navbar-nav a:hover {
  color: #00dd00;
}

.navbar .navbar-nav a::after {
  display: block;
  content: "";
  padding-bottom: 0.5rem;
  border-bottom: 0.1rem solid #00dd00;
  transform: scaleX(0);
  margin-top: -1.5rem;
  transition: 0.2s linear;
}

.navbar .navbar-nav a:hover::after {
  transform: scaleX(0.5);
}

.navbar .navbar-extra a {
  color: #fff;
}

.changeColor {
  background-color: #fff;
  min-height: 8rem;
  transition: 200ms ease-in-out;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.changeColor #hamburger-menu {
  color: #00dd00;
}

.changeColor .navbar-nav a,
.changeColor .navbar-logo {
  color: #00dd00;
}

.changeColor .navbar-nav a:hover {
  color: #000;
}

#hamburger-menu {
  display: none;
  position: absolute;
  top: 24px;
  right: 50px;
  width: 35px;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.3)),
    url("../img/cixgardenbg3.jpg");
  /* background-image: url("../img/cixgardenbg3.jpg"); */
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  position: relative;
}

.hero::after {
  content: "";
  display: block;
  position: absolute;
  width: 100%;
  height: 20%;
  bottom: 0;
}

.hero .content {
  padding: 1.4rem 7%;
  width: 100%;
}

.hero .content h1 {
  font-size: 3.5rem;
  color: #fff;
  text-shadow: 1px 1px 3px rgba(1, 1, 3, 0.5);
  line-height: 1.2;
  text-align: center;
  filter: brightness();
}

.hero .content h2 {
  margin-top: 1rem;
  text-align: center;
  height: 1.4;
  font-weight: 700;
  color: #00dd00;
  text-shadow: 1px 1px 3px rgba(1, 1, 3, 0.5);
}

.hero .content .cta:hover {
  background-color: #fff;
  color: var(--primary);
}

/* About Section */
.about {
  padding: 10rem 7%;
}

.about h2 {
  font-size: 2.6rem;
  text-align: center;
  color: #00dd00;
}

.about h3 {
  font-size: 1.5rem;
  margin-bottom: 3rem;
  text-align: center;
  color: #a7eb3a;
}

.about .row {
  display: flex;
}

.about .row .about-img {
  flex: 1 1 45rem;
  margin-right: 2rem;
  margin-top: 2rem;
}

.about .row .about-img img {
  width: 95%;
  border-radius: 2rem;
}

.about .row .content {
  flex: 1 1 40rem;
  padding: 0 1;
}

.about .row .content h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  text-align: start;
  color: #000;
}

.about .row .content p {
  margin-bottom: 0.8rem;
  font-size: 1.4rem;
  font-weight: 300;
  line-height: 1.6;
}

/* Garden Section */
.garden {
  padding: 10rem 7%;
  background: #ededed;
}

.garden h2 {
  font-size: 2.6rem;
  text-align: center;
  color: #00dd00;
}

.garden h3 {
  font-size: 1.5rem;
  margin-bottom: -3rem;
  text-align: center;
  color: #a7eb3a;
}

.garden .carousel h3 {
  color: #000;
}

.carousel {
  height: 400px;
  perspective: 300px;
}

.carousel .carousel-item {
  width: 300px;
}

.carousel .carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Plant Section */
.plant {
  padding: 10rem 7%;
}

.plant h2 {
  font-size: 2.6rem;
  text-align: center;
  color: #00dd00;
}

.plant h3 {
  font-size: 1.5rem;
  margin-bottom: 3rem;
  text-align: center;
  color: #a7eb3a;
}

.plant .plant-p {
  margin-bottom: 0.8rem;
  font-size: 1.4rem;
  font-weight: 300;
  line-height: 1.6;
  text-align: center;
  margin-bottom: 3rem;
}

.plant a {
  background-color: #00dd00;
  border-radius: 2rem;
  width: 100%;
  font-size: 1.6rem;
}

/* Tanaman Section */
.tanaman {
  padding: 1rem 7%;
}

.navbar-tanaman {
  background-color: #fff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  text-align: center;
  z-index: 999;
}

.navbar-tanaman .nav-wrapper a,
.navbar-tanaman .nav-wrapper a::before {
  color: #00dd00;
  font-size: 1.3rem;
}

.tanaman .tanaman-img {
  display: flex;
  width: 80%;
  height: 60%;
  justify-content: center;
  align-items: center;
  margin: auto;
}
.tanaman .tanaman-img img {
  object-fit: cover;
  position: relative;
  width: 70%;
  height: 70%;
}

.tanaman h2 {
  font-size: 2rem;
  text-align: center;
  color: #00dd00;
}

.tanaman h3 {
  font-size: 1.5rem;
  margin-bottom: 3rem;
  text-align: center;
  color: #a7eb3a;
}

.tanaman p{
  font-size: 1.2rem;
}

.tanaman .text {
  text-align: center;
  background-color: #00dd00;
  color: #fff;
  font-size: 1.2rem;
  font-weight: 500;
}

.tanaman .spesies{
  text-decoration: underline;
}

/* Card */
.card-row {
  align-items: center;
}

/* menu */
.menu{
  padding: 1rem 5%;
  
}

.menu h2{
  text-align: center;
  margin-bottom: 4rem;
  font-size: 2rem;
}


.menu .row1{
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  width: 33%;
  height: 370px;
}

.menu .row1 .menu-card{
  text-align: center;
}

.menu .row1 .menu-card img{
border-radius: 2rem;
width: 80%;
border-bottom: -2rem;
}

.menu .row1 .menu-card a h3{
  margin-bottom: 5rem;
  font-size: 1.5rem;
  border-radius: 3rem;
}

.menu .row1 .menu-card a h3:hover{
  font-size: 2.3rem;
}



/* Footer */
footer {
  background-color: #ededed;
  text-align: center;
  padding: 1rem 0 3rem;
  margin-top: 3rem;
  width: 100%;
}

footer .links {
  margin-bottom: 1.4rem;
}
footer .links a {
  color: #000;
  padding: 0.7rem 1rem;
}

footer .links a:hover {
  color: #00dd00;
}

footer .credit {
  font-size: 1rem;
  color: #000;
}

footer .credit a {
  color: #00dd00;
  font-weight: 700;
}
/* Media Queries */

/* Laptop */

@media (max-width: 1366px) {
  html {
    font-size: 75%;
  }
}

/* Tablet */
@media (max-width: 768px) {
  html {
    font-size: 62.5%;
  }

  #hamburger-menu {
    display: inline-block;
    color: #00dd00;
  }

  .navbar .navbar-nav {
    position: absolute;
    flex-direction: column;
    background-color: #fff;
    top: 0;
    right: -100%;
    width: 35rem;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 0.3s;
  }

  .changeColor {
    min-height: 10rem;
    transition: 200ms ease-in-out;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  }

  .navbar .navbar-nav.active {
    right: 0;
  }

  .navbar .navbar-nav a {
    color: #00dd00;
    display: block;
    font-size: 2rem;
    margin: 1.5rem;
    padding: 0.5rem;
  }

  .navbar .navbar-nav a:hover {
    color: #000;
  }

  .navbar .navbar-logo {
    font-size: 2.5rem;
    position: absolute;
    top: 25px;
    z-index: 20;
    color: #00dd00;
  }

  .about .row {
    flex-wrap: wrap;
  }

  .about .row .about-img img {
    height: 24rem;
    object-fit: cover;
    margin-bottom: 1rem;
  }

  .menu .row1{ 
    width: 100%;
  }
}

/* Mobile */
@media (max-width: 450px) {
  html {
    font-size: 55%;
  }
}
