/* style.css - COMPLETE FIXED VERSION
   Location: shop/static/shop/css/style.css
========================= */

/* RESET & GLOBAL */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Jost", sans-serif;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background: #f8f8f8;
    overflow-x: hidden;
}

main {
    flex: 1;
}

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

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

/* BUTTONS */
button.normal {
    font-size: 14px;
    font-weight: 600;
    padding: 15px 30px;
    color: #000;
    background-color: #fff;
    border-radius: 4px;
    cursor: pointer;
    border: none;
    outline: none;
    transition: 0.3s;
}

.normal {
    font-size: 14px;
    font-weight: 600;
    padding: 15px 30px;
    color: #000;
    background-color: #fff;
    border-radius: 4px;
    cursor: pointer;
    border: none;
    outline: none;
    transition: 0.3s;
    display: inline-block;
    text-decoration: none;
}

button.white {
    font-size: 13px;
    font-weight: 600;
    padding: 11px 18px;
    color: #fff;
    background-color: transparent;
    cursor: pointer;
    border: 1px solid #fff;
    outline: none;
    transition: 0.3s;
}

/* HEADER */
#header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 40px;
    background: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.06);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.left-header {
    display: flex;
    align-items: center;
    gap: 15px;
}

#navbar {
    display: flex;
    align-items: center;
    gap: 25px;
    list-style: none;
}

#navbar li a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: 0.3s;
}

#navbar li a:hover {
    color: #088178;
}

.logo {
    height: 45px;
}

#mobile {
    display: none;
    font-size: 22px;
    cursor: pointer;
}

#close-btn {
    display: none;
}

/* HERO SECTION */
#hero {
    width: 100%;
    height: 85vh;
    position: relative;
    background: url("../images/hero/Shoppingmall.webp") no-repeat center;
    background-size: cover;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding-left: 120px;
    isolation: isolate;
}

#hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

#hero h1 {
    font-size: 48px;
    color: #fff;
}

#hero h2 {
    color: #fff;
}

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

#hero p {
    font-size: 18px;
    color: #f8f8f8;
}

#hero button {
    margin-top: 25px;
    padding: 14px 65px;
    font-size: 18px;
    font-weight: 700;
    color: #088178;
    border: none;
    cursor: pointer;
    background: transparent;
    background-image: url("../images/background.png");
    background-size: 100% 100%;
    background-repeat: no-repeat;
}

/* FEATURE SECTION */
#feature {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    padding: 40px 80px;
}

.fe-box {
    width: 100%;
    max-width: 200px;
    margin: 0 auto;
    text-align: center;
    padding: 20px;
    border: 1px solid #cce7d0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: 0.3s ease;
}

.fe-box:hover {
    transform: translateY(-5px);
}

.fe-box img {
    width: 100%;
    height: 150px;
    object-fit: contain;
}

.fe-box h6 {
    margin-top: 10px;
    padding: 9px 8px 6px 8px;
    border-radius: 4px;
    background: #fddde4;
    color: #088178;
}

/* PRODUCTS SECTION */
#products {
    padding: 60px 80px;
}

.pro-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    align-items: stretch;
}

.pro {
    background: #fff;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
}

.pro img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.pro .des {
    text-align: start;
    padding: 10px 0;
}

.pro .des span {
    font-size: 12px;
    color: #606063;
}

.pro .des h5 {
    font-size: 14px;
    padding-top: 7px;
}

.pro .des h4 {
    font-size: 15px;
    color: #088178;
    padding-top: 7px;
}

.star i {
    color: #f7c600;
    font-size: 14px;
    margin-right: 2px;
}

.cart {
    margin-top: 10px;
    font-size: 18px;
    color: #088178;
}

/* =========================
   BANNER SECTIONS - CORRECTED WITH GAPS
========================= */

/* SM BANNER (Two banners side by side) */
#sm-banner {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
    padding: 0 80px 40px 80px;
    width: 100%;
    clear: both;
}

#sm-banner .banner-box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    background-image: url("../images/banner/b30.jpg");
    flex: 1;
    min-width: 280px;
    height: 50vh;
    background-size: cover;
    background-position: center;
    padding: 30px;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#sm-banner .banner-box2 {
    background-image: url("../images/banner/b7.png");
}

#sm-banner .banner-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

#sm-banner h4 {
    color: #fff;
    font-size: 20px;
    margin-bottom: 10px;
}

#sm-banner h2 {
    color: #fff;
    font-size: 32px;
    margin-bottom: 10px;
}

