/* 
  Author: Abhinav Jaiswal
  Website: E-shop
  Description: This CSS file contains the styles for the E-shop website, 
  including layout, color scheme, and responsive design features.
*/

@import url("https://fonts.googleapis.com/css2?family=Afacad+Flux:wght@100..1000&family=Josefin+Sans:ital,wght@0,100..700;1,100..700&family=Modern+Antiqua&family=Newsreader:ital,opsz@0,6..72;1,6..72&family=Noto+Sans:ital,wght@0,100..900;1,100..900&family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Raleway:ital,wght@0,100..900;1,100..900&family=Roboto+Slab:wght@100..900&family=Space+Grotesk:wght@300..700&display=swap");

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Josefin Sans", serif ,"Arial" !important;

    font-optical-sizing: auto;
    font-style: normal;
}

:root {
    --color-primary: #000000e1;
    --color-gray: rgba(128, 128, 128, 0.578);
    --color-badge: rgb(51, 176, 51);
    --color-secondary: #f2f2f2;
    --color-tertiary: #f8312f;
    --color-highlight: #ff0;
    --color-aqua: rgba(50, 228, 235, 0.776);
    --color-pink: lightpink;

}

.container {
    max-width: 1200px;
    padding-inline: 50px;
}

.mx-auto {
    margin-inline: auto;
}

header {
    background-color: #ffff;
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.2);
    position: sticky;
    top: 0;
    z-index: 100;

}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-block: 20px;
}

.logo {
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;

}
.icon{
    display: none;
}
.mark {
    color: #f8312f;
}

.navbar-brand {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-primary);
}

.main__nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-grow: 3;
}

.main__nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    column-gap: 30px;
}

.main__nav ul li a {
    font-size: .9rem;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--color-primary);
    font-weight: 600;
}

.main__nav ul li a:hover,
.active {
    color: var(--color-tertiary) !important;
    transition: color 0.3s ease;
}

.icon__wrapper .serach {
    background-color: var(--color-secondary);
    box-sizing: 0 0 2px rgba(0, 0, 0, 0.2);
    display: flex;
    column-gap: 8px;
    padding-block: 8px;
    padding-inline: 10px;
    border-radius: 2px;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    -ms-border-radius: 2px;
    -o-border-radius: 2px;
}

.icon__wrapper:hover {
    cursor: pointer;
}

.icon__wrapper .serach input {
    background-color: inherit;
    border: 0;
    outline: none;
}

.icon__wrapper {
    display: flex;
    align-items: center;
    column-gap: 20px;
}

.icon-btn {
    display: flex;
    column-gap: 10px;
}

span:hover {
    color: var(--color-tertiary);
}

.__wrapper {
    display: flex;
    justify-content: space-between;
    /* flex-wrap: wrap; */
}

.hero__section {
    /* padding-block: 80px; */
    background-image: url(../img/istockphoto-543470292-612x612.jpg);
    background-size: cover;
    background-position: top;
}

.hero__content {
    flex-grow: 2;
    padding-top: 110px;
}

.hero__content h3,
h1 {
    letter-spacing: 1px;
    text-shadow: 0 2px 2px rgba(0, 0, 0, 0.2);
}

.hero__content h3 {
    color: var(--color-primary);
    font-size: 1.3rem;
    font-weight: bold;
    text-transform: uppercase;
}

.hero__content h1 {
    font-size: 3.5rem;
    font-weight: light;
    color: var(--color-highlight);
    letter-spacing: 1px;

}

.hero__img {
    flex-wrap: 1;
    display: flex;
    justify-content: center;

}

.btn {
    padding: 12px 22px;
    background-color: white;
    color: var(--color-primary);
    border: none;
    font-weight: 500;
    font-size: 1rem;
    border-radius: 2px;
    margin-top: 12px;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    -ms-border-radius: 2px;
    -o-border-radius: 2px;
    font-weight: bold;
}

.btn:hover {
    background-color: var(--color-tertiary);
    color: white;
    transition: background-color 0.9s ease-in-out;
    -webkit-transition: background-color 0.9s ease-in-out;
    -moz-transition: background-color 0.9s ease-in-out;
    -ms-transition: background-color 0.9s ease-in-out;
    -o-transition: background-color 0.9s ease-in-out;
    cursor: pointer;
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.2);
}

