/*==================================================
COLLECTIONS.CSS
PART 1 — HERO + FILTERS + FEATURED
==================================================*/

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

.collection-hero{
    position:relative;
    min-height:700px;
    display:flex;
    align-items:center;
    justify-content:center;
    text-align:center;
    overflow:hidden;

    background:
    linear-gradient(rgba(0,0,0,.72),rgba(0,0,0,.85)),
    url("assets/img/collections-bg.jpg") center/cover no-repeat;
}

.collection-hero::before{
    content:"";
    position:absolute;
    inset:0;

    background:
    radial-gradient(circle at center,
    rgba(212,175,55,.12),
    transparent 65%);
}

.collection-hero::after{
    content:"";
    position:absolute;
    top:-250px;
    left:50%;
    transform:translateX(-50%);
    width:900px;
    height:900px;
    border-radius:50%;
    background:radial-gradient(circle,
    rgba(212,175,55,.08),
    transparent 72%);
    filter:blur(70px);
}

.collection-hero .container{
    position:relative;
    z-index:2;
    max-width:900px;
}

.breadcrumb{

    display:inline-block;

    color:#cda64e;

    font-size:13px;

    letter-spacing:3px;

    text-transform:uppercase;

    margin-bottom:28px;

}

.collection-hero h1{

    font-family:'Cormorant Garamond',serif;

    font-size:92px;

    font-weight:600;

    color:#fff;

    line-height:1;

    margin-bottom:28px;

}

.collection-hero .divider{
    margin-bottom:40px;
}

.hero-text{

    max-width:720px;

    margin:auto;

    color:#d4d4d4;

    font-size:19px;

    line-height:1.9;

}

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

.filters{

    background:#090909;

    padding:45px 0;

    border-top:1px solid rgba(212,175,55,.08);

    border-bottom:1px solid rgba(212,175,55,.08);

}

.filter-bar{

    display:grid;

    grid-template-columns:2fr repeat(3,1fr) auto;

    gap:18px;

}

.filter-bar input,
.filter-bar select{

    height:60px;

    padding:0 24px;

    border-radius:60px;

    border:1px solid rgba(212,175,55,.18);

    background:#111;

    color:#e6e6e6;

    font-size:15px;

    outline:none;

    transition:.35s;

}

.filter-bar input::placeholder{

    color:#888;

}

.filter-bar input:focus,
.filter-bar select:focus{

    border-color:#d4af37;

    box-shadow:0 0 0 4px rgba(212,175,55,.08);

}

.filter-bar select{

    appearance:none;

    cursor:pointer;

}

.filter-bar .gold-btn{

    min-width:170px;

    justify-content:center;

}

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

.featured{

    padding:130px 0;

    background:#050505;

    position:relative;

    overflow:hidden;

}

.featured::before{

    content:"";

    position:absolute;

    right:-220px;

    top:-120px;

    width:650px;

    height:650px;

    border-radius:50%;

    background:radial-gradient(circle,
    rgba(212,175,55,.12),
    transparent 70%);

    filter:blur(80px);

}

.featured-grid{

    position:relative;

    z-index:2;

    display:grid;

    grid-template-columns:1fr 1fr;

    gap:80px;

    align-items:center;

}

.featured-image{

    overflow:hidden;

    border-radius:28px;

    border:1px solid rgba(212,175,55,.18);

    box-shadow:0 30px 70px rgba(0,0,0,.55);

}

.featured-image img{

    width:100%;

    display:block;

    transition:transform .7s ease;

}

.featured-image:hover img{

    transform:scale(1.06);

}

.gold-label{

    display:inline-block;

    color:#d4af37;

    font-size:13px;

    font-weight:600;

    letter-spacing:4px;

    margin-bottom:22px;

}

.featured-content h2{

    font-family:'Cormorant Garamond',serif;

    font-size:68px;

    line-height:1.05;

    margin-bottom:22px;

}

.featured-content .line{

    width:95px;

    height:2px;

    background:#d4af37;

    margin-bottom:35px;

}

.featured-content p{

    color:#cfcfcf;

    font-size:18px;

    line-height:1.95;

    margin-bottom:45px;

    max-width:560px;

}

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

@media(max-width:1100px){

    .filter-bar{
        grid-template-columns:1fr 1fr;
    }

    .featured-grid{
        grid-template-columns:1fr;
        text-align:center;
    }

    .featured-content .line{
        margin:0 auto 35px;
    }

    .featured-content p{
        margin:0 auto 45px;
    }

}

@media(max-width:768px){

    .collection-hero{
        min-height:520px;
    }

    .collection-hero h1{
        font-size:58px;
    }

    .hero-text{
        font-size:16px;
    }

    .filter-bar{
        grid-template-columns:1fr;
    }

    .featured{
        padding:90px 0;
    }

    .featured-content h2{
        font-size:48px;
    }

}

