@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Google+Sans:ital,opsz,wght@0,17..18,400..700;1,17..18,400..700&family=Playwrite+DE+SAS:wght@100..400&family=Saira+Stencil:ital,wght@0,100..900;1,100..900&display=swap');


/* ---------- BASE & RESET ---------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
button, a { cursor: pointer; }

body {
  background-color: #F4F9F4;
  color: #1E2F28;
  line-height: 1.5;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #DCE8DA;
  border-radius: 10px;
}
::-webkit-scrollbar-thumb {
  background: #2E8B57;
  border-radius: 10px;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ---------- NAVBAR MODERNE AVEC DROPDOWN ---------- */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  position: sticky;
  top: 20px;
  z-index: 1000;
  background: rgba(255, 255, 250, 0.96);
  backdrop-filter: blur(18px);
  border-radius: 80px;
  margin: 16px auto 0;
  padding: 8px 36px;
  box-shadow: 0 20px 35px -12px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(46, 139, 86, 0.3);
  width: calc(100% - 40px);
  max-width: 1300px;
  transition: all 0.3s;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.logo img {
  height: 44px;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.1));
  border-radius: 30px;
}
.logo span {
  font-size: 1.8rem;
  font-weight: 800;
  background: linear-gradient(135deg, #1B6B43, #2E8B57);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: -0.3px;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  align-items: center;
}

.nav-links li {
  position: relative;
}

.nav-links a {
  text-decoration: none;
  font-weight: 600;
  color: #2F4238;
  transition: 0.25s;
  font-size: 0.95rem;
  display: inline-block;
  padding: 8px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0px;
  left: 0;
  width: 0;
  height: 2.5px;
  background: #2E8B57;
  transition: 0.3s cubic-bezier(0.2, 0.9, 0.4, 1.1);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-links a:hover {
  color: #2E8B57;
}

/* DROPDOWN MENU */
.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 40px;
  left: 0;
  background: rgba(255, 255, 250, 0.98);
  backdrop-filter: blur(16px);
  border-radius: 28px;
  padding: 12px 0;
  min-width: 200px;
  box-shadow: 0 20px 35px -12px rgba(0, 0, 0, 0.15);
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.25s ease;
  border: 1px solid rgba(46, 139, 86, 0.3);
  z-index: 100;
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu li {
  padding: 0;
}

.dropdown-menu a {
  display: block;
  padding: 10px 24px;
  color: #2F4238;
  font-weight: 500;
  transition: 0.2s;
}

.dropdown-menu a:hover {
  background: #2E8B5722;
  color: #2E8B57;
  padding-left: 28px;
}

.dropdown-menu a::after {
  display: none;
}

@media (max-width: 900px) {
  .navbar {
    flex-direction: column;
    gap: 14px;
    padding: 16px 24px;
    border-radius: 48px;
  }
  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.2rem;
  }
  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    background: transparent;
    backdrop-filter: none;
    box-shadow: none;
    padding-left: 20px;
    display: none;
    margin-top: 6px;
    border: none;
  }
  .dropdown.active .dropdown-menu {
    display: block;
  }
  .dropdown > a::after {
    content: " ▼";
    font-size: 0.7rem;
  }
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 100px 24px 140px;
  background: linear-gradient(135deg, rgba(20, 55, 40, 0.75), rgba(0, 30, 20, 0.8)), url('../Follio/Img/Sud/SU3.jpg');
  background-size: cover;
  background-position: center 40%;
  background-attachment: fixed;
  margin-bottom: 40px;
  border-radius: 0 0 90px 90px;
}
.hero-badge {
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(10px);
  padding: 8px 32px;
  border-radius: 60px;
  color: #D9F0E2;
  letter-spacing: 5px;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 32px;
  border: 1px solid rgba(100, 200, 130, 0.6);
}
.hero h1 {
  font-size: 5.5rem;
  font-weight: 800;
  color: white;
  text-shadow: 0 20px 30px rgba(0,0,0,0.5);
  line-height: 1.05;
  animation: fadeUp 1s ease;
}
.hero h1 span {
  color: #A8E6CF;
  font-style: italic;
  font-weight: 900;
}
.hero p {
  max-width: 780px;
  margin-top: 28px;
  font-size: 1.2rem;
  background: rgba(0,0,0,0.45);
  backdrop-filter: blur(8px);
  padding: 14px 32px;
  border-radius: 80px;
  color: #FFF3E2;
  font-weight: 400;
}
@keyframes fadeUp {
  0% { opacity: 0; transform: translateY(30px);}
  100% { opacity: 1; transform: translateY(0);}
}

