* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #ffffff; 
    font-family: 'Montserrat', sans-serif;
    color: #829658; 
    min-height: 100vh;
    padding: 2rem 4rem;
    overflow-x: hidden;
}

.navbar-center {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-bottom: 2rem;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    color: #9cb280; 
    text-decoration: none;
    font-size: 0.9rem; 
    font-weight: 700;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.nav-links a:hover, 
.nav-links a.active {
    color: #7b935d; 
}
.gastronomia-container {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 7rem;
    padding-bottom: 6rem;
}

.section-block {
    width: 100%;
}

.main-title {
    text-align: center;
    font-size: 2rem; 
    font-weight: 700;
    margin-bottom: 3rem;
}
.content-split {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
}
.img-wrapper {
    border-radius: 35px; 
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.gallery-row {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 2.5rem;
}
.gallery-size {
    flex: 1;
    max-width: 450px;
}

.gallery-size img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}
.carousel-container {
    position: relative;
    width: 340px;   
    height: 255px;  
    flex-shrink: 0; 
    background-color: #829658;
}

.carousel-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    
    opacity: 0;
    visibility: hidden;
    
    transition: opacity 1s ease-in-out, visibility 0.5s ease-in-out;
}

.carousel-img.active {
    opacity: 1;
    visibility: visible;
    z-index: 2; 
}

.desc-text {
    font-size: 1.20rem; 
    line-height: 1.15;  
    font-weight: 500;
    text-align: justify;
}

.fade-in-section {
    opacity: 0;
    transform: translateY(60px); 
    transition: opacity 0.9s ease-out, transform 0.9s ease-out;
}

.fade-in-section.visible {
    opacity: 1;
    transform: translateY(0); 
}

@media (max-width: 768px) {
    body {
        padding: 1.5rem;
    }
    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }
    .gastronomia-container {
        gap: 4rem;
    }
    .gallery-row, 
    .content-split {
        flex-direction: column; 
        align-items: center;
        gap: 2rem;
    }
    .carousel-container {
        width: 100%;
        max-width: 360px; 
        height: 270px;
    }
}