/* Styles extraits de Ministage.php */

/* Slider */
.slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    height: 300px;
}
.slide-item {
    position: relative;
    height: 100%;
}
.slide-image {
    width: 100%;
    height: 100%;
}
.slide-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.slide-caption-wrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 1200px;
}
.slide-caption {
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
}
.slide-caption h2 {
    color: white;
    margin-bottom: 1rem;
    font-size: 2rem;
    font-weight: 600;
}
.slide-caption p {
    color: white;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    font-size: 1.1rem;
}
.slide-btn {
    text-align: center;
    margin-top: 1rem;
}
.flex-btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    background: #007bff;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.flex-btn:hover {
    background: #0056b3;
    color: white;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* Animations et Cartes */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.ministage-info-card, .ministage-steps-card, .pass-card, .reservation-card {
    transition: all 0.3s ease;
}

.ministage-info-card:hover, .ministage-steps-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.ministage-header h1 {
    position: relative;
    display: inline-block;
}

.ministage-header h1:after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    bottom: -5px;
    left: 0;
    background: linear-gradient(90deg, #007bff, #00c6ff);
    transition: width 0.8s ease;
}

.ministage-header h1.visible:after {
    width: 100%;
}

.step {
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.5s ease;
}

.step.visible {
    opacity: 1;
    transform: translateX(0);
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.download-btn:hover, .reservation-btn:hover, .guide-btn:hover, .drive-btn:hover {
    animation: pulse 1.5s infinite;
}

/* Styles Section Mini-stage */
.ministage-container {
    max-width: 1200px;
    margin: 30px auto;
    padding: 0 20px;
}

.ministage-header {
    text-align: center;
    margin-bottom: 40px;
}

.ministage-header h1 {
    color: #333;
    font-size: 36px;
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}

.ministage-header h1:after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: #9e9e9e;
    margin: 15px auto 0;
}

.ministage-subtitle {
    color: #666;
    font-size: 20px;
    font-style: italic;
}

.ministage-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.ministage-info-card {
    display: flex;
    background: #f9f9f9;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ministage-info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.card-icon {
    width: 80px;
    background: #9e9e9e;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 36px;
}

.card-content {
    padding: 25px;
    flex: 1;
}

.card-content h2 {
    color: #333;
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 24px;
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
}

.ministage-steps-card {
    background: white;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.ministage-steps-card h2 {
    color: #333;
    text-align: center;
    margin-top: 0;
    margin-bottom: 25px;
    font-size: 24px;
    position: relative;
}

.ministage-steps-card h2:after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: #9e9e9e;
    margin: 10px auto 0;
}

.step-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.step {
    display: flex;
    align-items: flex-start;
    background: #f9f9f9;
    padding: 15px;
    border-radius: 6px;
    transition: transform 0.2s ease;
}

.step:hover {
    transform: translateX(5px);
    background: #f5f5f5;
}

.step-number {
    background: #9e9e9e;
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    flex-shrink: 0;
    margin-right: 15px;
    margin-top: 2px;
}

.step-content {
    flex: 1;
}

.ministage-cta-container {
    display: flex;
    gap: 30px;
    margin-top: 10px;
}

.pass-card {
    flex: 1;
    background: #f9f9f9;
    border-radius: 8px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

/* Nouveaux styles pour remplacer le CSS inline */
.btn-ministage {
    display: inline-block;
    background-color: #9e9e9e !important;
    color: white !important;
    padding: 10px 20px;
    border-radius: 4px;
    text-decoration: none !important;
    transition: transform 0.3s ease;
}

.btn-ministage:hover {
    transform: translateY(-2px);
}

.btn-ministage-flex {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background-color: #9e9e9e !important;
    color: white !important;
    padding: 10px 20px;
    border-radius: 4px;
    text-decoration: none !important;
    transform: translateY(0);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.btn-ministage-flex:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.page-spacer {
    min-height: 50px;
}

.footer-margin {
    margin-top: 300px;
}

.flex-column-gap {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.pass-card:hover {
    transform: translateY(-5px);
}

.pass-icon {
    font-size: 48px;
    color: #9e9e9e;
    margin-bottom: 15px;
}

.pass-card h3 {
    color: #333;
    margin-bottom: 15px;
    font-size: 20px;
}

.download-btn {
    display: inline-block;
    background: #9e9e9e !important;
    color: white !important;
    padding: 10px 20px;
    border-radius: 4px;
    text-decoration: none !important;
    margin-top: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.2);
}

.reservation-card {
    flex: 1;
    display: flex;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.reservation-card:hover {
    transform: translateY(-5px);
}

.reservation-image {
    flex: 0 0 150px;
    background: #f5f5f5;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px;
}

.reservation-image img {
    max-width: 100%;
    height: auto;
}

.reservation-content {
    flex: 1;
    padding: 20px;
}

.reservation-content h3 {
    color: #333;
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 20px;
}

.action-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 15px;
}

.reservation-btn {
    background: #9e9e9e !important;
    color: white !important;
    text-decoration: none !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.reservation-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.2);
}

.guide-btn {
    background: #f5f5f5 !important;
    color: #333 !important;
    text-decoration: none !important;
    border: 1px solid #ddd;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.guide-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.1);
}

.procedure-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.procedure-header h2 {
    margin: 0;
    text-align: left;
}

.procedure-header h2:after {
    margin: 10px 0 0;
}

.drive-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background-color: #9e9e9e !important;
    color: white !important;
    padding: 10px 20px;
    border-radius: 4px;
    text-decoration: none !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    font-size: 14px;
}

.drive-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.action-buttons a:hover, 
a[href*="drive.google.com"]:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2) !important;
}

@media (max-width: 768px) {
    .slider {
        height: 400px;
    }
    .slide-caption {
        padding: 1.5rem;
    }
    .slide-caption h2 {
        font-size: 1.8rem;
    }
    .slide-caption p {
        font-size: 1rem;
        line-height: 1.4;
    }
    .ministage-cta-container {
        flex-direction: column;
    }
    
    .ministage-info-card {
        flex-direction: column;
    }
    
    .card-icon {
        width: 100%;
        height: 60px;
    }
    
    .reservation-card {
        flex-direction: column;
    }
    
    .reservation-image {
        flex: 0 0 auto;
        padding: 20px;
    }
    
    .procedure-header {
        flex-direction: column;
        gap: 15px;
    }
    
    .procedure-header h2 {
        text-align: center;
    }
    
    .procedure-header h2:after {
        margin: 10px auto 0;
    }
}

/* Styles extraits de ModifierMinistage.php */

.admin-container {
    max-width: 1200px;
    margin: 30px auto;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
}

.admin-header {
    margin-bottom: 30px;
    border-bottom: 2px solid #eee;
    padding-bottom: 15px;
}

.admin-section {
    margin-bottom: 30px;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 8px;
}

.section-title {
    margin-bottom: 20px;
    color: #333;
    font-size: 24px;
    border-bottom: 2px solid #ddd;
    padding-bottom: 10px;
}

.step-item {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.step-item input {
    flex: 1;
    margin-right: 10px;
}

.remove-step {
    flex-shrink: 0;
}

.alert {
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid transparent;
    border-radius: 4px;
}

.alert-success {
    color: #155724;
    background-color: #d4edda;
    border-color: #c3e6cb;
}

.alert-danger {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
}
