/* SECTION HISTOIRE (index.php) */
.story-section {
    padding: 80px 20px;
    background: var(--cream);
}

.story-container {
    display: flex;
    flex-direction: column;
    max-width: 1000px;
    margin: 0 auto;
    gap: 30px;
    text-align: center;
}

.story-text {
    background: rgba(245, 241, 230, 0.95);
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05);
}

.story-visual {
    text-align: center;
}

.story-title {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    color: var(--green);
    margin-bottom: 20px;
}

.story-divider {
    width: 60px;
    height: 2px;
    background: var(--gold);
    margin: 0 auto 20px;
}

.story-content {
    font-size: 15px;
    line-height: 1.7;
    color: #555;
    margin-bottom: 20px;
    text-align: justify;
}

.btn-story {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 25px;
    background: transparent;
    color: var(--green);
    border: 1px solid var(--gold);
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-story:hover {
    background: var(--gold);
    color: var(--white);
}

.story-image {
    width: 100%;
    max-width: 300px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin: 0 auto;
    display: block;
}

/* NOTRE HISTOIRE PAGE (notre-histoire.php) */
.full-story {
    padding: 80px 20px;
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.lottie-container {
    position: relative;
    width: 100%;
    max-width: 600px;
    height: 300px;
    margin: 0 auto 40px;
    opacity: 1;
}

.lottie-animation {
    width: 100%;
    height: 100%;
    border: none;
}

.story-content {
    background: rgba(245, 241, 230, 0.95);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
    position: relative;
    z-index: 2;
}

.story-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    color: var(--green);
    margin-bottom: 25px;
    text-align: center;
}

.story-content p {
    font-size: 16px;
    line-height: 1.8;
    color: #444;
    margin-bottom: 20px;
    text-align: justify;
}

.story-image {
    width: 100%;
    max-width: 400px;
    border-radius: 10px;
    margin: 30px auto;
    display: block;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* RESPONSIVE STYLES */
@media (max-width: 768px) {
    /* Story section mobile */
    .full-story {
        padding: 60px 15px;
    }

    .lottie-container {
        height: 200px;
    }

    .story-content h1 {
        font-size: 26px;
    }

    .story-content p {
        font-size: 14px;
    }

    /* Story container mobile */
    .story-container {
        flex-direction: column;
    }

    .story-text {
        max-width: 100%;
        margin-bottom: 40px;
    }

    .story-title {
        font-size: 28px;
    }
}

@media (min-width: 769px) {
    /* Desktop styles */
    .story-container {
        flex-direction: row;
        gap: 50px;
        text-align: left;
    }

    .story-text {
        flex: 1;
        padding: 30px;
    }

    .story-visual {
        flex: 1;
    }

    .story-title {
        font-size: 36px;
        text-align: center;
    }

    .story-content {
        font-size: 16px;
    }

    .story-image {
        max-width: 400px;
    }
}
