/*
Theme Name: Phima_Voyages
Version: 1.0
Description: A child theme of BlankSlate
Author: _cool_admin_
Template: blankslate
*/

@import url("../blankslate/style.css");

.menu-horizontal li:not(:last-child) {
    margin-right: 6px !important;
}

.wpcf7 p{
	margin:auto;
}

.ffs_default_wrap{
	margin-top:50px!important;
	margin-bottom: 50px!important;
}

.border-menu-guide:hover,.border-popup-guide:hover {
    background-color: #0aa10a !important;
    text-decoration: none !important;
}
.border-menu-guide {
    color: #fff !important;
    margin-left: 25px;
    background-color: green !important;
    font-weight: bold !important;
    padding: 10px 25px 10px 25px!important;
    border-radius: 5px;
    border: 1px solid !important;
}

.border-menu:hover{
    background-color: #bd8118 !important;

}
.border-menu {
    margin-left: 25px;
    background-color: orange!important;
    padding: 10px 25px 10px 25px!important;
    color: #fff !important;

}


.border-popup-guide {
    margin: 0 31px 0 0 !important;
    padding: 15px 25px 15px 25px!important;
    font-size: 16px;
    border-radius: 3px;
    background-color: #008000 !important;
}

#sidebar-guide {
    margin-top: 5% !important;
    max-width: 350px !important;
    background-color: transparent !important;
    cursor: pointer !important;
    z-index: 0;
}

input[type="checkbox"] {
    width: 35px !important;
    height: 20px !important;
    -webkit-appearance: checkbox !important;
}

input[type="radio"] {
    width: 35px !important;
    height: 20px !important;
    -webkit-appearance: radio !important;
}

input[type="submit"] {
    background: #008000 !important;
}

span.wpcf7-list-item {
    width: 100% !important;
    margin: 0 !important;
}

#form-checkbox {
    display: none !important;
}

button .mailchimp-button {
    width: 100% !important;
    height: 3.25000000000001em;
    background: #4a90e2 !important;
    margin-top: 15px !important;
}

/** ARTICLE **/

.article__body > ul, .article__body > ol {
    padding: 5% 10% !important;
    background-color: #f5f5f5;
}

.article__body > ul > li {
    list-style: square;
}

article .article__body p, .article__body ul, .article__body > ol {
    font-size: 1.35714286em;
    line-height: 1.68421053em;
    font-weight: 400;
    color: #414144 !important;
}

article .article__body p:not(:last-child) {
    text-align: justify !important;
}

ol li:not(:last-child) {
    margin-bottom: 0px !important;
}

.article__body h2, .article__body h1 {
    margin-top: 5rem;
    font-weight: 600 !important;
    text-align: left !important;
    color: #482411 !important;
}

.article__body h3 {
    margin-top: 3rem;
    text-align: left !important;
    color: #482411 !important;
    font-weight: 600 !important;
    text-decoration: underline !important;
}

.article__body h4, .article__body h5 {
    color: #482411 !important;
    font-weight: 600 !important;
}


img .emoji {
    height: 1em !important;
    width: 1em !important;
}

article .article__body img {
    border-radius: 3px !important;
    width: 100%;
    height: auto;
}

.article__body p strong {
    color: #482411;
}

.article__body blockquote p {
    font-size: 19px !important;
    border-left: 3px solid #482411;
    padding-left: 30px;
    text-align: left !important;
    font-style: normal !important;
}

/** FORMULAIRE DE DEVIS **/
.titre-form {
    font-size: 20px;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 30px;
}

.date-form {
    float: left;
    position: relative;
    padding-right: 0.60rem !important;
    width: 50%;
}

.pax-form {
    float: left;
    position: relative;
    width: 24%;
    padding-left: 1%;
}

.soustitre {
    font-size: 16px;
    color: gainsboro;
}

.wpcf7-list-item-label {
    font-size: 20px !important;
}

.wpcf7-previous {
    font-size: 13px;
    color: gainsboro;
    background: none !important;
    border: none !important;
    width: auto !important;
    padding-left: 0px !important;
}
/** FOOTER **/
#liens-footer {
    font-size: 18px !important;
}

#logo-footer {
    margin-bottom: 25px !important;
}

/** MENU **/

.bar-1 .menu-horizontal > li > a > .btn:not(:disabled):not(.disabled) {
    color: #fff !important;
}

.bar-1 .menu-horizontal > li > div > a {
    font-weight: normal !important;
    font-size: 0.857142857142857em !important;
}

/*** TOURS ***/

.titre-jour {
    margin-bottom: 5px !important;
}

.color-jour {
    color: #4a90e2;
    font-weight: 600;
}

.contenu ul {
    font-size: 19px !important;
    color: #292929;
}


/* Hero section */
section.hero {
    position: relative;
    width: 100vw;
    height: 100vh; /* 100% de la hauteur de la fenêtre */
    overflow: hidden;
    display: flex;
    align-items: center;
    margin-bottom: 100px;
    justify-content: flex-start;
    color: white;
}

/* Vidéo en background */
section.hero video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

/* Texte du hero */
.hero-content {
    position: relative;
    max-width: 30% !important;
    padding: 64px;
    background-color: #fff;
    opacity: 0.8;
    border-bottom-right-radius: 15px;
    border-top-right-radius: 15px;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;

}

