html{
    font-size: 1.3rem;
    font-family: 'Merriweather', serif;
    scroll-behavior: smooth;
    box-sizing: border-box;
    max-height: 100%!important;
    width:100%;
    height:100%;
    max-width:100%;
    max-height:100%;

} 

.navbar, .nav-link, .navbar-brand {
  font-family: 'Playfair Display', serif;
  letter-spacing: 1px; 
  font-weight: 700; 
}

a{
    color: inherit;
    text-decoration: none;
}

a:hover {  
    color: inherit;
}

p, 
li,
span {
    margin:0;
    color: #000;
    font-weight: 500;
}

body {
    width: 100%;
    margin: 0;
    padding: 0; 
    background-color: #faddd2;
    /* background-color: rgba(199, 236, 248, 0.7); */
    --second--color: #753a02;
    /* background-image: url(images/background-sand.png); */
}

.color{
    color:var(--second--color)!important;
}
.color--text{
    color: #fff!important;
    text-shadow: 2px 2px 2px #000;
    font-size: 2rem;
    padding-top:4rem!important;
}

.color--text-small{
    color: #fff;
    text-shadow: 2px 2px 2px #000;
}

/* NAVBAR - menu de navigation*/

.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: rgba(109, 84, 63, 0.85); 
  z-index: 1000;
}

.navbar .nav-link {
  position: relative;
  transition: all 0.3s ease;
}
 
.navbar .nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px; 
  left: 0;
  bottom: 0;
  background-color: #dd987f; 
  transition: width 0.3s ease;
}

.navbar .nav-link:hover::after {
  width: 100%; 
}

.navbar-toggler:focus, .navbar-toggler:hover{
    outline: 0!important;
    box-shadow: 0 0 0;
}

.navbar-toggler {
    background-color: #dd987f;
}

.navbar-toggler span{
    color: #331e0c; 
}

/* CTA RESERVER EN FIXED */

.floating-reserver {
  position: fixed;
  bottom: 0;
  right: 0;
  padding: 30px 35px;
  text-decoration: none;
  font-weight: 800;
  color: #442003; 
  text-transform: uppercase;
  background-image: url("images/background-sand.png");
  background-size: cover;
  background-position: center;
  z-index: 999;
  border-top-left-radius: 80px;
  box-shadow: -8px -8px 20px rgba(0,0,0,0.15);
  transition: all 0.3s ease;
}

.floating-reserver:hover {
  box-shadow: -14px -14px 30px rgba(116, 57, 2, 0.300);
  filter: brightness(1.08);
  color: #fff; 
}

/* TITRE SUR IMG HEADER */
@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  letter-spacing: 1px;
  line-height: 70px;
  opacity: 0;
  transform: translateY(100px);
  animation: fadeUp 2s ease-out forwards;

}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    text-align: center;
    color: #5a372b;
    margin: 60px 0 30px 0;
    font-weight: 600;
    line-height: 40px;
    transform: translateY(30px);
    animation: fadeUp 1s ease-out forwards;
}

/* FIRST TEXT AVEC FLAMANTS ROSES SOUS HEADER*/
.description-wrapper {
    position: relative;
    width: 100%;
    margin: 0 auto 2rem auto;
    padding: 0 1rem;
}

.text-brown{
    font-size:30px;
    color: #502603;
    text-align:center;
    padding: 30px 0;
    max-width:75%;
    margin:auto;
    line-height: 38px;
}
.text-gray{
    color: #493528;
    padding-top: 20px!important;
}

@media (max-width:600px){
    .ms-5{
        margin-left: 0!important;
    } 
    .text-brown {
        font-size: 25px;
        max-width:90%;
    }}

.flamant {
    position: absolute;
    top: 20%;            
    left: 0;           
    opacity: 0.6;      
    z-index: 0;        
}

.description {
   position: relative;
   z-index: 1;    
   padding: 70px 0; 
   text-align: center;
   color: #0e0c0c;   
   line-height: 1.6;
}

.description p{
    margin: auto;
    max-width: 950px;
    font-family: 'merriweather';
    font-size: 22px;
    font-weight: 400;
    line-height: 50px;
}

/* Carrousel d images bas de la page accueil */
.slick-prev,
.slick-next {
    display: none !important;
}
/* Images principales */
.carousel-container{
    width: 80%;         
    margin: 2rem auto;  
    max-width: 1000px; 
}
.carousel-main {
  position: relative;
  margin:auto;
  overflow: hidden;
  padding: 10px;
}

.carousel-main img {
      border-radius: 15px;
      box-shadow: 1px 1px 10px #000;
     
}
.carousel-slide {
  display: none;
  height: 700px;
  object-fit: cover;
  transition: opacity 1s ease-in-out;
}

.carousel-slide.active {
  display: block;
  opacity: 1;
}

