#slide4 {
    background-color: var(--bg-color);
    height: auto;
    min-height: 100vh;
}

#slide4 h2 {
    position: relative;
    display: inline-block;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

#slide4 h2:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 25%;
    width: 50%;
    height: 3px;
    background-color: var(--accent-color);
}

.passions-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.passion-card {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
    height: 300px;
}

.passion-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.passion-image {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.passion-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.passion-card:hover .passion-image img {
    transform: scale(1.1);
}

.passion-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 60%, rgba(0, 0, 0, 0) 100%);
    color: white;
    padding: 1.5rem;
    transform: translateY(0);
    transition: transform var(--transition-speed) ease;
}

.passion-overlay h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.5rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    color: white;
}

.passion-overlay p {
    margin: 0;
    font-size: 1rem;
    opacity: 0.9;
    line-height: 1.4;
    color: white;
}

/* Comportement au clique des cartes */
.passion-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    backdrop-filter: blur(5px);
}

.passion-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.passion-modal {
    position: relative;
    width: 80%;
    max-width: 800px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(236, 242, 255, 0.95));
    border-radius: 16px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);
    padding: 2rem;
    transform: scale(0.9);
    opacity: 0;
    transition: transform 0.5s cubic-bezier(0.18, 0.89, 0.32, 1.28), opacity 0.5s ease;
    max-height: 90vh;
    overflow-y: auto;
    border-left: 5px solid var(--primary-color);
}

.passion-modal-overlay.active .passion-modal {
    transform: scale(1);
    opacity: 1;
}

.passion-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--accent-color);
}

.passion-modal-header h3 {
    color: var(--primary-color);
    font-size: 2rem;
    margin: 0;
    font-weight: 700;
}

.passion-close-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-color);
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all var(--transition-speed) ease;
    background-color: rgba(0, 0, 0, 0.05);
}

.passion-close-btn:hover {
    background-color: var(--primary-color);
    color: white;
    transform: rotate(90deg);
}

.passion-modal-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Styles de base pour les images */
.passion-modal-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.passion-modal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.passion-modal-description {
    color: var(--text-color);
    line-height: 1.8;
    font-size: 1.1rem;
}

.passion-modal-description p {
    margin-bottom: 1rem;
}

/* Grille pour les détails */
.passion-modal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
}

.passion-detail {
    background-color: rgba(255, 255, 255, 0.5);
    padding: 1.2rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border-left: 3px solid var(--accent-color);
}

.passion-detail h4 {
    color: var(--primary-color);
    margin-bottom: 0.8rem;
    font-size: 1.2rem;
}

.passion-detail p,
.passion-detail ul {
    margin: 0;
    color: var(--text-color);
    line-height: 1.6;
}

.passion-detail ul {
    padding-left: 1.2rem;
}

.passion-detail li {
    margin-bottom: 0.4rem;
}

/* Galerie d'images */
.passion-gallery {
    margin-top: 1rem;
}

.passion-gallery h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

/* Timeline pour la batterie */
.passion-timeline {
    margin-top: 1rem;
    padding-left: 2rem;
    position: relative;
}

.passion-timeline h4 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.passion-timeline::before {
    content: '';
    position: absolute;
    top: 3rem;
    left: 0.75rem;
    width: 3px;
    height: calc(100% - 3rem);
    background-color: var(--accent-color);
    border-radius: 3px;
}

.timeline-item {
    position: relative;
    padding-bottom: 1.5rem;
}

.timeline-dot {
    position: absolute;
    top: 0.3rem;
    left: -2rem;
    width: 16px;
    height: 16px;
    background-color: var(--primary-color);
    border-radius: 50%;
    z-index: 1;
}

.timeline-content {
    padding-left: 1rem;
}

.timeline-content h5 {
    margin: 0 0 0.5rem 0;
    color: var(--secondary-color);
    font-size: 1.1rem;
}

.timeline-content p {
    margin: 0;
    color: var(--text-color);
}

.passion-countries {
    margin-top: 1rem;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 10px;
    padding: 1.2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.passion-countries h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
    position: relative;
    display: inline-block;
}

.passion-countries h4:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--accent-color);
    border-radius: 2px;
}

.countries-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
}

