/* style.css */

/* Polices */
@import url('https://fonts.googleapis.com/css2?family=Playball&family=Montserrat:wght@300;500;700&display=swap');

:root {
  --primary-color: #2c3e50;
  --accent-color: #27ae60;
  --light-bg: #f5f5f5;
  --dark-text: #333;
}

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

body {
  font-family: 'Montserrat', sans-serif;
  color: var(--dark-text);
  background: var(--light-bg);
  line-height: 1.6;
}

.container {
  width: 90%;
  max-width: 1000px;
  margin: auto;
}

/* En-tête */
header {
  background: #fff;
  padding: 20px 0;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.logo {
  height: 60px;
}

.site-title {
  font-family: 'Playball', cursive;
  font-size: 2.5rem;
  margin-top: 10px;
  color: var(--primary-color);
}

/* Navigation */
nav {
  background: var(--primary-color);
}

nav ul {
  display: flex;
  justify-content: center;
  list-style: none;
}

nav ul li {
  margin: 0 15px;
}

nav ul li a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  padding: 15px 0;
  display: block;
}

nav ul li a:hover {
  color: var(--accent-color);
}

/* Section Hero */
.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 60vh;
  background: url('image.png') center/cover no-repeat;
  position: relative;
}

.hero::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(44, 62, 80, 0.6);
}

.hero .container {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #fff;
}

.hero .intro {
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.btn {
  background: var(--accent-color);
  color: #fff;
  padding: 10px 25px;
  text-decoration: none;
  font-weight: bold;
  border-radius: 5px;
}

.btn:hover {
  background: #219150;
}

/* Sections */
section {
  padding: 60px 0;
  background: #fff;
}

section:nth-of-type(even) {
  background: var(--light-bg);
}

h2 {
  text-align: center;
  margin-bottom: 20px;
  font-weight: 700;
  color: var(--primary-color);
}

/* Galerie */
.gallery .grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.gallery .card {
  background: #eaeaea;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dark-text);
  font-weight: 500;
}
 
.gallery-img {
width: 100%;
height: auto;
border-radius: 5px;
}


/* Contact */
.contact p {
  text-align: center;
}

.contact a {
  color: var(--accent-color);
  text-decoration: none;
  font-weight: bold;
}

.contact a:hover {
  text-decoration: underline;
}

/* Pied de page */
footer {
  background: #fff;
  text-align: center;
  padding: 20px 0;
  font-size: 0.9rem;
  color: #777;
  border-top: 1px solid #ddd;
}
