/* Basic resets */
.banner {
    position: relative;
    text-align: center;
    overflow: hidden;
}

.banner img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.banner h1 {
    font-size: 3rem;
    text-shadow: 4px 4px 10px rgba(0, 0, 0, 0.9), 
                 6px 6px 15px rgba(0, 0, 0, 0.6);
    margin-bottom: 20px;
    font-weight: normal;
    color: #ffffff;
}

.banner-links {
    position: absolute;
    bottom: 10px;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    padding: 10px;
    text-align: left;
}

.banner-links a {
    color: white;
    text-decoration: none;
    margin: 0 5px;
}

.banner-links a:hover {
    color: #ffcc00; 
}

.banner-links span {
    color: white;
    margin: 0 5px;
}

/* General Styles */
main {
    padding: 20px;
    max-width: 1250px;
    margin: 0 auto;
	color: #555555;
    font-family: 'Lora', serif;
    font-size: 1rem;
    line-height: 1.7;
}

/* Tour Menu Section */
.tour-menu-title {
    font-size: 2.3rem;
    font-family: 'SangBleu Kingdom', serif;
    color: #44313A;
    font-weight: 400;
    margin-bottom: 40px;
}

.tour-menu-list {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
    list-style: none;
    padding: 0;
    gap: 0;
    background-color: #2B6CB0;
    border-radius: 15px;
    overflow: hidden;
    width: 100%;
    margin: 0;
}

/* Menu Item */
.menu-item {
    flex: 1;
    padding: 15px 0;
    text-align: center;
    cursor: pointer;
    color: #ffffff;
    background-color: #2B6CB0; /* Fondo azul pastel */
    transition: color 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
    font-family: 'SangBleu Kingdom', serif;
    font-size: 1.2rem;
    position: relative;
}

/* Líneas blancas verticales entre enlaces */
.menu-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 10%;
    height: 80%;
    width: 1px;
    background-color: #ffffff;
}

/* Hover and Active States */
.menu-item:hover, .menu-item.active {
    color: #000000;
    background-color: #D8D8D8;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.15);
}

.tour-content-section {
    display: none;
    animation: fadeIn 0.5s ease-in-out;
}

.tour-content-section.active {
    display: block;
}

/* Animación de entrada */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.overview-content {
    display: flex;
    align-items: flex-start;
    gap: 30px;
    margin-top: 20px;
}

.overview-text {
    flex: 1;
}

.overview-text h3 {
    font-size: 1.5rem;
    color: #2B6CB0;
    margin-bottom: 15px;
}

.check-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.check-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 10px;
    font-size: 1rem;
    color: #555555;
}

.check-list li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    top: 0;
    color: #2B6CB0;
    font-weight: bold;
}

.overview-image {
    flex: 1;
    max-width: 370px;
}

.overview-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.15);
}

#itinerary {
    padding: 1px;
}

.itinerary-content {
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
}

.itinerary-day {
    flex: 1;
    margin-right: 10px;
    max-width: 100%;
}

.itinerary-day h3 {
    font-size: 1.5rem;
    color: #2B6CB0;
    margin-bottom: 10px;
}

.itinerary-day h4 {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 15px;
}

.itinerary-day p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.meals {
    font-style: italic;
}

.itinerary-image {
    flex-shrink: 0;
}

.itinerary-image img {
    max-width: 370px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    margin-top: 20px;
}

/* Media Queries */
@media (max-width: 768px) {
    .itinerary-content {
        flex-direction: column;
        align-items: center;
    }

    .itinerary-day {
        margin-right: 0;
        margin-bottom: 20px;
        max-width: 100%;
    }

    .itinerary-image {
        margin-top: 20px;
        text-align: center;
    }

    .itinerary-image img {
        max-width: 100%;
        height: auto;
    }
}

/* Estilos para la tabla de precios */
#price {
    padding: 20px;
}

#price h3 {
    font-size: 1.5rem;
    color: #2B6CB0;
    margin-bottom: 15px;
}

#price p {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 30px;
}

/* Estilos para la tabla de precios */
.price-table {
    display: grid;
    grid-template-columns: repeat(4, minmax(320px, 1fr));
    gap: 20px;
}

.price-card {
    background-color: #f8f9fa;
    border: 1px solid #e1e1e1;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
}

.price-card h4 {
    font-size: 1.3rem;
    color: #555;
    margin-bottom: 15px;
}

.price-card .price {
    font-size: 2.2rem;
    color: #fff !important;
    background-color: #ff6600;
    padding: 10px 20px;
    border-radius: 5px;
    display: inline-block;
    margin-bottom: 20px;
}

