/* RESET */

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

body{
    font-family:'Poppins',sans-serif;
    background:#f8f9fc;
    color:#222;
}

/* TOP BAR */

.top-bar{
    background:#111;
    color:#fff;
    text-align:center;
    padding:10px;
    font-size:14px;
}

/* HEADER */

header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:20px 8%;
    background:#fff;
    position:sticky;
    top:0;
    z-index:1000;
    box-shadow:0 2px 10px rgba(0,0,0,.05);
}

.logo{
    font-size:32px;
    font-weight:700;
}

.logo .pink{
    color:#ff3e6c;
}

nav ul{
    display:flex;
    list-style:none;
    gap:30px;
}

nav ul li a{
    text-decoration:none;
    color:#111;
    font-weight:500;
}

nav ul li a:hover{
    color:#ff3e6c;
}

.search-box input{
    width:300px;
    padding:12px;
    border:none;
    background:#f5f5f5;
    border-radius:30px;
}

.icons i{
    margin-left:20px;
    cursor:pointer;
    font-size:20px;
}

/* HERO */

.hero{
    min-height:85vh;
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:80px 8%;
    background:
    linear-gradient(
    135deg,
    #ff3e6c,
    #6c63ff
    );
    color:#fff;
}

.hero-content{
    width:50%;
}

.hero-content h1{
    font-size:72px;
    line-height:1.1;
    margin:20px 0;
}

.hero-content h1 span{
    color:#ffd600;
}

.hero-content p{
    font-size:18px;
    max-width:500px;
}

.hero-buttons{
    margin-top:30px;
}

.btn-dark,
.btn-light{
    text-decoration:none;
    padding:15px 35px;
    border-radius:50px;
    margin-right:15px;
    display:inline-block;
}

.btn-dark{
    background:#111;
    color:#fff;
}

.btn-light{
    background:#fff;
    color:#111;
}

.hero-image img{
    width:450px;
}

/* SECTION */

.section{
    padding:80px 8%;
}

.section-header{
    display:flex;
    justify-content:space-between;
    margin-bottom:40px;
}

.section-header h2{
    font-size:36px;
}

/* PRODUCTS */

.product-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:25px;
}

.product-card{
    background:#fff;
    border-radius:20px;
    overflow:hidden;
    transition:.3s;
    box-shadow:0 5px 15px rgba(0,0,0,.08);
}

.product-card:hover{
    transform:translateY(-10px);
}

.product-card img{
    width:100%;
    height:320px;
    object-fit:cover;
}

.product-info{
    padding:20px;
}

.product-info h4{
    margin-bottom:10px;
}

.price{
    margin-top:15px;
    font-weight:700;
}

.price span{
    text-decoration:line-through;
    color:gray;
    margin-left:8px;
}

.price strong{
    color:#00a859;
    margin-left:8px;
}

/* CATEGORIES */

.categories{
    padding:80px 8%;
    text-align:center;
}

.category-grid{
    margin-top:40px;
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(180px,1fr));
    gap:25px;
}

.category{
    background:#fff;
    padding:20px;
    border-radius:20px;
}

.category img{
    width:100%;
    border-radius:15px;
}

/* BLOG */

.blog-section{
    padding:80px 8%;
}

.blog-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
    gap:25px;
}

.blog-card{
    background:#fff;
    border-radius:20px;
    overflow:hidden;
}

.blog-card img{
    width:100%;
}

.blog-card h3,
.blog-card p,
.blog-card a{
    padding:15px 20px;
    display:block;
}

/* NEWSLETTER */

.newsletter{
    text-align:center;
    padding:80px 8%;
    background:#111;
    color:#fff;
}

.newsletter form{
    margin-top:25px;
}

.newsletter input{
    width:350px;
    max-width:90%;
    padding:15px;
    border:none;
    border-radius:50px;
}

.newsletter button{
    padding:15px 25px;
    border:none;
    border-radius:50px;
    background:#ff3e6c;
    color:#fff;
    cursor:pointer;
}

/* FOOTER */

footer{
    background:#fff;
    padding:60px 8%;
}

.footer-columns{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:30px;
}

.footer-columns a{
    display:block;
    margin-top:10px;
    text-decoration:none;
    color:#444;
}

.copyright{
    text-align:center;
    margin-top:30px;
}

/* MOBILE */

@media(max-width:768px){

header{
    flex-direction:column;
    gap:20px;
}

.hero{
    flex-direction:column;
    text-align:center;
}

.hero-content{
    width:100%;
}

.hero-content h1{
    font-size:42px;
}

.hero-image img{
    width:100%;
    margin-top:30px;
}

.search-box input{
    width:100%;
}

}
