/*
|--------------------------------------------------------------------------
| Palette Couleurs ACD
|--------------------------------------------------------------------------
*/
:root {
    --acd-red: #EA4D28;
    --acd-black: #181818;
    --acd-white: #fff;
    --acd-grey-bg: #f8f8f8;
    --acd-hero-desc: #cccccc;
}

/*
|--------------------------------------------------------------------------
| Animations 
|--------------------------------------------------------------------------
*/
@keyframes slide-up {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

.animate-mask {
    display: inline-block;
    overflow: hidden;
}

.animate-slide-up {
    animation: slide-up 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}

/*
|--------------------------------------------------------------------------
| Hero Section
|--------------------------------------------------------------------------
*/
.acd-hero-section {
    min-height: 60vh;
    background: var(--acd-black);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding-top: 3rem;
}
.acd-hero-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--acd-white);
    letter-spacing: 1px;
}
.acd-red {
    color: var(--acd-red);
}
.acd-hero-desc {
    font-size: 1.25rem;
    max-width: 700px;
    color: var(--acd-hero-desc);
}
.acd-btn-hero {
    background: var(--acd-white);
    color: var(--acd-red);
    font-weight: 600;
    border-radius: 2rem;
    padding: 0.75rem 2.5rem;
    font-size: 1.15rem;
    box-shadow: 0 4px 18px 0 rgba(234,77,40,0.10);
    transition: background 0.2s, color 0.2s, transform 0.2s;
    margin-top: 1rem;
}
.acd-btn-hero:hover {
    background: var(--acd-red);
    color: var(--acd-white);
    transform: translateY(-2px) scale(1.04);
}

/*
|--------------------------------------------------------------------------
| Styles de Section Génériques
|--------------------------------------------------------------------------
*/
.acd-section {
    padding-top: 4rem;
    padding-bottom: 4rem;
}
.acd-section-header {
    margin-bottom: 2.5rem;
}
.acd-section-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--acd-black);
    letter-spacing: 1px;
}
.acd-section-bar {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--acd-red) 0%, #fbe7e2 100%);
    border-radius: 2px;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

/* Styles pour les sections sur fond sombre */
.acd-section-dark {
    background: var(--acd-black);
}
.acd-section-dark .acd-section-title {
    color: var(--acd-white);
}
.acd-section-dark .acd-section-bar {
    background: linear-gradient(90deg, var(--acd-red) 0%, var(--acd-white) 100%);
}

/*
|--------------------------------------------------------------------------
| Section Programme annuel
|--------------------------------------------------------------------------
*/

/* Espacement entre les cartes de destination */
#programme .row.g-4 {
    row-gap: 2rem !important;
}

#programme .col-12.col-sm-6.col-lg-4 {
    margin-bottom: 1.5rem;
}

/* Mode mobile - espacement réduit */
@media (max-width: 767.98px) {
    #programme .row.g-4 {
        row-gap: 1.5rem !important;
    }

    #programme .col-12.col-sm-6.col-lg-4 {
        margin-bottom: 1rem;
    }
}
.acd-dest-card {
    background: var(--acd-white);
    border-radius: 1.5rem;
    box-shadow: 0 2px 16px 0 rgba(234,77,40,0.07);
    padding: 2.5rem 1.5rem 2rem 1.5rem;
    margin-bottom: 0;
    position: relative;
    transition: transform 0.25s cubic-bezier(.4,2,.6,1), box-shadow 0.25s cubic-bezier(.4,2,.6,1);
    overflow: hidden;
    border: 1.5px solid #f3f3f3;
    cursor: pointer;
}
.acd-dest-card:hover {
    transform: translateY(-8px) scale(1.04);
    box-shadow: 0 8px 32px 0 rgba(234,77,40,0.13);
    border-color: var(--acd-red);
}
.acd-dest-month {
    color: var(--acd-white);
    background: linear-gradient(90deg, var(--acd-red) 0%, #fbe7e2 100%);
    border-radius: 1rem 1rem 0 0;
    padding: 0.5rem 0;
    font-size: 1.1rem;
    letter-spacing: 1px;
    box-shadow: 0 2px 8px 0 rgba(234,77,40,0.08);
    font-weight: 600;
    margin-bottom: 1rem;
}
.acd-dest-flag {
    width: 80px;
    height: 80px;
    object-fit: contain;
    border-radius: 0.7rem;
    border: 2px solid #f3f3f3;
    box-shadow: 0 2px 8px 0 rgba(234,77,40,0.08);
    background: #fff;
}
.acd-dest-country {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--acd-black);
    margin-top: 0.5rem;
    letter-spacing: 0.5px;
}
        .acd-dest-card-visual {
            position: relative;
            background-size: cover;
            background-position: center;
            color: white;
            min-height: 250px;
            cursor: pointer;
            transition: transform 0.3s ease;
            border-radius: 0.75rem; /* Bords arrondis */
            overflow: hidden;
            box-shadow: 0 4px 24px rgba(0,0,0,0.08);
        }

        .acd-dest-card-visual:hover {
            transform: translateY(-5px) scale(1.03);
            box-shadow: 0 12px 32px rgba(0,0,0,0.15);
        }

        .acd-dest-card-overlay {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.1) 50%, transparent 100%);
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            padding: 1rem;
        }

        .acd-dest-month {
            background: var(--acd-red);
            color: var(--acd-white);
            padding: 0.5rem 1.5rem;
            border-radius: 50px;
            font-size: 1rem;
            font-weight: 600;
            margin-bottom: 1rem;
            box-shadow: 0 4px 15px rgba(0,0,0,0.2);
        }

        .acd-dest-country {
            font-size: 1.75rem;
            font-weight: 700;
            color: var(--acd-white);
            text-shadow: 0 2px 4px rgba(0,0,0,0.5);
        }

