/* Reset et base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', 'Helvetica', sans-serif;
    background-color: #f8f8f8;
    color: #333;
    line-height: 1.6;
}

/* En-tête */
header {
    background: linear-gradient(135deg, #000407, #1a759f);
    color: white;
    padding: 1rem 0;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

header h1 span {
    color: #ff6600;
}

nav ul {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0.5rem 0;
}

nav ul li {
    margin: 0 1rem;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #ff6600;
}

/* Conteneur principal */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Section des articles */
.articles {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
}

article {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

article:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

article img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

article h2 {
    padding: 1rem 1rem 0.5rem;
    color: #0066cc;
    font-size: 1.5rem;
}

article p {
    padding: 0 1rem 1rem;
    color: #555;
}

.btn-menu {
    display: inline-block;
    background-color: #ff6600;
    color: white;
    padding: 0.3rem 1.0rem;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    transition: background-color 0.3s;
}

.btn-menu:hover {
    background-color: #c2d7e5;
}


.btn {
    display: inline-block;
    background-color: #033b7f;
    color: white;
    padding: 0.6rem 1.2rem;
    margin: 0 1rem 1rem;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    transition: background-color 0.3s;
}

.btn:hover {
    background-color: #6b0404;
}



/* Section Live Track */
.live-track {
    background-color: white;
    padding: 2rem;
    margin: 2rem 0;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.live-track h2 {
    color: #0066cc;
    margin-bottom: 1rem;
}

.map-container {
    background-color: #e0e0e0;
    height: 400px;
    margin: 1rem 0;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #777;
}

/* Pied de page */
footer {
    background-color: #000000;
    color: white;
    text-align: center;
    padding: 1.5rem 0;
    margin-top: 2rem;
}

footer p {
    margin-bottom: 0.5rem;
}

footer a {
    color: #158dc4;
    text-decoration: none;
}

/* Effets supplémentaires */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.articles,
.live-track {
    animation: fadeIn 1s ease-in-out;
}

.countdown {
    text-align: center;
    background: #fff;
    padding: 30px 40px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, .1);
}

.countdown h1 {
    margin-bottom: 20px;
    font-size: 2rem;
}

.time {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.segment {
    background: #e3eaf0;
    padding: 10px 15px;
    border-radius: 8px;
    min-width: 70px;
}

.segment span {
    display: block;
    font-size: 1.6rem;
    font-weight: bold;
    color: #2c3e50;
}

.segment small {
    font-size: .75rem;
    color: #555;
}