body {
    font-family: Arial, sans-serif;
    margin-top: 60px; /* Altura de la barra de navegación fija */
}

/* Estilos del carrusel */
.header {
    height: 90vh; /* Altura del carrusel */
    overflow: hidden;
    background-color: #f0f4f8; /* Color de fondo claro */
}
.brand-logo {
    height: 2em; /* Ajusta la altura de la imagen al tamaño de la letra */
    width: auto; /* Mantiene la proporción de la imagen */
    margin-right: 5px; /* Espacio entre la imagen y el texto */
    vertical-align: middle; /* Alinea verticalmente la imagen con el texto */
}

.header .carousel-item {
    height: 90vh;
}

.header .carousel-item img {
    object-fit: cover;
    height: 100%;
    width: 100%;
    transition: transform 1.5s ease-in-out; /* Animación de entrada/salida */
}

.carousel-caption {
    background: rgba(0, 0, 0, 0.5); /* Fondo semitransparente para el texto */
    padding: 20px;
    border-radius: 10px;
}

/* Media Queries para dispositivos móviles */
@media (max-width: 768px) {
    .header {
        height: 60vh; /* Ajustar la altura del carrusel en dispositivos móviles */
    }

    .header .carousel-item {
        height: 60vh;
    }

    .header .carousel-item img {
        object-fit: cover; /* Asegurar que la imagen cubra el área del carrusel */
        height: 100%;
        width: 100%;
    }

    .carousel-caption {
        font-size: 16px; /* Ajustar el tamaño de la fuente en dispositivos móviles */
        padding: 10px; /* Reducir el padding para que el texto se vea mejor */
    }
}

/* Media Queries para portátiles */
@media (min-width: 769px) and (max-width: 1200px) {
    .header {
        height: 75vh; /* Ajustar la altura del carrusel en portátiles */
    }

    .header .carousel-item {
        height: 75vh;
    }
}

/* Estilos de las secciones */
.services {
    background-color: #eaf2f8; /* Color de fondo claro */
    padding: 60px 0;
    transition: opacity 1s ease, transform 1s ease;
}

.tourist {
    background-color: #f8f8fa; /* Color de fondo diferente */
    padding: 60px 0;
    transition: opacity 1s ease, transform 1s ease;
}

.about {
    background-color: #eaf2f8; /* Otro color de fondo claro */
    padding: 60px 0;
    transition: opacity 1s ease, transform 1s ease;
}

.contact {
    background-color: #f0f4f8; /* Volver al color inicial */
    padding: 60px 0;
    transition: opacity 1s ease, transform 1s ease;
}

.services, .tourist, .contact, .about {
    opacity: 1;
    transform: translateY(0);
}

.services.fadeout, .tourist.fadeout, .contact.fadeout, .about.fadeout {
    opacity: 0;
    transform: translateY(50px);
}

.services h3, .tourist h3, .about h2, .contact h2 {
    margin-top: 20px;
}

.service-item img {
    width: 200px; /* Aumentar el tamaño de las imágenes */
    height: 200px;
    transition: transform 1s ease-in-out; /* Agregar animación a las imágenes */
}

.service-item, .tourist-item {
    margin-bottom: 40px;
}

.service-item p, .tourist-item p {
    margin-top: 10px;
}

footer {
    background-color: #343a40;
    color: #fff;
    padding: 20px 0;
}

/* Estilos de la barra de navegación */
.navbar {
    background: #333; /* Fondo oscuro */
    transition: background-color 0.5s ease;
}

.navbar-brand {
    font-weight: bold;
    font-size: 24px;
    color: #9d9d9d;
}

.navbar-nav .nav-link {
    font-size: 18px;
    margin-right: 15px;
    color: #fff;
    transition: color 0.3s;
}

.navbar-nav .nav-link:hover {
    color: #f39c12; /* Color al pasar el mouse */
}

.navbar.scrolled {
    background-color: #fff !important;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

#contact .social-icons .btn {
    margin-top: 10px;
}

/* Otros ajustes */
.header {
    position: relative;
    background: no-repeat center center;
    background-size: cover;
    margin-top: 56px; /* Ajuste para la navbar */
}

.header .carousel-caption {
    position: absolute;
    bottom: 20%;
}

footer {
    background: #333;
    color: #fff;
    padding: 20px 0;
}

.navbar {
    background-color: rgba(255, 255, 255, 0.9) !important;
}

.navbar a {
    font-weight: bold;
}

.navbar-nav .nav-item.active .nav-link {
    color: #007bff !important;
}

/* Estilos para las imágenes circulares */
.img-fluid.fixed-size {
    width: 200px;
    height: 200px;
    border-radius: 60%;
    object-fit: cover;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin: 20px;
}

/* Estilo para los contenedores de texto e imagen */
.d-flex.align-items-center {
    justify-content: space-between;
}

@media (max-width: 768px) {
    .d-flex.align-items-center {
        flex-direction: column;
        text-align: center;
    }

    .img-fluid.fixed-size {
        margin: 0 auto 20px auto;
    }

    .text-left,
    .text-right {
        text-align: center !important;
        margin: 0;
    }
}
/* style.css */
.btn-floating {
    position: fixed;
    width: 60px;
    height: 60px;
    background-color: #25d366; /* WhatsApp color */
    border-radius: 50px;
    text-align: center;
    box-shadow: 2px 2px 3px #999;
    z-index: 1000;
}

#btn1 {
    bottom: 40px; /* Botón de WhatsApp */
    right: 40px;
}

#btn2 {
    bottom: 120px; /* Botón de Facebook, ajustado más arriba */
    right: 40px;
}

.btn-floating img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
}

/* Estilo para la animación */
.animated-button {
    animation: fadeIn 1.5s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
