:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --background-color: #1a1a1a;
    --text-color: #ffffff;
    --accent-color: #e74c3c;
    --card-background: #2d2d2d;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
}

/* Ensure full page dark background */
html, body {
    min-height: 100vh;
    margin: 0;
    padding: 0;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.home-container {
    position: relative;
    z-index: 1;
    background-color: var(--background-color);  
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    padding: 2rem;
    position: relative;
    z-index: 1;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero h2 {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: var(--secondary-color);
    color: var(--text-color);
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    margin-top: 28px;
}

.cta-button:hover {
    background-color: #2980b9;
}


#vanta-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -1;
    opacity: 0.5;
    pointer-events: none; /* Prevent Vanta from interfering with interactions */
}

/* Quick Info Section */
.quick-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding: 4rem 4rem;
    background-color: rgba(45, 45, 45, 0.7);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 2;
}

.info-card {
    text-align: center;
    padding: 2rem;
    border-radius: 10px;
    transition: all 0.3s ease;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(5px);
}

.info-card:hover {
    transform: translateY(-10px);
    background: rgba(0, 0, 0, 0.5);
}

.info-card i {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .burger {
        display: block;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero h2 {
        font-size: 1.5rem;
    }

    .home-container {
        padding: 0 1rem;
    }
    
    .quick-info {
        grid-template-columns: 1fr;
        padding: 2rem 1rem;
    }
}

/* Ensure modals and additional sections have dark background */
.modal-content, 
.veille-sujets, 
.veille-newsletter {
    background: linear-gradient(145deg, var(--card-background), var(--primary-color)) !important;
    color: var(--text-color);
}

/* Additional padding to ensure full coverage */
.veille-sujets, 
.veille-newsletter {
    padding-bottom: 4rem;
}
main {
    position: relative;
    z-index: 1;
}