/*==================================================
COLLECTIONS.CSS
PART 2 — PRODUCTS + CARDS + PAGINATION
==================================================*/

.products-page{
    padding:130px 0;
    background:#090909;
    position:relative;
    overflow:hidden;
}

.products-page::before{
    content:"";
    position:absolute;
    left:-220px;
    bottom:-200px;
    width:650px;
    height:650px;
    border-radius:50%;
    background:radial-gradient(circle,
    rgba(212,175,55,.08),
    transparent 70%);
    filter:blur(80px);
}

.products-page .container{
    position:relative;
    z-index:2;
}

.products-page .section-title{
    text-align:center;
    margin-bottom:80px;
}

.products-page .section-title span{
    display:block;
    color:#d4af37;
    font-size:13px;
    font-weight:600;
    letter-spacing:4px;
    margin-bottom:18px;
}

.products-page .section-title h2{
    font-family:'Cormorant Garamond',serif;
    font-size:68px;
    font-weight:600;
    color:#fff;
    margin-bottom:20px;
}

/*=========================
GRID
=========================*/

.products-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:35px;
}

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

.product{
    position:relative;
    background:#111;
    border:1px solid rgba(212,175,55,.16);
    border-radius:22px;
    overflow:hidden;
    transition:.35s;
}

.product:hover{
    transform:translateY(-8px);
    border-color:#d4af37;
    box-shadow:0 18px 45px rgba(0,0,0,.45);
}

.product img{
    width:100%;
    aspect-ratio:1/1;
    object-fit:cover;
    display:block;
    transition:.4s;
}

.product:hover img{
    transform:scale(1.05);
}

/*==============================
BADGES
==============================*/

.gold-badge,
.badge{
    position:absolute;
    top:16px;
    right:16px;
    z-index:5;

    display:flex;
    align-items:center;
    justify-content:center;

    min-width:88px;
    height:32px;
    padding:0 14px;

    border-radius:30px;

    font-size:11px;
    font-weight:700;
    letter-spacing:1.5px;
    text-transform:uppercase;
}

