body {
    font-family: 'Arial', sans-serif;
    background: white;
    color: black;
    margin: 0;
    padding: 0;

}

.headbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 70px;
    background-color: rgba(0, 0, 0, 0.3);
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    box-sizing: border-box;
}

.headbar nav a {
    color: black;
    text-decoration: none;
    margin: 0 10px;
}

.headbar nav a:hover {
    text-decoration: underline;
}

.contenido {
    margin-top: 70px;
    /* Reduced from 80px */
    padding: 15px;
}

@media (min-width: 768px) {
    .contenido {
        margin-top: 80px;
        padding: 20px;
    }
}


/* Tarjeta con efecto vidrio */
.card-blur {
    background: rgba(255, 255, 255, 0.25);
    /* transparencia para ver el fondo */
    border: 1px solid rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    /* compatibilidad Safari */
    padding: 2rem;
    border-radius: 16px;
    color: #000000;
}

.logo {
    font-size: 1px;
    font-weight: 1px;
    background-image: url("img/Logonaskarremaster.png");
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.custom {
    display: inline-block;
    border: 0.10em solid black;
    border-radius: 1em;
    box-sizing: border-box;
    color: black;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    padding: 1em 2.5em;
    text-align: center;
    transition: all 300ms cubic-bezier(0.23, 1, 0.32, 1);
}

.carrusel {
    position: relative;
    width: 95vw;
    height: 75vh;
    /* Increased from 60vh for vertical mobile photos */
    margin: 20px auto;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgb(161, 147, 147);
}

@media (min-width: 768px) {
    .carrusel {
        height: 80vh;
        margin: 50px auto;
    }
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    background: #fff;
    /* Changed to white for a cleaner look */
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    /* Show full image without cropping */
}

.info {
    position: absolute;
    bottom: 15px;
    left: 15px;
    right: 15px;
    /* Stay within bounds on small screens */
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 12px 18px;
    border-radius: 8px;
    font-size: 0.9em;
    text-align: center;
}

@media (min-width: 768px) {
    .info {
        bottom: 20px;
        left: 20px;
        right: auto;
        padding: 10px 15px;
        font-size: 1em;
        text-align: left;
    }
}

.custom:hover {
    color: black;
    background-color: transparent;
    box-shadow: rgba(0, 0, 0, 0.5)0 10PX 20px;
    transform: translateY(-2px);
}

.custom:active {
    box-shadow: none;
    transform: translateY(0);
}

.slide.active {
    opacity: 1;
}

.video-clean {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Llena el contenedor, puede recortar bordes */
    display: block;
}


/* Este truco hace que el mapa sea responsivo */
.map-container {
    overflow: hidden;
    padding-bottom: 56.25%;
    /* Relación de aspecto 16:9 */
    position: relative;
    height: 0;
    max-width: 100%;
    border-radius: 15px;
    /* Bordes redondeados para estética */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    position: absolute;
}

.btn-soft {
    padding: 12px 25px;
    background-color: #f8f9fa;
    border: none;
    color: #555;
    border-radius: 50px;
    /* Estilo píldora */
    font-size: 15px;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-soft:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    color: #000;
}


/* Imagen específica para Maps */
.maps {
    background-image: url('img/googlemaps.png');

}

/* Imagen específica para Waze */
.waze {
    background-image: url('img/waze.png');
}

.btn-bg {
    padding: 12px 15px 12px 40px;
    /* Reduced padding for mobile */
    border-radius: 50px;
    border: none;
    font-size: 14px;
    /* Slightly smaller font */
    cursor: pointer;
    background-color: #f8f9fa;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    background-repeat: no-repeat;
    background-size: 18px;
    background-position: 12px center;
}

@media (min-width: 768px) {
    .btn-bg {
        padding: 12px 20px 12px 45px;
        font-size: 15px;
        background-size: 20px;
        background-position: 15px center;
    }
}

.btn-bg:hover {
    background-color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}


/* Tarjeta Minimalista de Información */
.info-card {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    max-width: 1000px;
    width: 90%;
    /* Responsive width */
    margin: 30px auto;
    padding: 25px;
    /* Smaller padding for mobile */
    display: grid;
    grid-template-columns: 1fr;
    /* Default to stacked */
    gap: 30px;
    align-items: center;
}

@media (min-width: 850px) {
    .info-card {
        padding: 50px;
        grid-template-columns: 1fr 1fr;
        gap: 50px;
        margin: 50px auto;
    }
}

.info-text {
    text-align: left;
}

.info-text h2 {
    font-size: 1.8em;
    /* Reduced from 2.2em for mobile */
    font-weight: 500;
    color: #111;
    margin-bottom: 20px;
    margin-top: 0;
}

@media (min-width: 768px) {
    .info-text h2 {
        font-size: 2.2em;
        margin-bottom: 25px;
    }
}

.info-text p {
    color: #444;
    font-size: 1em;
    /* Reduced from 1.1em */
    line-height: 1.6;
    /* Tighter leading for mobile */
}

@media (min-width: 768px) {
    .info-text p {
        font-size: 1.1em;
        line-height: 1.8;
    }
}

.tutorial-llegada h2 {
    font-weight: 500;
    margin-bottom: 10px;
    margin-top: 0;
}

.tutorial-llegada p {
    color: #555;
    margin-bottom: 25px;
}

.botones-mapa {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 25px;
    flex-wrap: wrap;
}

/* Responsive adjustments handled above */

/*Api de whatsapp de contacto*/

.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(37, 211, 102, 0.6);
    /* coor oficial de WhatsApp */
    padding: 12px 20px 12px 45px;
    border: none;
    text-decoration: none;
    font-family: Arial, sans-serif;
    font-size: 15px;
    transition: background 0.3s;
}

.btn-whatsapp:hover {
    background: rgba(37, 211, 102, 0.8);
}

.btn-whatsapp .icon {

    width: 20px;
    /* tamaño del ícono */
    height: 20px;
    margin-right: 20px;
    /* espacio entre ícono y texto */
}






/*Animaciones minimalistas on scroll*/

.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    will-change: opacity, transform;
}

.fade-in-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}