.prestations-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: white;
    z-index: 1000;
    font-family: 'Montserrat', sans-serif;
    display: none;
    flex-direction: column;
    overflow: hidden;
}

/* Overlay pour le flou et l'opacité */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    z-index: 999;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    display: block;
    opacity: 1;
}

.prestations-modal.active {
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
}

.modal-content {
    background: white;
    width: 100%;
    height: 100%;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
    .modal-content {
        width: 100%;
        height: 100%;
        border-radius: 0;
        max-width: none;
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #eee;
    background-color: #f9f9f9;
    position: sticky;
    top: 0;
    z-index: 10;
}

.modal-close {
    position: fixed;
    top: 15px;
    right: 15px;
    font-size: 32px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
    color: #000;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 300;
}

.modal-logo {
    width: 120px;
    margin: 20px auto;
    display: block;
}

.modal-nav {
    display: flex;
    justify-content: center;
    gap: 2px;
    margin: 0;
    margin-top: 25px;
    padding: 2px;
}

.nav-item {
    font-size: 14px;
    padding: 12px 30px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.nav-item.active {
    background: black;
    color: white;
}

.sub-nav {
    display: flex;
    justify-content: center;
    margin: 0;
    padding: 15px;
}

.sub-nav-item {
    font-size: 13px;
    padding: 8px 16px;
    cursor: pointer;
    white-space: nowrap;
    color: #666;
    transition: all 0.3s ease;
}

.sub-nav-item.active {
    background: black;
    color: white;
}

.search-bar {
    padding: 15px;
    position: relative;
    background: white;
    border-bottom: 1px solid #eee;
}

.search-input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #000000;
    font-size: 13px;
    background: #ffffff;
}

.search-input::placeholder {
    color: #999;
}

.results-counter {
    padding: 10px 20px;
    color: #666;
    font-size: 13px;
    background: white;
}

.prestations-section {
    flex: 1;
    overflow-y: auto;
    padding: 3px;
    background: white;
}

.section-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 25px;
    text-transform: uppercase;
    color: #000;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.section-category {
    font-size: 12px;
    font-weight: 400;
    color: #666;
    background-color: #f0f0f0;
    padding: 4px 8px;
    border-radius: 4px;
    text-transform: none;
    letter-spacing: normal;
}

.prestations-grid {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 20px;
    grid-template-columns: 1fr;
}

.prestation-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    padding-bottom: 20px;
    transition: all 0.3s ease;
    cursor: pointer;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 10px;
}

.prestation-item:hover {
    background-color: #f9f9f9;
}

.prestation-info {
    flex: 1;
}

.prestation-title {
    font-size: 15px;
    font-weight: 500;
    text-transform: uppercase;
    margin-bottom: 8px;
    color: #333;
    letter-spacing: 0.5px;
}

.prestation-price {
    font-size: 15px;
    margin-bottom: 5px;
    color: #000;
    font-weight: 600;
}

.prestation-duration {
    font-size: 13px;
    color: #666;
    margin-bottom: 8px;
    font-weight: 400;
}

.prestation-description {
    font-size: 13px;
    line-height: 1.5;
    color: #666;
    margin: 0;
}

.prestation-image {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    object-fit: cover;
}

.no-results {
    text-align: center;
    color: #666;
    padding: 30px;
    font-size: 14px;
}

/* Scrollbar personnalisé */
.prestations-section::-webkit-scrollbar {
    width: 5px;
}

.prestations-section::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.prestations-section::-webkit-scrollbar-thumb {
    background: #ddd;
    border-radius: 3px;
}

.prestations-section::-webkit-scrollbar-thumb:hover {
    background: #999;
}

/* Options Modal */
.options-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1100;
    display: none;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
}

.options-content {
    background: white;
    border-radius: 10px;
    padding: 25px;
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    animation: fadeIn 0.3s ease forwards;
}

.options-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: rgba(0, 0, 0, 0.1);
    border-radius: 50%;
}

.options-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    text-align: center;
}

.prestation-recap {
    background-color: #f9f9f9;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.recap-name {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.recap-description {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
}

.recap-base-price {
    font-size: 16px;
    font-weight: 600;
}

.options-list {
    margin-bottom: 20px;
}

.option-item {
    display: flex;
    align-items: center;
    padding: 12px;
    border-bottom: 1px solid #eee;
}

