/* =========================
   RESET PROFESIONAL
========================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* =========================
   BODY
========================= */
html, body {
    height: 100%;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background:
        linear-gradient(rgba(0,60,120,0.45), rgba(0,60,120,0.45)),
        url("../img/fondo1.jpeg");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    flex-direction: column;
    padding-top: 90px; /* Altura navbar desktop */
}

/* Ajuste padding-top en móvil */
@media (max-width: 768px) {
    body {
        padding-top: 70px;
        background-attachment: scroll;
    }
}

.page-content {
    flex: 1;
}

/* =========================
   NAVBAR (HEADER)
========================= */
.navbar {
    background: rgba(0, 0, 0, 0) !important;
    backdrop-filter: blur(8px);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;

    height: 90px; /* Altura fija para desktop */
    padding: 0 20px;

    display: flex;
    align-items: center;
}

.navbar a {
    color: #000000 !important;
    font-weight: 500;
    text-decoration: none;
}

/* LOGO */
.navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    transition: transform 0.3s ease;
}

.navbar-brand:hover {
    transform: scale(1.05);
}

/* Tamaño del logo */
.hero-logo {
    height: 60px;
    width: auto;
}

/* TEXTO DEL LOGO */
.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo-main {
    display: flex;
    align-items: center;
    gap: 2px;
}

.logo-main span {
    font-size: 24px;
    font-weight: 700;
}

.transfer {
    font-size: 12px;
    letter-spacing: 3px;
    color: white;
    margin-top: 2px;
    font-weight: 600;
}

/* COLORES DEL TEXTO DEL LOGO */
.sky { color: #0d4d94; }
.dos { color: #ffb300; }
.stay { color: #ffffff; }

/* BOTÓN DESTACADO */
.navbar .btn {
    border-radius: 8px;
    white-space: nowrap;
}

/* =========================
   NAVBAR MOBILE
========================= */
@media (max-width: 768px) {
    .navbar {
        height: 70px; /* Más pequeño en móvil */
        padding: 0 10px;
    }

    .hero-logo {
        height: 45px;
    }

    .logo-main span {
        font-size: 15px;
    }

    .transfer {
        font-size: 9px;
        letter-spacing: 1px;
    }

    /* Menu colapsado: fondo, padding y estilo para dropdown */
    .navbar-collapse {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        padding: 15px;
        border-radius: 10px;
        margin-top: 10px;
    }

    /* Ordenar el botón tours transfer y hamburguesa */
    .navbar .btn { order: 2; }
    .navbar-toggler { order: 3; }
}

/* =========================
   HERO
========================= */
.hero-section {
    position: relative;
    background: transparent;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    margin-top: 5px;
    padding-top: 20px;
    padding-bottom: 40px;
    color: #fff;
    z-index: 1;
}

.hero-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.08);
    pointer-events: none;
}

.hero-section .container,
.hero-section .row,
.hero-section .col-lg-6,
.hero-section .col-lg-5 {
    position: relative;
    z-index: 2;
}

.hero-section .container{
    max-width: 1200px;
    margin:auto;
    padding-left:40px;
    padding-right:40px;
}

.col-lg-8 {
    padding-right: 40px;
}

/* TITULO grande y bold */
.hero-section h1 {
    font-weight: 700;
    font-size: 42px;
    line-height: 1.2;
    margin-bottom: 12px;
    color: #0c0c0c;
}

.hero-section p {
    font-size: 18px;
    opacity: 0.95;
    color: #f4f8ff;
    margin-bottom: 24px;
}

/* =========================
   CARDS
========================= */
.booking-card {
    background: rgba(255, 255, 255, 0);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 30px;
    color: #222;
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
    max-width: 100%;
}

.booking-card label {
    color: #1f2a37;
    font-weight: 600;
    margin-bottom: 6px;
}

.booking-card input,
.booking-card select,
.booking-card textarea {
    color: #222;
    background: #ffffff;
}

.summary-card {
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    color: #0f172a;
    border: 1px solid rgba(255, 255, 255, 0.16);
}

.summary-card h4 {
    font-weight: 700;
    margin-bottom: 20px;
    color: #0b1f35;
}

/* INPUTS redondeados y gloss azul */
.form-control,
.form-select {
    border-radius: 10px;
    padding: 10px 12px;
    border: 1px solid #dbe2ea;
    min-height: 44px;
}

.form-control:focus,
.form-select:focus {
    border-color: #0077ff;
    box-shadow: 0 0 0 0.15rem rgba(0, 119, 255, 0.20);
    outline: none;
}

/* TEXTAREA */
textarea.form-control {
    min-height: 100px;
    resize: vertical;
}

/* PRICE BOX */
.price-box {
    background: #f1f7ff;
    border-radius: 8px;
    padding: 18px;
    border: 1px solid #d9e9ff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 2;
    margin-bottom: 20px;
}

#priceText {
    font-size: 24px;
    font-weight: bold;
    color: #ffb300;
    margin-bottom: 20px; /* Ajusta el número a tu gusto */
    display: block;      /* Asegura que ocupe su propia línea */
}