.product__section {
    padding-block: 60px;
}

.section__title {
    text-align: center;
    margin-bottom: 30px;
}

.section_icon {
    font-size: 2rem;
    color: var(--color-tertiary);
    margin-bottom: 20px;
}

.section__title h2 {
    font-size: 2rem;
    color: var(--color-primary);
    margin-bottom: 15px;
    letter-spacing: 1px;
    text-shadow: 0 2px 2px rgba(0, 0, 0, 0.2);
}

.product__wrapper {
    padding: 40px 0;
    display: flex;
    flex-wrap: wrap;
    column-gap: 20px;
    justify-content: center;
}

.product__item {
    transition: transform 0.3s ease;
    -webkit-transition: transform 0.3s ease;
    -moz-transition: transform 0.3s ease;
    -ms-transition: transform 0.3s ease;
    -o-transition: transform 0.3s ease;
    cursor: pointer;
    border-radius: 2px;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    -ms-border-radius: 2px;
    -o-border-radius: 2px;
    overflow: hidden;
    margin-bottom: 15px;
    padding: 5px;
    box-shadow: 0 0 2px rgba(0, 0, 0, 0.1);
}

.product-img {
    width: 250px;
    height: 150px;
    object-fit: cover;
}

.product__item:hover {
    transform: scale(1.05);
    -webkit-transform: scale(1.05);
    -moz-transform: scale(1.05);
    -ms-transform: scale(1.05);
    -o-transform: scale(1.05);
}

.product__content {
    padding: 15px 15px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.product-btn {
    padding: 12px 22px;
    color: var(--color-primary);
    background-color: var(--color-secondary);
    border: none;
    font-weight: 500;
    font-size: 1rem;
    border-radius: 2px;
    margin-top: 10px;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    -ms-border-radius: 2px;
    -o-border-radius: 2px;
    font-weight: bold;
    display: flex;
    justify-content: center;
    cursor: pointer;
}

.product-cart {
    padding-right: 10px;

}

.product-btn:hover {
    background-color: var(--color-highlight);
    color: var(--color-primary);
    transition: background-color 0.9s ease-in-out;
    -webkit-transition: background-color 0.9s ease-in-out;
    -moz-transition: background-color 0.9s ease-in-out;
    -ms-transition: background-color 0.9s ease-in-out;
    -o-transition: background-color 0.9s ease-in-out;
    cursor: pointer;
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.2);
}

.offer__section {
    padding-bottom: 70px;
}

.offer__wrapper {
    display: flex;
    justify-content: space-between;

}

.offer_left,
.offer_right {
    flex-basis: 49%;
    height: 300px;
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    -ms-border-radius: 5px;
    -o-border-radius: 5px;
    cursor: pointer;
}

.offer_left {
    background-image: url('../img/girl-img.jpg');
    background-position: left;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    flex-direction: row;
    justify-content: end;

}

.offer_left .off_content {
    flex-basis: 45%;
    display: flex;
    padding: 40px;
    flex-direction: column;
    gap: 15px;
}

.offer_left .off_content .btn {
    width: 150px;
    text-align: center;
    margin-top: 60px;
    background-color: var(--color-tertiary);
    color: #f2f2f2;
}

.offer_right {
    background-color: var(--color-pink);
    display: flex;
    justify-items: space-between;
}

.offer_right .off_content {
    flex-basis: 55%;
    display: flex;
    padding: 60px;
    flex-direction: column;
    gap: 15px;
}

.off_content h3 {
    font-size: 1.2rem;
    line-height: 1.8rem;
    font-weight: 600;
    word-spacing: 3px;
    color: rgb(23, 20, 20);
    letter-spacing: 1px;
    text-shadow: 0 2px 2px rgba(0, 0, 0, 0.2);
}

.off_content .btn {
    width: 130px;
    text-align: center;
    margin-top: 10px;
}

.offer_img {
    height: 290px;
    width: 180px;
    object-fit: fill;
}