.option-item:last-child {
    border-bottom: none;
}

.option-checkbox {
    margin-right: 15px;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.option-details {
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.option-name {
    font-size: 15px;
    cursor: pointer;
}

.option-price {
    font-size: 15px;
    font-weight: 600;
}

.no-options {
    text-align: center;
    color: #666;
    padding: 15px;
}

.total-price {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 18px;
    font-weight: 600;
    padding: 15px;
    background-color: #f9f9f9;
    border-radius: 8px;
    margin-bottom: 20px;
}

.reserve-button {
    display: block;
    width: 100%;
    padding: 15px;
    background-color: #000;
    color: #fff;
    text-align: center;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.reserve-button:hover {
    background-color: #ffffff;
    color: #000;
    border: 3px solid #000;
        
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Effet de surbrillance pour les prestations */
.prestation-card.highlight {
    animation: highlight 2s ease;
    border: 2px solid #000;
}

@keyframes highlight {
    0% { box-shadow: 0 0 0 rgba(0, 0, 0, 0); }
    50% { box-shadow: 0 0 20px rgba(0, 0, 0, 0.5); }
    100% { box-shadow: 0 0 0 rgba(0, 0, 0, 0); }
}

.error-message {
    text-align: center;
    padding: 30px;
    color: #666;
}

.error-message p {
    margin-bottom: 15px;
    font-size: 14px;
}

.error-message button {
    padding: 8px 20px;
    background: #000;
    color: white;
    border: none;
    border-radius: 20px;
    font-size: 13px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.error-message button:hover {
    background: #333;
}

.prestations-section-group {
    margin-bottom: 40px;
}

.prestations-section-group:last-child {
    margin-bottom: 0;
}

/* Responsive Design */
@media (min-width: 768px) {
    .prestations-modal {
        padding: 20px;
        max-width: 90%;
        max-height: 90vh;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        border-radius: 15px;
        animation: modalFadeIn 0.3s ease forwards;
    }
    
    .modal-close {
        top: 20px;
        right: 20px;
        background-color: rgba(0, 0, 0, 0.1);
        border-radius: 50%;
        width: 40px;
        height: 40px;
    }
    
    .modal-close:hover {
        background-color: rgba(0, 0, 0, 0.2);
    }
    
    .prestations-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .modal-logo {
        width: 150px;
        margin: 30px auto;
    }

    .search-bar {
        padding: 20px;
    }

    .search-input {
        padding: 15px 20px;
        font-size: 14px;
    }

    .section-title {
        font-size: 20px;
        margin-bottom: 30px;
    }

    .prestation-title {
        font-size: 16px;
    }

    .prestation-description {
        font-size: 14px;
    }

    .options-content {
        padding: 30px;
        max-width: 550px;
    }
    
    .options-title {
        font-size: 22px;
    }
    
    .recap-name {
        font-size: 20px;
    }
    
    .total-price {
        font-size: 20px;
    }
    
    .reserve-button {
        font-size: 18px;
    }
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translate(-50%, -48%);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

@media (min-width: 1024px) {
    .prestations-modal {
        max-width: 80%;
        max-height: 85vh;
        border-radius: 20px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    }

    .prestations-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .modal-logo {
        width: 180px;
    }

    .nav-item {
        font-size: 16px;
        padding: 15px 40px;
    }

    .sub-nav-item {
        font-size: 14px;
        padding: 10px 20px;
    }

    .search-input {
        padding: 18px 25px;
        font-size: 15px;
    }

    .section-title {
        font-size: 22px;
    }

    .prestation-title {
        font-size: 17px;
    }

    .prestation-price {
        font-size: 16px;
    }

    .prestation-description {
        font-size: 15px;
    }
}

/* Hover effects (desktop only) */
@media (hover: hover) {
    .prestation-item:hover {
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    }
}

/* Effet de flou pour le header */
.blur-effect {
    filter: blur(5px);
    opacity: 0.7;
    transition: all 0.3s ease;
}

/* Indicateur de chargement */
.loading-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
    width: 100%;
    text-align: center;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    border-top: 4px solid #000;
    animation: spin 1s linear infinite;
    margin-bottom: 15px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Message d'erreur */
.error-message {
    padding: 20px;
    background-color: #fff0f0;
    color: #d32f2f;
    border-radius: 8px;
    text-align: center;
    margin: 20px 0;
} 