/* ==========================
   EVENT STUDIO RESIN ART
========================== */

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

html{
    scroll-behavior:smooth;
}

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

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

header{
    position:sticky;
    top:0;
    z-index:999;
    width:100%;
    background:#fff;
    padding:18px 8%;
    display:flex;
    justify-content:space-between;
    align-items:center;
    box-shadow:0 5px 18px rgba(0,0,0,.08);
}

.logo{
    font-size:28px;
    font-weight:700;
    color:#8A4FFF;
}

nav{
    display:flex;
    gap:35px;
}

nav a{
    text-decoration:none;
    color:#444;
    font-weight:500;
    transition:.3s;
}

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

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

.hero{
    min-height:90vh;
    display:flex;
    align-items:center;
    justify-content:center;
    text-align:center;
    padding:60px 20px;

    background:
    linear-gradient(rgba(0,0,0,.45),rgba(0,0,0,.45)),
    url("../image/resin/banner.png");

    background-size:cover;
    background-position:center;
}

.hero-content{
    max-width:800px;
    color:#fff;
    animation:fadeUp 1s ease;
}

.hero h1{
    font-size:55px;
    margin-bottom:20px;
    line-height:1.2;
}

.hero p{
    font-size:19px;
    margin-bottom:35px;
}

.hero-btn{
    display:inline-block;
    background:#8A4FFF;
    color:#fff;
    padding:16px 38px;
    text-decoration:none;
    border-radius:50px;
    transition:.35s;
    font-weight:600;
}

.hero-btn:hover{
    background:#ff5d82;
    transform:translateY(-4px);
}

/* ==========================
 SEARCH
========================== */

.search-section{
    padding:45px 20px;
    display:flex;
    justify-content:center;
}

#searchInput{

    width:100%;
    max-width:650px;

    padding:18px 25px;

    border:none;

    outline:none;

    border-radius:50px;

    background:#fff;

    box-shadow:0 8px 20px rgba(0,0,0,.08);

    font-size:17px;
}

/* ==========================
 FILTERS
========================== */

.filters{

    display:flex;

    justify-content:center;

    flex-wrap:wrap;

    gap:15px;

    margin-bottom:50px;

    padding:0 20px;

}

.filter-btn{

    border:none;

    background:#fff;

    padding:13px 25px;

    border-radius:40px;

    cursor:pointer;

    box-shadow:0 6px 18px rgba(0,0,0,.08);

    transition:.35s;

    font-weight:500;

}

.filter-btn:hover{

    background:#8A4FFF;

    color:#fff;

}

.filter-btn.active{

    background:#8A4FFF;

    color:#fff;

}

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

.products{

    width:90%;

    max-width:1400px;

    margin:auto;

    display:grid;

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

    gap:35px;

    padding-bottom:70px;

}

/* ==========================
 CARD
========================== */

.card{

    background:#fff;

    border-radius:20px;

    overflow:hidden;

    box-shadow:0 10px 25px rgba(0,0,0,.08);

    transition:.35s;

}

.card:hover{

    transform:translateY(-12px);

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

}

.card img{

    width:100%;

    height:260px;

    object-fit:cover;

    transition:.5s;

}

.card:hover img{

    transform:scale(1.08);

}

.card h3{

    font-size:24px;

    margin:20px;

}

.price{

    color:#8A4FFF;

    font-size:22px;

    font-weight:700;

    margin:0 20px 15px;

}

.card ul{

    list-style:none;

    margin:0 20px 25px;

}

.card li{

    margin-bottom:10px;

    color:#666;

}

.custom-btn{

    width:calc(100% - 40px);

    margin:0 20px 25px;

    border:none;

    background:#8A4FFF;

    color:#fff;

    padding:15px;

    border-radius:10px;

    cursor:pointer;

    font-size:16px;

    font-weight:600;

    transition:.35s;

}

.custom-btn:hover{

    background:#ff5d82;

}

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

footer{

    background:#222;

    color:#fff;

    text-align:center;

    padding:60px 20px;

}

footer h2{

    font-size:34px;

    margin-bottom:10px;

}

footer p{

    margin:10px 0;

}

.social{

    margin:25px 0;

}

.social a{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    width:50px;

    height:50px;

    border-radius:50%;

    background:#333;

    color:#fff;

    text-decoration:none;

    margin:0 8px;

    transition:.35s;

    font-size:20px;

}

.social a:hover{

    background:#8A4FFF;

    transform:translateY(-5px);

}

/* ==========================
 ANIMATION
========================== */

@keyframes fadeUp{

    from{

        opacity:0;

        transform:translateY(40px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}

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

@media(max-width:991px){

    header{

        padding:18px 5%;

    }

    .hero h1{

        font-size:42px;

    }

}

@media(max-width:768px){

    header{

        flex-direction:column;

        gap:15px;

    }

    nav{

        gap:18px;

        flex-wrap:wrap;

        justify-content:center;

    }

    .hero{

        min-height:70vh;

    }

    .hero h1{

        font-size:34px;

    }

    .hero p{

        font-size:16px;

    }

    .products{

        width:95%;

        grid-template-columns:1fr;

    }

}

@media(max-width:480px){

    .hero h1{

        font-size:28px;

    }

    .hero-btn{

        padding:14px 28px;

    }

    #searchInput{

        font-size:15px;

    }

    .card h3{

        font-size:21px;

    }

    .price{

        font-size:20px;

    }

}