/* Miniatures */
.carousel-thumbs {
  display: flex;
  flex-wrap: wrap;
  gap:20px;
  justify-content: center;
  margin-top: 1rem;
}

.carousel-thumbs .thumb {
  width: 150px;
  height: 100px;
  object-fit: cover;
  margin: 0 0.5rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border 0.3s ease;
  border-radius: 15px;;
}

.carousel-thumbs .thumb.active {
  border: 2px solid #6d4435;

}


/* CTA qui va sur la deuxieme page  */
.detail-button-container {
  background-image: url('images/background-sand.png');
  background-repeat: repeat;
  background-size: auto;
  padding: 2rem 0;
  border-radius: 0.5rem;
}

.detail-button {
  display: inline-block;
  background-color: #6d493c;
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  padding: 0.75rem 2rem;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
  font-family: 'Playfair Display', serif;
}

.detail-button:hover {
  background-color: #ffe2cb;
  transform: translateY(-2px);
}

/* SOUS TITRE H3 SITUE SOUS CAROUSEL AVEC IMG CHEVAUX*/
.section-subtitle{
    text-align: center;
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    color: #5a372b;
    padding-top:50px;
    transform: translateY(100px);
    opacity: 0;
    font-size: 28px;
    line-height: 40px;
}

/* animation au scoll (viewport) */
.section-subtitle.animate {
  animation: fadeUp 2s ease-out forwards;
}

.chevaux {
    position: absolute;
    top: 0%;            
    right: 0;           
    opacity: 0.3;      
    z-index: -1;        
}

/* CTA FIN DE LA PAGE D ACCUEIL */
@keyframes subtlePulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.04);
  }
} 
.cta-container {
    text-align: center;
    margin: 100px auto 100px;
    padding: 1.5rem;
    max-width: 800px;
     background-image: url('images/background-sand.png');
    border-radius: 12px;
    box-shadow: 1px 4px 10px rgba(0,0,0,0.6);
    z-index:10;
    transition: all 0.3s ease;
}

.cta-container.animate {
  animation: subtlePulse 0.5s ease-in-out 3;
}

.cta-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #4b2618;
}

.cta-button {
    display: inline-block;
    padding: 0.75rem 2rem;
    font-size: 1.1rem;
    color: #fff;
    background-color: #6d493c;
    border-radius: 8px;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(39, 39, 39, 0.8);
    background-color: #ffe2cb;
}

/* PAGE APPARTEMENT */

/* CAROUSSEL */
.carousel-section {
  position: relative;
}

.carousel-slick {
  min-height: 680px; 
}

.carousel-slick img {
  width: 100%;
  height: 680px;
  object-fit: cover; /
}

.carousel-title {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
}

.carousel-title h1 {
  font-size: 3rem;
  font-weight: 700;
  text-shadow: 2px 2px 10px rgba(0,0,0,0.6);
  z-index: 10;
  pointer-events: none; 
  line-height: 80px;
} 

/* TEXTE HAUT DE PAGE APPARTEMENT*/
.apartment-description {
  font-size: 1rem;
  line-height: 1.8;
}

.apartment-description h2 {
  font-weight: 700;
  color: #5a372b;
  padding-bottom: 50px;
    font-family: 'Playfair Display', serif;
}

.apartment-description p {
  padding: 20px 30px; 
  text-align:center;
  font-size: 22px;
  margin:auto;
}

/* CARDS SERVICES DE PAGE APPARTEMENT*/
.card-info {
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(48, 29, 11, 0.7);
}

.card-info h5 {
  font-weight: 600;
  margin-bottom: 0.5rem;
  color :#c59167; 
  font-family: 'Playfair Display', serif;
}

.card-info p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.4;
  text-align: left;
}

.card-info .fas {
  font-size: 1.2rem;
  color: #5e301f; 
  padding-right: 10px;
}

/* TEXT BAS DE PAGE APPARTEMENT */
.apartment-location p {
  font-size: 26px;
  line-height: 1.5;
  color: #333;
  margin-bottom: 0;
  text-align: center;
}


.viewAppart,
.nextTown,
.access{
    max-width: 90%;
    margin:auto;
    font-size:1rem;
    line-height: 1.3rem;   
}

.viewAppart h3{
    font-size: 1rem!important;
}

.elevator{
   margin-left: -7px;
   margin-top: -15px;
}

 /* page aroundTown.html */
.tourCarbonniere{
    float: left;
    width:6rem;
    padding-right: 1rem;;
}

/* PAGE TARIFS */
.hero-section {
  max-height: 600px; 
  overflow: hidden;
  position: relative;
}

.hero-section .hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.6); 
}

.hero-title {
  font-size: 3rem;
  text-shadow: 2px 2px 10px rgba(0,0,0,0.6);
  pointer-events: none; 
  z-index: 10;
  transition: all 1s ease;  
}

/* tableau des tarifs */

