/* ========================================
   RESET ET BASE
======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========================================
   NAVIGATION
======================================== */
header {
    background-color: #1a1a1a;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Ancienne navbar custom supprimée - on utilise Bootstrap maintenant */
/* La navbar Bootstrap prend toute la largeur automatiquement */
.logo h1 {
    color: #ff6b35;
    font-size: 28px;
    font-weight: bold;
}

.logo a {
    text-decoration: none;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 25px;
    align-items: center;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s;
    padding: 8px 15px;
    border-radius: 5px;
}

.nav-links a:hover {
    color: #ff6b35;
}

.nav-links a.active {
    color: #ff6b35;
    font-weight: bold;
}

.btn-login {
    background-color: transparent !important;
    border: 2px solid #ff6b35 !important;
    color: #ff6b35 !important;
    padding: 8px 20px !important;
    border-radius: 5px;
    transition: all 0.3s;
}

.btn-login:hover {
    background-color: #ff6b35 !important;
    color: #fff !important;
}

.btn-register {
    background-color: #ff6b35 !important;
    color: #fff !important;
    padding: 8px 20px !important;
    border-radius: 5px;
    transition: all 0.3s;
}

.btn-register:hover {
    background-color: #e55a2b !important;
    transform: translateY(-2px);
}

.btn-logout {
    background-color: #dc3545 !important;
    color: #fff !important;
    padding: 8px 20px !important;
    border-radius: 5px;
}

.btn-logout:hover {
    background-color: #c82333 !important;
}

/* Menu mobile */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: #fff;
    margin: 4px 0;
    transition: 0.3s;
}

/* ========================================
   SECTION HERO
======================================== */
.hero {
    position: relative;
    height: 650px;
    background-image: url('../img/capture.png');
    background-size: cover;
    background-position: center top;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.45);
}

.hero-content {
    position: relative;
    z-index: 2;
    color: #fff;
    padding: 20px;
    max-width: 800px;
    width: 100%;
    text-align: center;
    margin: 0 auto;
}

.hero-gym-name {
    font-size: 18px;
    font-weight: bold;
    letter-spacing: 8px;
    color: #ff6b35;
    text-transform: uppercase;
    margin-bottom: 10px;
    animation: fadeInUp 0.8s ease;
}

.hero-title {
    font-size: 56px;
    font-weight: bold;
    margin-bottom: 20px;
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: 24px;
    margin-bottom: 30px;
    animation: fadeInUp 1.2s ease;
}

.btn-hero {
    display: inline-block;
    background-color: #ff6b35;
    color: #fff;
    padding: 15px 40px;
    font-size: 18px;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s;
    animation: fadeInUp 1.4s ease;
}

.btn-hero:hover {
    background-color: #e55a2b;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 107, 53, 0.3);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   SECTIONS GÉNÉRALES
======================================== */
.section-title {
    font-size: 40px;
    text-align: center;
    margin-bottom: 15px;
    color: #1a1a1a;
}

.section-subtitle {
    text-align: center;
    color: #666;
    font-size: 18px;
    margin-bottom: 50px;
}

/* ========================================
   SECTION PROGRAMMES
======================================== */
.programmes {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.programme-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.programme-card {
    background-color: #fff;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s;
}

.programme-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.programme-card .icon {
    font-size: 60px;
    margin-bottom: 20px;
}

.programme-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #1a1a1a;
}

.programme-card p {
    color: #666;
    margin-bottom: 15px;
}

.card-link {
    color: #ff6b35;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}

.card-link:hover {
    color: #e55a2b;
}

.center-btn {
    text-align: center;
}

.btn-secondary {
    display: inline-block;
    background-color: #667eea;
    color: #fff;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 25px;
    transition: all 0.3s;
}

.btn-secondary:hover {
    background-color: #5568d3;
    transform: translateY(-2px);
}

/* ========================================
   SECTION AVANTAGES
======================================== */
.avantages {
    padding: 80px 0;
    background-color: #fff;
}

.avantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.avantage-item {
    text-align: center;
}

.avantage-item .check {
    display: inline-block;
    width: 60px;
    height: 60px;
    background-color: #28a745;
    color: #fff;
    font-size: 30px;
    line-height: 60px;
    border-radius: 50%;
    margin-bottom: 20px;
}

.avantage-item h3 {
    font-size: 22px;
    margin-bottom: 10px;
    color: #1a1a1a;
}

.avantage-item p {
    color: #666;
}

/* ========================================
   SECTION STATISTIQUES
======================================== */
.stats {
    padding: 80px 0;
    position: relative;
    background-image: url('../img/stats.jpg');
    background-size: cover;
    background-position: center;
    color: #fff;
}

.stats::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.7);
}

