/* --- 1. TOKENS & VARIABLES --- */
:root {
  --rv-primary: #1f2d37;
  --rv-accent: #fda979;
  --rv-green: #257a75;
  --rv-grey-light: rgba(242, 242, 242, 0.7);
}

/* --- 2. BASE --- */
html {
  scroll-behavior: smooth;
}

*, ::before, ::after {
  box-sizing: border-box;
}

body {
  overflow-x: hidden;
  width: 100%;
  position: relative;
}

/*New  accent-color*/
.ic-accent {
  color: var(--rv-accent);
}

.ic-green {
  color: var(--rv-green);
}

.pointed {
  cursor: pointer;
}

.bg-accent-light-2 {
  background-color: var(--rv-accent);
}

.rv-bg-green {
  background-color: var(--rv-green);
}

.rv-accent-line {
  display: block;
  min-width: 65px;
  height: 0.3px;
  background-color: aliceblue;
  margin-top: 13px;
}

/* --- 3. TYPOGRAPHY --- */
.rv-title-xl {
  font-size: 52px;
  font-family: "delhi", sans-serif;
  font-weight: bold;
}

.rv-title-lg {
  font-size: 48px;
  font-family: "delhi", sans-serif;
  font-weight: bold;
}

.rv-hero-desc {
  font-size: 1.1rem;
  max-width: 600px;
  line-height: 1.6;
  color: white;
}

.rv-section-desc {
  width: 60%;
  margin: auto;
  text-align: center;
}

@media screen and (max-width: 768px) {
  .rv-title-xl {
    font-size: 38px;
  }

  .rv-title-lg {
    font-size: 32px;
  }

  .rv-section-desc {
    width: 90%;
  }
}

/* Legacy Typography (to be cleaned) */
.text-title {
  font-size: 38px;
}

.text-desc {
  font-size: 19px;
}

.text-title-2 {
  font-size: 13px;
}

.text-desc-3 {
  font-size: 16px;
}


/* Custom Utils */
.image-white {
  filter: brightness(0) invert(1);
}

/* --- 4. BUTTONS --- */
.rv-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 40px;
  border-radius: 8px;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: 0.3s ease-in-out;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  font-size: 1.1rem;
}

.rv-button.is-primary {
  background: linear-gradient(to right, var(--rv-green), var(--rv-primary));
  color: white;
}

.rv-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
  filter: brightness(1.1);
}

.rv-button.is-rounded {
  border-radius: 100px;
}