.price-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 1.1rem;
    color: #666;
	text-align: left;
	margin-left: 10px;
}

.price-card ul li {
    margin-bottom: 12px;
}

/* Media Queries */
@media (max-width: 1024px) {
    .price-table {
        grid-template-columns: repeat(2, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    .price-table {
        grid-template-columns: 1fr;
    }
}

/* Estilos generales para la sección accommodations */
#accommodations {
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}

/* Estilo para el título principal */
#accommodations h2 {
    font-size: 1.5rem;
    color: #2B6CB0;
    text-align: center;
    margin-bottom: 10px;
}

/* Estilo para la descripción debajo del título principal */
#accommodations p {
    font-size: 16px;
    color: #555;
    text-align: center;
    margin-bottom: 30px;
}

/* Estilos para las secciones Comfort, Exclusive, Luxury */
#accommodations div {
    margin-bottom: 20px;
    padding: 15px;
    background-color: #f9f9f9;
    border-radius: 8px;
}

/* Estilo para los títulos de cada subsección */
#accommodations h3 {
    font-size: 22px;
    color: #0066cc;
    margin-bottom: 10px;
    text-align: left;
}

/* Estilo para las descripciones de cada subsección */
#accommodations div p {
    font-size: 14px;
    color: #666;
    text-align: left;
    margin: 0;
}

#comfort {
    margin: 20px 0;
}

#comfort h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

#comfort p {
    margin-bottom: 20px;
}

.comfort-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
    padding: 15px;
	background-color: #e8e8e8;
	border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4) !important;
}

.comfort-item img {
    max-width: 200px;
    height: auto;
    border-radius: 8px;
    margin-right: 20px;
}

.comfort-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
	border: none !important;
    box-shadow: none !important;
	padding: 0 !important;
}

.comfort-content h4 {
    font-size: 18px;
    color: #333;
    margin: 0 0 5px;
}

.comfort-content h5 {
    font-size: 16px;
    color: #555;
    margin: 0 0 5px;
}

.comfort-content p {
    font-size: 16px;
    color: #666;
    margin: 0 0 10px;
}

.comfort-content a {
    font-size: 14px;
    color: #f47f37;
    text-decoration: none;
    font-weight: bold;
}

.comfort-content a:hover {
    text-decoration: underline;
}

#exclusive {
    margin: 20px 0;
}

#exclusive h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

#exclusive p {
    margin-bottom: 20px;
}

.exclusive-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
    padding: 15px;
    background-color: #e8e8e8;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4) !important;
}

.exclusive-item img {
    max-width: 200px;
    height: auto;
    border-radius: 8px;
    margin-right: 20px;
}

.exclusive-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
}

.exclusive-content h4 {
    font-size: 18px;
    color: #333;
    margin: 0 0 5px;
}

.exclusive-content h5 {
    font-size: 16px;
    color: #555;
    margin: 0 0 5px;
}

.exclusive-content p {
    font-size: 16px;
    color: #666;
    margin: 0 0 10px;
}

.exclusive-content a {
    font-size: 14px;
    color: #f47f37;
    text-decoration: none;
    font-weight: bold;
}

.exclusive-content a:hover {
    text-decoration: underline;
}

#luxury {
    margin: 20px 0;
}

#luxury h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

#luxury p {
    margin-bottom: 20px;
}

.luxury-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
    padding: 15px;
    background-color: #e8e8e8;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4) !important;
}

.luxury-item img {
    max-width: 200px;
    height: auto;
    border-radius: 8px;
    margin-right: 20px;
}

.luxury-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
}

.luxury-content h4 {
    font-size: 18px;
    color: #333;
    margin: 0 0 5px;
}

.luxury-content h5 {
    font-size: 16px;
    color: #555;
    margin: 0 0 5px;
}

.luxury-content p {
    font-size: 16px;
    color: #666;
    margin: 0 0 10px;
}

.luxury-content a {
    font-size: 14px;
    color: #f47f37;
    text-decoration: none;
    font-weight: bold;
}

.luxury-content a:hover {
    text-decoration: underline;
}

/* Styles for the gallery modal */
.gallery-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 750px;
    height: 600px;
    background-color: rgba(0, 0, 0, 0.9);
    padding: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.gallery-content {
    position: relative;
    max-width: 750px;
    max-height: 600px;
    margin: 0 auto;
    overflow: hidden;
	padding: 0 !important;
}

.gallery-slide {
    transition: opacity 0.3s ease-in-out;  /* Transición suave de 0.3 segundos */
    opacity: 0;
    display: none;  /* Ocultar por defecto */
}

