/* Global Styles */
html,
body {
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
}

h1 {
  font-size: 26px;
  font-weight: 600;
}

h2 {
  font-size: 18px;
  font-weight: 400;
  text-transform: uppercase;
  margin-top: 30px;
  margin-bottom: 20px;
  text-decoration: underline;
}

h3 {
  font-size: 18px;
}

h4 {
  font-size: 16px;
  margin-bottom: 10px;
}

p {
  text-align: justify;
}

::selection {
  background: #ab7ecaba;
}

::-moz-selection {
  background: #ab7ecaba;
}

.section {
  margin-top: 120px;
}

.section-heading {
  margin-bottom: 70px;
  position: relative;
  display: inline-block;
}

.section-heading h6 {
  font-family: 'Balsamiq Sans', sans-serif;
  font-size: 20px;
  font-weight: 500;
  text-transform: uppercase;
}

.section-heading::before {
  content: "";
  position: absolute;
  top: 35px;
  width: 400px;
  height: 2.5px;
  background-size: cover;
  transform: translateY(-50%);
  z-index: -1;
}

.section-heading::before {
  background: #B3BAA8;
}

/* Styled btn 1 */
.styled-btn a {
  background-color: #1e1e1e;
  border: solid 2px #1e1e1e;
  padding: 8px;
  color: #fff;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  border-radius: 20px;
  padding-right: 14px;
  padding-left: 0px;
}

.styled-btn a i {
  display: inline-block;
  width: 50px;
  height: 50px;
  text-align: center;
  line-height: 50px;
  margin-right: 10px;
  border-radius: 50%;
  margin-left: -6px;
  background-color: #B3BAA8;
}

.styled-btn a:hover {
  background-color: #FEFEFE;
  color: #1e1e1e;
}

.styled-btn:hover a i {
  color: #fff;
}

/* Styled btn 2 */
.styled-btn-2 {
  appearance: none;
  background-color: transparent;
  border: 2px solid #1A1A1A;
  border-radius: 15px;
  box-sizing: border-box;
  color: #1A1A1A;
  cursor: pointer;
  display: inline-block;
  font-size: 15px;
  font-weight: 600;
  line-height: normal;
  margin: 0;
  min-height: 40px;
  min-width: 0;
  outline: none;
  padding: 10px;
  text-align: center;
  text-decoration: none;
  transition: all 300ms cubic-bezier(.23, 1, 0.32, 1);
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  width: 100%;
  will-change: transform;
}

.styled-btn-2:disabled {
  pointer-events: none;
}

.styled-btn-2:hover {
  color: #fff;
  background-color: #1A1A1A;
  box-shadow: rgba(0, 0, 0, 0.25) 0 8px 15px;
  transform: translateY(-2px);
}

.styled-btn-2:active {
  box-shadow: none;
  transform: translateY(0);
}

/* ***************************************************************** */

/* --- Navbar section style --- */
.header-area {
  position: sticky;
  top: 0;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.4s ease;
  padding: 10px 0;
  z-index: 998;
}

.header-area {
  display: flex;
  background-color: #B3BAA8;
}

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

.navbar-brand {
  margin-left: 10px;
  font-size: 25px;
  color: #FEFEFE;
  text-transform: uppercase;
  font-weight: bold;
  transition: all 0.4s ease;
}

.navbar-brand i {
  margin-right: 5px;
}

.navbar-brand img {
  height: 50px;
  transition: all 0.4s ease;
}

.navbar-collapse {
  display: flex;
  justify-content: center;
  width: 100%;
}

.navbar-nav {
  display: flex;
  gap: 20px;
}

.nav-link {
  font-size: 20px;
  font-weight: 500;
  position: relative;
  padding-bottom: 5px;
  text-transform: uppercase;
  color: #FEFEFE;
  font-family: 'Balsamiq Sans', sans-serif;
  transition: all 0.4s ease;
}

.navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 0;
  height: 2px;
  background-color: #1e1e1e;
  transition: width 0.3s ease-in-out, left 0.3s ease-in-out;
}

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

/* Style réduit au scroll */
.header-area.scrolled {
  padding: 0px 0;
  background-color: rgba(179, 186, 168, 0.9);
}

.header-area.scrolled .navbar-brand img {
  width: 25px;
  height: 25px;
}

.header-area.scrolled .nav-link {
  font-size: 16px;
}

.header-area.scrolled .navbar-brand {
  font-size: 20px;
}

.header-area.scrolled .navbar-stay h3 {
  font-size: 20px;
}