/* Legacy Buttons (to be cleaned) */
.mybtn {
  border-radius: 8px;
  font-size: 16px;
  font-weight: 500;
  background: linear-gradient(to right, #257a75 0%, #1f2d37 100%);
  color: white;
  border: none;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: 0.3s ease;
}

.custom-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 40px;
  border-radius: 8px;
  background: linear-gradient(to right, #257a75, #1f2d37);
  color: white;
  font-size: 1.1rem;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: 0.3s ease-in-out;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}


.mybtn2 {
  border-radius: 6px;
  color: white;
  font-size: 15px;
  background: linear-gradient(to right, rgba(253, 169, 121, 0.8), rgba(108, 180, 131, 0.8));
}

.btn-search {
  transition: 0.2s;
  padding: 12px;
  cursor: pointer;
  border-radius: 100px;
  color: white;
  background-color: rgba(253, 169, 121, 0.5);
}

.btn-search:hover {
  transition: 0.2s;
  transform: scale(1.1);
}

.btn-filter {
  transition: 0.2s;
  padding: 12px;
  cursor: pointer;
  border-radius: 100px;
}

.btn-filter:hover {
  transition: 0.2s;
  transform: scale(1.1);
}

/* Custom Animations */
.slide-right {
  transition: 0.5s;
}

.slide-right:hover {
  margin-left: 15px;
  transition: 0.5s;
}

.slide-top {
  transition: 0.5s;
}

.slide-top:hover {
  margin-bottom: 15px;
  transition: 0.5s;
}

.slide-in {
  transition: 0.5s;
}

.slide-in:hover {
  transform: scale(0.9);
  transition: 0.5s;
}

.slide-out {
  transition: 0.5s;
}

.slide-out:hover {
  transform: scale(1.2);
  transition: 0.5s;
}

.slide-left {
  transition: 0.5s;
}

.slide-left:hover {
  margin-right: 15px;
  transition: 0.5s;
}

/* --- NAVIGATION (Navbar) --- */
.navbar {
  transition: all 0.4s ease-in-out;
  background-color: rgba(255, 255, 255, 0.05);
  /* Very transparent by default */
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
}

/* Glassmorphism Effect */
.navbar.is-fixed-top {
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  background-color: rgba(255, 255, 255, 0.7);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

/* Scrolled State */
.navbar.menu-scrolled {
  background-color: rgba(31, 45, 55, 0.9);
  backdrop-filter: blur(15px);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar.menu-scrolled .navbar-item {
  color: rgba(255, 255, 255, 0.9);
}

.navbar.menu-scrolled .navbar-link {
  color: rgba(255, 255, 255, 0.9);
}

.navbar.menu-scrolled .rv-nav-btn i,
.navbar.menu-scrolled .rv-nav-btn span {
  color: white;
}

/* Logo Fluidity */
.rv-nav-logo {
  max-height: 70px !important;
  /* Force Bulma to respect our logo height */
  width: auto;
  transition: transform 0.3s ease;
}

.rv-nav-logo:hover {
  transform: scale(1.05);
}

/* Navbar Menu (Mobile) */
@media screen and (max-width: 1023px) {
  .navbar-menu {
    background-color: rgba(31, 45, 55, 0.95);
    backdrop-filter: blur(15px);
    padding: 1.5rem;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    display: none;
    /* Cache par défaut */
  }

  .navbar-menu.is-active {
    display: block !important;
    gap: 15px;
    overflow: visible !important;
    /* Permet au dropdown de sortir de la navbar sans scroller */
  }

  .navbar-start,
  .navbar-end {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  /* Make the main dropdown menu open inline instead of absolute on mobile */
  .navbar-end .dropdown {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .navbar-end .dropdown .dropdown-trigger {
    margin-bottom: 0.5rem;
  }

  .navbar-end .dropdown .dropdown-menu {
    position: static !important;
    display: none;
    width: 100%;
    margin-top: 10px;
    box-shadow: none !important;
    background-color: transparent !important;
    border: none !important;
  }

  .navbar-end .dropdown.is-active .dropdown-menu,
  .navbar-end .dropdown.is-hoverable:hover .dropdown-menu {
    display: block !important;
  }

  .navbar-end .dropdown .dropdown-content {
    background-color: transparent !important;
    box-shadow: none !important;
    border: none !important;
    padding: 0 !important;
    width: 100%;
  }

  .navbar-end .dropdown .dropdown-item {
    text-align: center !important;
    color: var(--rv-accent) !important;
    font-size: 1.1rem;
    padding: 12px 20px !important;
    background: transparent !important;
    transition: all 0.2s ease;
  }

  .navbar-end .dropdown .dropdown-item:hover {
    color: white !important;
    background-color: rgba(255, 255, 255, 0.08) !important;
  }

  .navbar-end .dropdown .dropdown-divider {
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
    background-color: transparent !important;
    margin: 0.5rem auto !important;
    width: 60% !important;
    height: 1px !important;
  }


}

/*Navbar Desktop */

@media screen and (min-width: 1024px) {

  .navbar-menu {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .navbar-start {
    margin: 0 auto;
  }

}

.modal {
  z-index: 2000;
}

.modal-card {
  margin-top: 10px;
}


/* Custom Components */
.myTag1 {
  transition: 0.7s;
  padding: 8px 25px;
  border: 1 solid #dc645a;
  border-radius: 100px;
  color: white;
  background-color: rgba(108, 180, 131, 0.1);
  font-weight: 400;
}

.myTag1:hover {
  transition: 0.7s;
  background-color: rgba(108, 180, 131, 0.2);
}

.footer-icone {
  transition: 0.5s;
  padding: 9px;
  width: 10%;
  background-color: rgba(37, 122, 117, 0.3);
  border-radius: 4px;
}

.footer-icone i {
  font-size: 11pt;
  color: white;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.footer-icone:hover {
  background-color: rgba(37, 122, 117, 0.5);
  transition: .5s;
  cursor: pointer;
}

#footer li {
  cursor: pointer;
}

#footer li:hover {
  transition: 0.5s;
  color: #fda979;
}

/* Custom Headers and Sections */
#header-banner {
  height: 86vh;
  background-size: cover;
  background-position: center;
}

#header-banner .overlay {
  position: absolute;
  height: 86vh;
  width: 100%;
  z-index: 1;
  background: rgba(8, 34, 32, 0.7);
}

#header-banner .contains {
  padding-top: 28vh;
  z-index: 5;
}

#header-banner .contains .search {
  width: 80%;
  backdrop-filter: blur(5px);
  box-shadow: 2px 3px 25px 2px rgba(0, 0, 0, 0.226);
  border-radius: 5px;
}

#header-banner #search {
  width: 100%;
  backdrop-filter: blur(8px);
  box-shadow: 2px 3px 25px 2px rgba(0, 0, 0, 0.295);
  border-radius: 100px;
  min-height: 65px;
}