.stats-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 10px;
}

.stat-item p {
    font-size: 18px;
}

/* ========================================
   SECTION CTA
======================================== */
.cta {
    padding: 100px 0;
    position: relative;
    background-image: url('../img/cta.jpg');
    background-size: cover;
    background-position: center;
    color: #fff;
    text-align: center;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.65);
}

.cta .container {
    position: relative;
    z-index: 1;
}

.cta h2 {
    font-size: 36px;
    margin-bottom: 15px;
}

.cta p {
    font-size: 18px;
    margin-bottom: 30px;
}

.btn-cta {
    display: inline-block;
    background-color: #ff6b35;
    color: #fff;
    padding: 15px 40px;
    font-size: 18px;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s;
}

.btn-cta:hover {
    background-color: #e55a2b;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 107, 53, 0.3);
}

/* ========================================
   FOOTER
======================================== */
footer {
    background-color: #1a1a1a;
    color: #fff;
    padding: 50px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-section h3 {
    color: #ff6b35;
    margin-bottom: 15px;
}

.footer-section p {
    margin-bottom: 8px;
    color: #ccc;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #ff6b35;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #333;
    color: #999;
}

/* ========================================
   PAGE DE CONNEXION / INSCRIPTION
======================================== */
.login-section {
    min-height: calc(100vh - 150px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    position: relative;
    background-image: url('../img/login.jpg');
    background-size: cover;
    background-position: center;
}

.login-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.6);
}

.login-container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 450px;
}

.login-box {
    background-color: #fff;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

.login-box h2 {
    font-size: 32px;
    margin-bottom: 10px;
    color: #1a1a1a;
    text-align: center;
}

.login-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #333;
}

.form-group input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s;
}

.form-group input:focus {
    outline: none;
    border-color: #ff6b35;
}

.form-group small {
    display: block;
    margin-top: 5px;
    color: #999;
    font-size: 13px;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.checkbox-label input {
    margin-right: 8px;
}

.forgot-password {
    color: #ff6b35;
    text-decoration: none;
    font-size: 14px;
}

.forgot-password:hover {
    text-decoration: underline;
}

.error-message {
    background-color: #f8d7da;
    color: #721c24;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 20px;
    text-align: center;
}

.success-message {
    background-color: #d4edda;
    color: #155724;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 20px;
    text-align: center;
}

.btn-submit {
    width: 100%;
    padding: 15px;
    background-color: #ff6b35;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-submit:hover {
    background-color: #e55a2b;
    transform: translateY(-2px);
}

.login-footer {
    text-align: center;
    margin-top: 20px;
    color: #666;
}

.login-footer a {
    color: #ff6b35;
    text-decoration: none;
    font-weight: bold;
}

.login-footer a:hover {
    text-decoration: underline;
}

.divider {
    text-align: center;
    margin: 30px 0;
    position: relative;
}

.divider::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 100%;
    height: 1px;
    background-color: #ddd;
}

.divider span {
    background-color: #fff;
    padding: 0 15px;
    position: relative;
    color: #999;
    font-size: 14px;
}