/*
|--------------------------------------------------------------------------
| Section Objectifs
|--------------------------------------------------------------------------
*/

/* Espacement entre les cartes d'objectifs */
#objectifs .row.g-4 {
    row-gap: 2rem !important;
}

#objectifs .col-12.col-sm-6.col-lg-4 {
    margin-bottom: 1.5rem;
}

/* Mode mobile - espacement réduit */
@media (max-width: 767.98px) {
    #objectifs .row.g-4 {
        row-gap: 1.5rem !important;
    }

    #objectifs .col-12.col-sm-6.col-lg-4 {
        margin-bottom: 1rem;
    }
}
.acd-obj-card {
    background: var(--acd-white);
    border-radius: 1.5rem;
    box-shadow: 0 2px 16px 0 rgba(234,77,40,0.07);
    padding: 2.5rem 1.5rem 2rem 1.5rem;
    margin-bottom: 0;
    position: relative;
    transition: transform 0.25s, box-shadow 0.25s, background-color 0.2s;
    overflow: hidden;
    border: 1.5px solid #f3f3f3;
    min-height: 320px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}
.acd-obj-icon {
    font-size: 2.5rem;
    color: var(--acd-red);
    background: #fff6f3;
    border-radius: 50%;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    box-shadow: 0 2px 8px 0 rgba(234,77,40,0.08);
    transition: background-color 0.2s, color 0.2s;
}
.acd-obj-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--acd-black);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
    transition: color 0.2s;
}
.acd-obj-desc {
    color: #444;
    font-size: 1rem;
    font-weight: 400;
    margin-bottom: 0;
    transition: color 0.2s;
}
.acd-obj-card:hover {
    background: var(--acd-red);
    transform: translateY(-8px) scale(1.04);
    box-shadow: 0 8px 32px 0 rgba(234,77,40,0.13);
    border-color: var(--acd-red);
}
.acd-obj-card:hover .acd-obj-icon,
.acd-obj-card:hover .acd-obj-title,
.acd-obj-card:hover .acd-obj-desc {
    color: var(--acd-white);
}
.acd-obj-card:hover .acd-obj-icon {
    background-color: var(--acd-white);
    color: var(--acd-red);
}

/*
|--------------------------------------------------------------------------
| Section Tarifs 
|--------------------------------------------------------------------------
*/
.acd-tarif-card {
    background: var(--acd-white);
    border-radius: 2rem;
    box-shadow: 0 4px 32px 0 rgba(0,0,0,0.05);
    border: 1px solid #eee;
    padding: 2.5rem;
}
.tarif-details .pack-title {
    font-size: 1.5rem;
    font-weight: 500;
    color: #6c757d;
}
.tarif-details .pack-price {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--acd-black);
}
.tarif-details .pack-currency {
    font-size: 1.5rem;
    color: var(--acd-black);
}
.tarif-details .reservation-fee {
    font-size: 1.1rem;
    color: var(--acd-black);
}
.tarif-includes .includes-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--acd-black);
}
.includes-list {
    list-style: none;
    padding-left: 0;
}
.includes-list li {
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
    color: #444;
    display: flex;
    align-items: center;
    gap: 0.7rem;
}
.includes-list .bi {
    color: var(--acd-red);
    font-size: 1.2rem;
}
.nb-alert {
    font-size: 0.98rem;
    background: #fff6f3;
    color: #c53d1e;
    border: 1px solid #fbe7e2;
    border-radius: 1rem;
}
.btn-reserver {
    background: var(--acd-red);
    color: var(--acd-white);
    font-weight: 700;
    border-radius: 2rem;
    padding: 0.8rem 2.5rem;
    font-size: 1.1rem;
    border: 2px solid var(--acd-red);
    transition: background 0.2s, color 0.2s, transform 0.2s;
}
.btn-reserver:hover, .btn-reserver:focus {
    background: var(--acd-black);
    border-color: var(--acd-black);
    color: var(--acd-white);
    transform: translateY(-2px);
}