#header-banner #search input::placeholder {
  color: white;
}

#header-banner .slide-top .item {
  transition: 0.5s;
  min-height: 350px;
  border-radius: 5px;
  cursor: pointer;
}

#header-banner .slide-top .item .bottom-title {
  transition: 0.5s;
  position: absolute;
  border-radius: 0 0 5px 5px;
  bottom: 0;
  height: 60px;
  width: 100%;
  backdrop-filter: blur(10px);
}

#header-banner .slide-top .item .overlay2 {
  transition: 0.5s;
  width: 100%;
  height: 350px;
  background: rgba(31, 45, 55, 0.3);
}

#header-banner .slide-top .item:hover {
  transition: 0.5s;
  transform: scale(0.995);
}

.top-home-items {
  padding: 45px 0;
}

.top-home-items .top-home-item {
  transition: 0.5s;
  cursor: pointer;
  padding: 7px;
  width: 24%;
  max-width: 24%;
  min-height: 315px;
  background-color: white;
  border-radius: 5px;
  box-shadow: 1px 1px 12px 2px rgba(0, 0, 0, 0.034);
}

.top-home-items .top-home-item .img {
  height: 200px;
  border-radius: 5px;
}

.top-home-items .top-home-item:hover {
  transition: 0.5s;
  scale: 1.15;
  z-index: 10;
}

.login {
  position: fixed;
  transition: 0.5s;
  top: 0;
  width: 100%;
  max-width: 100%;
  background-color: rgba(31, 45, 55, 0.5);
  z-index: 15;
  overflow: hidden;
  backdrop-filter: blur(3px);
}

.login .login-card {
  max-width: 28%;
  top: 25vh;
  z-index: 17;
  border-radius: 10px;
  box-shadow: 1px 1px 12px 2px rgba(31, 45, 55, 0.1);
  min-height: 50vh;
  margin: auto;
  background-color: white;
}

.login button {
  width: 100%;
  background-color: rgba(253, 169, 121, 0.7);
  border-radius: 100px;
  border: 0;
  color: #1f2d37;
  box-shadow: none;
  outline: none;
}

.login button.rs {
  width: 100%;
  background-color: rgba(242, 242, 242, 0.7);
  border-radius: 100px;
  border: 0;
  color: #1f2d37;
  box-shadow: none;
  outline: none;
}

#imgaddbtn {
  transition: .5s;
  margin-right: 10px;
}

#imgaddbtn:hover {
  transition: .5s;
  transform: scale(0.96);
}

.imgsadded {
  transition: 0.5s;
  margin-right: 6px;
}

.imgsadded:hover {
  transition: .5s;
  transform: scale(0.98);
}

.equipment-tag {
  transition: .5s;
}

.equipment-tag:hover {
  background-color: rgba(253, 169, 121, 0.3);
}

.equipment-tag.is-active {
  background-color: #fda979;
}

.top-home-items-boutique {
  padding: 45px 0;
}

.top-home-items-boutique .top-home-item {
  transition: 0.5s;
  cursor: pointer;
  padding: 7px;
  width: 24%;
  max-width: 24%;
  background-color: white;
  border-radius: 5px;
  box-shadow: 1px 1px 12px 2px rgba(0, 0, 0, 0.034);
}

.top-home-items-boutique .top-home-item .img {
  height: 200px;
  border-radius: 5px;
}

.top-home-items-boutique .top-home-item:hover {
  transition: 0.5s;
  scale: .95;
  z-index: 10;
}

