:root {
  --primary-color: #2c5f2d;
  --primary-hover: #1e4620;
  --secondary-color: #d4a574;
  --secondary-hover: #c89960;
  --accent-color: #8b4513;
  --text-color: #333;
  --text-light: #666;
  --bg-light: #f8f9fa;
  --white: #ffffff;
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.15);
  --transition: all 0.3s ease;
  --border-radius: 12px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

img[data-force-visible] {
  opacity: 1 !important;
  visibility: visible !important;
  display: block !important;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  width: 100%;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow);
  z-index: 1003;
  transition: var(--transition);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
}

.logo img {
  display: none;
}

.logo-text {
  font-size: clamp(1.05rem, 2vw, 1.4rem);
  font-weight: 700;
  color: var(--primary-color);
  letter-spacing: -0.3px;
  position: relative;
}

.logo-text::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--secondary-color);
  border-radius: 50%;
  margin-right: 0.6rem;
  vertical-align: middle;
}

.nav {
  display: flex;
  gap: 1.4rem;
  align-items: center;
}

.nav-link {
  color: var(--text-color);
  font-weight: 500;
  font-size: 0.95rem;
  transition: var(--transition);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: var(--transition);
}

.nav-link:hover {
  color: var(--primary-color);
}

.nav-link:hover::after {
  width: 100%;
}

/* Dropdown Menu - Desktop */
.nav-item {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-item .nav-link {
  padding-right: 0.2rem;
}

.dropdown-toggle {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  color: var(--text-color);
  transition: var(--transition);
}

.dropdown-toggle .material-icons {
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.nav-item:hover .dropdown-toggle .material-icons,
.nav-item.open .dropdown-toggle .material-icons {
  transform: rotate(180deg);
  color: var(--primary-color);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(5px);
  background: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-lg);
  min-width: 200px;
  padding: 0.5rem 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
  z-index: 1010;
  pointer-events: none;
}

.dropdown-menu::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  border: 8px solid transparent;
  border-bottom-color: var(--white);
  border-top: 0;
}

/* Invisible bridge between nav-item and dropdown to prevent hover gap */
.nav-item::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 16px;
  background: transparent;
}

.nav-item:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

.dropdown-link {
  display: block;
  padding: 0.7rem 1.2rem;
  color: var(--text-color);
  font-size: 0.9rem;
  font-weight: 400;
  transition: var(--transition);
  white-space: nowrap;
}

.dropdown-link:hover {
  background: var(--bg-light);
  color: var(--primary-color);
  padding-left: 1.5rem;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.lang-switcher {
  display: flex;
  gap: 0.5rem;
  background: var(--bg-light);
  padding: 0.4rem;
  border-radius: 25px;
}

.lang-btn {
  background: transparent;
  border: none;
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-color);
  cursor: pointer;
  transition: var(--transition);
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lang-btn:hover {
  background: var(--white);
  color: var(--primary-color);
}

.lang-btn.active {
  background: var(--primary-color);
  color: var(--white);
}

.menu-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  min-width: 44px;
  min-height: 44px;
}

.menu-toggle .material-icons {
  font-size: 2rem;
  color: var(--primary-color);
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100svh;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  padding-top: calc(clamp(36px, 8vw, 70px) + 4rem);
  overflow: hidden;
}

/* Hero Slideshow */
.hero-slideshow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}

.hero-slide.active {
  opacity: 1;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-dots {
  position: absolute;
  bottom: 5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.75rem;
  z-index: 5;
}

.hero-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  border: 2px solid rgba(255, 255, 255, 0.7);
  cursor: pointer;
  transition: var(--transition);
  padding: 0;
}

.hero-dot.active {
  background: var(--white);
  transform: scale(1.3);
}

.hero-dot:hover {
  background: rgba(255, 255, 255, 0.8);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  letter-spacing: 0.5px;
}

.hero-badge-img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  border-radius: 4px;
}