#sm-banner span {
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    padding-bottom: 15px;
    display: inline-block;
}

#sm-banner a.white {
    font-size: 13px;
    font-weight: 600;
    padding: 11px 18px;
    color: #fff;
    background-color: transparent;
    cursor: pointer;
    border: 1px solid #fff;
    outline: none;
    transition: 0.3s;
    text-decoration: none;
    display: inline-block;
    margin-top: 10px;
}

#sm-banner .banner-box:hover a.white {
    background: #088178;
    border-color: #088178;
}

/* BANNER 3 (Three banners) */
#banner3 {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
    padding: 0 80px 60px 80px;
    width: 100%;
    clear: both;
}

#banner3 .banner-box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    background-image: url("../images/banner/b75.png");
    flex: 1;
    min-width: 250px;
    height: 30vh;
    background-size: cover;
    background-position: center;
    padding: 20px;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

#banner3 .banner-box2 {
    background-image: url("../images/banner/b56.png");
}

#banner3 .banner-box3 {
    background-image: url("../images/banner/b12.png");
}

#banner3 .banner-box:hover {
    transform: translateY(-5px);
}

#banner3 h2 {
    color: #fff;
    font-weight: 900;
    font-size: 22px;
    background-color: rgba(0, 0, 0, 0.6);
    margin-bottom: 10px;
    border-radius: 5px;
    padding: 10px;
}

#banner3 h3 {
    color: #fff;
    font-weight: 800;
    font-size: 15px;
    background-color: rgba(0, 0, 0, 0.6);
    border-radius: 5px;
    padding: 10px;
}

/* MAIN BANNER */
#banner {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-image: url("../images/banner/b2.png");
    background-size: cover;
    background-position: center;
    width: 100%;
    height: 40vh;
    position: relative;
}

#banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
}

#banner * {
    position: relative;
    z-index: 2;
}

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

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

#banner h2 span {
    color: #ff5733;
}

#banner button:hover {
    background: #088178;
    color: #fff;
}

/* About Page */
/* Contact Page Header */
/* Page Headers - About & Contact */
#page-header.about-header,
#page-header.contact-header {
    background-size: cover;
    background-position: center;
    height: 250px;
    color: #fff;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#page-header.about-header {
    background-image: url('../images/about/about1.png');
}

#page-header.contact-header {
    background-image: url('../images/contact/banner.png');
}

#page-header.about-header h2,
#page-header.about-header p,
#page-header.contact-header h2,
#page-header.contact-header p {
    text-align: center;
    margin: 0;
    width: 100%;
}

#page-header.contact-header{
    background-image: url(../images/contact/banner.png);  /* your banner image path */
    background-size: cover;
    background-position: center;
    height: 250px;
    color: #fff;
    text-align: center;
}

#page-header.contact-header h2, 
#page-header.contact-header p {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}
#about-header-head{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

#about-header-head img{
    width: 50%;
    border-radius: 10px;
}

#about-header-head div{
    width: 50%;
    height: auto;
}

#about-header-head h2{
    font-size: 40px;
    margin-bottom: 20px;

}
#about-header-head p{
    line-height: 1.7;
    color: #555;
}
about-head div {
    padding-left: 40px;
}
#about-app{ text-align: center;

}

#about-app .video{
width: 70%;
height: 100%;
margin: 30px auto 30px auto;
}
#about-app .video video{
width: 100%;
height: 100%;
border-radius: 20px;
}

/*Contact Page */
#contact-details{
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#contact-details .details{
    width: 40%;
}
#contact-details .details span,
#form-details form span{
    font-size: 12px;
    
}


#contact-details .details h2,
#form-details form h2 {
    font-size: 26px;
    line-height: 35px;
    padding: 20px 0;
}


#contact-details .details h3{
    font-size: 16px;
    padding-bottom: 15px;
}

#contact-details .details li{
    list-style: none;
    display: flex;
    padding: 10px 0;
}
#contact-details .details li i{
    font-size: 14px;
    padding-right: 22px;
}

#contact-details .details li i p{
    margin: 0;
    font-size: 14px;
}

#contact-details .map{
    width: 55%;
    height: 400px;
}

#contact-details .map iframe {
    width: 100%;
    height: 100%;
}

#form-details{
    display: flex;
    justify-content: space-between;
    margin: 30px;
    padding: 80px;
    border: 2px solid #e1e1e1;
}

#form-details form{
    width: 65%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}