.social-login {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.btn-social {
    width: 100%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 8px;
    background-color: #fff;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-social:hover {
    background-color: #f8f9fa;
    border-color: #999;
}

.btn-social span {
    font-size: 20px;
}

/* ========================================
   PAGE HEADER (pour pages internes)
======================================== */
.page-header {
    position: relative;
    background-image: url('../img/cours.jpg');
    background-size: cover;
    background-position: center;
    padding: 100px 20px;
    text-align: center;
    color: #fff;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.55);
}

.page-header h1 {
    position: relative;
    z-index: 1;
    font-size: 48px;
    margin-bottom: 15px;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
}

.page-header p {
    position: relative;
    z-index: 1;
    font-size: 20px;
}

/* ========================================
   RESPONSIVE
======================================== */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }
    
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: #1a1a1a;
        padding: 20px;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .programme-grid,
    .avantages-grid,
    .stats-grid {
        grid-template-columns: 1fr;
    }
}


/* ========================================
   DASHBOARD
======================================== */
.dashboard-header {
    position: relative;
    background-image: url('../img/cours.jpg');
    background-size: cover;
    background-position: center;
    padding: 60px 20px;
    text-align: center;
    color: #fff;
}

.dashboard-header::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.6);
}

.dashboard-header h1 {
    position: relative;
    z-index: 1;
    font-size: 42px;
    margin-bottom: 10px;
}

.dashboard-header p {
    position: relative;
    z-index: 1;
    font-size: 18px;
}

.dashboard-content {
    padding: 60px 0;
    background-color: #f8f9fa;
}

.dashboard-section {
    background-color: #fff;
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.dashboard-section h2 {
    font-size: 28px;
    margin-bottom: 25px;
    color: #1a1a1a;
}

/* Info Card */
.info-card {
    background-color: #f8f9fa;
    padding: 25px;
    border-radius: 10px;
}

.info-item {
    display: flex;
    justify-content: space-between;
    padding: 15px 0;
    border-bottom: 1px solid #ddd;
}

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

.info-label {
    font-weight: bold;
    color: #666;
}

.info-value {
    color: #1a1a1a;
}

.btn-edit {
    margin-top: 20px;
    padding: 12px 30px;
    background-color: #667eea;
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s;
}

.btn-edit:hover {
    background-color: #5568d3;
    transform: translateY(-2px);
}

/* Stats Dashboard */
.stats-dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.stat-dashboard-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    color: #fff;
    transition: transform 0.3s;
}

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

.stat-icon {
    font-size: 40px;
    margin-bottom: 10px;
}

.stat-dashboard-card h3 {
    font-size: 36px;
    margin-bottom: 5px;
}

.stat-dashboard-card p {
    font-size: 16px;
    opacity: 0.9;
}

/* Cours List */
.cours-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 20px;
}

.cours-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 10px;
    border-left: 4px solid #ff6b35;
}

.cours-item-icon {
    font-size: 40px;
    margin-right: 20px;
}

.cours-item-info {
    flex: 1;
}

.cours-item-info h3 {
    font-size: 20px;
    margin-bottom: 5px;
    color: #1a1a1a;
}

.cours-item-info p {
    color: #666;
    margin-bottom: 5px;
}

.badge-success {
    display: inline-block;
    padding: 5px 15px;
    background-color: #28a745;
    color: #fff;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
}

.badge-warning {
    display: inline-block;
    padding: 5px 15px;
    background-color: #ffc107;
    color: #fff;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
}

.badge-active {
    display: inline-block;
    padding: 5px 15px;
    background-color: #28a745;
    color: #fff;
    border-radius: 20px;
    font-size: 14px;
    font-weight: bold;
}

.btn-cancel {
    padding: 8px 20px;
    background-color: #dc3545;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn-cancel:hover {
    background-color: #c82333;
}

/* Subscription Card */
.subscription-card {
    background-color: #f8f9fa;
    padding: 25px;
    border-radius: 10px;
}

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

.subscription-header h3 {
    font-size: 24px;
    color: #1a1a1a;
}

.subscription-details {
    margin-bottom: 20px;
}

.subscription-details p {
    margin-bottom: 10px;
    color: #666;
}