/* ***************************************************************** */

/* --- Stay area style --- */


/* ***************************************************************** */

/* --- Stay description area style --- */
/* Stay styling */
.stay-description {
  padding-right: 25px;
}

.stay-description h2 {
  margin-bottom: 25px;
}

/* Carousel styling */
.carousel {
  display: flex;
  justify-content: center;
}

.carousel-inner {
  height: 750px;
  margin: 10px;
  border-radius: 10px;
}

.carousel-item {
  height: 100%;
}

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

/* --- Pilate description styling --- */
.pilates-reformer-description {
  margin-bottom: 20px;
}

.hovereffect {
  width: 100%;
  height: 350px;
  float: left;
  overflow: hidden;
  position: relative;
  text-align: center;
  cursor: default;
  border-radius: 10px;
}

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

.hovereffect .overlay {
  width: 100%;
  height: 100%;
  position: absolute;
  overflow: hidden;
  top: 0;
  left: 0;
  -webkit-transition: all 0.4s ease-in-out;
  transition: all 0.4s ease-in-out;
}

.hovereffect:hover .overlay {
  background-color: rgba(170, 170, 170, 0.4);
}

.hovereffect h3,
.hovereffect img {
  -webkit-transition: all 0.4s ease-in-out;
  transition: all 0.4s ease-in-out;
}

.hovereffect img {
  display: block;
  position: relative;
  -webkit-transform: scale(1.1);
  -ms-transform: scale(1.1);
  transform: scale(1.1);
}

.hovereffect h3 {
  text-transform: uppercase;
  color: #fff;
  text-align: center;
  position: relative;
  font-size: 15px;
  padding: 10px;
  background: rgba(0, 0, 0, 0.6);
  -webkit-transform: translateY(60px);
  -ms-transform: translateY(60px);
  transform: translateY(60px);
}

.hovereffect:hover img {
  -webkit-transform: scale(1);
  -ms-transform: scale(1);
  transform: scale(1);
}

.hovereffect:hover h3 {
  -webkit-transform: translateY(20px);
  -ms-transform: translateY(20px);
  transform: translateY(20px);
}

.hovereffect p.info {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 7px 10px;
  color: #fff;
  border: 1px solid #fff;
  margin: 35px 15px 15px;
  background-color: transparent;
  opacity: 0;
  filter: alpha(opacity=0);
  -webkit-transform: scale(1.5);
  -ms-transform: scale(1.5);
  transform: scale(1.5);
  -webkit-transition: all 0.4s ease-in-out;
  transition: all 0.4s ease-in-out;
  font-weight: normal;
  height: 75%;
}

.hovereffect:hover p.info {
  opacity: 1;
  filter: alpha(opacity=100);
  -webkit-transform: scale(1);
  -ms-transform: scale(1);
  transform: scale(1);
  background-color: rgba(0, 0, 0, 0.4);
}

/* ***************************************************************** */
/* --- Property section style */
/* Gallery styling */
.gallery {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: auto auto;
  gap: 8px;
  max-width: 100%;
  margin: 10px;
}

.main-photo {
  grid-column: 1 / 2;
  grid-row: 1 / 2;
}

.side-photos {
  grid-column: 2 / 3;
  grid-row: 1 / 2;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.thumbnails-photos {
  grid-column: 1 / 3;
  grid-row: 2 / 3;
  display: flex;
  justify-content: space-between;
  gap: 8px;
  position: relative;
}

.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 5px;
  cursor: pointer;
}

.thumbnails-photos img {
  flex: 1;
  max-width: calc(100% / 5 - 8px);
  height: auto;
  object-fit: cover;
}

.gallery button {
  position: absolute;
  top: 68%;
  left: 87%;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 5px 10px;
  border-radius: 5px;
  font-size: 12px;
  text-decoration: underline;
  font-weight: bold;
}

.gallery button .icon-camera {
  margin-right: 5px;
}

#galleryModal {
  background-color: rgba(0, 0, 0, 0.6);
}

#galleryModal img {
  padding: 10px 0px;
  width: 100%;
  height: auto;
  cursor: pointer;
}

/* Info table styling */
.property-section .info-table {
  border-radius: 15px;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.15);
  padding: 35px 30px;
  margin: 10px;
}

.property-section .info-table ul li {
  display: block;
  margin-bottom: 35px;
  padding-bottom: 35px;
  border-bottom: 1px solid #eee;
}

.property-section .info-table ul li:last-child {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
}

