/* ===============================
   PRODUCTS PAGE CSS
=============================== */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Poppins',sans-serif;
    background:#0f0f0f;
    color:#ffffff;
}

/* ===============================
   HEADER
=============================== */

.products-header{
    text-align:center;
    padding:70px 20px 40px;
}

.products-header h1{
    font-size:52px;
    color:#ffffff;
    margin-bottom:15px;
}

.products-header p{
    max-width:700px;
    margin:auto;
    font-size:20px;
    color:#cfcfcf;
    line-height:1.7;
}

/* ===============================
   PRODUCT GRID
=============================== */

.products-page{
    width:90%;
    max-width:1400px;
    margin:50px auto;
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
    gap:35px;
}

/* ===============================
   CARD
=============================== */

.product-card{
    background:#1d1d1d;
    border-radius:20px;
    overflow:hidden;
    border:1px solid rgba(212,175,55,.4);
    box-shadow:0 10px 25px rgba(0,0,0,.35);
    transition:.35s;
}

.product-card:hover{
    transform:translateY(-10px);
    box-shadow:0 20px 40px rgba(212,175,55,.18);
}

/* ===============================
   IMAGE
=============================== */

.product-image{
    height:270px;
    background:#2d2d2d;
    display:flex;
    justify-content:center;
    align-items:center;
    border-bottom:3px solid #d4af37;
}

.product-image span{
    color:#d4af37;
    font-size:24px;
    font-weight:600;
}

.product-image img{
    width:100%;
    height:100%;
    object-fit:cover;
}

/* ===============================
   CONTENT
=============================== */

.product-content{
    padding:30px;
    text-align:center;
}

.product-content h2{
    color:#d4af37;
    font-size:30px;
    margin-bottom:15px;
}

.product-content p{
    color:#d8d8d8;
    line-height:1.7;
    font-size:17px;
    margin-bottom:20px;
}

.product-content h3{
    color:#ffffff;
    margin-bottom:25px;
    font-size:22px;
}

/* ===============================
   BUTTON
=============================== */

.btn{
    display:inline-block;
    padding:14px 35px;
    background:#d4af37;
    color:#000;
    text-decoration:none;
    border-radius:50px;
    font-weight:700;
    transition:.3s;
}

.btn:hover{
    background:#f1c94d;
    transform:scale(1.05);
}


/* ===============================
   BACK BUTTON
=============================== */

.back-home{
    display:flex;
    justify-content:center;
    margin:60px 0;
}

.back-btn{
    display:inline-block;
    padding:16px 40px;
    background:#d4af37;
    color:#111;
    text-decoration:none;
    font-size:18px;
    font-weight:700;
    border-radius:50px;
    transition:0.3s ease;
    box-shadow:0 8px 20px rgba(212,175,55,0.3);
}

.back-btn:hover{
    background:#f5c84c;
    transform:translateY(-4px);
    box-shadow:0 12px 25px rgba(212,175,55,0.5);
}

/* ===============================
   FOOTER
=============================== */

footer{
    background:#181818;
    text-align:center;
    padding:40px 20px;
    border-top:1px solid rgba(212,175,55,.3);
}

footer h2{
    color:#d4af37;
    margin-bottom:15px;
}

footer p{
    color:#cccccc;
    margin:6px 0;
}

/* ===============================
   MOBILE
=============================== */

@media(max-width:768px){

.products-header h1{
    font-size:38px;
}

.products-header p{
    font-size:17px;
}

.products-page{
    grid-template-columns:1fr;
    width:92%;
}

.product-image{
    height:220px;
}

.product-content h2{
    font-size:26px;
}

}

@media(max-width:420px){

.products-header{
    padding:50px 16px 30px;
}

.products-header h1{
    font-size:30px;
}

.products-header p{
    font-size:15px;
}

.product-content{
    padding:22px;
}

.back-btn{
    padding:14px 30px;
    font-size:16px;
}

}