@import url('about.css');
@import url('shopping.css');
@import url('blog.css');
@import url('contact.css');

@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');

* {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/** Global Styles **/
h6 {
    font-weight: 700;
    font-size: 12px;
}

p {
    font-size: 16px;
    color: #248e35;
    margin: 15px 0 20px 0;
}

.section-p1 {
    padding: 40px 80px;
}

.section-m1 {
    margin: 40px 0;
}

/** Header **/
#header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 20px 80px;
    background: #0096ff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.06);
    z-index: 999;
    position: fixed;
    top: 0;
    left: 0;
}

#header img {
    width: 4rem;
}

#navbar {
    display: flex;
    justify-content: center;
    align-items: center;
}

#navbar li {
    list-style: none;
    padding: 0 20px;
    position: relative;
}

#navbar li a {
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 400;
    color: #fff;
    transition: 0.3s ease;
}

#navbar li a:hover {

}

#navbar li a:hover::after {
    content: "";
    width: 30%;
    height: 2px;
    background: #fff;
    position: absolute;
    bottom: -4px;
    left: 20px;
}

.current-link {
    color: #248e35;
}

#mobile {
    display: none;
    align-items: center;
}

#close {
    display: none;
}

.cart-logo {
    color: #fff;
    width: 25px;
    height: 25px;
    text-align: center;
    position: relative;
}
  
.cart-count {
    position: absolute;
    background: #ff0000;
    top: -10px;
    left: 15px;
    height: 20px;
    width: 20px;
    line-height: 20px ;
    border-radius: 50%;
    z-index: 99;
}
  
#cart-icon {
    font-size: 1.5rem;
    cursor: pointer;
}

/** Cart **/
.cart {
    position: absolute;
    top: 0;
    right: -200%;
    width: 400px;
    height: 100vh;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 20px;
    background: #fff;
    color: #333;
    box-shadow: 0 1px 4px rgba(40, 37, 37, 0.1);
    transition: 0.5s;
    z-index: 100;
}
  
.cart-active {
    right: 0;
    transition: 0.5s;
}
  
.cart-title {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 1rem;
    padding-bottom:20px ;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}
  
.cart-box {
    display: grid;
    grid-template-columns: 32% 50% 18%;
    align-items: center;
    gap: 1rem;
    margin-top: 1rem;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    padding-bottom: 10px;
}
  
.cart-img {
    width: 75px;
    height: 75px;
    object-fit: cover;
    border:2px solid  rgba(0,0,0,0.1);
    padding: 5px;
}

.detail-box {
    display: grid;
    row-gap: 0.5rem;  
}
  
.price-box {
    display: flex;
      justify-content: space-between; 
}
  
.cart-item-title {
     font-size: 1rem;
     text-transform: uppercase;
     color:#333;
     font-weight: 500;
}
  
.cart-price {
    font-weight: 500;
}
  
.cart-quantity {
    border:1px solid rgba(0,0,0,0.1);
    outline:none ;
    width: 2.4rem;
    text-align: center;
    font-size: 1rem;
}
  
#cart-remove {
    font-size: 24px;
    color: #ff0000;
    cursor: pointer;
}
  
.total {
    display: flex;
    justify-content: flex-end;
    margin-top: 1.5rem;
}
  
.total-title {
    font-size: 1rem;
    font-weight: 600;
}
  
.total-price {
    margin-left: 0.5rem;
}
  
.purchase {
    padding: 12px 20px;
    background-color:#0096ff;
    color:#fff;
    border: none;
    border-radius: 3px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
}
  
#cart-close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 2rem;
    cursor: pointer;
}

.empty {
    margin-top: 15%;
}

.empty-cart {
    display: block;
    margin: 0 auto;
    padding: 12px 20px;
    background-color:#0096ff;
    color:#fff;
    border: none;
    border-radius: 3px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
}

/** Hero **/
#hero {
    background: url("imgs/woman.png") no-repeat;
    background-color: #e3e3e3;
    height: 100vh;
    width: 100%;
    background-size: 25%;
    background-position: top 100% right 0;
    padding: 0 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

#hero h4 {
    padding-bottom: 15px;
}

#hero h1 {
    color: #333;
    font-size: 4rem;
    text-transform: uppercase;
}

#hero span {
    color: #248e35;
}

#hero button {
    background: #248e35;
    border: none;
    border-radius: 5px;
    outline: none;
    padding: 10px 15px;
    cursor: pointer;
    font-weight: 700;
    font-size: 15px;
    margin-top: 15px;
}

#hero button a {
    text-decoration: none;
    color: #fff;
}

/** Features **/
#features {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

#features .feature-box {
    width: 180px;
    text-align: center;
    padding: 25px 15px;
    box-shadow: 20px 20px 34px rgba(0, 0, 0, 0.03);
    border: 1px solid #ccc;
    border-radius: 4px;
    margin: 15px 0;
}

#features .feature-box:hover {
    box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.3);
    cursor: pointer;
}

#features .feature-box img {
    width: 100%;
    margin-bottom: 15px;
}

