/* ====================================
            SERVICES HERO
==================================== */

.services-hero {
    min-height: 65vh;
    display: flex;
    align-items: center;
    text-align: center;
    position: relative;

    background:
        linear-gradient(rgba(46, 46, 46, 0.35),
            rgba(46, 46, 46, 0.35)),
        url("../images/hero/hero-image.jpg");

    background-size: cover;
    background-position: center;
    color: var(--white-color);
}


.services-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg,
            rgba(0, 0, 0, 0.25),
            rgba(0, 0, 0, 0.45));
}


.services-hero .container {
    position: relative;
    z-index: 2;
}


.services-hero span {
    display: block;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 20px;
    color: var(--primary-color);
}


.services-hero h1 {
    color: var(--white-color);
    margin-bottom: 25px;
}


.services-hero p {
    max-width: 650px;
    margin: auto;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
}


/* ====================================
            FILTER SECTION
==================================== */

.filter-section {
    margin-top: -70px;
    position: relative;
    z-index: 10;
}


.filter-wrapper {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    border-radius: var(--radius-medium);
    box-shadow: var(--shadow-soft);

    padding: 30px;

    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 20px;
}


.filter-wrapper input,
.filter-wrapper select {
    height: 55px;
    border-radius: 50px;
    border: 1px solid var(--border-color);

    padding: 0 25px;

    font-family: var(--body-font);
    font-size: 0.95rem;

    outline: none;

    transition: var(--transition);
}


.filter-wrapper input:focus,
.filter-wrapper select:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 4px rgba(201, 162, 126, 0.15);
}


/* ====================================
            CATEGORY CARDS
==================================== */

.categories {
    background: var(--white-color);
}


.category-card {
    overflow: hidden;
    border-radius: var(--radius-medium);
    background: var(--white-color);
    box-shadow: var(--shadow-soft);

    transition: var(--transition);
    cursor: pointer;
}


.category-card:hover {
    transform: translateY(-12px);
}


.category-card img {
    height: 260px;
    transition: transform 0.6s ease;
}


.category-card:hover img {
    transform: scale(1.08);
}


.category-card h3 {
    padding: 25px 25px 10px;
}


.category-card p {
    padding: 0 25px 25px;
}


/* ====================================
            SERVICE GRID
==================================== */

.services-list {
    background: var(--secondary-color);
}


.service-item {
    transition: 0.4s ease;
}


.service-card {
    height: 100%;
    background: var(--white-color);
    border-radius: var(--radius-medium);
    overflow: hidden;

    position: relative;

    box-shadow: var(--shadow-soft);

    transition: var(--transition);
}


.service-card:hover {
    transform: translateY(-10px);
}


.service-card img {
    height: 280px;
}


/* Favorite */

.favorite-btn {
    position: absolute;
    top: 18px;
    right: 18px;

    width: 42px;
    height: 42px;

    border: none;
    border-radius: 50%;

    background: rgba(255, 255, 255, 0.95);

    font-size: 1.2rem;
    cursor: pointer;

    box-shadow: var(--shadow-soft);

    transition: var(--transition);

    z-index: 5;
}


.favorite-btn:hover {
    background: var(--accent-color);
    color: white;
    transform: scale(1.1);
}


/* Service Content */

.service-card h3 {
    padding: 25px 25px 15px;
}


.service-card p {
    padding: 0 25px;
    min-height: 75px;
}


.service-info {
    padding: 25px;

    display: flex;
    justify-content: space-between;
    align-items: center;

    font-weight: 500;
}


.service-info .price {
    color: var(--accent-color);
    font-size: 1.2rem;
    font-weight: 600;
}


/* Buttons */

.service-actions {
    padding: 0 25px 30px;

    display: flex;
    gap: 15px;
}


.service-actions .btn {
    flex: 1;
    text-align: center;
}


.service-actions .btn:first-child {
    background: transparent;
    border: 1px solid var(--accent-color);
    color: var(--accent-color);
}


.service-actions .btn:first-child:hover {
    background: var(--accent-color);
    color: white;
}


/* ====================================
            EMPTY STATE
==================================== */

.no-results {
    width: 100%;
    text-align: center;

    padding: 60px 20px;

    font-size: 1.2rem;
    color: var(--text-color);
}


/* ====================================
                CTA
==================================== */

.services-cta {
    text-align: center;
    background: var(--white-color);
}


.services-cta h2 {
    margin-bottom: 20px;
}


.services-cta p {
    max-width: 650px;
    margin: 0 auto 30px;
}


/* ====================================
        SMALL LUXURY DETAILS
==================================== */

.service-card img,
.category-card img {
    filter: brightness(0.98);
}


.service-card:hover img {
    transform: scale(1.05);
    transition: transform 0.6s ease;
}


/* Smooth hiding for filtering */

.service-item.hide {
    opacity: 0;
    transform: scale(0.95);
    pointer-events: none;
}


/*====================================
        FLOATING FILTER
====================================*/

.floating-filter-btn {

    position: fixed;

    right: 22px;

    bottom: 22px;

    z-index: 1000;

    border: none;

    border-radius: 60px;

    background: #525353;

    color: #fff;

    padding: 14px 22px;

    display: none;

    align-items: center;

    gap: 10px;

    box-shadow: 0 15px 35px rgba(0, 0, 0, .2);

    transition: .3s;

}

.floating-filter-btn:hover {

    transform: translateY(-4px);

}

.floating-filter-btn i {

    font-size: 1.1rem;

}




.filter-sheet {

    position: fixed;

    inset: 0;

    z-index: 2000;

    opacity: 0;

    visibility: hidden;

    transition: .3s;

}

.filter-sheet.active {

    opacity: 1;

    visibility: visible;

}

