html, body {
    height: 100%; /* Asegura que el body y html ocupen todo el alto de la ventana */
    margin: 0; /* Elimina el margen predeterminado */
    overflow: scroll; /* Permite el desplazamiento */
    scroll-behavior: smooth;
}

::-webkit-scrollbar {
    display: none; /* Oculta la barra de desplazamiento */
}

body {
    font-family: 'Gotham', sans-serif;
    color: #333;
}

h1, h2, h3 {
    font-family: 'Gotham', serif;
}

/* Header */
.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #b4903d;
}

.logo img {
    max-height: 50px;
    width: auto;
}

.nav-link {
    color: #333;
    font-weight: bold;
    font-family: 'Gotham', serif;
    font-size: 1.2rem;
}

.nav-link:hover {
    color: #b4903d;
}

/* Hero Section */
.hero {
    background: linear-gradient(to right, #b4903d, #e7d099);
    color: #FFF;
    padding: 4rem 0;
}

.hero-title {
    font-size: 2.5rem;
    font-family: 'Gotham', serif;
    line-height: 1.2;
    margin: 0;
}

.hero-description {
    font-size: 1.3rem;
    max-width: 100%;
    font-family: 'Gotham', sans-serif;
}

.hero img {
    width: 100%;
    max-width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 5px;
    filter: drop-shadow(0px 5px 10px rgba(0, 0, 0, 0.2));
}

.hero h2, p{
    padding-left: 25px;
} 


.offset-img {
    position: relative;
    max-width: 100%;
    transform: translateY(20%);
    z-index: 2;
    right: -15px;
}

.history {
    position: relative;
    z-index: 1;
    margin-top: 50px;
}


.history h2 {
    color: #b4903d;
    padding-left: 25px;
}

.history-buttons {
    padding-left: 25px;
}

#historyText {
    transition: opacity 0.5s ease;
    font-size: 20px;
}


.history .btn-year {
    color: #333;
    background-color: #FFF;
    border: 2px solid #b4903d;
}

.history .btn-year:hover {
    background-color: #b4903d;
    color: #FFF;
}

.history .btn-year.active {
    background-color: #b4903d;
    color: #FFF;
    border-color: #b4903d;
}

.history .history-image {
    width: 70%;
    max-width: 500px;
    height: auto;
    margin-bottom: 20px;
    border-radius: 5px;
    object-fit: cover;
    filter: drop-shadow(0px 4px 10px rgba(0, 0, 0, 0.2));
}

/* Servicios Section */
.card {
    border: 2px solid white;
    border-radius: 6px;
    background-color: transparent;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.card-title {
    background-color: #b4903d;
    color: white;
    padding: 20px;
    border-radius: 6px 6px 0 0;
    border: 2px solid #b4903d;
    border-bottom: none;
    display: block;
    font-weight: bold;
    flex: 0 0 auto;
}

.card-body {
    background-color: inherit;
    flex: 1 0 auto;
    padding: 0;
}

.card ul {
    padding: 0;
    color: white;
}

.card ul li {
    color: white;
    padding: 5px;
    margin: 5px 0;
    background-color: transparent;
    font-size: 1rem;
}


/* Gallery Section */
.gallery h2 {
    color: #b4903d;
}

.gallery .btn-gallery {
    color: #333;
    background-color: #FFF;
    border: 2px solid #b4903d;
}

.gallery .btn-gallery:hover {
    background-color: #b4903d;
    color: #FFF;
}

.gallery .btn-gallery.active {
    background-color: #b4903d;
    color: #FFF;
    border-color: #b4903d;
}

.carousel-inner .row {
    display: flex;
    justify-content: space-between;
}

.carousel-inner .carousel-item img {
    width: 100%;
    height: auto;
}

.carousel-inner .col-md-4 {
    flex: 0 0 32%;
    padding: 5px;
}

.carousel-control-prev, .carousel-control-next {
    background: rgba(0, 0, 0, 0.4);
    border: none;
    width: 40px;
    height: 40px;
    opacity: 0.5;
    transition: opacity 0.3s ease-in-out;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.carousel-control-prev:hover, .carousel-control-next:hover {
    opacity: 1;
}

.carousel-control-prev-icon, .carousel-control-next-icon {
    background-size: contain;
    background-position: center;
    width: 100%;
    height: 100%;
    background-color: transparent;
}

.carousel-control-prev {
    left: 0;
}

.carousel-control-next {
    right: 0;
}

#carouselGarden .carousel-item img {
    max-height: 300px;
    object-fit: cover;
}

#carouselCafe .carousel-item img {
    max-height: 300px;
    object-fit: cover;
}

#carouselPremium .carousel-item img {
    max-height: 300px;
    object-fit: cover;
}

.sub-menu {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 15px;
}

.sub-menu .sub-btn {
    background-color: #FFF;
    color: #333;
    border: 2px solid #b4903d;
    padding: 5px 10px;
    border-radius: 4px;
    cursor: pointer;
}

.sub-menu .sub-btn.active {
    background-color: #b4903d;
    color: #FFF;
    border-color: #b4903d;
}


/* Contact Section */
.contact h2, .contact h3 {
    color: #b4903d;
}

.contact img {
    max-height: 250px;
    width: auto;
    margin-bottom: 30px;
}
/* Footer */
.footer {
    background-color: #b4903d;
    color: #FFF;
    font-size: 0.9rem;
    padding: 1.5rem 0;
}

/* Responsiveness */
@media (max-width: 768px) {
    .hero h2 {
        padding-top: 5px;
        font-size: 2rem;
    }

    .history, .services, .gallery, .contact {
        padding: 2rem 1rem;
    }

    .history-buttons {
        padding-left: 0px;
    }

    .history .history-image {
        max-width: 100%;
        margin-bottom: 15px;
    }

    .contact .row > div {
        margin-bottom: 1.5rem;
    }

    .carousel-inner .carousel-item img {
        width: 100%;
        height: auto;
    }

    .carousel-inner .col-md-4 {
        flex: 0 0 100%;
        padding: 4px;
    }
}

@media (max-width: 767px) {
    .carousel-inner .carousel-item img {
        width: 100%;
        height: auto;
    }

    .container {
        justify-content: center !important; /* Centrar el logo */
    }
    
    nav {
        display: none; /* Ocultar el menú en móviles */
    }
}