.subscribe__wrapper {
    padding: 60px;
    background-image: url("../img/istockphoto-543470292-612x612.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    box-shadow: 0 0 2px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
}

.subscribe__wrapper h1 {
    font-size: 3rem;
    line-height: 4rem;
    font-weight: bold;
    font-weight: 500;
    word-spacing: 3px;
    margin-bottom: 20px;
    letter-spacing: 1px;
    /* color: var(--color-highlight); */
    text-shadow: 0 2px 2px rgba(0, 0, 0, 0.2);
}

.sub-btn {
    background-color: var(--color-primary);
    color: #f2f2f2;
}

.subscribe__wrapper blockquote {
    font-size: 1rem;
    line-height: 1.8rem;
    font-weight: 500;
    color: var(--color-primary);
    letter-spacing: 1px;
    margin-bottom: 30px;
    color: var(--color-primary);
}

.subscribe__wrapper input {
    width: 250px;
    padding: 12px;
    border: none;
    border-radius: 2px;
    margin-bottom: 20px;
    box-shadow: 0 0 2px rgba(0, 0, 0, 0.1);
    font-size: 1rem;
    transition: background-color 0.3s ease;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    -ms-border-radius: 2px;
    -o-border-radius: 2px;

}

.blog-link {
    color: var(--color-primary);
    font-size: 1rem;
    letter-spacing: 1px;
    line-height: 2rem;
}

.blog-link:hover {
    text-decoration: underline;
}

footer {
    padding: 30px;
    background-color: white;
    box-shadow: 0 0 1px rgba(0, 0, 0, 0.3);
}

footer p {
    color: var(--color-primary);
    font-size: 1rem;
    line-height: 2rem;
    letter-spacing: 1px;
    text-align: center;
}

.footer_wrapper {
    display: flex;
    justify-content: space-between;
    padding-bottom: 50px;
    align-items: start;
    flex-wrap: wrap;

}

.company_detail {
    width: 300px;
}

.contact_wrapper {
    display: flex;
    justify-content: center;
}

.social__icons {
    display: flex;
    justify-content: center;
}

.fas,
.fab {
    padding-inline-end: 20px;
    font-size: .9rem;
}

footer div a {
    color: var(--color-primary);
    display: block;
    text-decoration: none;
    transition: color 0.3s ease;
    margin-top: 20px;
    padding-left: 5px;
    font-size: .9rem;
}

footer div h3 {
    margin-bottom: 10px;
    text-transform: uppercase;
}

footer div a:hover {
    color: var(--color-tertiary);
    text-decoration: underline;
}

@media (max-width: 780px) {
    .container{
        padding-inline: 30px;
        width: 100%;
    }
    nav{
        flex-direction: column;
        align-items: start;
    }
    .logo{
        width: 100%;
    }
    .icon{
        display: block;
        font-size: 24px;
        cursor: pointer;
    }
    .main__nav{
        flex-direction: column;
        align-items: start;
        padding:20px 0;
        display: none;
    }
    .show{
        display: flex !important;
    }
    .main__nav ul{
        flex-direction: column;
        gap: 15px;
        padding-bottom: 15px;
    }
    
    .__wrapper{
        flex-direction: column;
    }
    .hero__content{
        padding: 40px 0;
    }
   .hero_img{
    width: 100%;
    margin-top: 40px;
    mix-blend-mode:inherit;
   }
   h2{
    line-height: 3rem;
   }
   h1{
    line-height: 4.5rem;
   }
   .offer__wrapper{
    flex-direction: column;

   }
   .offer_left,.offer_right{
    flex-basis: 100%;
    margin-bottom: 30px;
    flex-direction: column;
    align-items: center;
   }
   .offer_left{
    align-items: stretch;
   }
   .offer_left .off_content .btn{
    margin-top: 20px;
   }
   .offer_left .off_content{
    flex-basis: 100%;
    background-image: url('../img/istockphoto-543470292-612x612.jpg') ;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    
   }   
   .w-full{
    width: 95% !important;
   }
   .product__section {
    padding-block: 30px;
   }
   .product__item {
    width: 95%;
    margin-bottom: 50px;
   }
   .product-img{
    width: 100%;
    height: 200px;
   }
   .footer_wrapper {
    flex-direction: column;
    gap: 40px;
    overflow: hidden;
   }
   footer p {
    font-size: 16px;
    line-height: 22px;
    margin-bottom: 0;
    padding: 0;
    width: 75%;
    padding-left: 10px;
    text-align: start;
   }
  

}