.hero-content a {
    display: inline-block;
    padding: 12px 30px;
    background-color: #4d220c;
    font-size: 1.3rem!important;
    color: white;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: background 0.3s;
}

.hero-content a:hover {
    background-color: #c3560f;
    text-decoration: none;
    color: white;
}

/* Overlay sombre */
section.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
    z-index: 0;
}

/* Responsive pour mobile */
@media (max-width: 900px) {
    .hero-content {
        width: 90%;
        max-width:90% !important;
        padding: 10px!important;
        border-radius: 10px!important;
        position: absolute!important;
        text-align: center;
        margin: 0 auto;
        top: 25px;
        left: 0;
        right: 0;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }
}
html{
    overflow-x: hidden;
}
.overlay-feature .image-wrapper {
    position: relative;
    width: 100%;
    padding-top: 70%; /* ratio image 4:3 */
    background-size: cover;
    background-position: center;
    border-radius: 8px;
    overflow: hidden;
    min-height: 525px;
}

.overlay-feature .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.4); /* overlay noir semi-transparent */
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.overlay-feature .overlay h5 {
    color: #fff;
    font-size: 1.2rem;
    padding: 0 10px;
}

.overlay-feature .image-wrapper {
    transition: transform 0.4s ease;
}

/* Overlay : transition d'opacité */
.overlay-feature .overlay {
    background-color: rgba(0, 0, 0, 0.4);
    transition: background-color 0.4s ease;
}

/* HOVER */
.overlay-feature:hover .image-wrapper {
    transform: scale(1.05);
}
.travel-title{
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 25px!important;
}
.travel-content{
    margin-bottom: 25px!important;
}
.overlay-feature:hover .overlay {
    background-color: rgba(0, 0, 0, 0.8);
}

/* CLICK / ACTIVE */
.overlay-feature:active .image-wrapper {
    transform: scale(1.02);
}

.overlay-feature:active .overlay {
    background-color: rgba(0, 0, 0, 0.8);
}

.reviews-section {
    padding: 80px 0;
}

.reviews-section h2 {
    text-align: center;
    font-size: 2.4rem;
    margin-bottom: 10px;
}

.reviews-section .subtitle {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
    color: #555;
}

.reviews-layout {
    display: flex;
    gap: 60px;
    align-items: center;
}

/* Image gauche */
.reviews-image img {
    width: 100%;
    max-width: 480px;
    border-radius: 16px;
    object-fit: cover;
}

/* Slider */
.reviews-slider {
    position: relative;
    flex: 1;
}

.review {
    display: none;
}

.review.active {
    display: block;
}

.quote {
    font-size: 4rem;
    color: #4D220C;
    line-height: 1;
    margin-bottom: 10px;
}

.review strong {
    font-size: 1.2rem;
}

.review .comment {
    margin: 15px 0;
    font-size: 1.05rem;
    line-height: 1.6;
}

.review .meta {
    font-size: 0.9rem;
    color: #999;
    font-weight: 300;
}

/* Navigation */
.slider-nav {
    margin-top: 20px;
    display: flex;
    gap: 15px;
    justify-content: flex-end;
}
.review-container{
    margin-bottom: 100px;
}

.slider-nav button {
    background: none;
    border: 1px solid #4D220C;
    color: #4D220C;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 1.4rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-nav button:hover {
    background-color: #4D220C;
    color: #fff;
}
.review-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
    justify-content: space-between;
}

.quote img {
    width: 36px;
    height: auto;
    flex-shrink: 0;
}
.quote img {
    opacity: 0.8;
}
/* Responsive */
@media (max-width: 768px) {
    .hero-content{
        padding: 25px;
        border-radius: 10px;
    }
}
@media (max-width: 992px) {
    .reviews-layout {
        flex-direction: column;
        text-align: center;
    }

    .reviews-image img {
        max-width: 100%;
    }

    .quote {
        text-align: center;
    }

    .slider-nav {
        justify-content: center;
    }

}

.hero {
    position: relative;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    color: #fff;
}

/* Container vidéo */
.video-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
    overflow: hidden;
}

/* Iframe plein écran */
.video-bg iframe {
    width: 100%;
    height: 100%;
    pointer-events: none; /* empêche clics */
    object-fit: cover;
}

/* Overlay sombre */
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.45);
    z-index: 0;
}

.hero-content {
    position: relative;
    max-width: 50%;
    padding-left: 50px;
    z-index: 1;
}
.video-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: -1;
}

/* Iframe cover */
.video-bg iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120vw;
    height: 120vh;
    transform: translate(-50%, -50%);
    pointer-events: none;
}
nav li {
    margin-bottom: 10px;
}
@media screen and (max-width: 1200px) {
    .hero-content {
        max-width: 50% !important;
    }
}
@media screen and (max-width: 900px) {
    .hero-content {
        max-width: 90% !important;
    }
}
@media screen and (max-width: 450px),
screen and (max-width: 900px)  and (max-height: 1000px)  {
    .hero-content h1{
        font-size: 1.5rem;
    }
    .hero-content p{
        display: none!important;
    }
.hero-content {
    position: absolute;
    max-width: 90%;
    padding-left: 0;
    padding-right: 0;
    z-index: 1;
    left: 0;
    right: 0;
    top: 25px;
    bottom: initial;
}
}