.subscription-details ul {
    margin-left: 20px;
    color: #666;
}

.subscription-details ul li {
    margin-bottom: 5px;
}

.subscription-actions {
    display: flex;
    gap: 15px;
}

.btn-upgrade {
    padding: 12px 25px;
    background-color: #28a745;
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s;
}

.btn-upgrade:hover {
    background-color: #218838;
}

.btn-manage {
    padding: 12px 25px;
    background-color: #667eea;
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s;
}

.btn-manage:hover {
    background-color: #5568d3;
}

/* Quick Actions */
.quick-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.action-card {
    background-color: #f8f9fa;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.action-card:hover {
    border-color: #ff6b35;
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.action-icon {
    font-size: 50px;
    margin-bottom: 15px;
}

.action-card h3 {
    font-size: 18px;
    color: #1a1a1a;
}

/* Responsive Dashboard */
@media (max-width: 768px) {
    .stats-dashboard-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .cours-item {
        flex-direction: column;
        text-align: center;
    }
    
    .cours-item-icon {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .subscription-actions {
        flex-direction: column;
    }
    
    .quick-actions {
        grid-template-columns: 1fr 1fr;
    }
}

/* ========================================
   PAGE COURS
======================================== */
.cours-section {
    padding: 60px 0;
    background-color: #f8f9fa;
}

.cours-card {
    display: flex;
    background-color: #fff;
    margin-bottom: 30px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.cours-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.cours-icon {
    font-size: 80px;
    padding: 40px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 160px;
}

.cours-info {
    padding: 30px;
    flex: 1;
}

.cours-info h2 {
    font-size: 28px;
    margin-bottom: 15px;
    color: #1a1a1a;
}

.cours-description {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.cours-details {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.badge {
    display: inline-block;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: bold;
}

.badge-beginner {
    background-color: #28a745;
    color: #fff;
}

.badge-inter {
    background-color: #ffc107;
    color: #fff;
}

.badge-advanced {
    background-color: #dc3545;
    color: #fff;
}

.badge-all {
    background-color: #667eea;
    color: #fff;
}

.badge-intense {
    background-color: #ff6b35;
    color: #fff;
}

.badge-fun {
    background-color: #e83e8c;
    color: #fff;
}

.horaires {
    background-color: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 15px;
}

.horaires h4 {
    font-size: 16px;
    margin-bottom: 10px;
    color: #1a1a1a;
}

.horaires p {
    margin-bottom: 5px;
    color: #666;
}

.coach {
    color: #666;
    margin-bottom: 15px;
    font-style: italic;
}

.btn-reserver {
    background-color: #ff6b35;
    color: #fff;
    padding: 12px 30px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    transition: all 0.3s;
}

.btn-reserver:hover {
    background-color: #e55a2b;
    transform: translateY(-2px);
}

/* ========================================
   PAGE TARIFS
======================================== */
.tarifs-section {
    padding: 60px 0;
    background-color: #f8f9fa;
}

.tarifs-section .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.tarif-card {
    background-color: #fff;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
    position: relative;
}

.tarif-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.tarif-popular {
    border: 3px solid #ff6b35;
    transform: scale(1.05);
}

.tarif-special {
    border: 3px solid #28a745;
}

.popular-badge, .special-badge {
    position: absolute;
    top: -15px;
    right: 20px;
    background-color: #ff6b35;
    color: #fff;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 12px;
}

.special-badge {
    background-color: #28a745;
}

.tarif-header {
    text-align: center;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 20px;
    margin-bottom: 25px;
}

.tarif-header h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #1a1a1a;
}

.tarif-price {
    margin-bottom: 10px;
}

.price {
    font-size: 48px;
    font-weight: bold;
    color: #ff6b35;
}

.period {
    font-size: 16px;
    color: #666;
}

.economy {
    color: #28a745;
    font-weight: bold;
    font-size: 14px;
}

.tarif-features ul {
    list-style: none;
    padding: 0;
    margin-bottom: 25px;
}

.tarif-features ul li {
    padding: 10px 0;
    color: #666;
    border-bottom: 1px solid #f0f0f0;
}

.tarif-features ul li:last-child {
    border-bottom: none;
}

.btn-subscribe {
    width: 100%;
    padding: 15px;
    background-color: #667eea;
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    transition: all 0.3s;
}

.btn-subscribe:hover {
    background-color: #5568d3;
    transform: translateY(-2px);
}

.btn-subscribe-popular {
    background-color: #ff6b35;
}

.btn-subscribe-popular:hover {
    background-color: #e55a2b;
}

.tarif-note {
    text-align: center;
    margin-top: 15px;
    color: #999;
    font-size: 14px;
    font-style: italic;
}

/* Tableau de Comparaison */
.comparison-section {
    padding: 60px 0;
    background-color: #fff;
}

.comparison-table-container {
    overflow-x: auto;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background-color: #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-radius: 10px;
    overflow: hidden;
}

.comparison-table thead {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
}

.comparison-table th,
.comparison-table td {
    padding: 15px;
    text-align: center;
    border-bottom: 1px solid #f0f0f0;
}

.comparison-table th {
    font-weight: bold;
}

.comparison-table tbody tr:hover {
    background-color: #f8f9fa;
}

.comparison-table td:first-child {
    text-align: left;
    font-weight: bold;
    color: #1a1a1a;
}

/* Options Supplémentaires */
.options-section {
    padding: 60px 0;
    background-color: #f8f9fa;
}

.options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.option-card {
    background-color: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s;
}

.option-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.option-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: #1a1a1a;
}

.option-price {
    font-size: 28px;
    font-weight: bold;
    color: #ff6b35;
    margin-bottom: 15px;
}

.option-card p {
    color: #666;
}

/* FAQ Section */
.faq-section {
    padding: 60px 0;
    background-color: #fff;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.faq-item {
    background-color: #f8f9fa;
    padding: 25px;
    border-radius: 10px;
    border-left: 4px solid #ff6b35;
}

.faq-item h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #1a1a1a;
}

.faq-item p {
    color: #666;
    line-height: 1.6;
}

/* ========================================
   PAGE CONTACT
======================================== */
.contact-section {
    padding: 60px 0;
    background-color: #f8f9fa;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-form-container,
.contact-info-container {
    background-color: #fff;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.contact-form-container h2,
.contact-info-container h2 {
    font-size: 28px;
    margin-bottom: 25px;
    color: #1a1a1a;
}

.contact-form-container select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    background-color: #fff;
    cursor: pointer;
    transition: border-color 0.3s;
}

.contact-form-container select:focus {
    outline: none;
    border-color: #ff6b35;
}

.contact-form-container textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    font-family: Arial, sans-serif;
    resize: vertical;
    transition: border-color 0.3s;
}

.contact-form-container textarea:focus {
    outline: none;
    border-color: #ff6b35;
}

.contact-info-card {
    background-color: #f8f9fa;
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 25px;
}

.contact-info-item {
    display: flex;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid #ddd;
}

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

.contact-icon {
    font-size: 40px;
    min-width: 50px;
}

.contact-info-item h3 {
    font-size: 18px;
    margin-bottom: 8px;
    color: #1a1a1a;
}

.contact-info-item p {
    color: #666;
    margin-bottom: 5px;
}

.social-media {
    text-align: center;
}

.social-media h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #1a1a1a;
}

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

.social-btn {
    display: block;
    padding: 12px;
    background-color: #667eea;
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s;
    font-weight: bold;
}

.social-btn:hover {
    background-color: #5568d3;
    transform: translateY(-2px);
}

/* Map Section */
.map-section {
    padding: 60px 0;
    background-color: #fff;
}

.map-container {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* ========================================
   RESPONSIVE PAGES
======================================== */
@media (max-width: 768px) {
    .cours-card {
        flex-direction: column;
    }
    
    .cours-icon {
        min-width: 100%;
        padding: 30px;
    }
    
    .tarifs-section .container {
        grid-template-columns: 1fr;
    }
    
    .tarif-popular {
        transform: scale(1);
    }
    
    .comparison-table {
        font-size: 14px;
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 10px 5px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .options-grid,
    .faq-grid {
        grid-template-columns: 1fr;
    }
}


/* ========================================
   PAGE RÉSERVATION
======================================== */
.reservation-section {
    padding: 60px 0;
    background-color: #f8f9fa;
}

.reservation-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.reservation-form-container,
.planning-container {
    background-color: #fff;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.reservation-form-container h2,
.planning-container h2 {
    font-size: 28px;
    margin-bottom: 25px;
    color: #1a1a1a;
}

/* Planning Cards */
.planning-card {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.planning-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #1a1a1a;
    border-bottom: 2px solid #ff6b35;
    padding-bottom: 10px;
}

.planning-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    background-color: #fff;
    border-radius: 8px;
    margin-bottom: 10px;
}

.planning-item .time {
    font-weight: bold;
    color: #666;
    min-width: 130px;
}

.planning-item .course {
    flex: 1;
    font-weight: bold;
    color: #1a1a1a;
}

.planning-item .places {
    background-color: #28a745;
    color: #fff;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 13px;
}

.info-box {
    background-color: #e3f2fd;
    padding: 20px;
    border-radius: 10px;
    border-left: 4px solid #667eea;
}

.info-box h4 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #1a1a1a;
}

.info-box ul {
    list-style: none;
    padding: 0;
}

.info-box ul li {
    padding: 8px 0;
    color: #666;
}

/* Responsive Réservation */
@media (max-width: 768px) {
    .reservation-grid {
        grid-template-columns: 1fr;
    }
    
    .planning-item {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .planning-item .time {
        min-width: auto;
    }
}

/* ========================================
   PAGE CONFIRMATION
======================================== */
.confirmation-section {
    min-height: calc(100vh - 200px);
    padding: 80px 20px;
    position: relative;
    background-image: url('../img/cta.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.confirmation-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.6);
}

.confirmation-box {
    position: relative;
    z-index: 1;
    background-color: #fff;
    padding: 60px 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
    max-width: 700px;
    width: 100%;
    text-align: center;
}

.success-icon {
    font-size: 80px;
    margin-bottom: 20px;
    animation: scaleIn 0.5s ease;
}

@keyframes scaleIn {
    from {
        transform: scale(0);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.confirmation-box h1 {
    font-size: 36px;
    color: #28a745;
    margin-bottom: 15px;
}

.confirmation-message {
    font-size: 18px;
    color: #666;
    margin-bottom: 40px;
}

.confirmation-details {
    background-color: #f8f9fa;
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 30px;
    text-align: left;
}

.confirmation-details h2 {
    font-size: 22px;
    margin-bottom: 20px;
    color: #1a1a1a;
    text-align: center;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    padding: 15px 0;
    border-bottom: 1px solid #ddd;
}

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

.detail-label {
    font-weight: bold;
    color: #666;
}

.detail-value {
    color: #1a1a1a;
    text-align: right;
}

.info-block {
    background-color: #e3f2fd;
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 30px;
    border-left: 4px solid #667eea;
    text-align: left;
}

.info-block h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #1a1a1a;
}

.info-block ul {
    list-style: none;
    padding: 0;
}

.info-block ul li {
    padding: 8px 0;
    color: #666;
}

.action-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-bottom: 30px;
}

.btn-primary,
.btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s;
}

.btn-primary {
    background-color: #ff6b35;
    color: #fff;
}

.btn-primary:hover {
    background-color: #e55a2b;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: #667eea;
    color: #fff;
}

.btn-secondary:hover {
    background-color: #5568d3;
    transform: translateY(-2px);
}

.contact-info {
    padding-top: 20px;
    border-top: 2px solid #f0f0f0;
}

.contact-info p {
    color: #666;
    margin-bottom: 5px;
}

/* Responsive */
@media (max-width: 768px) {
    .confirmation-box {
        padding: 40px 20px;
    }

    .confirmation-box h1 {
        font-size: 28px;
    }

    .action-buttons {
        flex-direction: column;
    }

    .detail-item {
        flex-direction: column;
        text-align: center;
        gap: 5px;
    }

    .detail-value {
        text-align: center;
    }
}

/* ========================================
   NAVBAR (fix flex pour pages backend)
======================================== */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 40px;
}

/* ========================================
   PANEL ADMIN
======================================== */
.admin-wrapper {
    display: flex;
    min-height: calc(100vh - 70px);
}

.admin-sidebar {
    width: 260px;
    background-color: #1a1a1a;
    padding: 30px 0;
    flex-shrink: 0;
}

.admin-sidebar h2 {
    color: #ff6b35;
    padding: 0 25px 20px;
    font-size: 18px;
    border-bottom: 1px solid #333;
    margin-bottom: 10px;
}

.admin-sidebar ul {
    list-style: none;
    padding: 0;
}

.admin-sidebar ul li a {
    display: block;
    color: #ccc;
    text-decoration: none;
    padding: 14px 25px;
    font-size: 15px;
    transition: all 0.2s;
}

.admin-sidebar ul li a:hover,
.admin-sidebar ul li a.active {
    background-color: #ff6b35;
    color: #fff;
}

.admin-main {
    flex: 1;
    padding: 40px;
    background-color: #f8f9fa;
    overflow-x: auto;
}

.admin-header {
    margin-bottom: 30px;
}

.admin-header h1 {
    font-size: 30px;
    color: #1a1a1a;
    margin-bottom: 5px;
}

.admin-header p {
    color: #666;
}

.admin-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.admin-stat-card {
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    color: #fff;
}

.admin-stat-card.blue   { background: linear-gradient(135deg, #667eea, #764ba2); }
.admin-stat-card.orange { background: linear-gradient(135deg, #ff6b35, #e55a2b); }
.admin-stat-card.green  { background: linear-gradient(135deg, #28a745, #20c997); }

.admin-stat-card .stat-icon {
    font-size: 36px;
    margin-bottom: 8px;
}

.admin-stat-card h2 {
    font-size: 42px;
    margin-bottom: 5px;
}

.admin-stat-card p {
    font-size: 15px;
    opacity: 0.9;
}

.admin-table-container {
    background-color: #fff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    overflow-x: auto;
}

.admin-table-container h2 {
    font-size: 22px;
    margin-bottom: 20px;
    color: #1a1a1a;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
}

.admin-table th {
    background-color: #1a1a1a;
    color: #fff;
    padding: 12px 15px;
    text-align: left;
    font-size: 13px;
    font-weight: bold;
}

.admin-table td {
    padding: 12px 15px;
    border-bottom: 1px solid #f0f0f0;
    font-size: 14px;
    color: #333;
    vertical-align: middle;
}

.admin-table tr:last-child td {
    border-bottom: none;
}

.admin-table tr:hover td {
    background-color: #fafafa;
}

.btn-admin-delete {
    background-color: #dc3545;
    color: #fff;
    border: none;
    padding: 6px 14px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 13px;
    transition: background-color 0.2s;
}

.btn-admin-delete:hover {
    background-color: #c82333;
}

.btn-admin-toggle {
    background-color: #667eea;
    color: #fff;
    border: none;
    padding: 6px 14px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 13px;
    transition: background-color 0.2s;
    margin-right: 5px;
}

.btn-admin-toggle:hover {
    background-color: #5568d3;
}

.role-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
}

.role-admin { background-color: #ff6b35; color: #fff; }
.role-user  { background-color: #28a745; color: #fff; }

@media (max-width: 768px) {
    .admin-wrapper    { flex-direction: column; }
    .admin-sidebar    { width: 100%; }
    .admin-main       { padding: 20px; }
    .navbar           { padding: 15px 20px; }
}