#form-details form input,
textarea{
    width: 100%;
    padding: 12px 15px;
    outline: none;
    margin-bottom: 20px;
    border: 1px solid #e1e1e1;
}


#form-details form button{
    background-color: #088178;
    color: #fff;
}
#form-details .people div{
    padding-bottom: 25px;
    display: flex;
    align-items: flex-start;
}

#form-details .people div img{
    width: 65px;
    height: 65px;
    object-fit: cover;
    margin-right: 15px;
    border-radius: 50%;
}

#form-details .people div p{
    margin: 0;
    font-size: 13px;
    line-height: 25px;
}

#form-details .people div p span{
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: #000;
}



/* NEWSLETTER */
#newsletter {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    padding: 40px 80px;
    background: #041e42;
    color: white;
}

/* FOOTER */
footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
    padding: 40px 80px;
    background: #fff;
}

footer .col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 20px;
    flex: 1;
    min-width: 150px;
}

footer .logo {
    margin-bottom: 20px;
}

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

footer p {
    font-size: 13px;
    padding-bottom: 20px;
}

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

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

footer .follow i {
    color: #465b52;
    padding: 4px;
    cursor: pointer;
}

footer .copyright {
    width: 100%;
    text-align: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #ddd;
}

/* =========================
   RESPONSIVE MEDIA QUERIES - CORRECTED
========================= */

/* Tablet (768px and below) - BANNERS SIDE BY SIDE */
@media (max-width: 768px) {
    .section-p1 {
        padding: 30px 20px;
    }

    #mobile {
        display: block;
    }

    #navbar {
        position: fixed;
        top: 0;
        right: -300px;
        width: 280px;
        height: 100vh;
        background: #fff;
        flex-direction: column;
        padding: 80px 20px;
        transition: 0.3s;
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.5);
        z-index: 9999;
        gap: 20px;
    }

    #navbar.active {
        right: 0;
    }

    #close-btn {
        display: block;
        position: absolute;
        top: 20px;
        right: 20px;
        font-size: 20px;
        cursor: pointer;
    }

    #hero {
        padding-left: 30px;
        height: 60vh;
    }

    #feature {
        padding: 30px 20px;
        grid-template-columns: repeat(2, 1fr);
    }

    #products {
        padding: 30px 20px;
    }

    .pro-container {
        grid-template-columns: repeat(2, 1fr);
    }

    /* FIXED: Banners stay side by side on tablet with spacing */
    #sm-banner {
        padding: 0 20px 30px 20px;
        gap: 20px;
        flex-direction: row;
        flex-wrap: wrap;
    }

    #sm-banner .banner-box {
        min-width: calc(50% - 10px);
        flex: 1;
        height: 40vh;
    }

    #banner3 {
        padding: 0 20px 40px 20px;
        gap: 20px;
        flex-direction: row;
        flex-wrap: wrap;
    }

    #banner3 .banner-box {
        min-width: calc(33.33% - 14px);
        flex: 1;
        height: 25vh;
    }

    #banner {
        height: 30vh;
    }

    #newsletter {
        flex-direction: column;
        text-align: center;
    }

    #newsletter .form {
        width: 100%;
    }

    footer {
        flex-direction: column;
        padding: 30px 20px;
    }

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

/* Mobile (500px and below) - STACK BANNERS VERTICALLY */
@media (max-width: 500px) {
    .section-p1 {
        padding: 20px 15px;
    }

    #feature {
        grid-template-columns: 1fr;
    }

    .pro-container {
        grid-template-columns: 1fr;
    }

    #hero {
        padding-left: 15px;
        padding-right: 15px;
        height: 50vh;
    }

    #hero h1 {
        font-size: 24px;
    }

    /* FIXED: Banners stack vertically on mobile */
    #sm-banner {
        flex-direction: column;
        padding: 0 15px 20px 15px;
        gap: 15px;
    }

    #sm-banner .banner-box {
        min-width: 100%;
        height: 35vh;
    }

    #banner3 {
        flex-direction: column;
        padding: 0 15px 30px 15px;
        gap: 15px;
    }

    #banner3 .banner-box {
        min-width: 100%;
        height: 25vh;
    }

    button.normal,
    .normal {
        width: 100%;
        text-align: center;
    }

    /* Product detail page */
    #prodetails {
        flex-direction: column;
        padding: 30px 20px;
    }

    .single-pro-image,
    .single-pro-details {
        width: 100%;
    }

    /* Cart page */
    .cart-total {
        text-align: center;
    }
}