/* CARDS HÉBERGEMENTS */
.accommodations-section {
  padding: 80px 0 60px;
}
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: 3.2rem;
  text-align: center;
  margin-bottom: 20px;
  color: #1B6B43;
  letter-spacing: -0.5px;
}
.section-subtitle {
  text-align: center;
  font-size: 1.2rem;
  color: #4A6B5A;
  margin-bottom: 56px;
  font-weight: 400;
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
}
.rooms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 50px;
  margin-bottom: 70px;
}
.room-card {
  background: #FFFFFFF0;
  border-radius: 56px;
  overflow: hidden;
  box-shadow: 0 25px 40px -18px rgba(0,0,0,0.2);
  transition: all 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
  border: 1px solid rgba(46,139,86,0.2);
}
.room-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 35px 50px -20px rgba(0,0,0,0.35);
  border-color: #2E8B57;
}
.room-img {
  height: 300px;
  background-size: cover;
  background-position: center;
  position: relative;
  transition: transform 0.5s;
}
.room-card:hover .room-img {
  transform: scale(1.02);
}
.room-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: #2E8B57;
  padding: 6px 20px;
  border-radius: 40px;
  font-size: 0.8rem;
  font-weight: 800;
  color: white;
  backdrop-filter: blur(4px);
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.room-content {
  padding: 32px 30px 36px;
}
.room-content h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.9rem;
  color: #1B6B43;
  margin-bottom: 6px;
}
.room-location {
  font-size: 0.85rem;
  color: #2E8B57;
  font-weight: 600;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.room-description {
  color: #2F4B3C;
  line-height: 1.5;
  margin: 18px 0;
}
.room-features {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  margin-bottom: 32px;
  font-size: 0.85rem;
  color: #2E6B4E;
  font-weight: 600;
}
.room-features span i {
  margin-right: 8px;
  color: #2E8B57;
}
.btn-book-room {
  background: #2E8B57;
  border: none;
  padding: 14px 28px;
  border-radius: 60px;
  font-weight: 700;
  color: white;
  cursor: pointer;
  transition: 0.25s;
  width: 100%;
  font-size: 1rem;
  letter-spacing: 0.5px;
}
.btn-book-room:hover {
  background: #3CA36C;
  transform: scale(1.01);
  box-shadow: 0 10px 20px -8px rgba(46,139,86,0.5);
}

/* FORMULAIRE */
.booking-form-section {
  background: linear-gradient(125deg, #0A2F20, #021F12);
  border-radius: 64px;
  padding: 64px 60px;
  margin: 50px 0;
  color: white;
  box-shadow: 0 30px 40px -20px rgba(0,0,0,0.3);
  border: 1px solid rgba(100,200,120,0.2);
}
.booking-form-section h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.4rem;
  color: #C8F0DC;
  margin-bottom: 16px;
}
.booking-form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 28px;
  margin-top: 32px;
}
.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  font-size: 0.9rem;
}
.form-group input, .form-group select {
  width: 100%;
  padding: 14px 20px;
  border-radius: 60px;
  border: none;
  background: #FEF8F0;
  font-family: inherit;
  font-size: 0.95rem;
}
.booking-btn {
  background: #2E8B57;
  border: none;
  padding: 16px 32px;
  border-radius: 60px;
  font-weight: 800;
  font-size: 1rem;
  cursor: pointer;
  color: white;
  margin-top: 32px;
  width: 100%;
  transition: 0.3s;
}
.booking-btn:hover {
  background: #3CA36C;
  transform: translateY(-2px);
}
.booking-feedback {
  margin-top: 18px;
  font-size: 0.9rem;
  color: #C8F0DC;
}

/* FOOTER */
footer {
  background: #0A1510;
  color: #EDE3D4;
  margin-top: 80px;
  border-radius: 70px 70px 0 0;
  padding: 70px 56px 40px;
}
.footer-grid {
  max-width: 1300px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 52px;
  padding-bottom: 56px;
  border-bottom: 1px solid #2A4238;
}
.footer-brand h3 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  color: #A8E6CF;
  margin-bottom: 18px;
}
.footer-contact-block h4, .footer-social-block h4, .footer-newsletter h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  color: #A8E6CF;
  margin-bottom: 24px;
}
.contact-details p {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
  font-size: 0.9rem;
}
.contact-details i {
  width: 28px;
  color: #2E8B57;
}
.social-icons a {
  color: #F3E5D2;
  font-size: 2rem;
  margin-right: 28px;
  transition: 0.2s;
  display: inline-block;
}
.social-icons a:hover {
  color: #2E8B57;
  transform: translateY(-5px);
}
.footer-newsletter form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.footer-newsletter input {
  padding: 14px 20px;
  border-radius: 60px;
  border: none;
  background: #FEF8F0;
  font-family: inherit;
}
.newsletter-btn {
  background: #2E8B57;
  border: none;
  padding: 12px;
  border-radius: 60px;
  font-weight: bold;
  color: #0F1F18;
  cursor: pointer;
}
.footer-bottom {
  text-align: center;
  padding-top: 38px;
  font-size: 0.8rem;
  opacity: 0.7;
}
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 54px;
  height: 54px;
  background: #2E8B57;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
  z-index: 1000;
  border: none;
  font-size: 1.5rem;
}
.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

/* RESPONSIVE */
@media (max-width: 1000px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .hero h1 { font-size: 4rem; }
  .booking-form-section { padding: 40px 30px; }
}

@media (max-width: 680px) {
  .footer-grid { grid-template-columns: 1fr; }
  .container { padding: 0 20px; }
  .rooms-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2.8rem; }
}