/* ==================== */
/* STYLE GLOBAL */
/* ==================== */
:root {
    /* Couleurs révisées */
    --primary-color: #d82c2e;  /* Rouge principal */
    --primary-light: #e84545;
    --secondary-color: #6c757d;
    --highlight-color: #FFAB00;  /* Or */
    --dark-color: #4A148C;  /* Violet foncé */
    --light-color: #f8f9fa;
    --success-color: #28a745;
    --info-color: #17a2b8;
    
    /* Nouveaux dégradés */
    --gradient-violet: linear-gradient(135deg, #8a2be2, #6a1b9a);
    --gradient-orange: linear-gradient(135deg, #FFD700, #FF8C00);
    --gradient-red: linear-gradient(to right, #FF5252, #D32F2F);
    
    /* Espacements */
    --spacing-unit: 1rem;
    --border-radius: 10px;
    --border-radius-lg: 15px;
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.7;
    color: #333;
    padding-top: 80px;
}

.container {
    max-width: 1200px;
}

/* ==================== */
/* NAVBAR VISIBLE ET STYLISÉE */
/* ==================== */
.navbar-custom {
    background: #6a1b9a !important; /* Violet foncé uni */
    background: linear-gradient(135deg, #8a2be2, #6a1b9a) !important; /* Dégradé violet */
    padding: 1rem 0; /* Espacement vertical augmenté */
    position: fixed !important;
    top: 0 !important;
    width: 100% !important;
    z-index: 1030 !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15) !important;
}

.navbar-custom .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Texte de la navbar */
.navbar-custom .navbar-brand {
    font-size: 1.5rem !important; /* Taille augmentée */
    font-weight: 700 !important;
    color: white !important;
    display: flex !important;
    align-items: center !important;
}

.navbar-custom .text-highlight {
    color: var(--highlight-color) !important;
    font-weight: 600 !important;
}

.navbar-custom .text-white {
    color: white !important;
}

/* Liens de navigation */
.navbar-custom .nav-link {
    font-size: 1.2rem !important; /* Taille augmentée */
    color: white !important;
    padding: 0.5rem 1.25rem !important;
    margin: 0 0.25rem !important;
    font-weight: 500 !important;
    transition: all 0.3s ease !important;
}

.navbar-custom .nav-link:hover {
    color: var(--highlight-color) !important;
    transform: translateY(-2px) !important;
}

/* Menu mobile */
.navbar-custom .navbar-toggler {
    border-color: rgba(255,255,255,0.5) !important;
    padding: 0.5rem !important;
}

.navbar-custom .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.8%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

/* Compensation pour la navbar fixe */
body {
    padding-top: 80px !important;
}

/* ==================== */
/* SECTION ÉVÉNEMENT */
/* ==================== */
.event-section {
    background: var(--gradient-orange);
    border-radius: var(--border-radius-lg);
    margin: 2rem 0;
    position: relative;
    overflow: hidden;
}

.event-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--gradient-violet);
}

.price-box {
    border: 2px dashed var(--primary-color) !important;
    transition: all 0.3s ease;
}

/* ==================== */
/* SECTION A PROPOS */
/* ==================== */
#apropos {
    background: url('pattern.png') repeat, var(--light-color);
    background-blend-mode: overlay;
    padding: 4rem 0;
}

#apropos .figure-img {
    box-shadow: var(--box-shadow);
    transition: transform 0.3s ease;
}

#apropos .figure-img:hover {
    transform: scale(1.03);
}

/* ==================== */
/* SECTION NOS ACTIONS */
/* ==================== */
#nos-actions .col-md-6 {
    padding: 1.5rem;
    background: white;
    border-radius: var(--border-radius);
    margin-bottom: 1.5rem;
    box-shadow: var(--box-shadow);
    transition: all 0.3s ease;
}

#nos-actions .col-md-6:hover {
    transform: translateY(-5px);
}

/* ==================== */
/* SECTION CONTACT */
/* ==================== */
#contact .card {
    border: none;
    box-shadow: var(--box-shadow);
}

#contact .card-header {
    background: var(--gradient-violet) !important;
    font-size: 1.2rem;
}

/* ==================== */
/* FOOTER */
/* ==================== */
footer {
    background: var(--gradient-violet);
    position: relative;
    padding: 3rem 0 2rem;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--highlight-color);
}

.social-links a {
    width: 45px;
    height: 45px;
    transition: all 0.3s ease;
}

.social-links a:hover {
    transform: translateY(-5px) scale(1.1);
}

/* ==================== */
/* COMPOSANTS COMMUNS */
/* ==================== */
.titre {
    position: relative;
    display: inline-block;
    margin-bottom: 2rem;
}

.titre::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--highlight-color);
    border-radius: 2px;
}

.btn {
    font-weight: 500;
    letter-spacing: 0.5px;
    padding: 0.7rem 1.8rem;
    border-radius: 50px;
    transition: all 0.3s ease !important;
}

.btn-danger {
    background: var(--gradient-red) !important;
    border: none !important;
}

/* ==================== */
/* RESPONSIVE */
/* ==================== */
@media (max-width: 1200px) {
    .navbar-container {
        padding: 0 2rem;
    }
}

@media (max-width: 768px) {
    body {
        padding-top: 70px;
    }
    
    .navbar-custom {
        padding: 0.5rem 1rem;
        border-radius: 0;
    }
    
    .event-section .row,
    #apropos .row {
        flex-direction: column;
    }
    
    #contact .row {
        flex-direction: column-reverse;
    }
}