/* =========================
   SERVICES MENU
========================= */
.services-menu {
    position: relative;
}

.services-categories {
    display: none;
    margin-top: 20px;
    margin-left: 40px;
    padding: 0;
    list-style: none;
}

.services-categories.show {
    display: block;
    animation: fadeIn 0.4s ease;
}

/* =========================
   CATEGORY ITEM
========================= */
.category-item {
    position: relative;
    width: 100%;
    min-height: 40px;
    margin-bottom: 18px;
}

.category-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    max-width: 420px;
}

.category-link {
    flex: 1;
    color: inherit;
    text-decoration: none;
    font-size: 22px;
    font-weight: 500;
    display: inline-block;
    transition: all 0.35s ease;
}

.category-link:hover {
    transform: translateX(10px);
    letter-spacing: 0.5px;
}

.category-toggle {
    cursor: pointer;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.category-toggle svg {
    transition: transform 0.3s ease;
}

.category-toggle.active svg {
    transform: rotate(45deg);
}

/* =========================
   SERVICE ITEMS
========================= */
.service-items {
    margin-left: 25px;
    padding-left: 20px;
    margin-top: 0;

    max-height: 0;
    opacity: 0;
    overflow: hidden;

    list-style: none;
    border-left: 2px solid rgba(213, 183, 123, 0.25);

    transition:
        max-height 0.6s cubic-bezier(.23, 1, .32, 1),
        opacity 0.4s ease,
        margin-top 0.4s ease;
}

.service-items.show {
    max-height: 600px;
    opacity: 1;
    margin-top: 12px;
}

.service-items li {
    position: relative;
    margin-bottom: 12px;
}

.service-items li:last-child {
    margin-bottom: 0;
}

.service-items li::before {
    content: "";
    position: absolute;
    left: -30px;
    top: 12px;
    width: 15px;
    height: 1px;
    background: #d5b77b;
}

.service-items a {
    color: inherit;
    text-decoration: none;
    font-size: 16px;
    display: inline-block;
    transition: all 0.35s ease;
}

/* =========================
   ANIMATION
========================= */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================
   DETAILS PAGE
   (Service + Category)
========================= */
.service-image-wrap {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 60px auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.service-detail-image {
    display: block;
    width: 100%;
    max-width: 500px;
    height: auto;
    object-fit: cover;
    overflow: hidden;
    border-radius: 30px !important;

    transition: all 0.8s cubic-bezier(.16, 1, .3, 1);
    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.08),
        0 20px 60px rgba(0, 0, 0, 0.06);
}

.service-detail-image:hover {
    transform: translateY(-8px) scale(1.03);
}

.service-content-block {
    max-width: 900px;
    margin: 0 auto 120px;
    padding: 0 30px;
    box-sizing: border-box;
}

.service-title {
    margin-bottom: 40px;
    font-size: clamp(2.2rem, 5vw, 4.5rem);
    font-weight: 700;
}

.service-content {
    font-size: 1.75rem;
    line-height: 1.6;
    color: inherit;
}

.service-content p {
    margin-bottom: 24px;
}

/* =========================
   TABLET
========================= */
@media (max-width: 991px) {
    .services-categories {
        margin-left: 20px;
    }

    .category-link {
        font-size: 20px;
    }
}

/* =========================
   MOBILE
========================= */
@media (max-width: 768px) {
    .services-categories {
        margin-left: 15px;
    }

    .category-item {
        margin-bottom: 20px;
    }

    .category-link {
        font-size: 18px;
    }

    .service-items {
        margin-left: 25px;
        padding-left: 15px;
        opacity: 1;
        display: block;
        border-left: 2px solid color-mix(in srgb, var(--accent) 35%, transparent);
    }

    .service-items a {
        font-size: 14px;
    }

    .service-image-wrap {
        margin: 30px auto;
    }

    .service-detail-image {
        max-width: 100%;
        border-radius: 22px !important;
    }

    .service-content-block {
        margin-bottom: 60px;
        padding: 0 20px;
    }

    .service-title {
        margin-bottom: 20px;
        font-size: 2.85rem !important;
    }

    .service-content {
        font-size: 1.85rem !important;
        line-height: 1.7 !important;
    }

    .service-content p {
        margin-bottom: 16px;
    }
}