
:root {
    --primary-color: #007A33;
    --secondary-color: #f4f9f5;
    --text-color: #333333;
}
body { font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; margin: 0; padding: 0; color: var(--text-color); line-height: 1.6; background-color: #f0f4f1; }

/* Bannières */
.top-banner { width: 100%; max-height: 350px; object-fit: cover; display: block; box-shadow: 0 4px 10px rgba(0,0,0,0.1); }
.top-banner.subpage { max-height: 250px; }

/* Navigation */
nav { background: #ffffff; display: flex; justify-content: center; flex-wrap: wrap; position: sticky; top: 0; z-index: 1000; box-shadow: 0 2px 15px rgba(0,0,0,0.08); }
nav a { color: #555; text-decoration: none; padding: 1.2rem 1.5rem; text-transform: uppercase; font-weight: 600; font-size: 0.95rem; transition: all 0.3s; border-bottom: 3px solid transparent; }
nav a:hover, nav a.active { color: var(--primary-color); border-bottom: 3px solid var(--primary-color); background-color: var(--secondary-color); }

/* Conteneurs */
.container { max-width: 1100px; margin: 0 auto; padding: 2rem 1rem; }
.container.narrow { max-width: 900px; }

/* Page Accueil */
.hero { background: #ffffff; padding: 3rem 2rem; text-align: center; border-radius: 12px; margin-bottom: 4rem; box-shadow: 0 10px 25px rgba(0,0,0,0.05); border-top: 6px solid var(--primary-color); display: flex; flex-direction: column; align-items: center; gap: 1.5rem; }
.hero img.logo { max-width: 250px; height: auto; margin-bottom: 1rem; }
.hero h2 { color: var(--primary-color); margin: 0; font-size: 2.2rem; }
.hero p { font-size: 1.15rem; color: #555; max-width: 800px; margin: 0; }
.section-title { color: var(--primary-color); border-bottom: 3px solid var(--primary-color); padding-bottom: 0.5rem; margin-bottom: 2.5rem; font-size: 2rem; text-align: center; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem; }
.card { background: white; border-radius: 10px; padding: 2rem; box-shadow: 0 6px 15px rgba(0,0,0,0.06); transition: transform 0.3s ease, box-shadow 0.3s ease; text-align: center; border: 1px solid #f0f0f0; display: flex; flex-direction: column; }
.card:hover { transform: translateY(-8px); box-shadow: 0 12px 20px rgba(0,122,51,0.15); border-color: #d1e7d6; }
.card h3 { color: var(--primary-color); margin-top: 0; font-size: 1.4rem; margin-bottom: 1rem; }
.card p { flex-grow: 1; }
.card-link { display: inline-block; margin-top: 15px; color: var(--primary-color); text-decoration: none; font-weight: bold; padding: 8px 15px; border: 1px solid var(--primary-color); border-radius: 5px; transition: all 0.3s; }
.card-link:hover { background-color: var(--primary-color); color: white; }
table { width: 100%; border-collapse: collapse; margin-top: 1rem; background: white; box-shadow: 0 6px 15px rgba(0,0,0,0.06); border-radius: 8px; overflow: hidden; }
th, td { padding: 18px; text-align: left; border-bottom: 1px solid #f0f0f0; }
th { background-color: var(--primary-color); color: white; font-weight: 600; text-transform: uppercase; font-size: 0.9rem;}
tr:nth-child(even) { background-color: #f9fbf9; }
tr:hover { background-color: #f1f7f2; }

/* Pages Secondaires */
.page-header { background: white; padding: 2rem; border-radius: 10px; box-shadow: 0 6px 15px rgba(0,0,0,0.06); margin-bottom: 2rem; text-align: center; border-top: 5px solid var(--primary-color); }
.page-header h1 { color: var(--primary-color); margin: 0 0 1rem 0; }
.activity-block { background: white; padding: 2rem; border-radius: 10px; box-shadow: 0 4px 10px rgba(0,0,0,0.05); margin-bottom: 2rem; border-left: 4px solid var(--primary-color); }
.activity-block h2 { color: var(--primary-color); margin-top: 0; border-bottom: 2px solid #f0f4f1; padding-bottom: 0.5rem; margin-bottom: 1.5rem; }
.info-list { list-style: none; padding: 0; margin: 0 0 1rem 0;}
.info-list li { padding: 0.5rem 0; border-bottom: 1px dashed #ddd; }
.info-list li:last-child { border-bottom: none; }
.info-list strong { color: #444; display: inline-block; min-width: 120px; }

/* Composants spécifiques */
.date-badge { display: inline-block; background: var(--secondary-color); color: var(--primary-color); font-weight: bold; padding: 0.3rem 0.8rem; border-radius: 4px; margin-right: 1rem; width: 100px; text-align: center; }
.news-alert { background-color: #fff3cd; color: #856404; padding: 1.5rem; border-radius: 8px; border-left: 5px solid #ffeeba; margin-bottom: 2rem; font-size: 0.95rem; }
.news-alert img { width: 100%; max-height: 300px; object-fit: cover; border-radius: 5px; margin-bottom: 1rem; }
.hike-card { display: flex; flex-direction: column; background: #fafafa; border: 1px solid #e0e0e0; border-radius: 8px; margin-bottom: 1.5rem; overflow: hidden; transition: transform 0.2s; }
.hike-card:hover { transform: translateY(-3px); box-shadow: 0 6px 12px rgba(0,0,0,0.08); }
.hike-card img { width: 100%; height: 220px; object-fit: cover; }
.hike-details { padding: 1.5rem; flex: 1; }
.hike-details h3 { margin-top: 0; color: var(--primary-color); font-size: 1.3rem; margin-bottom: 1rem; }
@media (min-width: 768px) {
    .hike-card { flex-direction: row; }
    .hike-card img { width: 300px; height: auto; border-right: 1px solid #e0e0e0; }
}

/* Footer */
footer { background: #2b2b2b; color: #d1d1d1; text-align: center; padding: 3rem 1rem; margin-top: 5rem; }
footer p { margin: 0.5rem 0; font-size: 1rem;}
footer strong { color: white; font-size: 1.1rem;}