@media only screen and (max-width: 700px) {
  .top-home-items-boutique {
    padding: 45px 0;
  }

  .top-home-items-boutique .top-home-item {
    transition: 0.5s;
    cursor: pointer;
    padding: 7px;
    width: 95%;
    max-width: 95%;
    background-color: white;
    border-radius: 5px;
    box-shadow: 1px 1px 12px 2px rgba(0, 0, 0, 0.034);
  }

  .top-home-items-boutique .top-home-item .img {
    height: 200px;
    border-radius: 5px;
  }

  .top-home-items-boutique .top-home-item:hover {
    transition: 0.5s;
    scale: .95;
    z-index: 10;
  }
}

.reservebox {
  min-height: 95%;
}

.reservebox input {
  outline-color: #257a75;
  border-radius: 150px;
  height: 45px;
  font-size: 17px;
  outline: none;
  border: 0;
  width: 100%;
  background-color: #8080800f;
}

.reservebox input::placeholder {
  align-content: center;
}

#header-banner-about {
  height: 40vh;
  background-size: cover;
  background-position: center;
}

#header-banner-about .overlay {
  position: absolute;
  height: 40vh;
  width: 100%;
  z-index: 1;
  background: rgba(8, 34, 32, 0.7);
  background-position: center;
  background-size: cover;
}

#header-banner-about .contains {
  padding-top: 18vh;
  z-index: 5;
}

#header-banner-about .contains .search {
  width: 80%;
  backdrop-filter: blur(5px);
  box-shadow: 2px 3px 25px 2px rgba(0, 0, 0, 0.226);
  border-radius: 5px;
}

#header-banner-about #search {
  width: 100%;
  backdrop-filter: blur(8px);
  box-shadow: 2px 3px 25px 2px rgba(0, 0, 0, 0.295);
  border-radius: 100px;
  min-height: 65px;
}

#header-banner-about .slide-top .item {
  transition: 0.5s;
  min-height: 43vh;
  border-radius: 5px;
  cursor: pointer;
}

#header-banner-about .slide-top .item .bottom-title {
  transition: 0.5s;
  position: absolute;
  border-radius: 0 0 5px 5px;
  bottom: 0;
  height: 60px;
  width: 100%;
  backdrop-filter: blur(10px);
}

#header-banner-about .slide-top .item .overlay2 {
  transition: 0.5s;
  width: 100%;
  height: 43vh;
  background: rgba(31, 45, 55, 0.3);
}

#header-banner-about .slide-top .item:hover {
  transition: 0.5s;
  transform: scale(0.995);
}

#header-banner-assistance {
  height: 51vh;
  background-size: cover;
  background-position: center;
}

#header-banner-assistance .overlay {
  position: absolute;
  height: 51vh;
  width: 100%;
  z-index: 1;
  background: rgba(8, 34, 32, 0.7);
  background-position: center;
  background-size: cover;
}

#header-banner-assistance .contains {
  padding-top: 10vh;
  z-index: 5;
}

#header-banner-assistance .contains .search {
  width: 80%;
  backdrop-filter: blur(5px);
  box-shadow: 2px 3px 25px 2px rgba(0, 0, 0, 0.226);
  border-radius: 5px;
}

#header-banner-assistance #search {
  width: 41%;
  backdrop-filter: blur(8px);
  box-shadow: 2px 3px 25px 2px rgba(0, 0, 0, 0.295);
  border-radius: 100px;
  min-height: 65px;
}

@media only screen and (max-width: 768px) {
  #header-banner-assistance #search {
    width: 90% !important;
  }
}

#header-banner-assistance .slide-top .item {
  transition: 0.5s;
  min-height: 43vh;
  border-radius: 5px;
  cursor: pointer;
}

#header-banner-assistance .slide-top .item .bottom-title {
  transition: 0.5s;
  position: absolute;
  border-radius: 0 0 5px 5px;
  bottom: 0;
  height: 60px;
  width: 100%;
  backdrop-filter: blur(10px);
}

#header-banner-assistance .slide-top .item .overlay2 {
  transition: 0.5s;
  width: 100%;
  height: 43vh;
  background: rgba(31, 45, 55, 0.3);
}

#header-banner-assistance .slide-top .item:hover {
  transition: 0.5s;
  transform: scale(0.995);
}

.home-resume {
  width: 55%;
}

#show-result-ass {
  position: absolute;
  max-height: 20vh;
  overflow-y: auto;
  z-index: 999999;
  min-width: 100%;
}

#show-result-ass a h5 {
  font-size: 10pt;
  font-weight: 600;
}

#show-result-ass a:hover {
  background-color: #f2f2f2;
}