.gold-badge{
    background:linear-gradient(180deg,#f8dfa2,#d4af37);
    color:#111;
    box-shadow:0 8px 20px rgba(212,175,55,.35);
}

.badge{
    background:rgba(0,0,0,.78);
    color:#d4af37;
    border:1px solid rgba(212,175,55,.45);
    backdrop-filter:blur(8px);
}

/*==============================
BODY
==============================*/

.product-body{
    padding:20px;
}

.product-body h3{
    font-family:'Cormorant Garamond',serif;
    font-size:28px;
    margin-bottom:8px;
    line-height:1.1;
}

.product-body p{
    color:#bdbdbd;
    font-size:14px;
    line-height:1.6;
    margin-bottom:18px;
}

/*==============================
PRICE
==============================*/

.price-row{
    display:flex;
    justify-content:space-between;
    align-items:center;
}

.price{
    font-size:28px;
    font-family:'Cormorant Garamond',serif;
    color:#d4af37;
    font-weight:700;
}

.view-btn{
    padding:10px 22px;
    border-radius:40px;
    border:1px solid rgba(212,175,55,.35);
    color:#d4af37;
    font-size:12px;
    font-weight:600;
    letter-spacing:2px;
    transition:.3s;
}

.view-btn:hover{
    background:#d4af37;
    color:#111;
}

/*=========================
PAGINATION
=========================*/

.pagination{

    margin-top:90px;

    display:flex;

    justify-content:center;

    align-items:center;

    gap:15px;

    flex-wrap:wrap;

}

.pagination a{

    width:50px;

    height:50px;

    display:flex;

    align-items:center;

    justify-content:center;

    border-radius:50%;

    background:#111;

    border:1px solid rgba(212,175,55,.18);

    color:#ddd;

    transition:.35s;

}

.pagination a:last-child{

    width:auto;

    padding:0 24px;

    border-radius:50px;

}

.pagination a:hover{

    background:#d4af37;

    color:#111;

}

.pagination .active{

    background:#d4af37;

    color:#111;

    border-color:#d4af37;

}

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

@media(max-width:1200px){

.products-grid{
grid-template-columns:repeat(3,1fr);
}

}

@media(max-width:900px){

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

}

@media(max-width:600px){

.products-grid{
grid-template-columns:1fr;
}

.price-row{
flex-direction:column;
align-items:flex-start;
}

.view-btn{
width:100%;
}

}

/*==================================================
COLLECTIONS.CSS
PART 3 — CTA + ANIMATIONS + FINAL RESPONSIVE
==================================================*/

/*=========================
CALL TO ACTION
=========================*/

.cta{
    position:relative;
    overflow:hidden;
    padding:140px 0;
    background:#050505;
    text-align:center;
}

.cta::before{
    content:"";
    position:absolute;
    top:50%;
    left:50%;
    transform:translate(-50%,-50%);
    width:850px;
    height:850px;
    border-radius:50%;

    background:radial-gradient(
        circle,
        rgba(212,175,55,.12),
        transparent 70%
    );

    filter:blur(90px);
}

.cta::after{
    content:"";
    position:absolute;
    left:0;
    top:0;
    width:100%;
    height:1px;

    background:linear-gradient(
        90deg,
        transparent,
        rgba(212,175,55,.55),
        transparent
    );
}

.cta .container{
    position:relative;
    z-index:2;
    max-width:900px;
}

.cta h2{
    font-family:'Cormorant Garamond',serif;
    font-size:70px;
    font-weight:600;
    line-height:1.08;
    color:#fff;
    margin-bottom:28px;
}

.cta p{
    max-width:720px;
    margin:0 auto 45px;
    color:#cccccc;
    font-size:19px;
    line-height:1.9;
}

.cta .gold-btn{
    min-width:320px;
    justify-content:center;
}

/*=========================
BUTTON POLISH
=========================*/

.gold-btn,
.outline-btn,
.view-btn{
    transition:
        transform .35s,
        box-shadow .35s,
        background .35s,
        color .35s,
        border-color .35s;
}

.gold-btn:hover{
    transform:translateY(-5px);
    box-shadow:
        0 18px 45px rgba(212,175,55,.35);
}

.outline-btn:hover,
.view-btn:hover{
    transform:translateY(-5px);
}

/*=========================
SECTION DIVIDERS
=========================*/

.filters,
.featured,
.products-page,
.cta{
    position:relative;
}

.filters::after,
.featured::after,
.products-page::after{

    content:"";

    position:absolute;

    bottom:0;
    left:50%;

    transform:translateX(-50%);

    width:min(1200px,90%);
    height:1px;

    background:linear-gradient(
        90deg,
        transparent,
        rgba(212,175,55,.18),
        transparent
    );

}

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

@keyframes fadeUp{

    from{
        opacity:0;
        transform:translateY(40px);
    }

    to{
        opacity:1;
        transform:translateY(0);
    }

}

.collection-hero{
    animation:fadeUp .8s ease both;
}

.filters{
    animation:fadeUp .9s ease both;
}

.featured{
    animation:fadeUp 1s ease both;
}

.products-page{
    animation:fadeUp 1.1s ease both;
}

.cta{
    animation:fadeUp 1.2s ease both;
}

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

@media(max-width:1200px){

    .collection-hero h1{
        font-size:78px;
    }

    .products-page .section-title h2{
        font-size:58px;
    }

    .cta h2{
        font-size:58px;
    }

}

@media(max-width:992px){

    .featured-grid{
        grid-template-columns:1fr;
        text-align:center;
    }

    .featured-content .line{
        margin:0 auto 35px;
    }

    .featured-content p{
        margin:0 auto 45px;
    }

}

@media(max-width:768px){

    .collection-hero{
        min-height:520px;
        padding-top:80px;
    }

    .collection-hero h1{
        font-size:56px;
    }

    .hero-text{
        font-size:16px;
    }

    .products-page{
        padding:90px 0;
    }

    .featured{
        padding:90px 0;
    }

    .cta{
        padding:100px 0;
    }

    .cta h2{
        font-size:44px;
    }

    .cta p{
        font-size:16px;
    }

    .cta .gold-btn{
        min-width:100%;
    }

}

@media(max-width:600px){

    .products-grid{
        grid-template-columns:1fr;
    }

    .price-row{
        flex-direction:column;
        align-items:flex-start;
    }

    .view-btn{
        width:100%;
        justify-content:center;
    }

}

@media(max-width:480px){

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

    .featured-content h2{
        font-size:38px;
    }

    .products-page .section-title h2{
        font-size:40px;
    }

    .product-body{
        padding:22px;
    }

    .product-body h3{
        font-size:26px;
    }

    .price{
        font-size:28px;
    }

    .cta h2{
        font-size:34px;
    }

    .gold-btn,
    .outline-btn,
    .view-btn{
        width:100%;
        justify-content:center;
    }

}

/*=========================
SMOOTH IMAGE RENDERING
=========================*/

img{
    image-rendering:auto;
    backface-visibility:hidden;
    -webkit-backface-visibility:hidden;
    transform:translateZ(0);
}

/*=========================
TEXT SELECTION
=========================*/

::selection{
    background:#d4af37;
    color:#111;
}