.herobanner{
    background-color: var(--green);
    padding-top: 0;
    padding-bottom: 0;
    min-height: 100vh;
}

.herobanner h1{
    text-transform: uppercase;
    margin-top: 2rem;
    margin-bottom: 0.5rem;
}

.herobanner h2{
    font-size: 1.5rem;
    font-family: var(--primary-font);
    font-weight: 400;
    color: var(--white);
    margin: 0;
}


@media screen and (max-width:960px) {
    .herobanner h1{
        margin-top: 1rem;
        margin-bottom: 0;
    }
    
    .herobanner h2{
        margin-bottom: 1rem;
        font-size: 1.25rem;
    }
    
}

.herobanner ul li{
    color: var(--white);
    font-family: var(--font-primary);
}

.herobanner .uk-list>*>ul,.herobanner  .uk-list>:nth-child(n+2){
    margin-top: 0.25rem;
}

.margin-right-img{
	margin-right:-40px;
}

@media screen and (max-width:960px) {
    .margin-right-img{
        margin-right:initial;
    }
}

.herobanner-logo{margin-top: 20px;
height: 7rem;
width: auto;}


.herobanner .svg-illu{
    bottom: 2rem;
    left: -2rem;
    z-index: 12;
}
.herobanner .margin-right-img img {
    max-height: calc(100vh - 156px);
    height: 100vh;
    width: 100%;
    object-fit: cover;
    object-position: right;
    margin-top: 1.5rem;
    transform: scale(1.05);
    opacity: 0;
    transition: transform 1.5s ease-out, opacity 1.5s ease-out;
  }

  @media screen and (max-width:960px) {
    .herobanner {
        min-height: initial;
        padding-bottom: 2rem;
    }

    .herobanner .svg-illu{
        bottom: 0;
        left: 2rem;
        z-index: 12;
    }

    .herobanner .svg-illu svg{
        width: 12rem;
    }

    .herobanner .margin-right-img img {
        max-height: initial;
        height: initial;
        margin-top: 0;
  }
    .herobanner-logo{
        height: 4rem;
        margin-top: 1rem;
    }
}
  


.bar {
    opacity: 0;
    transform: translateY(20px);
    animation: riseUp 1s ease-in-out forwards;
}



/* Staggered delay for each bar */
.bar:nth-child(1)  { animation-delay: 0.1s; }
.bar:nth-child(2)  { animation-delay: 0.2s; }
.bar:nth-child(3)  { animation-delay: 0.3s; }
.bar:nth-child(4)  { animation-delay: 0.4s; }
.bar:nth-child(5)  { animation-delay: 0.5s; }
.bar:nth-child(6)  { animation-delay: 0.6s; }
.bar:nth-child(7)  { animation-delay: 0.7s; }
.bar:nth-child(8)  { animation-delay: 0.8s; }
.bar:nth-child(9)  { animation-delay: 0.9s; }
.bar:nth-child(10) { animation-delay: 1.0s; }
.bar:nth-child(11) { animation-delay: 1.1s; }
.bar:nth-child(12) { animation-delay: 1.2s; }
.bar:nth-child(13) { animation-delay: 1.3s; }
.bar:nth-child(14) { animation-delay: 1.4s; }


@keyframes riseUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}



/*----presentation----*/

.presentation {
    padding-top: 0;
    padding-bottom: 0;
}

@media screen and (max-width:960px) {
    .presentation{
        background-color: var(--yellow);
    }
}

.presentation .uk-container-expand-right .background{
    background-color: var(--yellow);
    margin-right:-40px ;
    margin-bottom: 3rem;
    margin-top: 3rem;
    min-height: calc(100vh- 6rem);
    padding: 5rem;
}

@media screen and (max-width:960px) {
    .presentation .uk-container-expand-right .background{
        margin-right:initial ;
        padding: 1.5rem;
    }
    
}

.presentation .citation h2{
    font-size: 2rem;
    line-height: 1.5;
    font-weight: 500;
    font-family: var(--font-primary);
    margin-bottom: 2rem;
    position: relative;
}

@media screen and (max-width:960px) {
    .presentation .citation h2{
        font-size: 1.5rem;
        line-height: 1.5;
    }
    
}

.presentation .citation h2::before{
    content:'';
    background-image:url('https://ghtsante41.fr/wp-content/uploads/2025/04/quote.svg');
    width: 49px;
    height: 35px;
    display: block;
    position: absolute;
    top: -2rem;
    left: -3rem;
}


