/* === SERVICES PREMIUM SECTION === */

/* Badges */
.service-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #a29204;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 5px 12px;
    border-radius: 20px;
    text-transform: uppercase;
    z-index: 2;
}

/* Carte Service */
.service-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #a29204 0%, #d4b744 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 50px rgba(162, 146, 4, 0.2);
}

/* Icône */
.service-icon {
    padding: 40px 30px 20px;
    text-align: center;
}

.service-icon i {
    font-size: 70px;
    color: #a29204;
    transition: all 0.4s ease;
    display: inline-block;
}

.service-card:hover .service-icon i {
    transform: scale(1.1) rotateY(360deg);
    color: #d4b744;
}

/* Contenu */
.service-content {
    padding: 0 35px 35px;
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.service-content h4 {
    font-size: 24px;
    color: #19191a;
    margin-bottom: 18px;
    font-family: "Lora", serif;
    font-weight: 700;
    transition: color 0.3s ease;
}

.service-card:hover .service-content h4 {
    color: #a29204;
}

.service-content p {
    font-size: 16px;
    color: #707079;
    line-height: 27px;
    margin-bottom: 25px;
    flex-grow: 1;
}

/* Bouton service */
.service-btn {
    display: inline-block;
    font-size: 13px;
    color: #a29204;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    border: 2px solid #a29204;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.service-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: #a29204;
    transition: left 0.4s ease;
    z-index: -1;
}

.service-btn:hover::before {
    left: 0;
}

.service-btn:hover {
    color: #ffffff;
}

/* Bouton "Voir tout" */
.view-all-btn {
    display: inline-block;
    font-size: 14px;
    color: #ffffff;
    background: #a29204;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    padding: 18px 45px;
    margin-bottom: 30px;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(162, 146, 4, 0.3);
    transition: all 0.4s ease;
}

.view-all-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(162, 146, 4, 0.4);
    color: #ffffff;
}


/* Tabs catégories - style Sona */
.nav-tabs .nav-link {
    border: none;
    border-bottom: 3px solid transparent;
    border-radius: 0;
    margin: 0 10px;
    font-size: 1.1rem;
}

.nav-tabs .nav-link.active {
    border-bottom: 3px solid #a29204;
    color: #a29204 !important;
    background: transparent;
}

.nav-tabs .nav-link:hover {
    border-bottom: 3px solid #a29204;
    color: #a29204;
}


/* Responsive tabs */
@media (max-width: 768px) {
    .nav-tabs {
        flex-direction: column;
    }
    .nav-tabs .nav-link {
        margin: 5px 0;
        text-align: center;
    }
}

.category-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin: 0 0;
}

.category-tab {
    display: inline-block;
    padding: 12px 30px;
    font-size: 16px;
    font-weight: 600;
    color: #707079;
    background: #f8f8f8;
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.category-tab:hover {
    color: #a29204;
    background: #fff9e8;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(162,146,4,0.1);
}

.category-tab.active {
    background: #a29204;
    color: #ffffff !important;
    box-shadow: 0 5px 20px rgba(162,146,4,0.3);
}



/* Responsive : vertical sur mobile */
@media (max-width: 768px) {
    .category-tabs {
        flex-direction: column;
        align-items: center;
    }
    .category-tab {
        width: 80%;
        text-align: center;
    }
}

/* Effet lift sur cartes services */
.service-item {
    background: #ffffff;
    border-radius: 10px;
    transition: all 0.4s ease;
}

.service-item:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(162,146,4,0.15);
}



    /* Carte style Airbnb */
    .service-card {
        border: none;
        border-radius: 12px;
        overflow: hidden;
        transition: transform 0.2s ease-in-out;
        background: #fff;
    }

    /* Image responsive avec ratio fixe */
    .service-img {
        height: 250px;
        object-fit: cover;
        border-radius: 12px;
    }

    /* Rendre toute la zone de texte cliquable */
    .card-body-link {
        text-decoration: none !important;
        color: inherit !important;
        display: block;
    }

    /* Badges sur l'image */
    .card-badge {
        position: absolute;
        top: 12px;
        left: 12px;
        z-index: 10;
        display: flex;
        gap: 5px;
    }

    .bg-gold {
        background-color: #dfa974;
        color: white;
    }

    /* Style du titre et texte */
    .service-title {
        font-size: 1.05rem;
        font-weight: 600;
        margin: 0;
        color: #222;
    }

    .service-category, .service-desc-short {
        font-size: 0.9rem;
        margin: 0;
    }

    /* Carrousel : On cache les flèches par défaut, on les montre au survol */
    .carousel-control-prev, .carousel-control-next {
        opacity: 0;
        transition: opacity 0.3s;
        width: 10%;
    }

    .service-card:hover .carousel-control-prev,
    .service-card:hover .carousel-control-next {
        opacity: 1;
    }

    .carousel-control-prev-icon, .carousel-control-next-icon {
        background-color: rgba(255, 255, 255, 0.8);
        border-radius: 50%;
        background-size: 50%;
        padding: 15px;
        filter: invert(1);
    }

    /* Indicateurs (petits points blancs) */
    .carousel-indicators [data-bs-target] {
        width: 6px;
        height: 6px;
        border-radius: 50%;
        margin: 0 3px;
    }

    /* Animation douce */
    .carousel-item {
        transition: transform 0.6s ease-in-out, opacity 0.6s ease-in-out;
    }

    /* Responsive adjustments */
    @media (max-width: 768px) {
        .service-img {
            height: 200px;
        }
    }
