/* Variables CSS pour les couleurs principales */
:root {
    --primary-color: #1D509F;
    --secondary-color: #EE7609;
    --primary-light: #2a6bc7;
    --secondary-light: #ff8a1a;
    --text-dark: #333;
    --text-light: #666;
    --bg-light: #f8f9fa;
    --white: #ffffff;
}

/* Styles généraux */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
}

/* Navigation */
.modern-navbar {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light)) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.navbar-brand-container {
    display: flex;
    align-items: center;
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: white;
    font-weight: bold;
    font-size: 1.6rem;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 8px;
}

.logo-link:hover {
    color: var(--secondary-color);
    text-decoration: none;
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.logo-link:hover .logo-pulse {
    animation: pulse 1s infinite;
    background: radial-gradient(circle, rgba(238, 118, 9, 0.5) 0%, transparent 70%);
}

.logo-link:hover i {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

.logo-icon-container {
    position: relative;
    display: flex;
    align-items: center;
    margin-right: 1rem;
}

.logo-link i {
    font-size: 1.8rem;
    color: var(--secondary-color);
    z-index: 2;
    position: relative;
}

.logo-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background: radial-gradient(circle, rgba(238, 118, 9, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse 2s infinite;
    z-index: 1;
}

@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 0.8;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.4;
    }
    100% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 0.8;
    }
}

.modern-logo-text {
    margin-left: 0.25rem;
    letter-spacing: 1px;
    background: linear-gradient(45deg, #ffffff, var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 500;
    padding: 0.75rem 2rem !important;
    margin: 0 0.75rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
}

.navbar-nav .nav-link:hover {
    color: var(--secondary-color) !important;
    background-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.navbar-nav .nav-link i {
    font-size: 1.1rem;
    margin-right: 1.2rem;
}

.navbar-toggler {
    border: none;
    padding: 0.25rem 0.5rem;
}

.navbar-toggler:focus {
    outline: none;
    box-shadow: none;
}

.navbar-toggler-icon {
    color: white;
}

.navbar-toggler-icon i {
    font-size: 1.5rem;
}

/* Responsive navbar */
@media (max-width: 991px) {
    .navbar-nav {
        margin-top: 1rem;
    }
    
    .navbar-nav .nav-link {
        padding: 0.75rem 1rem !important;
        margin: 0.25rem 0;
        text-align: center;
    }
    
    .logo-link {
        padding: 0.25rem 0.5rem;
    }
    
    .logo-icon-container {
        margin-right: 0.5rem;
    }
    
    .logo-link i {
        font-size: 1.5rem;
    }
    
    .logo-pulse {
        width: 30px;
        height: 30px;
    }
    
    .modern-logo-text {
        font-size: 1.4rem;
    }
}

/* Boutons personnalisés */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--primary-light);
    border-color: var(--primary-light);
}

.btn-secondary {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.btn-secondary:hover {
    background-color: var(--secondary-light);
    border-color: var(--secondary-light);
}

/* Cartes de forfaits */
.forfait-card {
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.forfait-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.forfait-card .card-header {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    border-radius: 10px 10px 0 0 !important;
}

.forfait-price {
    font-size: 2rem;
    font-weight: bold;
    color: var(--secondary-color);
}

.forfait-features {
    list-style: none;
    padding: 0;
}

.forfait-features li {
    padding: 0.25rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.forfait-features li:last-child {
    border-bottom: none;
}

.forfait-features i {
    color: var(--primary-color);
    margin-right: 0.5rem;
}

/* Hero section */
.hero-section {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    padding: 4rem 0;
}

.hero-section h1 {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.hero-section p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Sections */
.section-title {
    color: var(--primary-color);
    font-weight: bold;
    margin-bottom: 2rem;
    text-align: center;
}

.section-subtitle {
    color: var(--text-light);
    text-align: center;
    margin-bottom: 3rem;
}

/* Filtres */
.filter-section {
    background-color: var(--bg-light);
    padding: 2rem 0;
    border-radius: 10px;
    margin-bottom: 2rem;
}

.filter-section h5 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Comparaison */
.comparison-table {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.comparison-table th {
    background-color: var(--primary-color);
    color: white;
    border: none;
}

.comparison-table td {
    vertical-align: middle;
}

/* Badges */
.badge-primary {
    background-color: var(--primary-color);
}

.badge-secondary {
    background-color: var(--secondary-color);
}

/* Footer */
footer {
    background: linear-gradient(135deg, #2c3e50, #34495e);
    color: #ecf0f1;
    padding: 3rem 0 1rem;
    margin-top: 3rem;
}

footer h5 {
    color: var(--secondary-color);
    font-weight: bold;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

footer ul li {
    margin-bottom: 0.75rem;
}

footer ul li a {
    color: #bdc3c7;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

footer ul li a:hover {
    color: var(--secondary-color);
    text-decoration: none;
    transform: translateX(5px);
}

footer ul li a i {
    margin-right: 0.5rem;
    width: 20px;
    text-align: center;
}

footer p {
    color: #bdc3c7;
    line-height: 1.6;
    font-size: 0.9rem;
}

.divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--secondary-color), transparent);
    margin: 2rem 0 1rem;
}

footer .icon {
    font-size: 1.5rem;
    color: #bdc3c7;
    margin-right: 1rem;
    transition: all 0.3s ease;
}

footer .icon:hover {
    color: var(--secondary-color);
    transform: translateY(-3px);
}

footer small {
    color: #95a5a6;
}

footer small a {
    color: var(--secondary-color);
    text-decoration: none;
}

footer small a:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .forfait-price {
        font-size: 1.5rem;
    }
}

/* Animations */
.fade-in {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Utilitaires */
.text-primary-custom {
    color: var(--primary-color) !important;
}

.text-secondary-custom {
    color: var(--secondary-color) !important;
}

.bg-primary-custom {
    background-color: var(--primary-color) !important;
}

.bg-secondary-custom {
    background-color: var(--secondary-color) !important;
}