/*
|--------------------------------------------------------------------------
| Section Galerie
|--------------------------------------------------------------------------
*/

/* Espacement entre les images de galerie */
#galerie .row.g-4 {
    row-gap: 1.5rem !important;
}

#galerie .col-lg-3.col-md-6 {
    margin-bottom: 1.5rem;
}

/* Mode mobile - espacement réduit */
@media (max-width: 767.98px) {
    #galerie .row.g-4 {
        row-gap: 1rem !important;
    }

    #galerie .col-lg-3.col-md-6 {
        margin-bottom: 1rem;
    }
}
.acd-gallery-item {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    height: 250px;
    cursor: zoom-in;
}
.acd-gallery-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.15);
}
.acd-gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}
.acd-gallery-item:hover .acd-gallery-img {
    transform: scale(1.05);
}
.acd-btn-outline {
    background: transparent;
    color: var(--acd-red);
    font-weight: 600;
    border-radius: 2rem;
    padding: 0.75rem 2.5rem;
    font-size: 1.15rem;
    border: 2px solid var(--acd-red);
    transition: background 0.2s, color 0.2s, transform 0.2s;
}
.acd-btn-outline:hover {
    background: var(--acd-red);
    color: var(--acd-white);
    transform: translateY(-2px);
}

/*
|--------------------------------------------------------------------------
| Modal d'inscription
|--------------------------------------------------------------------------
*/
.modal-body {
    position: relative;
}
.form-loader-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.95);
    z-index: 10;
    display: none; /* Hidden by default */
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    text-align: center;
}
.progress {
    width: 100%;
    height: 1rem;
    background-color: #e9ecef;
    border-radius: .5rem;
}
.progress-bar {
    background-color: var(--acd-red);
    transition: width 0.4s ease-in-out;
}
.modal-content {
    border-radius: 1.5rem;
    border: none;
}
.modal-header {
    border-bottom: 1px solid #eee;
}
.modal-title {
    color: var(--acd-black);
    font-weight: 700;
}
.form-control {
    border-radius: 0.75rem;
    border: 1px solid #ddd;
    padding: 0.75rem 1rem;
}
.form-control:focus {
    border-color: var(--acd-red);
    box-shadow: 0 0 0 0.25rem rgba(234, 77, 40, 0.25);
}
.form-check-input:checked {
    background-color: var(--acd-red);
    border-color: var(--acd-red);
}
.dropdown .btn {
    background-color: var(--acd-white);
    color: var(--acd-black);
    border: 1px solid #ddd;
    text-align: left;
    width: 100%;
}
.dropdown .btn:focus {
    border-color: var(--acd-red);
    box-shadow: 0 0 0 0.25rem rgba(234, 77, 40, 0.25);
}
.dropdown-menu .dropdown-item {
    cursor: pointer;
}
.dropdown-menu .dropdown-item:active {
    background-color: var(--acd-red);
}
.btn-primary {
    background-color: var(--acd-red);
    border-color: var(--acd-red);
    border-radius: 2rem;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
}
.btn-primary:hover {
    background-color: #c53d1e;
    border-color: #c53d1e;
}

/*
|--------------------------------------------------------------------------
| Medias Queries (pour la responsivité)
|--------------------------------------------------------------------------
*/

@media (max-width: 991.98px) {
    .acd-section {
        padding-top: 2.5rem;
        padding-bottom: 2.5rem;
    }
    .acd-dest-card, .acd-obj-card, .acd-tarif-card {
        padding: 2rem;
    }
}

@media (max-width: 767.98px) {
    .acd-hero-section .container,
    .acd-section .container {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    .hero-title {
        font-size: 3rem !important;
        line-height: 1.2;
    }
    .lead {
        font-size: 1.15rem;
    }
    .tarif-details {
        text-align: center;
        margin-bottom: 2rem;
    }
    .tarif-details .pack-price {
        font-size: 2.8rem;
    }
    .tarif-details .pack-currency {
        font-size: 1.2rem;
    }
    .tarif-details .reservation-fee {
        font-size: 1rem;
    }

    .acd-btn-hero {
        margin-top: 1rem;
        margin-bottom: 2rem;
    }
}

@media (max-width: 575px) {
    .acd-hero-title {
        font-size: 2.1rem;
    }
    .acd-section-title {
        font-size: 1.4rem;
    }
    .acd-dest-card, .acd-obj-card, .acd-tarif-card {
        padding: 1.5rem;
    }
}