#show-result-ass hr {
  margin-top: 5px;
  margin-bottom: 5px;
}

#show-result-ville {
  position: absolute;
  max-height: 19vh;
  overflow-y: auto;
  z-index: 999999;
}

#show-result-ville a h5 {
  font-size: 10pt;
  font-weight: 600;
}

#show-result-ville a:hover {
  background-color: #f2f2f2;
}

#show-result-ville hr {
  margin-top: 5px;
  margin-bottom: 5px;
}

#myentete {
  width: 100%;
  height: 450px;
  position: relative;
}

#myentete #my-header-video {
  display: block;
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 0;
  min-width: 100%;
  min-height: 60vh;
}

#myentete .overlay {
  position: absolute;
  z-index: 1;
  top: 0;
  width: 100%;
  height:100%;
  background: linear-gradient(to left, rgba(31, 45, 55, 0.83) 40%, rgba(31, 45, 55, 0.45));
}

@media only screen and (min-width: 1450px) {
  #myentete {
    width: 100%;
    height: 470px;
  }

  /* #myentete .overlay {
    height: 470px;
  } */
}

@media only screen and (max-width: 700px) {
  #myentete>div>p {
    width: 100%;
    padding-right: 0;
  }

  #searchAdr {
    margin-top: 0.5rem;
  }

  #myentete>div>div>form>div>div>button {
    margin-top: 0.5rem;
  }

  #myentete>div {
    padding-left: 1rem;
  }

  #myentete>div>h1 {
    width: 100%;
    text-align: left;
    padding-left: 0;
  }

  #myentete {
    height: 95vh;
    background-position: center;
  }

  #myentete .overlay {
    height: 95vh;
    background: linear-gradient(to bottom, rgba(31, 45, 55, 0.98), rgba(31, 45, 55, 0.3));
  }

  #myentete #my-header-video {
    bottom: 0;
    left: 0;
    z-index: 0;
    min-height: auto;
  }
}

#menu-2 {
  width: 100%;
  height: 100vh;
  position: fixed;
  z-index: 100;
  background-size: cover;
  background-position: center;
  background-color: #1f2d37;
  background-repeat: no-repeat;
}

#menu-2 #menu-items {
  margin-top: 16%;
  width: 60%;
}

#menu-2 .menu-item {
  border: 3px solid #6cb483;
  cursor: pointer;
  background-color: rgba(37, 122, 117, 0.3);
  transition: .7s;
  min-width: 32%;
  margin-top: 10px;
  margin-left: 8px;
  margin-right: 8px;
}

#menu-2 .menu-item .active {
  border: 3px solid #fda979;
}

#menu-2 .menu-item h3 {
  font-size: 18px;
}

#menu-2 .menu-item:hover {
  border: 3px solid #6cb483;
  cursor: pointer;
  background-color: rgba(37, 122, 117, 0.8);
  transition: .5s;
}

#menu-2 .overlay {
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  background-color: rgba(31, 45, 55, 0.5);
}

/* --- 5. COMPONENTS --- */

/* Modern Card (RV) */
.rv-modern-card {
  height: 100%;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05), 0 1px 3px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  border: none;
  padding: 1.5rem 1rem;
  background: white;
}

.rv-modern-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.rv-modern-icon {
  width: 64px;
  height: 64px;
  padding: 12px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.rv-icon-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
}

.rv-header {
  display: flex;
  align-items: center;
  /* aligne verticalement */
  gap: 12px;
  /* espace entre icône et titre */
  margin-bottom: 10px;
  /* espace avec le texte */
}

.rv-header h3 {
  margin-bottom: 0;
  /* supprime le décalage du title */
}

/* Property Card (RV) */
.rv-properties-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  margin-bottom: 3rem;
  justify-items: center;
  align-items: start;
}

.rv-property-card {
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
  width: 100%;
  max-width: 280px;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.rv-property-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.rv-property-image {
  height: 160px;
  background-size: cover !important;
  background-position: center !important;
}

.rv-property-info {
  padding: 1rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.rv-property-title {
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
  color: var(--rv-green);
  line-height: 1.3;
}

.rv-property-description {
  font-size: 0.85rem;
  color: #666;
  margin-bottom: 0.75rem;
  line-height: 1.4;
  flex: 1;
}

/* Testimonial Card (RV) */
.rv-testimonial-card {
  background-color: #ffffff;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.02);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 1.5rem;
}


.rv-testimonial-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(37, 122, 117, 0.1);
}

/* FAQ Item (RV) */
.rv-faq-item {
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  cursor: pointer;
  padding: 1rem 0;
  transition: all 0.3s ease;
}

.rv-faq-item:hover {
  background-color: rgba(242, 242, 242, 0.3);
  padding-left: 0.5rem;
}

/* Back to top button */
#back-to-top {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 99;
  width: 50px;
  height: 50px;
  background-color: var(--rv-accent);
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  font-size: 20px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  align-items: center;
  justify-content: center;
}