.property-section .info-table ul li h4 {
  font-size: 18px;
  font-weight: 600;
}

.property-section .info-table ul li span {
  font-size: 16px;
  color: #aaa;
  font-weight: 400;
}

.property-section .info-table ul li i {
  width: 50px;
  height: 50px;
  font-size: 40px;
  float: left;
  margin-right: 20px;
}

/* Geography section styling */
.geography-section {
  margin-top: 100px;
}

.geography-container {
  position: relative;
  height: 300px;
  border-radius: 15px;
  overflow: hidden;
}

.geography-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  z-index: 1;
}

.geography-container h3 {
  position: absolute;
  top: 20px;
  left: 0px;
  margin-top: 50px;
  margin-left: 50px;
  color: #fff;
  font-size: 30px;
  font-weight: 600;
  text-transform: uppercase;
}

.geography-container .map {
  position: absolute;
  width: 40%;
  height: 100%;
  top: 0;
  right: 0;
  display: flex;
  justify-content: center;
  align-items: center;;
  z-index: 2;
}

.geography-section p {
  margin-top: 15px;
}

/* ***************************************************************** */

/* --- Reservation Section Style --- */
.reservation-cards-container {
  display: flex;
  padding: 10px;
}

.reservation-card {
  border-radius: 15px;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.15);
  margin: 10px;
  height:530px;
  overflow: hidden;
}

.reservation-card .card-body {
  margin-bottom: 10px;
}

.reservation-card .card-body h3 {
  padding: 0 10px;
  text-align: center;
  font-size: 24px;
  font-weight: 600;
  text-transform: uppercase;
}

.reservation-card .card-body p {
  padding: 10px;
}

.reservation-card .styled-btn-container {
  margin-top: 10px;
}


/* ***************************************************************** */

/* --- Footer Style --- */
footer {
  background-color: #B3BAA8;
  margin-top: 40px;
  padding: 10px;
  box-shadow: 0 -4px 6px rgba(0, 0, 0, 0.1);
}

.footer-end {
  display: flex;
  justify-content: center;
  align-items: center;
}


/* ***************************************************************** */
/* ***************************************************************** */

/* --- Responsive style --- */
@media (min-width: 1400px) {
  .hovereffect {
    height: 450px;
  }

  .property-section .info-table ul li {
    margin-bottom: 36px;
    padding-bottom: 40px;
  }
}

@media (max-width: 1400px) {
  .property-section .info-table ul li h4 {
    font-size: 16px;
  }

  .property-section .info-table ul li span {
    font-size: 14px;
  }

  .property-section .info-table ul li {
    margin-bottom: 25px;
    padding-bottom: 30px;
  }

  .contact-item i {
    font-size: 35px;
  }

  .contact-item h4 {
    font-size: 18px;
  }

  .contact-item p {
    font-size: 14px;
  }

  .calendar-section {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .reservation-cards-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
  }

  .reservation-card {
    height:550px;
    width: 400px;
  }
}
 
@media (max-width: 1200px) {
  .property-section .info-table ul li {
    margin-bottom: 15px;
    padding-bottom: 15px;
  }

  .geography-container h3 {
    font-size: 25px;
  }
}

@media (max-width: 992px) {
  .section {
    margin-top: 100px;
  }

  .section-heading {
    margin-bottom: 40px;
    ;
  }

  .reservation-btn-container {
    display: flex;
    justify-content: center;
    margin-top: 30px;
  }

  .carousel {
    display: flex;
    justify-content: center;
  }

  .carousel-inner {
    height: 650px;
    width: 80%;
    margin-top: 40px;
  }

  .hovereffect {
    margin-top: 20px;
  }

  .w-lg-80 {
    width: 80% !important;
  }

  .gallery button {
    font-size: 10px;
  }

  .geography-container h3 {
    font-size: 20px;
    margin-left: 25px;
  }
}

@media (max-width: 768px) {
  .carousel {
    display: flex;
    justify-content: center;
  }

  .carousel-inner {
    width: 100%;
  }

  .hovereffect {
    height: 350px;
  }

  .w-lg-80 {
    width: 100% !important;
  }

  .gallery button {
    font-size: 6px;
  }

  .reservation-cards-container {
    display: block;
  }

  .reservation-card {
    margin-top: 20px;
  }

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

  .geography-container img {
    height: 50%;
    width: 100%;
  }

  .geography-container .map {
    position: static;
    width: 100%;
    height: 50%;
    z-index: 2;
  }
}
