/* Import des polices depuis Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@500&family=Open+Sans&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Open Sans', sans-serif;
  background-color: #fff;
  color: #333;
  scroll-behavior: smooth;
  line-height: 1.6;
}

header {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.5);
  padding: 20px 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 999;
  backdrop-filter: blur(6px);
}

.logo {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  color: #fff;
}

nav a {
  color: #fff;
  margin-left: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s;
}

nav a:hover {
  color: #ffc107;
}

.hero {
  height: 100vh;
  background: url('images/hero.jpg') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.overlay {
  background: rgba(0, 0, 0, 0.6);
  padding: 60px 40px;
  text-align: center;
  border-radius: 15px;
  color: #fff;
  max-width: 700px;
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: 48px;
  margin-bottom: 20px;
}

.hero p {
  font-size: 20px;
  margin-bottom: 30px;
}

.cta-button {
  background-color: #ffc107;
  color: #000;
  padding: 14px 28px;
  border: none;
  border-radius: 30px;
  font-size: 16px;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.cta-button:hover {
  background-color: #e0a800;
}

/* DESTINATIONS */

.destinations {
  padding: 100px 40px;
  background: #f9f9f9;
  text-align: center;
}

.destinations h2 {
  font-size: 34px;
  font-family: 'Playfair Display', serif;
  margin-bottom: 50px;
}

.cards {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.card {
  width: 300px;
  height: 420px;
  border-radius: 15px;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
  transition: transform 0.3s ease;
}

.card:hover {
  transform: scale(1.05);
}

.card-text {
  position: absolute;
  bottom: 0;
  width: 100%;
  padding: 20px;
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
  color: white;
}

.card-text h3 {
  margin-bottom: 10px;
  font-size: 22px;
  font-weight: 600;
}

.card-text p {
  font-size: 15px;
  opacity: 0.85;
}

/* SECTION À PROPOS */

.about {
  padding: 80px 30px;
  max-width: 800px;
  margin: auto;
  text-align: center;
}

.about h2 {
  font-size: 30px;
  font-family: 'Playfair Display', serif;
  margin-bottom: 25px;
}

.about p {
  font-size: 18px;
  color: #555;
  line-height: 1.8;
}

/* FOOTER */

footer {
  background-color: #222;
  color: #ccc;
  text-align: center;
  padding: 30px;
  font-size: 14px;
}

/* RESPONSIVE */

@media (max-width: 768px) {
  header {
    padding: 15px 25px;
    flex-direction: column;
    align-items: flex-start;
  }

  nav {
    margin-top: 10px;
  }

  nav a {
    margin: 10px 15px 0 0;
    display: inline-block;
  }

  .hero h1 {
    font-size: 32px;
  }

  .hero p {
    font-size: 18px;
  }

  .cards {
    flex-direction: column;
    align-items: center;
  }
}