#features .feature-box h6 {
    padding: 9px 8px 6px 8px;
    line-height: 1;
    border-radius: 4px;
    color: #088178;
    background: #e3c1a1;
}

#features .feature-box:nth-child(2) h6 {
    background: #90ee90;
}

#features .feature-box:nth-child(3) h6 {
    background: #add8e6;
}

#features .feature-box:nth-child(4) h6 {
    background: #e3e3e3;
}

#features .feature-box:nth-child(5) h6 {
    background: #f0e68c;
}

#features .feature-box:nth-child(6) h6 {
    background: #ffc6c5;
}

/** Featured Items **/
.shop-container {
    max-width: 90%;
    padding: 0 4rem;
    margin: auto;
    width: 100%;
}
  
.shop-container h2 {
    font-size: 1.5rem;
    font-weight: bold;
    margin: 15px 0;
    text-align: center;
    color:#333;
}

.shop-container p {
    text-align: center;
    color: #248e35;
}

.shop-items {
    background: #333;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    margin-top: 25px;
}
  
.item-card {
    position: relative;
    background: #fff;
    width: 20%;
    margin: 25px;
    padding: 10px;
    border-radius: 3px;
}
  
.image {
    overflow: hidden;
}

.image img {
    width: 100%;
}
  
.image:hover img {
  transform: scale(1.5);
}
  
.item-img {
    transition: 0.4s;
    aspect-ratio: 1/1;
    object-fit: cover;
}

.item-card h2 {
    font-size: 1rem;
    font-weight: 300;
}
  
.item-price {
    color: #333;
    font-weight:500 ;
}
  
.add-cart {
    position: absolute;
    bottom: 0;
    right: 0;
    background-color: #0096ff;
    color:white;
    border: none;
    padding: 5px 10px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: 0.5s;
}

.add-cart:hover {
    background: #02ae02;
}

/** banner **/
#banner {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: url("imgs/banner.jpg");
    width: 100%;
    height: 40vh;
}

#banner h4 {
    color: #fff;
    font-size: 16px;
}

#banner h2 {
    color: #fff;
    font-size: 30px;
    padding: 10px 0;
}

#banner h2 span {
    background: rgba(255, 255, 255, 0.5);
    color: #248e35;
    padding: 5px 10px;
    border-radius: 5px;
}

#banner button {
    padding: 10px 20px;
    background: #f3f3f3;
    border: none;
    outline: none;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
}

#banner button:hover {
    background: #e3e3e3;
}

#banner button a {
    text-decoration: none;
    color: #248e35;
}

/** Small Banner **/
#small-banner {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

#small-banner .advertisement {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    background: url("imgs/banner-3.jpg") no-repeat center center/cover;
    min-width: 45%;
    height: 50vh;
    padding: 30px;
}

#small-banner .advertisement-2 {
    background: url("imgs/banner-5.jpg") no-repeat center/cover;
}

.advertisement .ad-text {
    background: rgba(0, 0, 0, 0.5);
    padding: 10px;
    border-radius: 3px;
}

#small-banner h4 {
    color: #fff;
    font-size: 20px;
    font-weight: 300;
}

#small-banner h2 {
    color: #f3f3f3;
    font-size: 28px;
    font-weight: 800;
}

#small-banner span {
    color: #f3f3f3;
    font-size: 14px;
    font-weight: 500;
}

#small-banner button {
    background: rgba(0, 0, 0, 0.5);
    color: #f3f3f3;
    border: 1px solid #f3f3f3;
    border-radius: 10px 30px;
    padding: 10px 25px;
    margin-top: 25px;
    transition: 0.2s ease;
}

#small-banner button:hover {
    background: #f3f3f3;
    color: #333;
}

/* Mini Banners */
#mini-banner {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 0 80px;
}

#mini-banner .advertisement {
   /* display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;*/
    background: url("imgs/lot.jpg") no-repeat center center/cover;
    min-width: 30%;
    height: 30vh;
    padding: 20px;
    margin-bottom: 20px;
}

#mini-banner .advertisement-2 {
    background: url("imgs/banner-6.jpg") no-repeat center center/cover;
}

#mini-banner .advertisement-3 {
    background: url("imgs/banner-7.jpg") no-repeat center center/cover;
}

#mini-banner h2 {
    color: #f3f3f3;
    font-weight: 900;
    font-size: 22px;
}

#mini-banner h3 {
    color: #248e35;
    font-weight: 800;
    font-size: 15px;
}

/** Newsletter Sign-Up **/
#sign-up {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: center;
    background: url("imgs/banner.jpg") no-repeat center center/cover;
}

#sign-up h4 {
    color: #f3f3f3;
    font-size: 22px;
    font-weight: 700;
}

#sign-up p {
    color: #f3f3f3;
    font-size: 14px;
    font-weight: 600;
}

#sign-up .form {
    display: flex;
    width: 40%;
}

#sign-up input {
    height: 3.125rem;
    padding: 0 1.25em;
    font-size: 14px;
    width: 100%;
    border: 1px solid transparent;
    border-radius: 4px 0 0 4px;
    outline: none;
}

