/* Reset de base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Arial', sans-serif;
  background-color: #f4f4f4;
  color: #333;
}

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

header {
  background-color: #1a73e8;
  color: white;
  padding: 20px 0;
}

header h1 {
  text-align: center;
  font-size: 2.5em;
  letter-spacing: 1px;
}

nav ul {
  display: flex;
  justify-content: center;
  list-style-type: none;
  margin-top: 10px;
}

nav ul li {
  margin: 0 15px;
}

nav ul li a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s;
}

nav ul li a:hover {
  color: #ff9e00;
}

.hero {
  background-color: #ffffff;
  padding: 50px 0;
  text-align: center;
  border-bottom: 2px solid #ddd;
}

.hero h2 {
  font-size: 2.5em;
  margin-bottom: 10px;
}

.hero p {
  font-size: 1.2em;
  color: #555;
}

/* Section globale */
.sites-grid-section {
    padding: 20px;
    background-color: #f9f9f9;
    text-align: center;
}

.sites-grid-section h2 {
    margin-bottom: 20px;
    font-size: 2em;
    color: #333;
}

/* Grille des sites */
.sites-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Cartes des sites */
.site-card {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: left;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.site-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.2);
}

/* Images */
.site-image {
    width: 100%;
    height: 200px;
    object-position: center;
}

/* Titre, description et lien */
.site-card h3 {
    margin: 15px;
    font-size: 1.5em;
    color: #0073e6;
}

.site-card p {
    margin: 0 15px 15px;
    color: #555;
    font-size: 1em;
    line-height: 1.5;
}

.site-link {
    display: block;
    margin: 10px 15px 15px;
    padding: 10px 20px;
    background-color: #0073e6;
    color: white;
    text-align: center;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
}

.site-link:hover {
    background-color: #005bb5;
}



footer {
  background-color: #1a73e8;
  color: white;
  padding: 20px 0;
  text-align: center;
}

footer p {
  font-size: 1em;
}
