/* Importar fuente Montserrat */
body {
    font-family: 'Montserrat', sans-serif;
    background-color: #FFFFFF; /* Fondo totalmente blanco */
    color: #333333;
    padding-top: 0 !important;
}

/* Estado inicial (Transparente) */
.custom-nav {
    background-color: transparent !important;
    transition: background-color 0.5s ease, padding 0.5s ease;
}

/* Estado al bajar (Color sólido) */
.custom-nav.nav-scrolled {
    background-color: #1565C0 !important; /* El azul que elegimos antes */
    padding: 10px 0; /* Se hace un poco más delgada al bajar */
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}
.logo-nav {
    height: 50px;
    transition: 0.3s;
}

.brand-text {
    color: white;
    font-weight: 800;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-link {
    color: white !important;
    text-transform: lowercase;
    font-size: 0.95rem;
    font-weight: 600;
    margin: 0 10px;
    transition: 0.3s;
}

.nav-link:hover {
    color: #26C6DA !important; /* Turquesa al pasar el mouse */
}

.btn-cotizar-nav {
    border: 2px solid #26C6DA !important;
    border-radius: 30px;
    padding: 8px 20px !important;
}

.btn-cotizar-nav:hover {
    background-color: #26C6DA;
    color: #0D47A1 !important;
}

/* Esto asegura que el contenido del carrusel esté por encima de la capa oscura */
.carousel-caption {
    z-index: 10; 
    pointer-events: all; /* Asegura que detecte los clics */
}

.overlay-dark {
    z-index: 5; /* La capa oscura queda atrás del texto */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4); /* Oscurece un poco la imagen */
}

.btn-carrusel {
    position: relative;
    z-index: 15; /* El botón más arriba que todo */
    display: inline-block;
}

/* =========================================
   SECCIONES Y TEXTOS
   ========================================= */
.content-section {
    min-height: 60vh;
}

.section-title {
    font-weight: 800;
    color: #1565C0;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.title-line {
    width: 60px;
    height: 4px;
    background-color: #26C6DA;
    border-radius: 2px;
}

/* Efecto suave para moverse entre secciones */
html {
    scroll-behavior: smooth;
}

/* Botones de las tarjetas */
.card {
    transition: transform 0.3s ease;
}
.card:hover {
    transform: translateY(-10px);
}
/* Asegurar que el body permita que el footer se vaya hasta abajo */
body {
    font-family: 'Montserrat', sans-serif;
    background-color: #FFFFFF;
    color: #333333;
    padding-top: 0 !important;
}

.text-ocean {
    color: #1565C0;
}

/* Sombras en el texto del carrusel para que siempre se lea */
.shadow-text {
    text-shadow: 2px 2px 8px rgba(0,0,0,0.7);
}
/* Altura del carrusel */
.img-carrusel {
    height: 100vh;
    object-fit: cover;
    cursor: pointer;
}

/* Capa oscura tipo gradiente (solo oscurece la base para que se lea el texto) */
.overlay-dark-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 40%);
    z-index: 5;
    pointer-events: none; /* Permite que el clic pase a la imagen de abajo */
}

/* Posicionamiento del texto en la esquina inferior izquierda */
.carousel-caption {
    z-index: 10;
    left: 5% !important; 
    bottom: 40px !important; 
    max-width: 400px;
}

.caption-title {
    font-size: 1.8rem; /* Tamaño más discreto */
    font-weight: 800;
    text-transform: uppercase;
    color: white;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

/* Botón pequeño y elegante */
.btn-carrusel-sm {
    background-color: #26C6DA;
    color: #0D47A1;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 10px 25px;
    border-radius: 4px;
    text-decoration: none;
    text-transform: uppercase;
    transition: 0.3s;
    border: none;
}

.btn-carrusel-sm:hover {
    background-color: white;
    color: #1565C0;
    transform: translateY(-3px);
}

/* Imagen de "Acerca de" con efecto suave */
.info-img {
    transition: transform 0.5s ease;
}
.info-img:hover {
    transform: scale(1.02);
}

/* Tarjetas de "Por qué comprar con nosotros" */
.card-hover {
    transition: transform 0.3s ease;
}
.card-hover:hover {
    transform: translateY(-10px);
}

/* FOOTER - Siempre hasta abajo */
.footer-social {
    background: #0D47A1;
    border-top: 4px solid #26C6DA;
}

.s-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: white;
    color: #0D47A1;
    border-radius: 50%;
    margin: 0 10px;
    text-decoration: none;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.s-icon:hover {
    transform: translateY(-5px);
    background: #26C6DA;
    color: white;
    box-shadow: 0 5px 15px rgba(38, 198, 218, 0.5);
}
/* Estilo para imágenes redondas en la sección de info */
.img-circular {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #26C6DA; /* Borde turquesa para que resalten */
    transition: transform 0.3s ease;
}

.img-circular:hover {
    transform: scale(1.1);
}

/* El footer se mantiene abajo gracias a flexbox en el body */
.footer-social {
    background-color: #0D47A1;
    border-top: 5px solid #26C6DA;
}

/* Títulos y líneas decorativas */
.section-title {
    font-weight: 800;
    color: #1565C0;
}

.title-line {
    width: 80px;
    height: 4px;
    background: #26C6DA;
    border-radius: 2px;
}
.carousel-item a img {
    cursor: pointer;
}
.hero-playas {
            /* Usamos la misma imagen que tu carrusel principal */
            background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('../img/playas.jpg');
            background-size: cover;
            background-position: center;
            background-attachment: fixed;
            height: 65vh;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            text-align: center;
            margin-top: 0;
        }
.nav-link {
    font-size: 15px !important;      /* Cambia el número por el tamaño que más te guste */
    text-transform: uppercase;       /* Hace que todo el texto sea mayúsculas */
    font-weight: bold;               /* Opcional: por si las quieres hacer negritas */
}

/* --- BANNER RESPONSIVO CON IMAGEN LARGA --- */
.container-banner-empresa {
    /* Mantiene una altura mínima para que nunca se colapse si la imagen tarda en cargar */
    min-height: 200px; 
}

.img-banner-responsiva {
    object-fit: cover;
    max-height: 550px; /* Evita que la imagen se haga gigante de alto en pantallas muy grandes */
}

/* Capa oscura degradada de izquierda a derecha */
.overlay-banner-empresa {
    background: linear-gradient(to right, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0) 100%);
}

/* Caja de texto con un sutil desenfoque de fondo para mejorar contraste si la imagen es clara */
.text-container-blur {
    backdrop-filter: blur(3px);
}

/* Tipografías adaptables para que no se desborden en celular */
.section-banner-title {
    font-size: calc(1.3rem + 1vw);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
}

.small-text-responsive {
    font-size: calc(0.9rem + 0.2vw);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
}

/* Ajustes específicos para pantallas de celulares */
@media (max-width: 767.98px) {
    .overlay-banner-empresa {
        /* En móviles se oscurece por completo de forma uniforme para proteger la lectura */
        background: rgba(0, 0, 0, 0.55); 
    }
    .img-banner-responsiva {
        /* En móviles la imagen se reduce un poco en proporción para verse tipo pancarta */
        min-height: 250px; 
    }
    .text-container-blur {
        text-align: center;
        width: 100%;
    }
}       