.gallery-slide.show {
    opacity: 1;
    display: block;  /* Mostrar cuando esté visible */
}

.gallery-slide img {
    width: 100%;
    max-height: 500px;
    border-radius: 5px;
}

.gallery-caption h4 {
    color: #000;
	font-size: 1.1em;
    margin: 0;
	text-align: left;
}

.gallery-caption p {
    color: #666;
}

.gallery-caption {
    color: #ccc;
    text-align: center;
    margin-top: 10px;
}

.close-gallery {
    position: absolute;
    top: -20px;
    right: 7px;
    font-size: 50px;
	font-weight: bold;
    color: #ff6666;
    cursor: pointer;
    transition: color 0.3s ease;
	z-index: 1000;
}

.close-gallery:hover {
	color: #3038A0;
}

.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -22px;
	color: #464646;
    font-weight: bold;
    font-size: 20px;
    transition: 0.3s ease;
    user-select: none;
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}

.prev:hover, .next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

@media (max-width: 768px) {
    #accommodations {
        padding: 10px;
        margin-bottom: 15px;
    }

    #accommodations h2 {
        font-size: 1.25rem;
    }

    #accommodations p {
        font-size: 14px;
        margin-bottom: 20px;
    }

    #accommodations div {
        margin-bottom: 15px;
        padding: 10px;
    }

    #accommodations h3 {
        font-size: 20px;
        text-align: center;
    }

    #accommodations div p {
        font-size: 13px;
        text-align: center;
    }

    #comfort {
        margin: 15px 0;
    }

    #comfort h3 {
        font-size: 22px;
        margin-bottom: 8px;
    }

    #comfort p {
        margin-bottom: 15px;
    }

    .comfort-item {
        flex-direction: column;
        align-items: center;
        margin-bottom: 20px;
        padding: 10px;
    }

    .comfort-item img {
        max-width: 100%;
        margin-right: 0;
        margin-bottom: 15px;
    }

    .comfort-content h4 {
        font-size: 16px;
    }

    .comfort-content h5 {
        font-size: 14px;
    }

    .comfort-content p {
        font-size: 14px;
    }

    .comfort-content a {
        font-size: 13px;
    }

    .gallery-modal {
        width: 90%;
        height: 80%;
    }

    .gallery-content {
        max-width: 100%;
        max-height: 100%;
    }

    .gallery-slide img {
        max-height: 300px;
    }

    .close-gallery {
        font-size: 40px;
    }

    .prev, .next {
        padding: 10px;
        font-size: 18px;
    }
}

/* Inclusions Section */
#inclusions {
    padding: 20px;
    background-color: #f4f4f4;
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
	margin-bottom: 20px;
}

#inclusions h3 {
    font-size: 1.5rem;
    color: #2B6CB0;
    margin-bottom: 10px;
}

#inclusions h4 {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 10px;
}

/* Estilo específico para el título de Recommendations */
.recommendations-title {
    color: #ff6600;
}

/* Estilos generales para las listas dentro de inclusions */
#inclusions ul {
    list-style-type: disc;
    padding-left: 20px;
    font-size: 1rem;
    color: #555;
}

#inclusions ul li {
    margin-bottom: 10px;
    line-height: 1.5;
}

/* Media Queries */
@media (max-width: 768px) {
    #inclusions {
        padding: 10px;
    }

    #inclusions h4 {
        font-size: 1.4rem;
    }

    #inclusions ul {
        font-size: 1rem;
    }
}

/* Book Now Section */
#book-now {
    padding: 20px;
    background-color: #f4f4f4;
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    margin: 0 auto;
	margin-bottom: 80px;
}

#book-now h3 {
    font-size: 1.5rem;
    color: #2B6CB0;
    margin-bottom: 15px;
	text-align: center;
}

#book-now p {
    font-size: 1rem;
    color: #666;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 1rem;
    color: #333;
    margin-bottom: 5px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
    box-sizing: border-box;
}

.phone-group {
    display: flex;
}

.phone-group select {
    width: 30%;
    margin-right: 10px;
}

.btn-book-tour {
    background-color: #f28a21;
    color: #fff;
    border: none;
    border-radius: 5px;
    padding: 10px 20px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-book-tour:hover {
    background-color: #2B6CB0;
}

/* Estilos básicos para el popup */
.popup {
    display: none; /* Oculto por defecto */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    justify-content: center;
    align-items: center;
}

.popup-content {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    position: relative;
}

.popup-close {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 30px;
    cursor: pointer;
}

.popup p {
    margin: 20px 0;
}

/* Recommended Tours Section */
#recommended-tours {
    text-align: center;
}

