/*
Theme Name: OceanWP Child
Theme URI: https://oceanwp.org
Description: Child theme de OceanWP
Author: Xavier Turbot
Template: oceanwp
Version: 1.0.0
*/

/* ---------------------------------- */
/* CODE CSS pour les cartes du carousel portfolio */
/* ---------------------------------- */

/* ===========================
   EXPERIENCES CAROUSEL
=========================== */

.experiences-swiper {
    width: 100%;
    padding: 20px 40px 50px;
    box-sizing: border-box;
    overflow: visible;
}

.experiences-swiper .swiper-wrapper {
    align-items: stretch;
}

.experiences-swiper .swiper-slide {
    height: auto !important;
    box-sizing: border-box;
}

/* Carte */
.experience-card {
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(26, 58, 89, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.experience-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(26, 58, 89, 0.18);
}

/* Image */
.experience-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

/* Contenu */
.experience-card-content {
    padding: 20px 24px 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

/* Titre */
.experience-card h3 {
    font-size: 20px;
    color: #7D1C25;
    margin: 0 0 8px;
    font-family: 'Playfair Display', serif;
    line-height: 1.3;
}

/* Sous-titre */
.experience-subtitle {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #D4AF37;
    margin-bottom: 8px;
    font-weight: 600;
}

/* Date */
.experience-date {
    font-size: 13px;
    color: #888;
    margin-bottom: 12px;
    font-style: italic;
}

/* Description */
.experience-description {
    font-size: 15px;
    color: #444;
    line-height: 1.6;
    flex-grow: 1;
    margin-bottom: 20px;
}

/* Bouton */
.card-button {
    margin-top: auto;
}

.experience-button {
    display: inline-block;
    padding: 10px 22px;
    background-color: #7D1C25;
    color: #D4AF37;
    border: 1px solid #D4AF37;
    border-radius: 4px;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease;
    font-weight: 600;
}

.experience-button:hover {
    background-color: #1A3A59;
    color: #D4AF37;
    border-color: #D4AF37;
}

/* Navigation Swiper */
.experiences-swiper .swiper-button-next,
.experiences-swiper .swiper-button-prev {
    color: #D4AF37;
    background: rgba(26, 58, 89, 0.7);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    transition: background 0.3s ease;
}

.experiences-swiper .swiper-button-next:hover,
.experiences-swiper .swiper-button-prev:hover {
    background: #1A3A59;
}

.experiences-swiper .swiper-button-next::after,
.experiences-swiper .swiper-button-prev::after {
    font-size: 16px;
    font-weight: 700;
}

/* Pagination */
.experiences-swiper .swiper-pagination-bullet {
    background: #7D1C25;
    opacity: 0.4;
}

.experiences-swiper .swiper-pagination-bullet-active {
    background: #D4AF37;
    opacity: 1;
}

.experiences-swiper .swiper-pagination {
    bottom: 0px;
    position: relative;
    margin-top: 20px;
}

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

/* ===========================
   TESTIMONIALS
=========================== */

.testimonials-container {
    max-width: 860px;
    margin: 60px auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    gap: 60px;
}

/* Item */
.testimonial-item {
    display: flex;
    flex-direction: column;
    position: relative;
    padding: 40px 50px;
    border-left: 3px solid #D4AF37;
    background: #ffffff;
    box-shadow: 0 4px 20px rgba(26, 58, 89, 0.07);
    border-radius: 4px;
    transition: box-shadow 0.3s ease;
}

.testimonial-item:hover {
    box-shadow: 0 8px 30px rgba(26, 58, 89, 0.13);
}

/* Alternance gauche / droite */
.testimonial-left {
    border-left: 3px solid #D4AF37;
    border-right: none;
}

.testimonial-right {
    border-right: 3px solid #D4AF37;
    border-left: none;
    padding: 40px 50px 40px 50px;
}

/* Grand guillemet */
.testimonial-quote-mark {
    font-family: 'Playfair Display', serif;
    font-size: 100px;
    line-height: 0.6;
    color: #D4AF37;
    opacity: 0.4;
    margin-bottom: 20px;
    user-select: none;
}

/* Texte */
.testimonial-text {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
    font-style: italic;
    margin-bottom: 24px;
}

/* Auteur */
.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.testimonial-name {
    font-family: 'Playfair Display', serif;
    font-size: 16px;
    font-weight: 700;
    color: #7D1C25;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.testimonial-meta {
    font-size: 13px;
    color: #888;
    font-style: italic;
    letter-spacing: 0.04em;
}

/* Responsive */
@media (max-width: 768px) {
    .testimonial-item {
        padding: 30px 24px;
    }

    .testimonial-right {
        border-right: none;
        border-left: 3px solid #D4AF37;
    }

    .testimonial-quote-mark {
        font-size: 70px;
    }
}

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


/* ===========================
   VLOG GRID
=========================== */

.vlog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    padding: 20px;
    margin: 40px auto;
    max-width: 1200px;
}

.vlog-item {
    background: #777547;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.2s ease;
}

.vlog-item:hover {
    transform: translateY(-5px);
}

.vlog-wrapper {
    position: relative;
    padding-bottom: 177.77%;
    height: 0;
    overflow: hidden;
    border-radius: 12px;
}

.vlog-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.vlog-item h3 {
    padding: 10px 15px;
    font-size: 1.4rem;
    text-align: center;
    color: #D4AF37;
    font-family: 'Playfair Display', serif;
}

.vlog-date {
    padding: 0 15px 5px;
    font-size: 1rem;
    text-align: center;
    color: #ffffff;
    font-style: italic;
}

.vlog-description {
    padding: 0 15px 16px;
    font-size: 1rem;
    text-align: center;
    color: #ffffff;
    line-height: 1.6;
}

/* Responsive */
@media (max-width: 1024px) {
    .vlog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .vlog-grid {
        grid-template-columns: 1fr;
    }
}

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

/* ===========================
   HOME VIDEO
=========================== */

.home-video {
    height: 90vh;
    max-width: calc(90vh * 9 / 16) !important; 
    margin: 0 auto;
    overflow: hidden;
}

.home-video iframe,
.home-video video {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

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

/* ===========================
   FOOTER
=========================== */

#block-12 {
    text-align: center;
}

#block-11 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.footer-widgets-inner {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
}

#block-9 h2 {
    color: white;
}

/* Footer responsive */
@media (max-width: 768px) {
    #footer-widgets .footer-widgets-inner {
        display: flex !important;
        flex-direction: column !important;
    }

    #footer-widgets .footer-box {
        width: 100% !important;
        float: none !important;
        margin-bottom: 30px;
    }

    #footer-widgets .footer-box:last-child {
        margin-bottom: 0;
    }
}

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

/* ===========================
   WP FORM
=========================== */

#wpforms-form-168 label {
    color: white;
}

#wpforms-168-field_2-description {
    color: white; 
}

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