/* ==================================================
   SERVICES ARCHIVE HERO
================================================== */

.services-archive-hero{

    padding:90px 0 50px;

    position:relative;
}

.archive-heading{

    text-align:center;

    max-width:800px;

    margin:0 auto 35px;
}

.archive-heading h1{

    font-size:40px;

    line-height:1.05;

    font-weight:900;

    color:#fff;

    margin:15px 0;
}

.archive-heading p{

    color:#94a3b8;
    
    line-height:1.8;
}

/* ==================================================
   SEARCH
================================================== */

.archive-search{

    max-width:700px;

    margin:0 auto 30px;
}

.archive-search input{

    width:100%;

    height:64px;

    padding:0 24px;

    border-radius:18px;

    background:
    rgba(255,255,255,.04);

    border:1px solid
    rgba(255,255,255,.08);

    color:#fff;

    font-size:16px;

    outline:none;

    transition:.3s;
}

.archive-search input:focus{

    border-color:
    rgba(123,92,255,.35);

    box-shadow:
    0 0 0 4px
    rgba(123,92,255,.08);
}

/* ==================================================
   FILTERS
================================================== */

.archive-filters{

    display:flex;

    justify-content:center;

    flex-wrap:wrap;

    gap:12px;
}

.filter-btn{

    border:none;

    cursor:pointer;

    height:46px;

    padding:0 20px;

    border-radius:999px;

    background:
    rgba(255,255,255,.04);

    border:1px solid
    rgba(255,255,255,.06);

    color:#cbd5e1;

    font-weight:600;

    transition:.3s;
}

.filter-btn:hover{

    transform:translateY(-2px);
}

.filter-btn.active{

    background:
    linear-gradient(
    135deg,
    #7b5cff,
    #a855f7
    );

    color:#fff;

    border-color:transparent;
}

/* ==================================================
   SERVICES SECTION
================================================== */

.archive-services {
    padding: 10px 10px 10px;
}

.services-grid{

    display:grid;

    grid-template-columns:
    repeat(3,1fr);

    gap:24px;
}

/* ==================================================
   SERVICE CARD
================================================== */

.service-card{

    position:relative;

    padding:22px;

    border-radius:24px;

    background:
    linear-gradient(
    180deg,
    rgba(255,255,255,.05),
    rgba(255,255,255,.02)
    );

    border:1px solid
    rgba(255,255,255,.06);

    overflow:hidden;

    transition:.35s;
}

.service-card:hover{

    transform:
    translateY(-8px);

    border-color:
    rgba(123,92,255,.22);

    box-shadow:
    0 20px 50px
    rgba(123,92,255,.10);
}

/* ==================================================
   CARD BADGES
================================================== */

.card-badge{

    position:absolute;

    top:14px;

    right:14px;

    z-index:5;

    padding:6px 12px;

    border-radius:999px;

    font-size:11px;

    font-weight:700;

    text-transform:uppercase;
}

.card-badge.popular{

    background:
    rgba(34,197,94,.15);

    color:#22c55e;
}

.card-badge.bestseller{

    background:
    rgba(249,115,22,.15);

    color:#f97316;
}

.card-badge.vip{

    background:
    rgba(168,85,247,.15);

    color:#c084fc;
}

/* ==================================================
   HEADER
================================================== */

.service-header{

    display:flex;

    align-items:center;

    gap:18px;
}

.service-logo-archive{

    width:72px;

    height:72px;

    padding:10px;

    border-radius:18px;

    flex-shrink:0;

    background:
    linear-gradient(
    135deg,
    rgba(255,255,255,.05),
    rgba(255,255,255,.02)
    );

    border:1px solid
    rgba(255,255,255,.06);
}

.service-logo-archive img{

    width:100%;

    height:100%;

    object-fit:contain;
}

.service-info{

    flex:1;
}

.service-info h3{

    margin:0 0 10px;

    color:#fff;
max-width: 200px;

    line-height:1.2;
}