.hero-badge i {
  margin-right: 0.5rem;
  color: var(--secondary-color);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(44, 95, 45, 0.6), rgba(139, 69, 19, 0.4));
  z-index: -1;
}

.hero-content {
  max-width: 800px;
  padding: 2rem;
  animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.3rem);
  margin-bottom: 2rem;
  font-weight: 300;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  padding: 1rem 2rem;
  border-radius: var(--border-radius);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  display: inline-block;
  text-align: center;
}

.btn-primary {
  background: var(--secondary-color);
  color: var(--text-color);
}

.btn-primary:hover {
  background: var(--secondary-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

.btn-secondary:hover {
  background: var(--white);
  color: var(--primary-color);
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite;
}

.scroll-indicator .material-icons {
  font-size: 3rem;
  color: var(--white);
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-10px);
  }
  60% {
    transform: translateX(-50%) translateY(-5px);
  }
}

/* Sections */
.section {
  padding: 5rem 0;
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.section-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  text-align: center;
  color: var(--text-light);
  margin-bottom: 3rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Gîte Section */
.gite-section {
  background: var(--bg-light);
}

.gite-content {
  display: flex;
  gap: 3rem;
  align-items: center;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.gite-text {
  flex: 1;
  min-width: 300px;
}

.gite-feature {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
  align-items: flex-start;
}

.feature-icon {
  font-size: 2.5rem;
  color: var(--primary-color);
  min-width: 50px;
}

.gite-feature h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  color: var(--primary-color);
}

.gite-feature p {
  color: var(--text-light);
  line-height: 1.8;
}

.gite-image {
  flex: 1;
  min-width: 300px;
}

.gite-image img {
  width: 100%;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 16/10;
  object-fit: cover;
}

.gite-stats {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
}

.stat-card {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--border-radius);
  text-align: center;
  flex: 1;
  min-width: 200px;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.stat-card i {
  font-size: 3rem;
  color: var(--secondary-color);
  margin-bottom: 1rem;
}

.stat-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--primary-color);
}

.stat-card p {
  color: var(--text-light);
}

/* Hôtes Section */
.hotes-section {
  background: var(--white);
}

.hotes-content {
  display: flex;
  gap: 3rem;
  align-items: center;
  max-width: 900px;
  margin: 0 auto;
}

.hotes-photo {
  flex-shrink: 0;
}

.hotes-photo img {
  width: 300px;
  height: 300px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: var(--shadow-lg);
  border: 5px solid var(--secondary-color);
}

.hotes-text h3 {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.hotes-text p {
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 1rem;
}

/* Chambres Section */
.chambres-section {
  background: var(--bg-light);
}

.chambres-etage {
  margin-bottom: 3rem;
}

.etage-title {
  font-size: 1.4rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.etage-title i {
  color: var(--secondary-color);
}

.chambres-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.5rem;
}

.chambre-card {
  background: var(--white);
  padding: 1.5rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  text-align: center;
  transition: var(--transition);
}

.chambre-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.chambre-card i {
  font-size: 2rem;
  color: var(--secondary-color);
  margin-bottom: 0.75rem;
}

.chambre-card h4 {
  font-size: 1.1rem;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.chambre-card p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* Tarifs Section */
.tarifs-section {
  background: var(--white);
}

.tarifs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}

.tarif-card {
  background: var(--bg-light);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.tarif-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.tarif-header {
  padding: 1.5rem;
  text-align: center;
  color: var(--white);
}

.tarif-header i {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.tarif-header h3 {
  font-size: 1.3rem;
}

.tarif-basse .tarif-header {
  background: linear-gradient(135deg, #5b8c5a, #3d6b3d);
}

.tarif-moyenne .tarif-header {
  background: linear-gradient(135deg, #d4a574, #c08850);
}

.tarif-haute .tarif-header {
  background: linear-gradient(135deg, #c0392b, #e74c3c);
}

.tarif-price {
  padding: 1.5rem;
  text-align: center;
  border-bottom: 1px solid #eee;
}

.price-range {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-color);
}

.price-period {
  display: block;
  font-size: 0.9rem;
  color: var(--text-light);
  margin-top: 0.25rem;
}

.tarif-details {
  padding: 1.5rem;
  list-style: none;
}

.tarif-details li {
  padding: 0.5rem 0;
  color: var(--text-light);
  font-size: 0.95rem;
  border-bottom: 1px solid #f0f0f0;
}

.tarif-details li:last-child {
  border-bottom: none;
}

/* Tarifs - Périodes spéciales */
.tarifs-special {
  margin-bottom: 2rem;
}

.tarifs-special-title,
.tarifs-charges-title {
  font-size: 1.3rem;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 1.5rem;
}

.tarifs-special-grid {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
}

.tarif-special-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--bg-light);
  padding: 1rem 1.5rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}

.tarif-special-item i {
  font-size: 1.5rem;
  color: var(--secondary-color);
}

.tarif-special-label {
  font-weight: 500;
  color: var(--text-color);
}

.tarif-special-price {
  font-weight: 700;
  color: var(--primary-color);
  font-size: 1.1rem;
}

/* Tarifs - Charges */
.charges-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  max-width: 800px;
  margin: 0 auto;
}

.charge-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--bg-light);
  padding: 1rem 1.5rem;
  border-radius: var(--border-radius);
}