/* BOTON amarrillo */
.btn-warning {
    background: #ffc107;
    border: none;
    font-weight: 600;
    padding: 12px 28px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.20);
    transition: all 0.3s ease;
}

.btn-warning:hover {
    background: #ffb300;
    transform: translateY(-1px);
}

/* =========================
   FOOTER
========================= */
footer {
    background: #0c1b2a;
    color: #fff;
    text-align: center;
    padding: 10px;
}

/* =========================
   RESPONSIVE ADICIONAL
========================= */
@media (max-width: 768px) {

    .hero-section {
        min-height: 100vh;
        padding-top: 100px;
        text-align: center;
        background-position: center center;
        z-index: 1;
    }

    .hero-section h1 {
        font-size: 30px;
    }

    .hero-section p {
        font-size: 16px;
    }

    .hero-logo {
        width: 120px;
        margin-bottom: 15px;
    }

    .booking-card {
        padding: 20px;
    }

    .summary-card {
        margin-top: 20px;
    }

    .navbar {
        height: auto !important;
        padding: 8px 12px;
        border-radius: 15px;
        top: 10px;
    }

    .logo-brand img {
        height: 60px;
        margin-top: 0;
        margin-right: 0;
    }

    .logo-main span {
        font-size: 15px;
    }

    .transfer {
        font-size: 9px;
        letter-spacing: 1px;
    }

    .btn-warning {
        width: 100%;
    }
}

/* Espacios de input */
.booking-card .col-md-3,
.booking-card .col-md-4,
.booking-card .col-md-6,
.booking-card .col-12 {
    margin-bottom: 15px;
}

/* Galería */
.gallery-box {
    position: relative;
    height: auto; /* Cambiado de 10% a auto */
    min-height: 350px; /* Le da un cuerpo sólido en PC */
    width: 100%;
    margin: 0;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 1;
}

.gallery-container {
    margin-top: 15px;
}

.gallery-img {
    height: 240px;
    object-fit: cover;
    border-radius: 10px;
}

/* Controles de carrusel */
.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    padding: 18px;
}

/* Responsive galería */
@media (max-width: 768px) {
    .gallery-box {
        transform: none !important;
        margin: 20px 0;
        width: 100%;
    }

    .gallery-img {
        max-height: 180px;
    }
}

@media (max-width: 768px) {

    .row.g-3 > [class*="col-"] {
        width: 100%;
    }

}

/* Caption personalizado */
.custom-caption {
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    border-radius: 10px;
    padding: 10px;
    text-align: center;
}

.custom-caption h5,
.custom-caption p {
    margin: 0;
    transform: none;
}

.custom-caption p {
    font-size: 14px;
    opacity: 0.9;
}

/* Navbar btn y toggler orden para tablet */
@media (max-width: 991px) {
    .navbar .btn {
        order: 2;
    }
    .navbar-toggler {
        order: 3;
    }
}

/* Whatsapp flotante */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 60px;
    height: 60px;
    z-index: 9999;
}

.whatsapp-float img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.whatsapp-float img:hover {
    transform: scale(1.1);
}

