/* =====================================================
   SERVICES SECTION
===================================================== */

.services-section {
    width: 100%;

    padding: 65px 25px 75px;

    background: #f8f4f0;

    overflow: hidden;
}


/* =====================================================
   CONTAINER
===================================================== */

.services-container {
    width: 100%;
    max-width: 1150px;

    margin: auto;
}


/* =====================================================
   HEADER
===================================================== */

.services-header {
    text-align: center;

    margin-bottom: 23px;
}


/* Small label */

.services-label {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 8px;

    margin-bottom: 10px;

    color: #a60038;

    font-size: 10px;

    font-weight: 700;

    letter-spacing: 1px;
}

.services-label span {
    color: #d77c25;

    font-size: 12px;
}


/* Heading */

.services-header h2 {
    margin: 0;

    color: #171310;

    font-family: "Playfair Display", serif;

    font-size: clamp(34px, 4vw, 42px);

    line-height: 1.1;

    font-weight: 500;

    letter-spacing: -1px;
}


/* Description */

.services-header p {
    margin: 10px auto 0;

    color: #776d67;

    font-size: 13px;

    line-height: 1.5;
}


/* =====================================================
   FILTER BUTTONS
===================================================== */

.service-filters {
    display: flex;
    align-items: center;
    justify-content: center;

    flex-wrap: wrap;

    gap: 7px;

    margin-bottom: 50px;
}


.filter-btn {
    height: 27px;

    padding: 0 15px;

    border: 1px solid #e1dcd8;

    border-radius: 20px;

    background: #ffffff;

    color: #625b57;

    font-family: "DM Sans", sans-serif;

    font-size: 9px;

    font-weight: 500;

    cursor: pointer;

    transition: all 0.3s ease;
}

.filter-btn:hover {
    color: #a60038;

    border-color: #dcb9c4;
}

.filter-btn.active {
    color: #ffffff;

    background: #a60038;

    border-color: #a60038;

    box-shadow:
        0 4px 8px rgba(166, 0, 56, 0.18);
}


/* =====================================================
   SERVICES GRID
===================================================== */

.services-grid {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 19px 20px;
}


/* =====================================================
   SERVICE CARD
===================================================== */

.service-card {
    min-width: 0;

    overflow: hidden;

    background: #ffffff;

    border: 1px solid #f0dce0;

    border-radius: 11px;

    box-shadow:
        0 3px 8px rgba(49, 30, 18, 0.05);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);

    box-shadow:
        0 12px 28px rgba(49, 30, 18, 0.11);
}


/* =====================================================
   SERVICE IMAGE
===================================================== */

.service-image {
    position: relative;

    width: 100%;

    height: 133px;

    overflow: hidden;

    background: #ddd;
}

.service-image img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    transition: transform 0.5s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.05);
}


/* =====================================================
   IMAGE ICON
===================================================== */

.service-icon {
    position: absolute;

    top: 9px;
    left: 9px;

    width: 30px;
    height: 30px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #ffffff;

    border-radius: 7px;

    font-size: 15px;

    box-shadow:
        0 3px 8px rgba(0, 0, 0, 0.15);
}


/* =====================================================
   PRICE
===================================================== */

.service-price {
    position: absolute;

    right: 8px;
    bottom: 8px;

    padding: 4px 7px;

    color: #ffffff;

    background: rgba(20, 16, 12, 0.78);

    border-radius: 5px;

    font-size: 9px;

    font-weight: 600;

    backdrop-filter: blur(3px);
}


/* =====================================================
   CARD BODY
===================================================== */

.service-body {
    padding: 14px 14px 11px;
}


/* Title */

.service-body h3 {
    margin: 0;

    color: #171310;

    font-family: "Playfair Display", serif;

    font-size: 14px;

    line-height: 1.3;

    font-weight: 600;

    white-space: nowrap;

    overflow: hidden;

    text-overflow: ellipsis;
}


/* Description */

.service-body p {
    height: 38px;

    margin: 9px 0 9px;

    color: #817873;

    font-size: 9px;

    line-height: 1.45;

    overflow: hidden;

    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}


/* =====================================================
   CARD BOTTOM
===================================================== */

.service-bottom {
    padding-top: 8px;

    border-top: 1px solid #f0e2e2;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 5px;
}


/* Duration */

.service-duration {
    color: #8b837e;

    font-size: 8px;

    white-space: nowrap;
}

