@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

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

body {
  font-family: "Poppins", sans-serif;
  width: 100vw;
  overflow-x: hidden;
}

:root {
  --primary: #052525;
  --secondary: #0a3c3c;
  --accent: #2fa39a;
  --light: #e6f7f5;
  --dark: #011111;
  --gradient-1: linear-gradient(135deg, #052525 0%, #0a3c3c 50%, #2fa39a 100%);
  --gradient-2: linear-gradient(90deg, #011111 0%, #052525 40%, #2fa39a 100%);
}

header {
  width: 100%;
  height: 10vh;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: #052525;
}

.logo img {
  width: 250px;
  padding: 0px 5px;
}


.nav_links {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  font-size: larger;
  font-weight: 600;
  gap: 25px;
}

.nav_links li {
  list-style: none;
  position: relative;
}

.nav_links li a {
  text-decoration: none;
  color: white;
}

i {
  cursor: pointer;
}

.icons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  z-index: 200;
}

.icons i {
  color: white;
  font-size: larger;
  padding-right: 50px;
}

.hamburger {
  display: none;
}

.lines {
  width: 25px;
  background-color: white;
  height: 3px;
  margin: 5px;
}

header nav ul li a::after {
  position: absolute;
  content: "";
  width: 0;
  height: 2px;
  left: 0;
  bottom: -8px;
}

header nav ul li a:hover::after {
  width: 100%;
  background-color: white;
}

.page {
  position: relative;
}

.drop_menu {
  display: none;
}

.drop_menu1 {
  display: block;
  position: absolute;
  left: 0;
  bottom: -65px;
  padding: 10px 6px;
  background-color: teal;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  border-radius: 8px;
}

@media screen and (max-width: 1200px) {
  .nav_links {
    font-size: large;
  }
}

@media screen and (max-width: 1150px) {
  .nav_links {
    display: none;
  }

  .hamburger {
    display: block;
  }

  .icons i {
    padding-right: 5px;
  }
}

/* ---------------------------------------------------------------------------- */

/* Sidebar */
.sidebar {
  height: 100%;
  width: 0;
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  background-color: var(--dark);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  overflow-x: hidden;
  transition: 1s;
  padding-top: 20px;
  margin-top: 10vh;
}

.sidebar ul {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  list-style: none;
  padding: 0;
}

.sidebar ul li {
  padding: 10px 15px;
  position: relative;
}

.sidebar ul li a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}
.sidebar ul li div span {
  color: var(--accent);
  text-decoration: none;
}

.flexdiv {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.sidebar ul li a:hover {
  color: #f1f1f1;
}

.sidebar ul li .submenu {
  list-style: none;
  padding-left: 15px;
  /* max-height: 0; */
  overflow: hidden;
  display: none;
}
.sidebar ul li .submenu2 {
  padding-left: 15px;
  display: none;
}
.submenu1 {
  padding-left: 15px;
  display: block;
}

/* Close button */
.sidebar .close-btn {
  position: absolute;
  top: 15px;
  right: 25px;
  font-size: 36px;
  cursor: pointer;
  color: var(--accent);
}

/*-------------------------------------------------*/

/* Dropdown menu hidden by default */
/* .dropdown-menu {
  display: none;
  flex-direction: column;
  background-color: #0d5f5f;
  border-radius: 10px;
  margin-left: auto;
  padding: 10px 15px;
  margin-top: 8px;
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  text-align: center;
  position: absolute;
  top: 10%;
  width: 150px;
  list-style: none;
} */

#img {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-2);
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

#img::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 800px;
    height: 800px;
    background: radial-gradientcircle(rgba(47, 163, 154, 0.15) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    z-index: 0;
}

/*SHOP*/

#cart-toggle {
    background: var(--accent);
    border: none;
    padding: 10px 15px;
    border-radius: 8px;
    cursor: pointer;
    color: white;
    transition: 0.3s;
}

#cart-toggle:hover {
    background: var(--secondary);
}

.shop {
    width: 100%;
    display: grid;
    grid-template-columns: auto auto auto;
    justify-content: center;
    align-items: center;
    gap: 20px;
    padding: 2rem;
    margin-top: 10px;
}

.product {
    margin-top: 40px;
    width: 100%;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding: 1rem;
    text-align: center;
    transition: transform 0.3s;
}

.product:hover {
    transform: scale(1.05);
}

.product img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    padding: 40px;
    border-radius: 10px;
}

.add-cart {
    background: var(--primary);
    color: white;
    border: none;
    padding: 10px;
    margin-top: 10px;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s;
}

.add-cart:hover {
    background: var(--accent);
}

.cart {
    margin-top: 120px;
    position: fixed;
    right: -350px;
    top: 0;
    width: 300px;
    height: 100%;
    background: var(--secondary);
    color: white;
    padding: 1rem;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.3);
    transition: right 0.4s ease;
}

.cart.active {
    right: 0;
}

.cart h2 {
    margin-top: 0;
    text-align: center;
}

#cart-items {
    list-style: none;
    padding: 0;
}

#cart-items li {
    background: rgba(255, 255, 255, 0.1);
    margin: 8px 0;
    padding: 8px;
    border-radius: 6px;
}