#back-to-top:hover {
  background-color: var(--rv-accent);
  transform: scale(1.05);
}

.rv-contact-box {
  padding: 1.25rem;
  background-color: var(--rv-grey-light);
  border-radius: 10px;
  border-left: 5px solid var(--rv-accent);
}

.rv-section-about {
  padding: 2rem 1rem;
}

.rv-about-text {
  font-size: 1rem;
  line-height: 1.6;
  color: #4a4a4a;
}

.rv-about-image {
  max-width: 100%;
  border-radius: 15px;
  box-shadow: 15px 15px 0px var(--rv-green);
  object-fit: cover;
}

/* --- 7. NAVIGATION --- */
#navbar,
.rv-navbar {
  background-color: rgba(31, 45, 55, 0.7) !important;
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  transition: all 0.3s ease;
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  z-index: 1000;
}

.rv-nav-logo {
  max-height: 3rem;
  /* limite hauteur (comme Bulma) */
  width: auto;
  height: auto;
  object-fit: contain;
}

.rv-nav-lang {
  margin-top: 0px;
  margin-left: 13px;
}

/* Language Select — pilule translucide orange (même style que myTag1) */
.rv-nav-select .select select {
  transition: 0.7s;
  padding: 8px 35px 8px 25px;
  border-radius: 100px;
  color: white;
  background-color: rgba(253, 169, 121, 0.1);
  border: none;
  font-weight: 400;
  cursor: pointer;
}

.rv-nav-select .select select:hover,
.rv-nav-select .select select:focus {
  background-color: rgba(253, 169, 121, 0.2);
  box-shadow: none;
}

.rv-nav-select .select select option {
  color: var(--rv-primary);
  background-color: white;
}

.rv-nav-select .select::after {
  border-color: var(--rv-accent);
}

/* Navbar Burger — visible, orange accent */
.navbar-burger {
  color: var(--rv-accent);
  width: 50px;
  height: 50px;
  background-color: rgba(253, 169, 121, 0.1);
  border-radius: 8px;
}

.navbar-burger span {
  height: 2px;
  width: 20px;
}

.navbar-burger:hover {
  background-color: rgba(253, 169, 121, 0.2);
}

.navbar-item img {
  max-height: 6.75rem;
}

.rv-avatar {
  cursor: pointer;
  border-radius: 100px;
  width: 40px;
  height: 40px;
  background-size: cover;
  background-position: center;
  background-color: #e0e0e0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.rv-nav-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: var(--rv-primary);
  color: white;
  padding: 10px 15px;
  cursor: pointer;
  border-radius: 4px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
  transition: 0.3s;
}

.rv-nav-btn:hover {
  background-color: #2a3d4a;
}

.rv-nav-content-dark {
  background-color: var(--rv-primary) !important;
  border-radius: 0;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
}

.rv-nav-item-custom {
  color: var(--rv-accent) !important;
  padding: 15px 30px;
  text-align: center;
  transition: 0.2s;
}

.rv-nav-item-custom:hover {
  background-color: #2a3d4a !important;
  color: white !important;
}

/* Nav States & Overrides */
.menu-scrolled {
  background-color: rgba(31, 45, 55, 0.85) !important;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.2);
}


/* --- 8. FOOTER --- */
.rv-footer {
  background-color: #1f2d37 !important;
  color: white !important;
  padding: 4rem 1.5rem;
}

.rv-footer-logo {
  max-width: 180px;
  margin: 0 auto 1.5rem;
  display: block;
  cursor: pointer;
}

.rv-footer-social {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

.rv-footer-icon {
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: white !important;
  transition: 0.3s;
  text-decoration: none !important;
}

.rv-footer-icon:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.rv-footer-title {
  color: white !important;
  font-size: 1.25rem !important;
  margin-bottom: 1.5rem;
  text-align: left;
}

.rv-footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.rv-footer-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.5rem 0;
  cursor: pointer;
  font-size: 0.95rem;
  transition: transform 0.2s;
  color: white;
}

