:root {
    --primary-color: #009970;
    --secondary-color: #007a5a;
    --accent-color: #00c492;
    --text-color: #000;
    --background-color: #FFF;
    --light-gray: #f4f4f4;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Roboto', 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
}

.navbar {
    background-color: #fff;
    height: 80px;
    margin: 20px;
    border-radius: 16px;
    padding: 0.5rem;
}

.navbar-brand {
    font-weight: 500;
    color: #009970;
    font-size: 24px;
    transition: 0.3s color;
}

.navbar-toggler {
    border: none;
    font-size: 1.25rem;
}

.navbar-toggler:focus,
.btn-close:focus {
    box-shadow: none;
    outline: none;
}

.nav-link {
    color: #666777;
    font-weight: 500;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: #000;
}

@media (min-width: 991px) {
    .nav-link::before {
        content: "";
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 0;
        height: 2px;
        background-color: #009970;
        visibility: hidden;
        transition: 0.3s ease-in-out;
    }

    .nav-link:hover::before,
    .nav-link.active::before {
        width: 100%;
        visibility: visible;
    }
}

.hero-section {
    background: url(../img/pyramid.jpg) no-repeat center;
    background-size: cover;
    width: 100%;
}

.hero-section::before {
    background-color: rgba(0, 0, 0, 0.6);
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

.hero-section .container {
    height: 100vh;
    z-index: 1;
    position: relative;
}

.container .letra {
    font-size: 3rem;
    /* Tamaño base para pantallas grandes */
    text-transform: uppercase;
    color: #fff;
    text-align: center;
}

.container .four {
    font-size: 1rem;
    /* Tamaño base para texto */
    font-weight: lighter;
    line-height: 1.6;
    padding: 1rem 0;
    color: #eee;
    text-align: center;
}

.btn {
    margin-top: 1rem;
    display: inline-block;
    padding: 0.6rem 1.5rem;
    font-size: 1rem;
    /* Ajuste de tamaño base */
    color: #fff;
    background-color: #009970;
    cursor: pointer;
    border: none;
    border-radius: 5px;
    transition: background-color 0.3s ease-in-out;
}

.btn:hover {
    background-color: #007a5b;
    /* Color más oscuro al pasar el cursor */
}

/* Media Queries para adaptabilidad */
@media (max-width: 1200px) {
    .container .letra {
        font-size: 2.5rem;
        /* Ajuste para pantallas medianas */
    }

    .container .four {
        font-size: 0.9rem;
        /* Ajuste para pantallas medianas */
    }

    .btn {
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .container .letra {
        font-size: 2rem;
        /* Ajuste para tablets */
    }

    .container .four {
        font-size: 0.85rem;
        /* Ajuste para tablets */
    }

    .btn {
        font-size: 0.85rem;
        padding: 0.5rem 1.2rem;
    }
}

@media (max-width: 576px) {
    .container .letra {
        font-size: 1.5rem;
        /* Ajuste para celulares */
    }

    .container .four {
        font-size: 0.8rem;
        /* Ajuste para celulares */
    }

    .btn {
        font-size: 0.8rem;
        padding: 0.4rem 1rem;
    }
}

.custom-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.tour-information {
    padding: 80px 0;
}

.tour-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.tour-header h1 {
    font-size: 3em;
    color: var(--primary-color);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.tour-price {
    font-size: 1.8em;
    color: var(--accent-color);
    font-weight: bold;
}

.tour-header::after {
    content: '';
    display: block;
    width: 100px;
    height: 4px;
    background-color: var(--primary-color);
    margin: 20px auto 0;
}

.information-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 100px;
    gap: 20px; /* Separación entre la imagen y el texto */
    transition: transform 0.3s ease;
    padding: 0; /* Asegúrate de que no haya espacio extra */
}

.information-section:hover {
    transform: translateY(-5px);
}

.information-text {
    flex: 1;
    padding-right: 60px;
    margin-left: 20px;
}

.information-image {
    flex: 1;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-left: 0; /* Eliminar margen izquierdo */
    margin-right: 0; /* Asegura que no haya margen derecho */
}

.information-image img {
    width: 100%; /* Asegura que la imagen ocupe todo el contenedor */
    height: auto;
    display: block;
    transition: transform 0.3s ease;
    object-fit: cover; /* Recorta la imagen proporcionalmente */
}

.information-image:hover {
    transform: scale(1.03);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.information-image:hover img {
    transform: scale(1.1);
}

h2 {
    color: var(--secondary-color);
    margin-bottom: 25px;
    font-size: 2.2em;
    position: relative;
    padding-bottom: 15px;
}

h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 3px;
    background-color: var(--accent-color);
}

p {
    margin-bottom: 20px;
    font-size: 1.1em;
    line-height: 1.8;
}

.details-section, .itinerary-section {
    margin-bottom: 100px;
    transition: transform 0.3s ease;
}

.details-section:hover, .itinerary-section:hover {
    transform: translateY(-5px);
}

.details-section h2, .itinerary-section h2 {
    color: var(--primary-color);
    margin-bottom: 40px;
    text-align: left;
}

.details-section p, .itinerary-section ol {
    margin-bottom: 25px;
    padding-left: 20px;
    border-left: 4px solid var(--accent-color);
}

.itinerary-section ol {
    list-style-type: none;
    counter-reset: item;
}

.itinerary-section li {
    margin-bottom: 25px;
    position: relative;
    padding-left: 40px;
}

.itinerary-section li::before {
    content: counter(item);
    counter-increment: item;
    position: absolute;
    left: 0;
    top: 0;
    background-color: var(--primary-color);
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.tour-includes-excludes {
    display: flex;
    justify-content: space-between;
    margin-bottom: 100px;
}

.tour-includes, .tour-excludes {
    flex: 1;
    background-color: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.tour-includes:hover, .tour-excludes:hover {
    transform: translateY(-5px);
}

.tour-includes {
    margin-right: 30px;
}

.tour-includes h2, .tour-excludes h2 {
    margin-bottom: 30px;
    text-align: center;
}

ul {
    list-style-type: none;
}

ul .tour {
    margin-bottom: 15px;
    position: relative;
    padding-left: 30px;
    font-size: 1.1em;
}

ul .tour::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.tour-excludes ul .tour::before {
    content: '✗';
    color: var(--accent-color);
}

.call-to-action {
    text-align: center;
    margin-bottom: 80px;
}

.special-offer {
    background-color: var(--accent-color);
    color: white;
    padding: 15px;
    border-radius: 5px 5px 0 0;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.cta-button {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 20px 40px;
    text-decoration: none;
    border-radius: 0 0 5px 5px;
    font-size: 1.3em;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(0, 153, 112, 0.3);
}

.cta-button:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 153, 112, 0.4);
}

@media (max-width: 768px) {
    .information-section {
        flex-direction: column;
    }

    .information-text {
        padding-right: 0;
        margin-bottom: 30px;
    }

    .tour-includes-excludes {
        flex-direction: column;
    }

    .tour-includes {
        margin-right: 0;
        margin-bottom: 30px;
    }
}


/* Footer Title */
.footer-title {
    font-size: 1.25rem;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 20px;
}

/* Social Links Styling */
.social-links .btn {
    border-radius: 50%; /* Circular buttons */
    padding: 10px;
    font-size: 1.25rem;
    transition: background-color 0.3s ease;
    margin-right: 10px;
}

.social-links .btn:hover {
    background-color: #007bff;
}

.social-links i {
    color: #ffffff;
}

.social-links .btn-facebook:hover {
    background-color: #3b5998;
}

.social-links .btn-instagram:hover {
    background-color: #e1306c;
}

.social-links .btn-twitter:hover {
    background-color: #1da1f2;
}

.social-links .btn-whatsapp:hover {
    background-color: #25d366;
}

/* Footer Links */
.footer-link {
    color: #b0b0b0;
    font-size: 1rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #ffffff;
}

/* Footer Contact Section */
.footer i {
    color: #ffffff;
    font-size: 1.2rem;
}

.footer .footer-title {
    color: #ffffff;
    font-weight: 600;
}

/* Text Center Section at the Bottom */
.text-center {
    background-color: rgba(0, 0, 0, 0.0);
    color: #ffffff;
    padding: 10px;
    font-size: 0.875rem;
}

/* Media Queries for Responsiveness */
@media (max-width: 767px) {
    .footer {
        padding-top: 30px;
        padding-bottom: 30px;
    }

    .footer-title {
        font-size: 1.1rem;
    }

    .social-links {
        margin-top: 20px;
    }

    .footer .text-center {
        font-size: 0.75rem;
    }
}

@media (max-width: 768px) {
    /* Ajuste para pantallas de 768px y menores */
    .information-section {
        flex-direction: column; /* Cambiar la dirección del flex a columna */
        gap: 20px; /* Ajustar la separación entre imagen y texto */
    }

    .information-text {
        padding-right: 0; /* Eliminar padding derecho */
        margin-left: 0; /* Eliminar margen izquierdo */
        margin-bottom: 20px; /* Añadir un margen inferior para separación */
    }

    .information-image {
        width: 100%; /* Asegura que la imagen ocupe todo el espacio disponible */
        height: auto; /* Mantiene las proporciones de la imagen */
    }

    .information-image img {
        object-fit: cover; /* Asegura que la imagen se recorte de manera proporcional */
    }
}

@media (max-width: 576px) {
    .information-section {
        flex-direction: column;
        gap: 15px; /* Ajustar separación en pantallas más pequeñas */
    }

    .information-image {
        width: 100%;
        height: auto;
    }

    .information-image img {
        object-fit: cover;
    }
}