.service-duration i {
    margin-right: 3px;

    font-size: 8px;
}


/* Details */

.service-details {
    display: flex;
    align-items: center;

    gap: 4px;

    color: #b0003b;

    text-decoration: none;

    font-size: 9px;

    font-weight: 600;

    white-space: nowrap;

    transition: 0.3s ease;
}

.service-details span {
    font-size: 14px;

    transition: transform 0.3s ease;
}

.service-details:hover {
    color: #7f002d;
}

.service-details:hover span {
    transform: translateX(3px);
}


/* =====================================================
   FILTER ANIMATION
===================================================== */

.service-card.hide {
    display: none;
}

.service-card.show {
    animation: serviceShow 0.35s ease;
}

@keyframes serviceShow {

    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}


/* =====================================================
   LARGE LAPTOP
===================================================== */

@media (max-width: 1200px) {

    .services-container {
        max-width: 1000px;
    }

    .services-grid {
        grid-template-columns: repeat(4, 1fr);

        gap: 15px;
    }

    .service-image {
        height: 120px;
    }

    .service-body {
        padding: 12px;
    }

    .service-body h3 {
        font-size: 13px;
    }

}


/* =====================================================
   TABLET
===================================================== */

@media (max-width: 900px) {

    .services-section {
        padding: 60px 25px 65px;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);

        gap: 18px;
    }

    .service-image {
        height: 190px;
    }

    .service-body {
        padding: 15px;
    }

    .service-body h3 {
        font-size: 16px;
    }

    .service-body p {
        height: 40px;

        font-size: 10px;
    }

    .service-duration,
    .service-details {
        font-size: 10px;
    }

}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 600px) {

    .services-section {
        padding: 50px 16px 55px;
    }


    /* Header */

    .services-header {
        margin-bottom: 20px;
    }

    .services-label {
        font-size: 9px;
    }

    .services-header h2 {
        font-size: 32px;

        line-height: 1.12;
    }

    .services-header p {
        font-size: 11px;

        line-height: 1.55;
    }

    .desktop-only {
        display: none;
    }


    /* Filters */

    .service-filters {
        justify-content: flex-start;

        overflow-x: auto;

        flex-wrap: nowrap;

        padding: 2px 2px 10px;

        margin-bottom: 25px;

        scrollbar-width: none;
    }

    .service-filters::-webkit-scrollbar {
        display: none;
    }

    .filter-btn {
        flex-shrink: 0;

        height: 30px;

        padding: 0 13px;

        font-size: 9px;
    }


    /* Grid */

    .services-grid {
        grid-template-columns: 1fr 1fr;

        gap: 12px;
    }


    /* Image */

    .service-image {
        height: 135px;
    }

    .service-icon {
        width: 27px;
        height: 27px;

        top: 7px;
        left: 7px;

        font-size: 13px;
    }

    .service-price {
        right: 6px;
        bottom: 6px;

        font-size: 8px;

        padding: 4px 5px;
    }


    /* Body */

    .service-body {
        padding: 11px 10px 9px;
    }

    .service-body h3 {
        font-size: 12px;
    }

    .service-body p {
        margin: 7px 0;

        height: 35px;

        font-size: 8px;

        line-height: 1.45;
    }

    .service-bottom {
        padding-top: 7px;
    }

    .service-duration,
    .service-details {
        font-size: 7.5px;
    }

    .service-duration i {
        font-size: 7px;
    }

    .service-details span {
        font-size: 11px;
    }

}


/* =====================================================
   SMALL MOBILE
===================================================== */

@media (max-width: 400px) {

    .services-section {
        padding-left: 12px;
        padding-right: 12px;
    }

    .services-grid {
        gap: 10px;
    }

    .service-image {
        height: 120px;
    }

    .service-body {
        padding: 10px 8px 8px;
    }

    .service-body h3 {
        font-size: 11px;
    }

    .service-body p {
        font-size: 7.5px;
    }

    .service-duration,
    .service-details {
        font-size: 7px;
    }

}


/* =====================================================
   VERY SMALL MOBILE
===================================================== */

@media (max-width: 340px) {

    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-image {
        height: 180px;
    }

    .service-body h3 {
        font-size: 14px;
    }

    .service-body p {
        font-size: 9px;

        height: 38px;
    }

    .service-duration,
    .service-details {
        font-size: 9px;
    }

}