.charge-item i {
  font-size: 1.3rem;
  color: var(--secondary-color);
  min-width: 25px;
}

.charge-item span {
  display: block;
  color: var(--text-light);
  font-size: 0.9rem;
}

.charge-item strong {
  display: block;
  color: var(--primary-color);
  white-space: nowrap;
  font-size: 1rem;
  margin-top: 0.25rem;
}

/* Activités Section */
.activites-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}

.activite-card {
  background: var(--white);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  flex: 1 1 calc(33.333% - 2rem);
  min-width: 280px;
  max-width: 380px;
  cursor: pointer;
}

.activite-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.activite-image {
  width: 100%;
  height: 250px;
  overflow: hidden;
}

.activite-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.activite-card:hover .activite-image img {
  transform: scale(1.1);
}

.activite-content {
  padding: 2rem;
}

.activite-content i {
  font-size: 2.5rem;
  color: var(--secondary-color);
  margin-bottom: 1rem;
}

.activite-content h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.activite-content p {
  color: var(--text-light);
  line-height: 1.8;
}

/* Calendrier de disponibilité */
.availability-calendar {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 2px solid rgba(46, 80, 46, 0.1);
}

.availability-inner {
  display: flex;
  align-items: center;
  gap: 3rem;
  max-width: 900px;
  margin: 0 auto;
  background: var(--white);
  border-radius: 16px;
  padding: 2rem 2.5rem;
  box-shadow: 0 2px 15px rgba(0,0,0,0.08);
}

.availability-text {
  flex: 1;
  text-align: left;
}

