/* ===========================
   GLOBAL STYLES
=========================== */

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

html{
    scroll-behavior:smooth;
}

body{
    background:#fff;
    color:#333;
    line-height:1.6;
}

.container{
    width:90%;
    max-width:1200px;
    margin:auto;
}

a{
    text-decoration:none;
}

img{
    max-width:100%;
    display:block;
}


/* ===========================
   HEADER
=========================== */

header{
    width:100%;
    background:#fff;
    position:sticky;
    top:0;
    z-index:1000;
    box-shadow:0 2px 15px rgba(0,0,0,.08);
}

.navbar{

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:18px 0;

}

.logo h2{

    color:#e91e63;

    font-size:28px;

}

.logo span{

    font-size:13px;

    color:#777;

}

nav{

    display:flex;

    align-items:center;

    gap:30px;

}

nav a{

    color:#333;

    font-weight:bold;

    transition:.3s;

}

nav a:hover{

    color:#e91e63;

}

.active{

    color:#e91e63;

}

.cart-icon{

    background:#e91e63;

    color:white;

    padding:10px 18px;

    border-radius:8px;

}

.cart-icon:hover{

    background:#c2185b;

    color:white;

}


/* ===========================
   HERO
=========================== */

.hero{

    background:linear-gradient(to right,#ffd7e8,#fff4e4);

    padding:90px 0;

}

.hero-content{

    display:flex;

    justify-content:space-between;

    align-items:center;

    gap:60px;

    flex-wrap:wrap;

}

.hero-text{

    flex:1;

}

.small-title{

    color:#e91e63;

    font-weight:bold;

    letter-spacing:2px;

    text-transform:uppercase;

    margin-bottom:15px;

}

.hero-text h1{

    font-size:55px;

    margin-bottom:20px;

    color:#111;

}

.hero-text p{

    font-size:18px;

    color:#555;

    margin-bottom:35px;

}

.hero-image{

    flex:1;

}

.hero-image img{

    border-radius:25px;

    box-shadow:0 15px 35px rgba(0,0,0,.15);

}


/* ===========================
   BUTTONS
=========================== */

.btn-group{

    display:flex;

    gap:20px;

    flex-wrap:wrap;

}

.btn{

    display:inline-block;

    padding:14px 28px;

    border-radius:10px;

    font-weight:bold;

    transition:.3s;

}

.btn-primary{

    background:#e91e63;

    color:white;

}

.btn-primary:hover{

    background:#c2185b;

}

.btn-secondary{

    background:white;

    border:1px solid #ccc;

    color:#333;

}

.btn-secondary:hover{

    border-color:#e91e63;

    color:#e91e63;

}


/* ===========================
   FEATURED PRODUCTS
=========================== */

.featured{

    padding:90px 0;

    text-align:center;

}

.featured h2{

    font-size:40px;

    margin-bottom:15px;

}

.featured p{

    color:#777;

    margin-bottom:50px;

}

.product-grid{
    display:grid;
    grid-template-columns:repeat(3, 1fr);
    gap:20px;
}

@media (max-width:768px){
    .product-grid{
        grid-template-columns:repeat(2, 1fr);
        gap:15px;
    }
}

.product-grid{
    display:grid;
    grid-template-columns:repeat(2, 1fr);
    gap:15px;
}

.product-card h3{
    font-size:16px;
    margin:10px 0;
}

.product-card .price{
    font-size:18px;
    font-weight:bold;
}

.product-card button{
    width:100%;
    padding:10px;
    font-size:14px;
}


.product-card:hover{

    transform:translateY(-8px);

}

.product-card img{

    width:100%;

    height:250px;

    object-fit:cover;

    border-radius:15px;

}

.product-card h3{

    margin:20px 0 10px;

}

.price{

    color:#e91e63;

    font-size:22px;

    font-weight:bold;

    margin-bottom:20px;

}


/* ===========================
   FEATURES
=========================== */

.features{

    background:#fafafa;

    padding:90px 0;

    text-align:center;

}

.features h2{

    font-size:38px;

}

.features p{

    margin-top:10px;

    color:#666;

}

.feature-grid{

    margin-top:50px;

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));

    gap:30px;

}