/* ==================================================
   DURATIONS
================================================== */

.service-duration-archive {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
    padding: 8px;
}

.service-duration-archive span{

    min-width:42px;

    height:38px;

    padding:0 14px;

    display:flex;

    align-items:center;

    justify-content:center;

    border-radius:12px;

   background: rgba(255, 255, 255, .03);

    border:1px solid
    rgba(123,92,255,.15);

    color:#c4b5fd;

    font-size:13px;

    font-weight:700;
}

/* ==================================================
   DESCRIPTION
================================================== */

.service-desc{

    min-height:52px;

    color:#94a3b8;

    line-height:1.7;

    font-size:14px;

    margin-bottom:20px;
}

/* ==================================================
   FOOTER
================================================== */

.service-footer{

    display:flex;

    justify-content:space-between;

    align-items:center;

    gap:15px;
}

.service-price small{

    display:block;

    color:#64748b;

    font-size:11px;

    text-transform:uppercase;

    letter-spacing:.5px;

    margin-bottom:4px;
}

.service-price strong{

    color:#fff;

    font-size:28px;

    font-weight:900;
}

.service-btn {
    height: 40px;
    padding: 0 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    background: linear-gradient(135deg, #195730, #2f1c68);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
    transition: .3s;
    font-family: monospace;
}

.service-btn:hover{
background: linear-gradient(135deg, #4d0909, #7c165f);
    transform:
    translateY(-2px);
}

/* ==================================================
   COLOR THEMES
================================================== */

.rss-color-purple{

    border-top:3px solid #8b5cf6;
}

.rss-color-green{

    border-top:3px solid #22c55e;
}

.rss-color-orange{

    border-top:3px solid #f97316;
}

.rss-color-blue{

    border-top:3px solid #3b82f6;
}

/* ==================================================
   PAGINATION
================================================== */

.archive-pagination{

    display:flex;

    justify-content:center;

    margin-top:60px;
}

.archive-pagination .page-numbers{

    width:44px;

    height:44px;

    margin:0 4px;

    display:flex;

    align-items:center;

    justify-content:center;

    border-radius:12px;

    background:
    rgba(255,255,255,.04);

    border:1px solid
    rgba(255,255,255,.06);

    color:#cbd5e1;
}

.archive-pagination .current{

    background:
    linear-gradient(
    135deg,
    #7b5cff,
    #a855f7
    );

    color:#fff;

    border:none;
}

/* ==================================================
   EMPTY STATE
================================================== */

.empty-services{

    text-align:center;

    padding:80px 20px;

    color:#94a3b8;

    font-size:18px;
}

/* ==================================================
   TABLET
================================================== */

@media(max-width:1024px){

    .archive-heading h1{

        font-size:30px;
    }

    .services-grid{

        grid-template-columns:
        repeat(2,1fr);
    }

}

/* ==================================================
   MOBILE
================================================== */

@media(max-width:768px){

    .services-archive-hero{

        padding-top:150px;
    }
    .service-duration-archive {
    padding: 20px 0;
}
.service-duration-archive span {
    min-width: 30px;
    height: 25px;
    border-radius: 5px;
    font-size: 11px;
    font-weight: 500;
}

    .archive-heading h1{

        font-size:25px;
    }

    .archive-heading p{

        font-size:12px;
    }

    .archive-search input{

        height:56px;
    }

    .services-grid{

        grid-template-columns:1fr;

        gap:18px;
    }

    .service-card{

        padding:18px;
    }

    .service-logo-archive {
        width: 56px;
        height: 56px;
        position: absolute;
        top: 5px;
        left: 5px;
    }

       .service-info h3 {
        font-size: 16px;
        margin-left: 50px;
        max-width: 170px;
        font-weight: 500;
    }

    .service-price strong{

        font-size:24px;
    }

    .service-btn {
        height: 30px;
        padding: 0 10px;
        font-size: 12px;
    }

}