.filter-sheet-overlay {

    position: absolute;

    inset: 0;

    background: rgba(0, 0, 0, .45);

    backdrop-filter: blur(4px);

}

.filter-sheet-content {

    position: absolute;

    bottom: 0;

    left: 0;

    width: 100%;

    background: #fff;

    border-radius: 30px 30px 0 0;

    padding: 25px;

    transform: translateY(100%);

    transition: .35s;

    max-height: 85vh;

    overflow: auto;

}

.filter-sheet.active .filter-sheet-content {

    transform: translateY(0);

}

.sheet-handle {

    width: 70px;

    height: 5px;

    background: #ddd;

    border-radius: 50px;

    margin: 0 auto 20px;

}

.sheet-header {

    display: flex;

    justify-content: space-between;

    align-items: center;

    margin-bottom: 25px;

}

.close-sheet {

    border: none;

    background: none;

    font-size: 1.2rem;

}


.sheet-body {

    display: flex;

    flex-direction: column;

    gap: 18px;

}

.sheet-body input,

.sheet-body select {

    width: 100%;

    height: 52px;

    border: 1px solid #ddd;

    border-radius: 14px;

    padding: 0 18px;

}


.sheet-footer {

    display: flex;

    gap: 15px;

    margin-top: 25px;

}

.sheet-footer .btn {

    flex: 1;

}


/* =========================================
   BEAUTY PACKAGES
========================================= */

.packages-section {
    padding: 100px 0;
    background: #faf8f6;
}


/* Section intro */

.packages-section .section-title {
    max-width: 700px;
    margin: 0 auto 55px;
    text-align: center;
}

.packages-section .section-title p {
    margin-top: 15px;
    color: #777;
    line-height: 1.8;
}


/* =========================================
   PACKAGE CARD
========================================= */

.package-card {
    position: relative;
    height: 100%;
    background: #ffffff;
    border-radius: 24px;
    overflow: hidden;

    border: 1px solid rgba(0, 0, 0, 0.06);

    box-shadow:
        0 12px 35px rgba(0, 0, 0, 0.06);

    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease;

    display: flex;
    flex-direction: column;
}

.package-card:hover {
    transform: translateY(-8px);

    box-shadow:
        0 20px 45px rgba(0, 0, 0, 0.10);
}


/* =========================================
   PACKAGE IMAGE
========================================= */

.package-image {
    position: relative;
    height: 270px;
    overflow: hidden;
}

.package-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;

    transition: transform 0.5s ease;
}

.package-card:hover .package-image img {
    transform: scale(1.06);
}


/* Dark overlay */

.package-image::after {
    content: "";
    position: absolute;

    inset: 0;

    background:
        linear-gradient(to top,
            rgba(0, 0, 0, 0.35),
            transparent 55%);

    pointer-events: none;
}


/* =========================================
   PACKAGE BADGE
========================================= */

.package-badge {
    position: absolute;

    top: 18px;
    left: 18px;

    z-index: 2;

    padding: 7px 14px;

    border-radius: 30px;

    background: var(--primary-color);
    color: #fff;

    font-size: 11px;
    font-weight: 600;

    letter-spacing: 1.2px;

    text-transform: uppercase;

    box-shadow:
        0 5px 15px rgba(0, 0, 0, 0.12);
}


/* =========================================
   PACKAGE CONTENT
========================================= */

.package-content {
    padding: 28px 28px 30px;

    display: flex;
    flex-direction: column;

    flex: 1;
}


.package-content h3 {
    margin: 0 0 10px;

    font-size: 22px;
    font-weight: 600;

    color: #222;
}


.package-description {
    margin: 0 0 22px;

    color: #777;

    font-size: 14px;
    line-height: 1.8;
}


/* =========================================
   INCLUDED SERVICES
========================================= */

.package-services {
    padding: 18px 0;

    border-top: 1px solid rgba(0, 0, 0, 0.07);
    border-bottom: 1px solid rgba(0, 0, 0, 0.07);
}


.package-services-title {
    display: block;

    margin-bottom: 12px;

    font-size: 12px;
    font-weight: 600;

    color: #555;

    text-transform: uppercase;
    letter-spacing: 1px;
}


.package-services ul {
    list-style: none;

    padding: 0;
    margin: 0;
}


.package-services li {
    display: flex;
    align-items: center;

    gap: 9px;

    margin-bottom: 9px;

    font-size: 14px;

    color: #555;
}


.package-services li:last-child {
    margin-bottom: 0;
}


.package-services li i {
    color: var(--primary-color);

    font-size: 16px;
}


/* =========================================
   PACKAGE META
========================================= */

.package-meta {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 15px;

    padding: 22px 0;
}


.package-meta>span:first-child {
    display: flex;
    align-items: center;

    gap: 7px;

    color: #777;

    font-size: 13px;
}


.package-meta>span:first-child i {
    color: var(--primary-color);
}


.package-price {
    font-size: 25px;

    font-weight: 700;

    color: #222;
}


/* =========================================
   PACKAGE ACTIONS
========================================= */

.package-actions {
    display: flex;

    gap: 10px;

    margin-top: auto;
}


.package-actions .btn {
    flex: 1;

    min-height: 45px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 10px;

    font-size: 13px;

    transition: all 0.3s ease;
}


.package-actions .btn:first-child {
    background: transparent;

    border: 1px solid #222;

    color: #222;
}


.package-actions .btn:first-child:hover {
    background: #222;

    color: #fff;
}


.package-actions .btn:last-child {
    background: var(--primary-color);

    border: 1px solid var(--primary-color);

    color: #fff;
}


.package-actions .btn:last-child:hover {
    filter: brightness(0.92);

    transform: translateY(-1px);
}