.fee-container {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap; 
  gap: 1rem; 
  margin-bottom: 2rem;
}

.fee-img {
  width: 45%!important;      
  height: 700px;       
  object-fit: contain;   
  cursor: pointer;
  transition: all 0.3s ease;
  align-self: flex-start;
}

.fee-img.zoomed {
  width: 90%!important;
  height: 600px!important;       
  z-index: 10;
}

@media (max-width: 768px) {
  .fee-img {
    width: 90%;    
    height: auto;      
  }

  .fee-img.zoomed {
    height: 450px;     
  }
}

.textFee{
    width: 80%;
    margin: auto;
}

.color{
    font-size: 28px;
    color :#c59167; 
    font-family: 'Playfair Display', serif;
    padding-top: 15px;
}

.color i {
    font-size: 20px;
}

.textFee p, .textFee ul li {
    font-size: 20px; 
    list-style: none;
}

/* page access */
.access{
    line-height: 1.5rem;
}

.mail{
    color: #0e0c0c;
}

.mail:hover{
    color:var(--second--color);
}

/* logo et lien aurorewebcreation.fr */
.footer {
  display: flex;
  justify-content: space-around; 
  align-items: center;
  flex-wrap: wrap; 
  background-image: url('images/background-sand.png');
  background-size: contain; 
  background-position: center; 
  background-repeat: repeat; 
  color: #ffffff; 
  padding: 2rem 0;
}

.footer{
    font-size: 0.8rem;
    line-height: 1.15;
}

.footer-item a.mermaid{
    color: #c736b4!important;
}

.footer-item a.mermaid:hover {
    color: #740a6e!important; 
}

.footer a:hover{
        color: #61350c!important;
        font-weight: 700;
}

/* page de law.html  */
.law{
    padding-left: 50px;
}
.law p{
font-size: 0.9rem;
}

/* RESPONSIVE */
@media all and (max-width:450px) {
    .access ul{
        margin-left: 0rem!important;
    }
    .access ul p {
        margin-left: 1rem!important;
    }
 
}

@media all and (max-width: 550px) {
    .footer{
        flex-direction: column;
    }
}

@media (max-width: 630px) {
    .cta-title{
        font-size: 25px;
        font-weight: 600;
    }
    .carousel-container{
       width: 93%; 
    } 
    .description{
        padding: 40px 0!important;
    }
    .apartment-description p{ 
        font-size: 20px!important;
    }
    .apartment-location p{
        font-size: 22px!important;
    }
    .position-relative img {
        height: 430px!important;
    }
}


@media all and (min-width: 650px) {
  
    .formality{
        padding-top:1rem;
    }
}

@media all and (min-width: 850px) {
  
    .carousel-index,
    .description{   
       width:100%;
    }
    .carousel-index{
        border-radius: 15px;
        margin-top:0;
        min-width:18rem;
    }
 
    /* page galleryPhotos */
    .viewAppart{
        max-width: 80%;
        text-align:justify;
    }
    .text{
        font-size: 20px;
    }
    .nextTown{
        max-width:80%;
    }
    /* page access */
    .access{
        margin:auto;
    }
}

@media all and (max-width: 950px){
    .nav-link{
        padding-left: 1rem!important;
    }
        .hero-title{
        font-size: 33px;
        line-height: 40px;
        max-width: 80%;       
        width: 100%; 
    }
     .section-title{
        font-size: 28px!important;
        max-width: 75%;
        margin: auto;
        padding-top: 28px;
    }
    .description p {
        font-size: 18px;
        padding: 0 15px;
    }
    .cta-container{
        margin-left: 15px;
    }
    .carousel-title h1{
        font-size: 35px!important;
    }
    .carousel-slick {
        min-height: 400px; 
    }

    .carousel-slick img {
        height: 400px;
    }
    .apartment-description {
        margin-top:1rem!important;
        margin-bottom: 0!important;;
    }
    .apartment-description h2{
        padding-bottom: 10px;
    }

    .apartment-description p{ 
        padding: 0!important;
    }
    .card-info h5 {
        font-size: 23px;
    }
}

@media all and (min-width: 1000px) {
   
    .tourCarbonniere{
        width:10rem;
    }
    .imgTourist img{
        height: 200px!important;
        object-fit: cover;
    }
    
    .navigation__diapo li{
        padding: .33rem;
    }
    
}

@media all and (max-width: 1200px) {
    .carousel-container img{
        width: 100%;
        height: 500px;;
        margin: auto;
        object-fit: cover;
    }
    .carousel-container{
        margin: auto;
    }
    .carousel-thumbs {
        gap:5px
    }
    .carousel-thumbs .thumb {
        width: 90px;
        height: 70px;
        margin:0;
    }

}

@media all and (min-width: 1300px) {
    .viewAppart,
    .nextTown{
        max-width: 60%;
    }
    .access{
        padding-left:6rem!important;
    }
}