/* Animaciones y steps */
@keyframes fade {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.step {
    display: none !important;
    opacity: 0;
    transition: 0.3s;
}

.step.active {
    display: block !important;
    opacity: 1;
    animation: fade 0.4s ease-in; /* Usa la animación que ya creaste */
}

/* Mapa */
#map {
    width: 100%;
    height: 400px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Diseño de vehículo */
.carousel h5,
.carousel p {
    transform: none;
}

/* Diseño de textos de inicio */
.lead {
    color: white;
}

/* Diseño de política */
.booking-card h2 {
    font-weight: 700;
    margin-bottom: 20px;
    color: #0b1f35;
}

.booking-card h4 {
    margin-top: 25px;
    font-weight: 700;
    color: #0d4d94;
}

.booking-card h5 {
    margin-top: 15px;
    font-weight: 600;
    color: #1f2a37;
}

.booking-card ul {
    padding-left: 20px;
    margin-bottom: 15px;
}

.booking-card li {
    margin-bottom: 6px;
}

.booking-card hr {
    margin: 25px 0;
    border-color: rgba(0, 0, 0, 0.1);
}

.policy-card ul {
    color: white;
    list-style-type: disc;
    padding-left: 20px;
    margin-bottom: 15px;
    list-style: none;
    padding-left: 0;
    margin-left: 0;
}

/* Wide card */
.wide-card {
    margin: 20px 40px;
    max-width: 90%;
    text-align: left;
    padding: 30px;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.hero-section .container-fluid {
    padding-left: 20px;
    padding-right: 20px;
}

.policy-card {
    max-width: 1200px;
    margin: 20px auto;
    padding: 30px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    text-align: left;
    color: #000;
    line-height: 1.6;
}

/* Títulos de política */
.policy-card h2 {
    font-size: 32px;
    margin-bottom: 20px;
    color: #0d4d94;
}

.policy-card h4 {
    font-size: 24px;
    margin-top: 20px;
    margin-bottom: 10px;
    color: #0d4d94;
}

.policy-card h5 {
    font-size: 18px;
    margin-top: 15px;
    margin-bottom: 8px;
    color: #0b2a50;
}

.policy-title {
    text-align: center;
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 30px;
    color: #0c0c0c;
}

/**/
@media (max-width: 768px) {
    #priceText {
        font-size: 20px;
        text-align: center;
        margin-bottom: 10px;
    }
    
    .price-box {
        flex-direction: column; /* Apila el texto y el precio */
        gap: 5px;
    }
}

@media (max-width: 768px) {

    .form-control,
    .form-select {
        font-size: 16px;
        padding: 14px;
    }

    label {
        font-size: 14px;
    }

}
/**/
@media (max-width: 768px) {

    .container {
        padding: 0 18px !important;
    }

    form {
        background: rgba(255,255,255,0.08);
        padding: 15px;
        border-radius: 15px;
    }

}

/*separacion de inputs */
.form-label {
    margin-bottom: 6px;
}

.form-control,
.form-select {
    margin-bottom: 12px;
}

/*esto para mejorar input*/
@media (max-width: 768px) {

    .form-control,
    .form-select {
        border-radius: 14px;
        padding: 14px;
        border: none;
        box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    }

}

/*espacio entre los bloques*/
@media (max-width: 768px) {

    .row.g-2 > div,
    .row.g-3 > div {
        margin-bottom: 10px;
    }

}
/*diseno de bookinf formulario
.booking-wrapper {
    max-width: 500px;
    margin: auto;
}*/

/* MEJORA ESTO: Para que en PC se vea amplio y en móvil centrado */
.booking-wrapper {
    max-width: 1200px; /* Ancho de una web profesional moderna */
    margin: auto;
    width: 100%;
}

@media (max-width: 768px) {

    .booking-wrapper {
        padding: 10px;
    }

    #bookingForm {
        width: 100%;
        margin: 0;
        background: rgba(255, 255, 255, 0.15);
        backdrop-filter: blur(12px);
        border-radius: 20px;
        padding: 18px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    }

}

/*para movil*/
@media (max-width: 768px) {
    .hero-section .container {
        padding-left: 15px;
        padding-right: 15px;
    }
}
/*para pc*/
@media (min-width: 992px) {
    .hero-section .container {
        max-width: 1240px;
        padding-left: 15px; /* Reducimos para que no "apriete" las columnas */
        padding-right: 15px;
    }

    /* Forzamos a que el formulario y la galería tengan la misma altura visual */
    .row.align-items-stretch { 
        display: flex;
    }
}
/*para movil */
@media (max-width: 768px) {
    .gallery-box {
        margin-top: 20px;
    }
}


input[list]::-webkit-calendar-picker-indicator {
    display: none !important; /* Limpia la flecha fea de los datalists */
}