.availability-title {
  font-family: var(--heading-font);
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.availability-subtitle {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.availability-legend {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: var(--text-light);
}

.availability-legend span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}

.legend-dot.available { background: var(--primary-color); }
.legend-dot.booked { background: #ccc; }

.calendar-embed iframe {
  border: none;
  width: 420px;
  height: 280px;
  flex-shrink: 0;
}

@media (max-width: 700px) {
  .availability-inner {
    flex-direction: column;
    gap: 1.5rem;
    padding: 1.5rem;
    text-align: center;
  }
  .availability-text {
    text-align: center;
  }
  .availability-legend {
    align-items: center;
  }
  .calendar-embed iframe {
    width: 100%;
    max-width: 350px;
  }
}

/* Alentours */
.alentours-wrapper {
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 2px solid rgba(46, 80, 46, 0.1);
}

.alentours-title {
  font-family: var(--heading-font);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 0.5rem;
}

.alentours-subtitle {
  text-align: center;
  color: var(--text-light);
  margin-bottom: 2.5rem;
}

.alentours-categories {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
}

.alentour-cat {
  background: var(--card-bg);
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}

.alentour-cat h4 {
  color: var(--primary-color);
  font-size: 1.05rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.alentour-cat h4 i {
  color: var(--secondary-color);
  font-size: 1.1rem;
  width: 24px;
  text-align: center;
}

.alentour-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.alentour-links li {
  padding: 0.4rem 0;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.alentour-links li:last-child {
  border-bottom: none;
}

.alentour-links a {
  color: var(--text-color);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.alentour-links a::before {
  content: '\f35d';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 0.7rem;
  color: var(--secondary-color);
  opacity: 0;
  transition: opacity 0.3s;
}

.alentour-links a:hover {
  color: var(--primary-color);
}

.alentour-links a:hover::before {
  opacity: 1;
}

/* Activity Modal */
.activity-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  padding: 1rem;
}

.activity-modal.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.activity-modal-content {
  background: var(--white);
  border-radius: var(--border-radius);
  max-width: 700px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  padding: 2.5rem;
  position: relative;
}

.activity-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--bg-light);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  z-index: 1;
}

.activity-modal-close:hover {
  background: #e0e0e0;
}

.activity-modal-title {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
  padding-right: 3rem;
}

.activity-modal-desc {
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.activity-modal-gallery {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  margin-bottom: 1.5rem;
  scroll-snap-type: x mandatory;
}

.activity-modal-gallery img {
  width: 280px;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
  scroll-snap-align: start;
}

.activity-modal-gallery::-webkit-scrollbar {
  height: 6px;
}

.activity-modal-gallery::-webkit-scrollbar-track {
  background: var(--bg-light);
  border-radius: 3px;
}

.activity-modal-gallery::-webkit-scrollbar-thumb {
  background: var(--secondary-color);
  border-radius: 3px;
}

.activity-modal-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.activity-modal-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary-color);
  font-weight: 500;
  padding: 0.5rem 0;
}

.activity-modal-links a:hover {
  color: var(--secondary-hover);
}

.activity-modal-links a i {
  font-size: 1rem;
}

/* Galerie Section */
.activites-section {
  background: var(--bg-light);
}

.galerie-section {
  background: var(--white);
}

.temoignages-section {
  background: var(--bg-light);
}

.gallery-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.gallery-item {
  flex: 1 1 calc(33.333% - 1.5rem);
  min-width: 250px;
  height: 300px;
  position: relative;
  overflow: hidden;
  border-radius: var(--border-radius);
  cursor: pointer;
  box-shadow: var(--shadow);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(44, 95, 45, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-overlay i {
  font-size: 3rem;
  color: var(--white);
}

.gallery-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.pagination-btn {
  background: var(--primary-color);
  color: var(--white);
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid var(--white);
}

.pagination-btn:hover {
  background: var(--primary-hover);
  transform: scale(1.1);
}

.pagination-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.pagination-btn:disabled:hover {
  transform: none;
}

.pagination-dots {
  display: flex;
  gap: 0.5rem;
}

.pagination-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--text-light);
  cursor: pointer;
  transition: var(--transition);
}

.pagination-dot.active {
  background: var(--primary-color);
  transform: scale(1.3);
}

/* Lightbox */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.lightbox-close {
  position: absolute;
  top: 2rem;
  right: 2rem;
  background: rgba(255, 255, 255, 0.2);
  border: 2px solid var(--white);
  color: var(--white);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  z-index: 2001;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: rotate(90deg);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.2);
  border: 2px solid var(--white);
  color: var(--white);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  z-index: 2001;
}

.lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.3);
}

.lightbox-prev {
  left: 2rem;
}

.lightbox-next {
  right: 2rem;
}

#lightboxImage {
  max-width: 90%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: var(--border-radius);
}

/* Témoignages Section */
.testimonials-container {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}