.country-item {
    display: flex;
    align-items: center;
    padding: 0.8rem 1rem;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.country-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.country-flag {
    width: 30px;
    height: 20px;
    margin-right: 0.8rem;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 2px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.france-flag {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 900 600'%3E%3Cpath fill='%23ED2939' d='M0 0h900v600H0z'/%3E%3Cpath fill='%23fff' d='M0 0h600v600H0z'/%3E%3Cpath fill='%23002395' d='M0 0h300v600H0z'/%3E%3C/svg%3E");
}

.vietnam-flag {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 900 600'%3E%3Cpath fill='%23DA251D' d='M0 0h900v600H0z'/%3E%3Cpath fill='%23FFFF00' d='M450 150l99.2 305.1-259.7-188.5h321l-259.7 188.5z'/%3E%3C/svg%3E");
}

.czechia-flag {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 900 600'%3E%3Cpath fill='%23D7141A' d='M0 0h900v600H0z'/%3E%3Cpath fill='%23fff' d='M0 0h900v300H0z'/%3E%3Cpath fill='%2311457E' d='M450 300L0 0v600z'/%3E%3C/svg%3E");
}

.spain-flag {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 750 500'%3E%3Cpath fill='%23c60b1e' d='M0 0h750v500H0z'/%3E%3Cpath fill='%23ffc400' d='M0 125h750v250H0z'/%3E%3C/svg%3E");
}

.italy-flag {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 900 600'%3E%3Cpath fill='%23009246' d='M0 0h300v600H0z'/%3E%3Cpath fill='%23fff' d='M300 0h300v600H300z'/%3E%3Cpath fill='%23ce2b37' d='M600 0h300v600H600z'/%3E%3C/svg%3E");
}

.australia-flag {
    background-image: url("https://upload.wikimedia.org/wikipedia/commons/b/b9/Flag_of_Australia.svg");
}

.country-name {
    font-weight: 500;
    color: var(--text-color);
}

.next-destination {
    margin-top: 1.5rem;
}

.country-item.upcoming {
    position: relative;
    background-color: rgba(236, 242, 255, 0.8);
    border-left: 3px solid var(--primary-color);
    padding: 0.8rem 1rem 0.8rem 1.2rem;
}

.trip-status {
    margin-left: auto;
    padding: 0.3rem 0.8rem;
    background-color: var(--primary-color);
    color: white;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Citation */
.passion-quote {
    margin: 1.5rem 0;
    padding: 1.5rem;
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 8px;
    position: relative;
    border-left: 4px solid var(--accent-color);
}

.passion-quote blockquote {
    margin: 0;
    font-style: italic;
    color: var(--text-color);
    font-size: 1.1rem;
    line-height: 1.6;
}

.passion-quote blockquote::before {
    content: '\201C';
    font-size: 3rem;
    position: absolute;
    top: 0.5rem;
    left: 0.7rem;
    color: rgba(0, 0, 0, 0.1);
    font-family: serif;
}

.passion-quote cite {
    display: block;
    margin-top: 0.8rem;
    text-align: right;
    font-style: normal;
    color: var(--secondary-color);
}

/* Notes de dégustation */
.passion-tasting-notes {
    margin-top: 1rem;
}

.passion-tasting-notes h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.tasting-card {
    background-color: rgba(255, 255, 255, 0.6);
    padding: 1.2rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    border-left: 3px solid var(--accent-color);
}

.tasting-card h5 {
    margin: 0 0 1rem 0;
    color: var(--secondary-color);
    font-size: 1.1rem;
}

.tasting-details {
    display: grid;
    gap: 0.5rem;
}

.tasting-property {
    display: flex;
    line-height: 1.5;
}

.tasting-property span {
    font-weight: bold;
    color: var(--primary-color);
    margin-right: 0.5rem;
    min-width: 60px;
}

.tasting-rating {
    margin-top: 0.8rem;
    font-weight: bold;
}

.stars {
    color: var(--primary-color);
}

/* Photographie packshot */
.passion-photo-skills {
    margin-top: 1.5rem;
}

.passion-photo-skills h4 {
    color: var(--primary-color);
    margin-bottom: 0.8rem;
    font-size: 1.2rem;
}

.passion-photo-skills p {
    margin-bottom: 1rem;
}

.photo-examples {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1rem;
}

.photo-examples img {
    width: 100%;
    object-fit: cover;
    border-radius: 6px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.photo-examples img:hover {
    transform: scale(1.05);
}

.passion-video-button {
    display: flex;
    justify-content: center;
    margin-top: 1.5rem;
}

.passion-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.9rem 1.8rem;
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all var(--transition-speed) ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.passion-btn:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.passion-btn-icon {
    width: 24px;
    height: 24px;
    margin-right: 8px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}

.video-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffffff'%3E%3Cpath d='M8 5v14l11-7z'/%3E%3C/svg%3E");
}


/* Animation pour l'entrée du modal */
@keyframes modal-in {
    0% {
        transform: translateY(50px) scale(0.9);
        opacity: 0;
    }

    100% {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

/* Styles responsifs */
@media (max-width: 768px) {
    .passion-modal {
        width: 90%;
        padding: 1.5rem;
    }

    .passion-modal-header h3 {
        font-size: 1.5rem;
    }

    .passion-modal-content {
        gap: 1rem;
    }

    .passion-modal-image {
        height: 200px;
    }

    .passion-modal-grid {
        grid-template-columns: 1fr;
    }

    .passion-gallery-images {
        grid-template-columns: repeat(2, 1fr);
    }

    .photo-examples {
        grid-template-columns: 1fr;
    }
}