.feature-box{

    background:white;

    padding:35px;

    border-radius:18px;

    transition:.3s;

    box-shadow:0 5px 18px rgba(0,0,0,.05);

}

.feature-box:hover{

    transform:translateY(-8px);

}

.feature-box i{

    font-size:45px;

    color:#e91e63;

    margin-bottom:20px;

}

.feature-box h3{

    margin-bottom:15px;

}


/* ===========================
   PROMOTION
=========================== */

.promo{

    padding:90px 0;

}

.promo-box{

    background:#e91e63;

    color:white;

    text-align:center;

    padding:60px;

    border-radius:25px;

}

.promo-box h2{

    font-size:40px;

    margin-bottom:15px;

}

.promo-box p{

    margin-bottom:30px;

    color:#f2f2f2;

}


/* ===========================
   FOOTER
=========================== */

footer{

    background:#111;

    color:white;

    padding:70px 0 20px;

}

.footer-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));

    gap:40px;

}

.footer-grid h3{

    margin-bottom:18px;

}

.footer-grid p{

    color:#ccc;

    margin-bottom:10px;

}

.footer-grid a{

    color:#ccc;

    transition:.3s;

}

.footer-grid a:hover{

    color:white;

}

.copyright{

    text-align:center;

    margin-top:50px;

    border-top:1px solid #333;

    padding-top:20px;

    color:#999;

}


/* ===========================
   RESPONSIVE DESIGN
=========================== */

@media(max-width:900px){

.hero-content{

    flex-direction:column;

    text-align:center;

}

.hero-text h1{

    font-size:42px;

}

.navbar{

    flex-direction:column;

    gap:20px;

}

nav{

    flex-wrap:wrap;

    justify-content:center;

}

}


@media(max-width:600px){

.hero{

    padding:60px 0;

}

.hero-text h1{

    font-size:34px;

}

.featured h2,
.features h2,
.promo-box h2{

    font-size:30px;

}

.btn-group{

    justify-content:center;

}

.product-card img{

    height:220px;

}

}

/* =====================================
   CLEAN RESPONSIVE NAVIGATION
===================================== */

header{
    background:#ffffff;
    width:100%;
    padding:20px 0;
    box-shadow:0 2px 12px rgba(0,0,0,0.06);
}

header .container{
    width:min(1180px, 92%);
    margin:auto;
}

.logo{
    text-align:center;
    margin-bottom:20px;
}

.logo h1{
    margin:0;
    color:#e91e63;
    font-size:36px;
    line-height:1.2;
}

.logo p{
    margin:5px 0 0;
    color:#666666;
    font-size:17px;
}

nav{
    display:flex;
    align-items:center;
    justify-content:center;
    flex-wrap:nowrap;
    gap:25px;
}

nav a{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    white-space:nowrap;
    color:#222222;
    font-size:18px;
    font-weight:700;
    text-decoration:none;
}

nav a:hover,
nav a.active{
    color:#e91e63;
}

.cart-link{
    padding:13px 18px;
    border-radius:12px;
    background:#e91e63;
    color:#ffffff !important;
}

.cart-link i{
    margin-right:7px;
}


/* =====================================
   PHONE NAVIGATION
===================================== */

@media(max-width:600px){

    header{
        padding:16px 0;
    }

    header .container{
        width:96%;
    }

    .logo{
        margin-bottom:16px;
    }

    .logo h1{
        font-size:27px;
    }

    .logo p{
        font-size:14px;
    }

    nav{
        width:100%;
        display:grid;
        grid-template-columns:repeat(4, minmax(0,1fr));
        gap:6px;
    }

    nav a{
        min-width:0;
        padding:10px 3px;
        font-size:14px;
    }

    .cart-link{
        padding:10px 4px;
        border-radius:9px;
    }

    .cart-link i{
        margin-right:3px;
    }
}

/* =========================
   WEBSITE LOGO
========================= */

.brand-logo{
    display:flex;
    justify-content:center;
    align-items:center;
    text-decoration:none;
}
    
.brand-logo img{
    width:260px;
    max-width:100%;
    height:auto;
    display:block;
    object-fit:contain;
}

@media(max-width:768px){

    .brand-logo img{
        width:200px;
    }

}

@media(max-width:480px){

    .brand-logo img{
        width:180px;
    }

}