@import url('base.css');

:root {
    --brown-dark: #5E3012;
    --brown-light: #997C64;
    --beige-light: #DECEB7;
    --yellow-dark: #F0CA74;
    --yellow-light: #FCCC8C;

    --box-shadow-light: 0px 4px 8px rgba(0, 0, 0, 0.1);

    --size-title: clamp(1.5rem, 2vw, 2.5rem);
    --size-subtitle: clamp(1.25rem, 1.75vw, 1.5rem);
    --size-text: clamp(1rem, 1.5vw, 1.25rem);
}

body {
    font-family: 'Arial', sans-serif;
    background-color: #f5f5f5;
}

.highlights-container .highlight:nth-child(even) {
    background-color: var(--beige-light);
    color: var(--brown-dark);
}

.highlights-container .highlight:nth-child(odd) {
    background-color: var(--primary-color);
    color: var(--brown-light);
}

.highlight {
    width: 100%;

    display: flex;
    justify-content: space-around;
    align-items: center;

    text-align: center;

    margin: 0 auto;
    padding: 80px 20px;
    gap: 20px;
}

.highlight-text {
    max-width: 650px;
}

.highlight-text h2 {
    color: var(--brown-dark);
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.highlight-text p {
    font-size: var(--size-text);
    text-align: justify;
    margin: 40px 30px;
}

.highlight-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--yellow-dark);
    color: var(--brown-dark);
    font-size: 1rem;
    font-weight: bold;
    border-radius: 8px;
    text-decoration: none;
    transition:
        box-shadow 0.3s ease,
        background-color 0.3s ease;
}

.highlight-button:hover {
    box-shadow: var(--box-shadow-light);
    background-color: var(--yellow-light);
}

.highlight-image img {
    width: clamp(100px, 70%, 600px);
    max-height: cal(100vh - 70px - 40px);
    border-radius: 12px;
}

@media (max-width: 768px) {
    .highlight {
        flex-direction: column;
        align-items: center;
        padding: 40px 10px;
    }

    .highlight-text {
        order: 1;
    }

    .highlight-button {
        order: 2;
        margin-top: 10px;
    }

    .highlight-image {
        order: 3;
        margin-top: 20px;
        height: fit-content;
    }
}

@media (max-width: 480px) {
    .highlight {
        gap: 10px;
    }

    .highlight-text h2 {
        font-size: 2rem;
    }
}

@media (orientation: landscape) {
    .highlight-image {
        max-height: max-content;
    }
}


.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--brown-dark);
    position: relative;
}
.section-title:after {
    content: '';
    width: 100px;
    height: 4px;
    background-color: #f9c987;
    display: block;
    margin: 0.5rem auto;
    margin-bottom: 25px;
}

.history-section {
    padding: 3rem 0;
}
.history-section .card {
    border: none;
    background-color: #fffbf0;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.mission-section {
    width: 100%;
    background-color: #dad0b9;
    padding: 30px;
    text-align: center;
    margin: 0 auto;
}

.mission-title {
    font-size: 2rem;
    color: var(--brown-dark);
    font-family: 'Arial', sans-serif;
    font-weight: bold;
    margin-bottom: 40px;
}

.mission-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: stretch; 
    justify-content: center;
    text-align: justify;
}

.mission-item{
    background-color: #ede8dc;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    flex: 1 1 250px; 
    display: flex; 
    flex-direction: column; 
    justify-content: space-between; 
    transition: transform 0.3s ease;
}

.mission-item:hover {
    transform: scale(1.05);
}

.mission-item h3 {
    color: var(--brown-dark);
    font-size: 1.5rem;
}

.mission-item p {
    color: var(--brown-light);
    font-size: 1rem;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .mission-section {
        padding: 20px;
    }

    .mission-section h2 {
        font-size: 1.8rem;
    }

    .mission-item h3 {
        font-size: 1.3rem;
    }

    .mission-item p {
        font-size: 0.9rem;
    }
}

.carousel-item img {
    height: 700px;
    border-radius: 20PX;
}

.timeline-container::before {
    content: '';
    position: absolute;
    left: 50%;
    width: 3px;
    height: 75%;
    background-color: #b30000;
    transform: translateX(-50%);
}

#TESTE{
    display: flex;
    flex-direction: row;
    gap: 0px;
}