.carousel {
    position: relative;
    max-width: 100%;
    overflow: hidden;
}

.carousel-inner {
    display: flex;
    transition: transform 0.5s ease;
}

.recommended-tour {
    width: 100%;
    max-width: 285px;
    margin: 10px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.3) !important;
    padding: 15px;
    text-align: center;
    flex: 0 0 auto;
}

.recommended-tour img {
    max-width: 100%;
    border-radius: 10px;
}

#recommended-tours h3 {
    font-size: 1.5rem;
    color: #2B6CB0;
    margin-bottom: 10px;
    text-align: center;
}

#recommended-tours p {
    font-size: 1rem;
    color: #555;
    margin-bottom: 7px;
    text-align: center;
}

.recommended-tour h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.recommended-tour p {
    font-size: 1rem;
    margin-bottom: 7px;
}

.recommended-tour .price {
    font-size: 1.3rem !important;
    color: #ff6600 !important;
    font-weight: bold;
    margin-bottom: 15px;
}

.btn-see-details {
    display: inline-block;
    padding: 8px 15px;
    background-color: #2B6CB0;
    color: #fff;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.btn-see-details:hover {
    background-color: #1A4A7A;
}

/* Estilos de las flechas */
.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.7);
    color: #fff;
    border: none;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
    font-size: 1.5rem;
    border-radius: 50%;
    visibility: visible;
}

.carousel-control.prev {
    left: 10px;
}

.carousel-control.next {
    right: 10px;
}

.carousel-control:hover {
    background-color: rgba(0, 0, 0, 0.9);
}

/* Media Queries */
@media (max-width: 768px) {
    .recommended-tour {
        flex: 0 0 50%;
    }

    .carousel-control.prev,
    .carousel-control.next {
        width: 30px;
        height: 30px;
        font-size: 1.1rem;
    }
}

/* Pantallas extra pequeñas (portrait phones) */
@media (max-width: 576px) {
    .recommended-tour {
        flex: 0 0 100%;
        margin: 0 auto 20px auto;
    }

    .carousel-inner {
        padding: 0 15px;
    }

    .carousel-control.prev,
    .carousel-control.next {
        width: 25px;
        height: 25px;
        font-size: 1rem;
    }
}

/* Recommended Packages Section */
#recommended-packages {
    text-align: center;
}

.custom-carousel {
    position: relative;
    max-width: 100%;
    overflow: hidden;
}

.custom-carousel-inner {
    display: flex;
    transition: transform 0.5s ease;
}

.recommended-package {
    width: 100%;
    max-width: 285px;
    margin: 10px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.3) !important;
    padding: 15px;
    text-align: center;
    flex: 0 0 auto;
}

.recommended-package img {
    max-width: 100%;
    border-radius: 10px;
}

#recommended-packages h3 {
    font-size: 1.5rem;
    color: #2B6CB0;
    margin-bottom: 10px;
}

#recommended-packages p {
    font-size: 1rem;
    color: #555;
    margin-bottom: 7px;
}

.recommended-package h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.recommended-package p {
    font-size: 1rem;
    margin-bottom: 7px;
}

.recommended-package .price {
    font-size: 1.3rem !important;
    color: #ff6600 !important;
    font-weight: bold;
    margin-bottom: 15px;
}

.btn-see-details {
    display: inline-block;
    padding: 8px 15px;
    background-color: #2B6CB0;
    color: #fff;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.btn-see-details:hover {
    background-color: #1A4A7A;
}

/* Estilos de las flechas */
.custom-carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.7);
    color: #fff;
    border: none;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
    font-size: 1.5rem;
    border-radius: 50%;
}

.custom-prev {
    left: 10px;
}

.custom-next {
    right: 10px;
}

.custom-carousel-control:hover {
    background-color: rgba(0, 0, 0, 0.9);
}

/* Media Queries */
@media (max-width: 768px) {
    .recommended-package {
        flex: 0 0 50%;
    }

    .custom-carousel-control.custom-prev,
    .custom-carousel-control.custom-next {
        width: 30px;
        height: 30px;
        font-size: 1.1rem;
    }
}

/* Pantallas extra pequeñas */
@media (max-width: 576px) {
    .recommended-package {
        flex: 0 0 100%;
        margin: 0 auto 20px auto;
    }

    .custom-carousel-inner {
        padding: 0 15px;
    }

    .custom-carousel-control.custom-prev,
    .custom-carousel-control.custom-next {
        width: 25px;
        height: 25px;
        font-size: 1rem;
    }
}