.presentation .illu-presentation{
    top: 3rem;
    right: 0;
}

.presentation .illu-presentation svg{
    overflow: visible;
}

@media screen and (max-width:960px) {
    .presentation .illu-presentation{
        top: 16rem;
        right: 0;
    }

    .presentation .illu-presentation svg{
        width: 12rem;
    }
    
}

/*carte*/

.carte{
    padding-top: 0;
    padding-bottom: 0;
}

.carte .svg-carte{
    top: -2rem;
    left: -2rem;
}

.carte .svg-carte svg{
    overflow: visible;
}


.carte .uk-container-expand-left .background{
    background-color: var(--background);
    margin-left:-40px ;
    margin-bottom: 3rem;
    margin-top: 0;
   
    padding: 5rem;
}

@media screen and (max-width:960px){
    .carte .uk-container-expand-left .background{
        padding: 1rem 1rem 1rem 40px;
    }
}

.carte h2{
    font-family: var(--font-primary);
    font-weight: 500;
    color: var(--green);
}

  /*carte*/

  .carte-structure .marker{
    width: 3rem;
}


.carte-structure img{
    z-index: 12;
    max-height: 100%;
    width: 100%;
    height: auto; /* Maintient le ratio */
}

.carte-structure .markers{
    z-index: 13;
}

.carte-structure .item-carte{
    transition: all .3s;
}

.carte-structure .item-carte:hover{
    text-decoration: none;
    background-color: var(--pink-600);
    transform: rotate(-1deg) scale(1.1);
}

.carte .pastille{
 width: 2rem;
 height: 1.5rem;
 border-radius: 30rem;
 background: var(--green);   
 display: block;
 margin: auto;
}

.carte a{
    color: var(--white);
    font-family: var(--primary-font);
    font-weight: 500;
    font-size: 0.875rem;
}

.carte .pastille.blois{
    background: var(--dark-green);
}


.carte .pastille.right{
    margin-right: 0.25rem;
}

.carte .white-space {
    white-space: nowrap;
}

@media screen and (max-width:960px) {
    .carte a{
        color: var(--white);
        font-size: 0.675rem;
    }

    #romorantin-point{
        left: 85%!important;
    }

    #vendome-point{
        left: 30%!important;
        top: 26%!important;
    }

    #romorantin-point, #selles-point{
        flex-direction: column;
    }


    #romorantin-point .right, #selles-point .right{
        margin-right: auto;
    }
}

.carte .markers .uk-card-media-left img{
    object-fit: cover;
    height: 100%;
}

.carte .markers .uk-card-body{
    padding: 1rem;
}

.carte .markers .uk-card h3{
    font-size: 1.125rem;
    color: var(--dark-green);
    font-family: var(--font-primary);
    margin-bottom: 0.5rem;
    font-weight: 500;
    line-height:1.2 ;
}

.carte .markers .uk-card p{
    margin-bottom: 0.5rem;
    margin-top: 0;
    font-size: 0.875rem;
    color: var(--green);
    line-height: 1.2;
}

.carte .markers .uk-card a{
    font-size: 0.875rem;
    text-transform: initial;
    color: var(--green);
    line-height: 1;
    text-align: left;
}
.carte .markers .uk-card p img, .carte .markers .uk-card a img{
    width: 1rem;
    height: 1rem;
    
    margin-right: 0.25rem;
}




/*Liens*/

.liens img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: right;
    transform: scale(1.05);
    opacity: 0;
    transition: transform 1.5s ease-out, opacity 1.5s ease-out;
    position: relative;
  }

.liens .degrade:after{
    z-index: 1;
    content:'';
    width: 100%;
    height: 100%;
    top: 0;
    position: absolute;
    display: block;
    background: #00303C;
    background: -webkit-linear-gradient(180deg, rgba(0, 48, 60, 0) 50%, rgba(0, 48, 60, 1) 100%);
    background: -moz-linear-gradient(180deg, rgba(0, 48, 60, 0) 50%, rgba(0, 48, 60, 1) 100%);
    background: linear-gradient(180deg, rgba(0, 48, 60, 0) 50%, rgba(0, 48, 60, 1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#00303C", endColorstr="#00303C", GradientType=0);
}