.rv-footer-item:hover {
  transform: translateX(5px);
  color: var(--rv-accent);
}

.rv-footer-divider {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin: 0.5rem 0;
}

.rv-footer-bottom {
  background-color: var(--rv-primary) !important;
  padding: 1.5rem;
  text-align: center;
  font-weight: 300;
  font-size: 0.85rem;
  color: #d0e1ff;
}

/* --- 9. COOKIE BANNER --- */
.rv-cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 9999999;
}

.rv-cookie-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(22, 38, 77, 0.7);
  z-index: -1;
}

.rv-cookie-content {
  background-color: #16264D;
  color: white;
  padding: 1rem 0;
  box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.3);
}

@media screen and (max-width: 768px) {
  .rv-footer-title {
    text-align: center;
    margin-top: 2rem;
  }

  .rv-footer-item {
    justify-content: center;
  }

  .rv-footer-divider {
    width: 80%;
    margin: 0.5rem auto;
  }
}

/* --- 10. PROPERTIES PAGE --- */
.rv-hero-properties {
  background: url('/static/images/location-appartement-liege.jpg');
  background-size: cover;
  background-position: top;
  clip-path: polygon(50% 0%, 100% 0, 100% 95%, 81% 99%, 0 95%, 0 0);
  min-height: 350px;
  position: relative;
  display: flex !important;
  align-items: center;
}

.rv-hero-title-border {
  border-left: 8px solid var(--rv-green);
  padding-left: 1.5rem;
  color: white;
}

.rv-property-fav {
  font-size: 22px;
  position: absolute !important;
  right: 15px;
  top: 15px;
  transition: transform 0.3s, color 0.3s;
  z-index: 5;
  cursor: pointer;
}

.rv-property-fav:hover {
  transform: scale(1.2);
}

@media screen and (max-width: 768px) {
  .rv-hero-properties {
    min-height: 250px;
    clip-path: none;
    background-position: center;
  }

  .rv-hero-title-border {
    border-left: 4px solid var(--rv-green);
    padding-left: 1rem;
    color: white;
  }
}

/* --- 11. SERVICES PAGE --- */
.rv-hero-services {
  background: url('https://res.cloudinary.com/dqawf7ttx/image/upload/v1730129282/2_Services-1_uabjzl.png');
  background-size: cover;
  background-position: top;
  clip-path: polygon(50% 0%, 100% 0, 100% 95%, 81% 99%, 0 95%, 0 0);
  height: 55vh;
  position: relative;
  display: flex !important;
  align-items: center;
  justify-content: center;
}

.rv-image-accent {
  max-width: 80%;
  border-radius: 15px;
  box-shadow: 20px 20px 0px var(--rv-primary);
  transition: transform 0.3s;
  display: block;
  margin: 0 auto;
}

.rv-image-accent:hover {
  transform: translate(-10px, -10px);
  box-shadow: 30px 30px 0px var(--rv-accent);
}

.rv-service-card.is-active {
  background-color: #f0f0f0 !important;
  border: 1px solid var(--rv-primary);
}

.rv-service-image {
  padding: 10px;
  width: 75%;
  display: block;
  margin: 0 auto;
  border-radius: 8px;
}

@media screen and (max-width: 768px) {
  .rv-hero-services {
    height: 40vh;
    clip-path: none;
    background-position: center;
  }

  .rv-image-accent {
    max-width: 90%;
    box-shadow: 10px 10px 0px var(--rv-primary);
  }
}

/* --- 12. CONTACT PAGE --- */
.rv-hero-contact {
  background: url('https://res.cloudinary.com/dloefxuif/image/upload/v1716005625/14789_weninn.jpg');
  background-size: cover;
  background-position: center;
  min-height: 350px;
  position: relative;
  display: flex !important;
  align-items: center;
  justify-content: center;
}

.rv-contact-section {
  background: url('https://res.cloudinary.com/dzd2e3xv0/image/upload/v1692262062/DSC_6087_zdua8g.jpg');
  background-size: cover !important;
  background-position: center;
  padding: 4rem 0;
}

.rv-contact-form-card {
  background-color: white;
  padding: 3rem;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.rv-contact-info-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex !important;
  flex-direction: column;
  gap: 2rem;
  height: 100%;
  justify-content: center;
}