.testimonial-item {
  background: var(--white);
  padding: 2.5rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  flex: 1 1 calc(33.333% - 2rem);
  min-width: 300px;
  max-width: 400px;
  transition: var(--transition);
}

.testimonial-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.testimonial-stars {
  display: flex;
  gap: 0.3rem;
  margin-bottom: 1rem;
}

.testimonial-stars i {
  color: #ffc107;
  font-size: 1.2rem;
}

.testimonial-text {
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 1.5rem;
  font-style: italic;
  opacity: 1 !important;
  visibility: visible !important;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.5rem;
}

.author-info h4 {
  color: var(--primary-color);
  margin-bottom: 0.3rem;
}

.author-info p {
  color: var(--text-light);
  font-size: 0.9rem;
}

/* Contact Section */
.contact-section {
  background: var(--white);
}

.contact-content {
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
}

.contact-left,
.contact-right {
  flex: 1;
  min-width: 300px;
}

.contact-map {
  margin-bottom: 1rem;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.contact-map-link {
  margin-bottom: 2rem;
  text-align: center;
}

.btn-map-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary-color);
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: var(--border-radius);
  background: var(--white);
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.btn-map-link:hover {
  background: var(--primary-color);
  color: var(--white);
}

.btn-map-link i {
  font-size: 1.2rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-info-item {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  background: var(--white);
  padding: 1.5rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
  min-width: 0;
}

.contact-info-item div {
  min-width: 0;
}

.contact-info-item p,
.contact-info-item a {
  overflow-wrap: break-word;
  word-break: break-word;
}

.contact-info-item:hover {
  transform: translateX(5px);
}

.contact-info-item i {
  font-size: 2rem;
  color: var(--secondary-color);
  min-width: 40px;
}

.contact-info-item h3 {
  font-size: 1.1rem;
  margin-bottom: 0.3rem;
  color: var(--primary-color);
}

.contact-info-item p,
.contact-info-item a {
  color: var(--text-light);
}

.contact-info-item a:hover {
  color: var(--primary-color);
}

.contact-form {
  background: var(--white);
  padding: 2.5rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--text-color);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1rem;
  border: 2px solid #e0e0e0;
  border-radius: var(--border-radius);
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-row {
  display: flex;
  gap: 1rem;
}

.form-row-item {
  flex: 1;
}

.form-row-label {
  font-size: 0.85rem !important;
  font-weight: 400 !important;
  color: var(--text-light) !important;
  margin-bottom: 0.3rem !important;
}

.contact-form .btn {
  width: 100%;
  margin-top: 1rem;
}

/* Footer */
.footer {
  background: var(--primary-color);
  color: var(--white);
  padding: 3rem 0 1rem;
}

.footer-content {
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.footer-col {
  flex: 1;
  min-width: 250px;
}

.footer-col h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.footer-col p {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.footer-social a {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--secondary-color);
  transform: translateY(-3px);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.footer-links a,
.footer-links li {
  color: rgba(255, 255, 255, 0.8);
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--white);
  padding-left: 5px;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-contact li {
  display: flex;
  gap: 1rem;
  align-items: center;
  color: rgba(255, 255, 255, 0.8);
}

.footer-contact i {
  min-width: 25px;
  font-size: 1.2rem;
  color: var(--secondary-color);
}

.footer-contact a {
  color: rgba(255, 255, 255, 0.8);
  transition: var(--transition);
}

.footer-contact a:hover {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.8);
}

.footer-bottom p {
  margin-bottom: 0.5rem;
}

.dev-credit {
  font-size: 0.9rem;
  opacity: 0.8;
}

.dev-credit a {
  color: var(--secondary-color);
  font-weight: 500;
  transition: var(--transition);
}

.dev-credit a:hover {
  color: var(--white);
}

/* Responsive - Tablette */
@media (max-width: 1024px) {
  .container {
    padding: 0 1.5rem;
  }

  .gite-content {
    flex-direction: column;
  }

  .gallery-item {
    flex: 1 1 calc(50% - 1.5rem);
  }

  .activite-card {
    flex: 1 1 calc(50% - 2rem);
  }

  .tarifs-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }

  .charges-list {
    grid-template-columns: 1fr;
  }

  .hotes-content {
    flex-direction: column;
    text-align: center;
  }

  .hotes-photo img {
    width: 250px;
    height: 250px;
    margin: 0 auto;
  }
}

/* Nav close button - hidden on desktop */
.nav-close {
  display: none;
}

/* Lang switcher mobile - hidden on desktop */
.lang-switcher-mobile {
  display: none;
}

/* Contact secondary line */
.contact-secondary {
  font-size: 0.9rem;
  margin-top: 0.25rem;
}

/* Testimonials navigation */
.testimonials-nav {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.testimonials-nav-btn {
  background: var(--primary-color);
  color: var(--white);
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.testimonials-nav-btn:hover {
  background: var(--primary-hover);
  transform: scale(1.1);
}

.testimonials-dots {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.testimonials-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ccc;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  padding: 0;
}

.testimonials-dots .dot.active {
  background: var(--primary-color);
  transform: scale(1.3);
}

/* Responsive - Mobile */
@media (max-width: 820px) {
  html, body {
    max-width: 100vw;
    overflow-x: hidden;
  }

  body {
    font-size: 1.1rem;
  }

  .header-container {
    padding: 0.8rem 1.5rem;
  }

  /* Hide desktop lang switcher on mobile */
  .lang-switcher-desktop {
    display: none;
  }

  /* Show mobile lang switcher inside nav */
  .lang-switcher-mobile {
    display: flex;
    margin-top: auto;
    padding-top: 1.5rem;
    border-top: 1px solid var(--bg-light);
    justify-content: center;
  }

  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    height: 100dvh;
    background: var(--white);
    flex-direction: column;
    padding: 2rem 0 2rem;
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.15);
    transition: right 0.3s ease;
    gap: 0;
    z-index: 1002;
    overflow-y: auto;
  }

  .nav.active {
    right: 0;
  }

  /* Close button inside nav */
  .nav-close {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 44px;
    height: 44px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1003;
  }

  .nav-close .material-icons {
    font-size: 1.8rem;
    color: var(--text-color);
  }

  /* Mobile nav items */
  .nav > .nav-link,
  .nav > .nav-item {
    width: 100%;
    border-bottom: 1px solid var(--bg-light);
  }

  .nav > .nav-item:first-of-type {
    margin-top: 3rem;
  }

  .nav-link {
    width: 100%;
    padding: 1rem 2rem;
    font-size: 1.1rem;
  }

  .nav-link::after {
    display: none;
  }

  /* Mobile dropdown */
  .nav-item {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .nav-item .nav-link {
    flex: 1;
    padding-right: 0;
  }

  .dropdown-toggle {
    padding: 1rem 1.2rem;
    min-width: 44px;
    min-height: 44px;
    justify-content: center;
  }

  .dropdown-toggle .material-icons {
    font-size: 1.4rem;
  }

  .nav-item.open .dropdown-toggle .material-icons {
    transform: rotate(180deg);
    color: var(--primary-color);
  }

  .dropdown-menu {
    position: static;
    transform: none;
    box-shadow: none;
    border-radius: 0;
    background: var(--bg-light);
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, opacity 0.3s ease, padding 0.3s ease;
    opacity: 0;
    visibility: visible;
    pointer-events: auto;
    padding: 0;
  }

  .dropdown-menu::before {
    display: none;
  }

  .nav-item.open .dropdown-menu {
    max-height: 300px;
    opacity: 1;
    padding: 0.3rem 0;
  }

  /* Disable desktop hover on mobile - only .open class controls visibility */
  .nav-item:hover .dropdown-menu {
    opacity: 0;
    visibility: hidden;
    max-height: 0;
    padding: 0;
    pointer-events: none;
    transform: none;
  }

  .nav-item.open .dropdown-menu,
  .nav-item.open:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    max-height: 300px;
    padding: 0.3rem 0;
    pointer-events: auto;
    transform: none;
  }

  .dropdown-link {
    padding: 0.8rem 2rem 0.8rem 3rem;
    font-size: 1rem;
    position: relative;
  }

  .dropdown-link::before {
    content: '';
    position: absolute;
    left: 2rem;
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--secondary-color);
  }

  .dropdown-link:hover {
    padding-left: 3.3rem;
    background: rgba(44, 95, 45, 0.08);
  }

  .menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* Mobile menu overlay */
  .nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
  }

  .nav-overlay.active {
    opacity: 1;
    visibility: visible;
  }

  .hero {
    min-height: 100svh;
    min-height: 100vh;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    max-width: 300px;
  }

  .section {
    padding: 3rem 0;
  }

  .gite-stats {
    flex-direction: column;
  }

  .stat-card {
    min-width: 100%;
  }

  .hotes-content {
    flex-direction: column;
    text-align: center;
  }

  .hotes-photo img {
    width: 200px;
    height: 200px;
    margin: 0 auto;
  }

  .chambres-grid {
    grid-template-columns: 1fr;
  }

  .tarifs-grid {
    grid-template-columns: 1fr;
  }

  .tarifs-special-grid {
    flex-direction: column;
    align-items: center;
  }

  .tarif-special-item {
    width: 100%;
    max-width: 350px;
  }

  .charges-list {
    grid-template-columns: 1fr;
  }

  .activites-grid {
    flex-direction: column;
  }

  .activite-card {
    min-width: 100%;
    max-width: 100%;
  }

  /* Activity modal fullscreen on mobile */
  .activity-modal {
    padding: 0;
  }

  .activity-modal-content {
    max-width: 100%;
    max-height: 100%;
    height: 100%;
    margin: 0;
    padding: 1.5rem;
    border-radius: 0;
  }

  .activity-modal-gallery img {
    width: 240px;
    height: 170px;
  }

  .gallery-item {
    flex: 1 1 100%;
    height: 250px;
  }

  .pagination-btn {
    width: 40px;
    height: 40px;
  }

  /* Lightbox fullscreen on mobile */
  .lightbox-close,
  .lightbox-nav {
    width: 44px;
    height: 44px;
  }

  .lightbox-close {
    top: 0.5rem;
    right: 0.5rem;
  }

  .lightbox-prev {
    left: 1rem;
  }

  .lightbox-next {
    right: 1rem;
  }

  #lightboxImage {
    max-width: 95%;
  }

  .testimonials-container {
    flex-direction: column;
  }

  .testimonial-item {
    min-width: 100%;
    max-width: 100%;
  }

  .contact-content {
    flex-direction: column;
  }

  .contact-left {
    order: 2;
  }

  .contact-right {
    order: 1;
  }

  .form-row {
    flex-direction: column;
    gap: 0.5rem;
  }

  .footer-content {
    flex-direction: column;
    gap: 2rem;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.8rem;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .contact-form {
    padding: 1.5rem;
  }

  .hero-badge-img {
    width: 24px;
    height: 24px;
  }

  /* Compacter la section alentours */
  .alentours-wrapper {
    margin-top: 2rem;
    padding-top: 1.5rem;
  }

  .alentours-title {
    font-size: 1.3rem;
  }

  .alentours-subtitle {
    margin-bottom: 1.5rem;
    font-size: 0.85rem;
  }

  .alentours-categories {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .alentour-cat {
    padding: 1rem;
  }

  .alentour-cat h4 {
    font-size: 0.95rem;
    margin-bottom: 0.6rem;
  }

  .alentour-links li {
    padding: 0.25rem 0;
  }

  .alentour-links a {
    font-size: 0.82rem;
    overflow-wrap: break-word;
    word-break: break-word;
  }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}
