:root {
  --bleu-maritime: #202a35;
  --bleu-fleuve: #a0adbb;
  --orange-coucher-soleil: #b75945;
  --beige-sable: #eee8dd;
}

.bss-single-property h2{
    margin: 0px;
}

.bss-single-property{
    font-size: 1.5em;
}


.bss-property-container{
    padding-top: 50px;
}


.section-titre{
    max-width: 1200px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    flex-direction: row;
    align-items: center;
    margin-bottom: 15px;
}



.section-titre > *{
    
}

.property-title{
    margin-top: 0px;
    margin-bottom: 0px;
    font-size: 1.5em;
}

.adress-icon{
    color: var(--bleu-fleuve);
}

.disponibilite{
    margin-bottom: 30px;
    text-align: center;
    font-size: 1.2em;
}

.property-status{
    background-color: var(--bleu-fleuve);
    padding: 8px 12px;
    border-radius: 5px;
    display: inline-block
}

/* Galerie */
.section-gallery{
    display: grid;
    gap: 15px;
    max-width: 1200px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 50px;
}

.main-image-container{
    grid-column-start: 1;
    grid-column-end: 3;
}
.main-image{
    height: 500px;
    grid-column-start: 1;
    grid-column-end: 3;
    background-size: cover;
    background-position: center;
}

.secondary-images{
    grid-column-start: 3;
    grid-column-end: 4;
    display: grid;
    gap: 15px;
    background-size: cover;
}

.secondary-image{
    background-size: cover;
    background-position: center;
}

.secondary-image:first-child{
    grid-row-start: 1;
    grid-row-end: 2;
}
.secondary-image:last-child{
    grid-row-start: 2;
    grid-row-end: 3;
}

.gallery{
    grid-column-start: 1;
    grid-column-end: 4;
}


/* Description */
.section-fonce{
    padding: 100px 20px;
    background-color: var(--bleu-maritime);
    color: var(--beige-sable);
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}

.section-fonce > div,
.section-pale > div{
    max-width: 1200px;
    width: 100%;
}

.general-info{
    display: flex;
    flex-direction: row;
    justify-content: center;
    margin-bottom: 30px;
    border-bottom: 1px solid var(--beige-sable);
    padding-bottom: 30px;
}

.info-col{
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 200px;
}

.info-icon-wrapper{
    border: 1px solid var(--beige-sable);
    width: 70px;
    height: 70px;
    margin-bottom: 10px;
    border-radius: 100em;
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-icon-wrapper i {
    font-size: 1.4em;
}

.clickable-info{
    text-decoration: none;
}
.clickable-info .info-icon-wrapper,
.clickable-info:hover i{
    transition: background-color 0.2s, color 0.2s;
}
.clickable-info:hover .info-icon-wrapper{
    background-color: var(--beige-sable);
}
.clickable-info:hover i{
    color: var(--bleu-maritime);
}

.description{
    border-bottom: 1px solid var(--beige-sable);
    padding-bottom: 30px;
    margin-bottom: 30px;
}

.feature-list{
    margin-top: 30px;
    columns: 2;
}

.feature{
    margin-bottom: 10px;
}
.feature i{
    margin-right: 10px;
}


.section-pale{
    background-color: var(--bleu-fleuve);
    color: var(--bleu-maritime);
    padding: 130px 20px;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.section-wrapper{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}


.section-beige{
    background-color: var(--beige-sable);
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.map{
    grid-column-start: 1;
    grid-column-end: 2;
}

.map iframe{
    min-height: 600px;
    width: 100%;
    margin-bottom: -8px;
}

.under-map-button{
    background-color: var(--bleu-maritime);
    color: var(--beige-sable);
    text-decoration: none;
    display: block;
    width: 100%;
    padding: 20px;
    text-align: center;
}

.candidature{
    padding: 40px 20px;
    grid-column-start: 2;
    grid-column-end: 3;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.candidature > * {
    max-width: 500px;
    width: 100%;
}

.orange-link{
    color: var(--orange-coucher-soleil);
    font-weight: normal;
    text-decoration: underline;
}

.btn-candidature{
    background-color: var(--orange-coucher-soleil);
    color: var(--beige-sable);
    padding: 10px 20px;
    text-decoration: none;
    margin-top: 10px;
    display: inline-block;
    width: auto;
}


/* Lightbox stuff */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.su-image-carousel{
    height: 600px !important;
}

.lightbox.active {
  display: flex;
}

.gallery-container{
    width: 100%;
    max-width: 1200px;
    height: 50vh;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 40px;
  color: #fff;
  cursor: pointer;
  line-height: 1;
  z-index: 999
}

.lightbox-trigger{
    cursor: pointer;
}


/* Lightbox*/
.simple-carousel {
  position: relative;
  overflow: hidden;
  width: 100%;
}

.simple-carousel-track {
  display: flex;
  transition: transform 0.3s ease;
}

.simple-carousel-slide {
  min-width: 100%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.simple-carousel img {
  max-width: 100vw;
  max-height: 100vh;
  width: auto;
  height: auto;
  object-fit: contain;
}

.simple-carousel button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.6);
  color: #fff;
  border: none;
  font-size: 30px;
  cursor: pointer;
  padding: 5px 10px;
}

.carousel-prev { left: 10px; }
.carousel-next { right: 10px; }

@media( max-width: 900px ) {
    .section-beige{
        display: flex;
        flex-direction: column;
    }
}

@media( max-width: 900px ) {
    .section-titre{
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .property-address{
        text-align: center;
    }

    .secondary-images{
        display: none;
    }
}

@media( max-width: 700px ) {
    .general-info{
        align-items: center;
        gap: 20px;
        flex-wrap: wrap;
    }
}