/* ====================================
            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;
}