/* Style principal pour le site Turf-Pronostics */
:root {
    --pmu-vert: #0B6938;
    --pmu-orange: #FF5000;
    --pmu-gris: #333333;
    --pmu-blanc: #FFFFFF;
    --pmu-beige: #F5F2E9;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    background-color: var(--pmu-beige);
    color: var(--pmu-gris);
    line-height: 1.6;
}

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

/* Header */
header {
    background-color: var(--pmu-vert);
    color: var(--pmu-blanc);
    padding: 10px 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: var(--pmu-blanc);
    text-decoration: none;
}

.logo span {
    color: var(--pmu-orange);
}

/* Navigation */
nav ul {
    display: flex;
    list-style: none;
    margin-top: 10px;
}

nav ul li {
    margin-right: 20px;
}

nav ul li a {
    color: var(--pmu-blanc);
    text-decoration: none;
    font-weight: bold;
    padding: 5px 10px;
    border-radius: 3px;
    transition: background-color 0.3s;
}

nav ul li a:hover {
    background-color: var(--pmu-orange);
}

/* Bannière */
.banner {
    position: relative;
    height: 300px;
    overflow: hidden;
    margin-bottom: 30px;
}

.banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: var(--pmu-blanc);
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.8);
    width: 80%;
}

.banner-content h1 {
    font-size: 36px;
    margin-bottom: 15px;
}

.banner-content p {
    font-size: 18px;
    margin-bottom: 20px;
}

.btn {
    display: inline-block;
    background-color: var(--pmu-orange);
    color: var(--pmu-blanc);
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s;
}

.btn:hover {
    background-color: #e04600;
}

/* Sections principales */
.main-content {
    display: flex;
    margin: 30px 0;
}

.content {
    flex: 2;
    padding-right: 30px;
}

.sidebar {
    flex: 1;
    background-color: var(--pmu-blanc);
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.card {
    background-color: var(--pmu-blanc);
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    overflow: hidden;
}

.card-header {
    background-color: var(--pmu-vert);
    color: var(--pmu-blanc);
    padding: 15px;
    font-weight: bold;
}

.card-content {
    padding: 20px;
}

.race-card {
    display: flex;
    border-bottom: 1px solid #eee;
    padding: 15px 0;
}

.race-card:last-child {
    border-bottom: none;
}

.race-info {
    flex: 3;
}

.race-actions {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.race-time {
    color: var(--pmu-orange);
    font-weight: bold;
    margin-bottom: 5px;
}

.race-location {
    font-weight: bold;
    margin-bottom: 5px;
}

.race-details {
    color: #666;
    font-size: 14px;
}

/* Pronostics */
.prono-list {
    list-style: none;
}

.prono-item {
    display: flex;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.prono-item:last-child {
    border-bottom: none;
}

.horse-number {
    width: 30px;
    height: 30px;
    background-color: var(--pmu-orange);
    color: var(--pmu-blanc);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-right: 15px;
}

.horse-info {
    flex: 1;
}

.horse-name {
    font-weight: bold;
}

.horse-jockey {
    font-size: 14px;
    color: #666;
}

.prono-confidence {
    width: 80px;
    text-align: right;
    font-weight: bold;
    color: var(--pmu-vert);
}

/* Footer */
footer {
    background-color: var(--pmu-gris);
    color: var(--pmu-blanc);
    padding: 30px 0;
    margin-top: 50px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
}

.footer-section {
    flex: 1;
    margin-right: 30px;
}

.footer-section:last-child {
    margin-right: 0;
}

.footer-section h3 {
    color: var(--pmu-orange);
    margin-bottom: 20px;
    font-size: 18px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: var(--pmu-blanc);
    text-decoration: none;
}

.footer-section ul li a:hover {
    color: var(--pmu-orange);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #444;
    margin-top: 20px;
}

/* Responsive */
@media (max-width: 768px) {
    .header-top {
        flex-direction: column;
    }
    
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    nav ul li {
        margin: 5px 10px;
    }
    
    .main-content {
        flex-direction: column;
    }
    
    .content {
        padding-right: 0;
        margin-bottom: 30px;
    }
    
    .footer-content {
        flex-direction: column;
    }
    
    .footer-section {
        margin-right: 0;
        margin-bottom: 30px;
    }
}