#sign-up button {
    padding: 10px 20px;
    background: #248e35;
    border: none;
    outline: none;
    border-radius: 0 4px 4px 0;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    color: #f3f3f3;
    cursor: pointer;
    transition: 0.2s;
}

#sign-up button:hover {
    background: #f3f3f3;
    color: #248e35;
}

/** Footer **/
.footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.footer .logo {
    width: 25%;
    margin-bottom: 30px;
}

.footer .column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 20px;
}

.footer h4 {
    font-size: 14px;
    padding-bottom: 20px;
}

.footer p {
    font-size: 13px;
    margin: 0 0 8px 0;
}

.footer a {
    font-size: 13px;
    text-decoration: none;
    color: #333;
    margin-bottom: 10px;
}

.footer .social {
    margin-top: 20px;
}

.footer .social i {
    color: #333;
    padding-right: 4px;
    cursor: pointer;
    transition: 0.2s ease;
}

.footer .social i:hover,
.footer a:hover {
    color: #248e35;
}

.footer .column-apps .app-row img {
    width: 25%;
    border: 1px solid #333;
    border-radius: 6px;
}

.footer .column-apps img {
    width: 25%;
    margin: 10px 0 15px 0;
}

.footer .copyright {
    width: 100%;
    text-align: center;
}

/** Designer **/
.designer {
    background: #0096ff;
    padding: 15px 0;
}

.designer p {
    text-align: center;
    color: #fff;
}

.designer a {
    color: #fff;
    text-decoration: none;
}

.designer a:hover {
    text-decoration: underline;
}

/* Media Queries */
@media (max-width: 820px) {
    .section-p1 {
        padding: 40px 40px;
    }

    #navbar {
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        position: fixed;
        top: 0;
        right: -300px;
        height: 100vh;
        width: 300px;
        background: #e3e3e3;
        box-shadow: 0 40px 60px rgba(0, 0, 0, 0.1);
        padding: 80px 0 0 10px;
        transition: 0.3s;
        z-index: 1000;
    }

    #navbar.active {
        right: 0px;
    }

    #navbar li {
        margin-bottom: 25px;
    }

    #navbar li a {
        color: #333;
    }

    #mobile {
        display: flex;
        align-items: center;
    }

    #mobile i {
        color: #fff;
        font-size: 24px;
        margin-left: 300px;
    }

    #close {
        display: initial;
        position: absolute;
        top: 30px;
        right: 30px;
        color: #333;
        font-size: 24px;
    }

    #large-cart {
        display: none;
    }

    #hero {
        height: 100vh;
        background-position: top 100% right 50%;
        background-size: 40%;
        align-items: center;
        justify-content: flex-start;
        padding-top: 10rem;
    }

    #features {
        justify-content: center;
    }

    #features .feature-box {
        margin: 15px 15px;
    }

    .shop-container {
        padding: 0rem;
    }

    .item-card {
        width: 40%;
    }

    #product-1 .product-box {
        justify-content: center;
    }

    #product-1 .product {
        margin: 15px;
    }

    #banner {
        height: 20vh;
    }

    #small-banner {
        padding: 0 80px 40px 80px;
    }

    #small-banner .advertisement {
        min-width: 100%;
        height: 30vh;
    }

    #small-banner .advertisement-2 {
        margin-top: 30px;
    }

    #mini-banner {
        padding: 0 40px 0px 40px;
    }

    #mini-banner .advertisement {
        width: 48%;
    }

    #mini-banner .advertisement-3 {
        margin: 10px auto 0 auto;
    }

    #sign-up .form {
        width: 70%;
    }
}

@media (max-width: 600px) {
    .section-p1 {
        padding: 20px;
    }

    #header {
        padding: 10px 30px;
    }

    h1 {
        font-size: 38px;
    }

    h2 {
        font-size: 32px;
    }

    #mobile i {
        margin-left: 100px;
    }

    #hero {
        padding: 9rem 0 0 0;
        background-size: 65%;
    }

    #hero h1 {
        font-size: 2.5rem;
    }

    #features {
        justify-content: space-between;
    }

    #features .feature-box {
        width: 45%;
        margin: 0 0 15px 0;
    }

    .shop-container {
        max-width: 100%;
        padding: 0 1rem;
    }

    .shop-items {
        width: 100%;
    }

    .item-card {
        width: 95%;
    }

    #product-1 .product {
        width: 100%;
    }

    #small-banner {
        padding: 0 1.5rem 1.5rem 1.5rem;
    }

    #banner {
        height: 30vh;
    }

    /*#small-banner .advertisement {
        height: 40vh;
    }

    #small-banner .advertisement-2 {
        margin-top: 20px;
    }*/

    #mini-banner {
        padding: 0 20px;
    }

    #mini-banner .advertisement {
        width: 100%;
    }

    #sign-up {
        padding: 40px 20px;
    }

    #sign-up .form {
        width: 100%;
    }

    .footer .copyright {
        text-align: start;
    }
}