@media screen and (max-width:1390px) {
    .shop {
        grid-template-columns: auto auto;
    }
}

@media screen and (max-width:900px) {
    .shop {
        grid-template-columns: auto;
    }
}

.total {
    text-align: center;
    margin-top: 15px;
    font-weight: bold;
}

#checkout {
    display: block;
    width: 100%;
    background: var(--accent);
    color: white;
    border: none;
    padding: 10px;
    border-radius: 8px;
    margin-top: 10px;
    cursor: pointer;
    transition: background 0.3s;
}


#checkout:hover {
    background: var(--light);
    color: var(--dark);
}

/******************************************************************************/



/* Laptop  L */

@media screen and (max-width:1441px) {

    #menu {
        display: none;
    }

    .nav-links>li>a {
        font-size: 14px;
    }
}


@media screen and (max-width:1025px) {

    #cart-toggle {
        display: block;
        margin-left: auto;
    }
        .mobile-dropdown .dropdown-menu li a {
    font-size: 12px;
}

    .nav-links>li>a {
        font-size: 10px;
    }
}

/* Tablet */

@media screen and (max-width:769px) {

    .nav-links {
        display: none;
    }

    .anchor {
        display: none;
    }

    #menu {
        display: block;
    }
}

@media screen and (max-width:790px) {
    .menu-nav {
        width: 65%;
        /* font-size: 14px; */
    }

    .menu-nav>a>.nav-links,
    .user-para {
        font-size: 14px;
    }
}

/* Mobile L*/

@media screen and (max-width:426px) {
    .mobile-dropdown .dropdown-menu li a {
    font-size: 12px;
}

}

/* Mobile M */

@media screen and (max-width:376px) {

    button {
        padding: 0px;
    }

    .logo {
        width: 180px;
    }
}

/* Mobile S*/

@media screen and (max-width:321px) {

    #cart-toggle {
        margin: 0px;
        padding: 10px 10px;
    }

    .cta-button {
        padding: 10px;
        font-size: 18px;
    }
     .cta-button {
        padding: 10px;
        font-size: 18px;
    }
}

footer {
  height: 100%;
  text-align: center;
  color: var(--light);
  opacity: 0.8;
}

.footer-parent {
  display: grid;
  grid-template-columns: auto auto auto auto;
  background: rgba(5, 37, 37, 0.85);
  object-fit: cover;
  margin-top: 20px;
}

.set1 {
  padding: 10px;
}

.logo1 {
    width: 250px;
  height: 80px;
  object-fit: cover;
}

.set2 {
  padding: 20px;
  text-align: center;
}

.footer-header {
  color: var(--accent);
}

.footer-li {
  display: flex;
  flex-direction: column;
  list-style: none;
}

.footer-li a {
  margin-top: 5px;
  text-decoration: none;
  color: #f2f9f8;
  padding: 5px;
}

.footer-li a:hover {
  color: #2fa39a;
}

.set3 {
  padding: 20px;
  text-align: center;
}

.footer-para {
  color: #f2f9f8;
}

.set4 {
  padding: 20px;
  text-align: center;
}

.set4 .footer-para {
  color: #f2f9f8;
  line-height: 2;
}

.svg {
  margin-top: 5px;
  padding: 2px;
  width: 40px;
  height: 40px;
  fill: #f2f9f8;
}

.svg:hover {
  fill: var(--accent);
}

@media screen and (max-width: 1441px) {
  .footer-header {
    font-size: 26px;
  }
  .footer-li {
    font-size: 22px;
  }
  .footer-para {
    font-size: 22px;
  }
}

@media screen and (max-width: 1125px) {
  .footer-parent {
    display: grid;
    grid-template-columns: auto auto;
  }

  .footer-header {
    font-size: 24px;
  }
  .footer-li {
    font-size: 20px;
  }
  .footer-para {
    font-size: 20px;
  }
}

@media screen and (max-width: 850px) {
  .footer-header {
    margin-top: 10px;
  }

  .footer-parent {
    grid-template-columns: auto;
    padding: 30px;
  }

  .footer-li {
    font-size: 16px;
  }
  .footer-para {
    font-size: 18px;
  }
}

@media screen and (max-width: 428px) {
  .footer-header {
    margin-top: 10px;
  }

  .footer-li {
    font-size: 16px;
  }
}

@media screen and (max-width: 376px) {
  .footer-header {
    margin-top: 10px;
  }

  .footer-parent {
    grid-template-columns: auto;
    padding: 0px;
  }

  .footer-li {
    font-size: 14px;
  }

  .set1 {
    padding: 0px;
  }
  .footer-para {
    font-size: 14px;
    padding: 5px;
  }
  .logo img {
    width: 180px;
  }
  #cart-toggle {
    padding: 5px;
  }
  .logo1 {
    width: 250px;
  }
  .footer-parent {
    padding: 0px;
  }

  .footer-header {
    margin: 0px;
    font-size: 20px;
  }

  .set1,
  .set2,
  .set3,
  .set4 {
    padding: 10px;
  }
  .footer-li {
    font-size: 14px;
  }

  .set1 {
    padding: 0px;
  }
  .footer-para {
    font-size: 14px;
    padding: 5px;
  }
  .cta-button {
    padding: 10px;
    font-size: 18px;
  }
}