.rv-contact-info-item {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  color: white;
  padding: 1rem;
  background: rgba(31, 45, 55, 0.2);
  border-radius: 8px;
  backdrop-filter: blur(5px);
  transition: background 0.3s;
  cursor: pointer;
}

.rv-contact-info-item:hover {
  background: rgba(31, 45, 55, 0.4);
}

.rv-contact-info-item .title {
  color: white !important;
  margin: 0 !important;
}

.rv-contact-icon {
  font-size: 27px;
  color: var(--rv-accent);
  width: 40px;
  text-align: center;
}

@media screen and (max-width: 768px) {
  .rv-hero-contact {
    min-height: 250px;
  }

  .rv-contact-section {
    padding: 2rem 0;
  }

  .rv-contact-form-card {
    padding: 1.5rem;
    margin: 0 1rem;
  }

  .rv-contact-info-list {
    padding: 1.5rem;
    gap: 1rem;
  }

  .rv-contact-info-item {
    gap: 1rem;
    padding: 0.75rem;
  }
}

/* --- 8. PROPERTIES & CARDS (.rv-) --- */
.rv-properties-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  margin-bottom: 3rem;
  justify-items: center;
  align-items: start;
}

.rv-property-card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
  width: 100%;
  max-width: 350px;
  height: 100%;
  display: flex;
  flex-direction: column;
  cursor: pointer;
}

.rv-property-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.rv-property-image {
  height: 200px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.rv-property-info {
  padding: 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.rv-property-title {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--rv-green);
}

.rv-property-description {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 1rem;
  line-height: 1.5;
  flex: 1;
}

/****/
.rv-property-details {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  padding-top: 1rem;
  border-top: 1px solid #eee;
}

/* Inner Card Image Carousel (Owl 1.3.3) */
.rv-card-carousel.owl-carousel {
  display: block;
  width: 100%;
  overflow: hidden;
}

.rv-card-carousel .item {
  width: 100%;
}

/* Outer Card Grid Carousel (Owl 1.3.3) */
.rv-card-grid-carousel.owl-carousel {
  display: block;
  width: 100%;
  margin-bottom: 2rem;
}

.rv-card-grid-carousel .owl-item {
  display: flex !important;
  justify-content: center;
}

.rv-card-grid-carousel .rv-property-card {
  margin: 0.5rem auto;
}

@media screen and (max-width: 768px) {
  .rv-properties-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    padding: 0 1rem;
  }

  .rv-property-card {
    max-width: 100%;
  }

  .rv-property-image {
    height: 180px;
  }
}



/* --- 9. OWL CAROUSEL CUSTOM ARROWS --- */
.owl-carousel {
  position: relative !important;
  /* Essential for absolute positioning of buttons */
}

.owl-theme .owl-controls .owl-buttons div {
  background: rgba(37, 122, 117, 0.7) !important;
  color: white !important;
  width: 40px;
  height: 40px;
  display: flex !important;
  align-items: center;
  justify-content: center;
  border-radius: 50% !important;
  cursor: pointer;
  transition: all 0.3s ease;
  position: absolute;
  top: 50%;
  margin-top: -20px;
  /* Half of height to truly center */
  z-index: 10;
  opacity: 0.9;
  border: 0;
  margin: 0;
  padding: 0;
  font-size: 18px !important;
  line-height: 1;
}

.owl-prev {
  left: 10px !important;
}

.owl-next {
  right: 10px !important;
}

.owl-prev:hover,
.owl-next:hover {
  background: #257a75 !important;
  opacity: 1 !important;
  transform: scale(1.1);
}

/* Specific fix for modal gallery to keep arrows visible on dark bg */
#popupgalimgs .owl-prev,
#popupgalimgs .owl-next {
  background: rgba(255, 255, 255, 0.2) !important;
}

#popupgalimgs .owl-prev:hover,
#popupgalimgs .owl-next:hover {
  background: rgba(255, 255, 255, 0.4) !important;
}
/* ================================================
   Dashboard Locataire — Reservation Cards (rv-*)
   ================================================ */

.rv-reservation-card {
  background: white;
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(31, 45, 55, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-top-color 0.25s ease;
  cursor: pointer;
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-top: 3px solid transparent;
}

.rv-reservation-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(31, 45, 55, 0.14);
  border-top-color: var(--rv-green);
}
