:root {
    --primary-color: #2563eb;
    --gradient-start: #1e3c72;
    --gradient-end: #2a5298;
    --text-light: #f8fafc;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --footer-bg: #1a202c;
}

body {
    font-family: 'Segoe UI', system-ui, sans-serif;
    line-height: 1.6;
    color: #334155;
    background: #f8fafc;
    margin: 0;
}

.bg-dark { background-color: #212529!important; }
.text-warning-perso { color: #1C1C1C!important; }

.sticky-header {
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow);
}

.header-gradient {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    padding: 2rem 0;
}

.site-title {
    font-size: 2.5rem;
    text-align: center;
    color: var(--text-light);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.keyword {
    color: #7dd3fc;
    font-weight: 700;
}

.glass-nav {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 1rem;
    border-radius: 12px;
    max-width: 800px;
    margin: 0 auto;
}

.glass-nav ul {
    display: flex;
    justify-content: space-around;
}

.glass-nav a {
    color: var(--text-light);
    transition: all 0.3s ease;
}

.glass-nav a:hover {
    background: rgba(255, 255, 255, 0.2);
}

.main-container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

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

/* Lazy-loaded responsive images */
.responsive-image {
    width: 50%;
    height: auto;
}

.footer-modern {
    background-color: var(--footer-bg);
    color: var(--text-light);
    padding: 2rem 0;
    text-align: center;
}

.footer-modern a {
    color: var(--text-light);
    margin: 0 0.5rem;
}

.footer-modern a:hover {
    color: #60a5fa;
}

.footer-social {
    margin-top: 1rem;
}

.footer-social a {
    font-size: 1.5rem;
    margin: 0 0.5rem;
}


/* Tablet */
@media (max-width: 1024px) {
    .main-container {
        grid-template-columns: 1fr;
        padding: 0 2rem;
    }
    
    .card {
        padding: 1.5rem;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .glass-nav ul {
        flex-direction: column;
        gap: 1rem;
        padding: 0;
    }

    .site-title {
        font-size: 1.8rem;
        padding: 0 1rem;
    }

    .responsive-image {
        max-width: 50%;
        height: auto;
    }

    .card {
        padding: 1rem;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .site-title {
        font-size: 1.5rem;
    }

    .main-container {
        margin: 1rem auto;
        padding: 0 1rem;
    }

    .responsive-image {
        height: 50%;
        width: auto;
    }
}
