/* Reset et styles de base */
html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  font-family: Arial, sans-serif;
}

body {
  background: url('https://viccarialodge.com/images/stefisa.jpg') no-repeat center center fixed;
  background-size: cover;
  color: white;
  /* text-shadow: 1px 1px 4px #000; */
  overflow-x: hidden;
}
a {
	text-decoration:none;
	transition: color 0.3s ease;
}
.hide {
	display:none;
}
.content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1em;
  box-sizing: border-box;
}

h1 i {
  margin-right: 10px;
  color: #6BAF46; /* vert nature cohérent avec ton site */
}

/* Footer */
footer {
  position: fixed;
  bottom: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.8);
  text-align: center;
  padding: 1em;
  box-sizing: border-box;
  font-size: 0.9em;
  z-index: 10;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5em;
}

footer .social-link img {
  width: 20px;
  height: 20px;
  vertical-align: middle;
  margin-left: 0.5em;
  transition: transform 0.3s;
}
footer .social-link:hover img {
  transform: scale(1.1);
}
footer #adresse {
	color:white;
	font-weight:bold;
}
footer #adresse:hover {
	color: #00aaff;
}
.lang-switch {
  font-size: 2rem;
  z-index: 9999;
}

.lang-switch {
  font-size: 1.5rem; /* taille du drapeau par défaut */
  text-decoration: none;
  margin-left: 10px;
}

@media (max-width: 600px) {
	footer .greengo-link, footer .airbnb-link {
		display:none;
	}
}

@media (max-width: 400px) {
	.facebook-link {
		display:none;
	}
}

/* Style général de l’icône Home */
.menu-home a {
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Desktop : Home aligné à gauche */
.nav-links {
  display: flex;
}
.nav-links .menu-home {
  order: -1; /* place l’icône en tout premier */
  margin-right: auto; /* pousse les autres éléments à droite si besoin */
}

/* Mobile (menu hamburger ouvert) */
@media (max-width: 768px) {
  .nav-links .menu-home {
    order: 99; /* place l’icône à la fin */
    margin-right: 0;
    margin-left: auto; /* visuellement à droite */
  }
}
/* Icône Home mobile */
.home-icon-mobile {
  display: none;
}

@media (max-width: 768px) {
  .burger {
    position: absolute;
    top: 1rem;
    left: 1rem;      /* hamburger à gauche */
    font-size: 1.6rem;
    cursor: pointer;
  }

  .home-icon-mobile {
		display: block;
		position: absolute;
		top: 3px;
		right: 40px;
		font-size: 1.6rem;
  }

  .home-icon-mobile a {
    color: white;  /* ou noir selon ton header */
    text-decoration: none;
  }

  .home-icon-mobile a:hover {
    color: #6BAF46; /* vert nature au survol */
  }

  /* Cache la version "Home" dans le menu mobile */
  .nav-links .menu-home {
    display: none;
  }
}

/* Menu hamburger */
.hamburger {
  display: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  z-index: 50;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: white;
  display: block;
  border-radius: 3px;
  transition: background-color 0.3s ease;
}

/* Nav de base */
.nav {
  position: fixed;
  width:100%;
  top: 0;
  z-index: 100;
  background: rgba(0, 0, 0, 0.6);
  box-shadow: 0 2px 5px rgba(0,0,0,0.7);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 1rem;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
}

.nav-links li a {
  color: white;
  text-decoration: none;
  font-weight: 600;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.7);
  transition: color 0.3s ease;
  font-weight:bold;
}

.nav-links li a:hover,
.nav-links li a:focus {
  color: #00aaff;
  /* text-decoration: underline; */
}

a.important-link {
  font-weight: bold;
  color: #00aaff;
  text-decoration: none;
  transition: color 0.3s ease, text-decoration 0.3s ease;
}

a.important-link:hover,
a.important-link:focus {
  color: #0077cc;
  text-decoration: underline;
}

/* Mobile styles */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
    padding: 5px 0 5px 0;
  }

  .nav-links {
    position: absolute;
    top: 30px;
    flex-direction: column;
    background: rgba(0, 0, 0, 0.85);
    border-radius: 8px;
    padding: 1rem;
    display: none;
    min-width: 150px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.5);
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links li a {
    color: white;
    font-size: 1.1rem;
    padding: 0.5rem 0;
  }

  .nav-links li a:hover,
  .nav-links li a:focus {
    color: #00aaff;
    text-decoration: underline;
  }
}

/* Container général main */
.main-container {
	color: #222;
	text-shadow: none;
	padding: 1rem 1rem 3rem 1rem;
	border-radius: 1rem;
	width: 92%;
	max-width: 2000px;
	margin: 2rem auto 2rem auto;
	box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    background: #fff;
    line-height: 1.6;
}

@media (max-width: 600px) {
  .main-container {
  }
}
#before-footer {
  height: 5rem;      /* ou 50px si tu veux fixe */
  flex-shrink: 0;    /* utile si ton layout est en flex column */
}
.footer-acces {
  color: white;
  font-weight: bold;
  margin-right: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: color 0.3s ease;
}

.footer-acces i {
  color: #6BAF46;
  font-size: 1.3rem;
}

.footer-acces i:hover {
  color: #00aaff;
}
