* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: #212121;
    overflow-x: hidden;
    font-family: Arial, sans-serif;
}

/* =========================================
   MENÚ / HEADER SUPERIOR
   ========================================= */
.menu {
    width: 100%;
    height: 130px;
    background-color: #0E0E0E;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 35px;
    box-sizing: border-box;
}

/* LOGO FFAVENTURA */
.FFaventura {
    display: block;
    width: 250px;
    height: 90px;
    flex-shrink: 0;
    padding: 0;
    border: none;
    background: white;
}

.FFaventura img {
    display: block;
    width: 120%;
    height: 150%;
    left: -12%;
    top: -28%;
    position: relative;
    object-fit: contain;
}

/* NAVEGACIÓN Y BOTONES DEL HEADER */
header nav {
    display: flex;
    align-items: center;
    gap: 20px;
}

.acceso,
.circuitos,
.contacto {
    border: none;
    cursor: pointer;
    font-size: 20px;
    padding: 12px 24px;
    background-color: #FF8500;
    color: #FFFFFF;
    border-radius: 6px;
    left: -100%;
    display: inline-block;
    white-space: nowrap;
    text-decoration: none;
    transition: background-color 0.2s;
    position: relative;
}

.acceso:hover,
.circuitos:hover,
.contacto:hover {
    background-color: #e97800;
}

/* PANEL ADMIN */
#panelAdmin {
    display: none;
    text-decoration: none;
}

.panelAdmin {
    min-width: 150px;
    height: 50px;
    padding: 10px 20px;
    background-color: #FF8500;
    color: white;
    font-size: 18px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.panelAdmin:hover {
    background-color: #e97800;
}

/* =========================================
   SECCIÓN HERO / IMAGEN PRINCIPAL
   ========================================= */
 .catalogo {
    position: relative;
    margin-top: 130px; /* Deja espacio para el menú fijo */
}

.imagenlogo {
    width: 100vw;
    height: calc(100vh - 130px);
    object-fit: cover;
    display: block;
}

/* Contenedor principal para alinear la imagen y el eslogan juntos */
 .hero-contenido {
    position: absolute;
    z-index: 3;
    top: 25%;
    left: 10%;
    right: 10%;
    display: flex;
    align-items: center;
    gap: 15px;
}

.imageneslogan {
    width: 300px;
    max-width: 100%;
    height: auto;
    flex-shrink: 0;
    transform: translateY(-70px);
}

.eslogan {
    width: 100%;
    max-width: 1900px;
    height: auto;
    display: block;
    align-self: center;
}

/* =========================================
   BUSCADOR (ARREGLADO CON FLEXBOX)
   ========================================= */
 /* =========================================
   BUSCADOR CENTRADO
   ========================================= */
.Destinos,
.Fechas{
    color: #FF8500;
}
.seccion-busqueda {
    position: relative;
    width: 90%;
    max-width: 950px;
    margin: 20px auto 40px auto; /* CAMBIAMOS de -150px a -80px para que baje y se posicione bien */
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    z-index: 10;
}

.Encuentratupróximoviaje {
    text-align: center;
    width: 100%;
    margin-bottom: 20px;
    color: #FF8500;
}

.fondobusqueda {
    width: 100%;
    background-color: (14, 14, 14, 0.9); /* Fondo oscuro semitransparente */
    border: 2px solid #FF8500;
    border-radius: 10px;
    padding: 25px;
    box-sizing: border-box;
    display: flex;
    align-items: flex-end;
    justify-content: center; /* Centra el contenido dentro de la caja */
    gap: 20px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.5);
}

.campo-busqueda {
    display: flex;
    flex-direction: column;
    flex: 1;
    text-align: left; /* Alinea las etiquetas 'Destinos' y 'Rangos' prolijamente a la izquierda dentro de su columna */
}

/* Estilos de los inputs y botones dentro del buscador */
.listadestinos,
.FechasDestinos input {
    width: 100%;
    height: 40px;
    padding: 5px 10px;
    border-radius: 4px;
    border: 1px solid #FF8500;
    background-color: white;
    color: #FF8500;
    font-size: 16px;
}

.FechasDestinos {
    display: flex;
    gap: 10px;
    width: 100%;
}

.BUSCAR {
    height: 40px;
    padding: 0 25px;
    background-color: #FF8500;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    color: white;
    font-size: 16px;
    font-weight: bold;
    transition: background-color 0.2s;
}

.BUSCAR:hover {
    background-color: #e97800;
}

/* =========================================
   SECCIÓN DE CUENTA / USUARIO
   ========================================= */
#cuenta {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    margin-left: 15px;
    z-index: 1003;
}

.button-cuenta {
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.boton-imagen {
    width: 80px;
    height: 90px;
    position: fixed;
    top: 15px;
    right: 20px;
    cursor: pointer;
    border: none;
    background: transparent;
    padding: 0;
    z-index: 1001;
}
.boton-imagen img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.boton-imagen img,
.logo-cuenta {
    width: 100%;
    height: 100%;
    object-type: contain;
    border-radius: 50%;
}

/* Cuadrado desplegable de cuenta */
.cuadrado-cuenta {
    display: none;
    position: absolute;
    top: 70px;
    right: 0;
    width: 220px;
    background-color: #0E0E0E;
    border: 2px solid #FF8500;
    z-index: 2000;
    border-radius: 8px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.5);
    padding: 15px;
    box-sizing: border-box;
}

.cuadrado-cuenta.mostrar {
    display: block; 
}

#nombre-usuario {
    color: #FF8500;
    font-size: 20px;
    text-align: center;
    display: block;
    margin-bottom: 15px;
}

.cerrar-sesion {
    color: #FF8500;
    cursor: pointer;
    display: block;
    text-align: center;
    font-size: 16px;
    text-decoration: none;
}

.cerrar-sesion:hover {
    text-decoration: underline;
}


/* =========================================
   CATÁLOGO / SECCIÓN DE VIAJES PÚBLICOS
   ========================================= */
.seccion-catalogo {
    padding: 60px 40px;
    color: #FF8500;
    background-color: #212121;
}

.seccion-catalogo h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 36px;
}

.lista-viajes-publicos {
    display: grid;
     grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px;
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
    box-sizing: border-box;
}

.tarjeta-viaje-publico {
    width: 100%;
    height: 390px;
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 12px;
    background: #181818;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    color: white;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
}

.tarjeta-viaje-publico:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.imagen-viaje-publico {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.precio {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 10;
    padding: 6px 12px;
    background-color: #FF8500;
    color: white;
    font-size: 14px;
    font-weight: bold;
    border-radius: 4px;
}

/* =========================================
   MEDIA QUERIES (RESPONSIVE)
   ========================================= */

/* =========================================
   DISEÑO RESPONSIVE PARA CELULARES
   ========================================= */

@media (max-width: 768px) {

    /* MENÚ */
    .menu {
        height: auto;
        min-height: 85px;
        padding: 10px 15px;
        flex-wrap: wrap;
        gap: 10px;
    }

    .FFaventura {
        width: 150px;
        height: 60px;
    }

    .FFaventura img {
        width: 120%;
        height: 150%;
    }

    header nav {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        gap: 8px;
    }

    .acceso,
    .circuitos,
    .contacto {
        font-size: 13px;
        padding: 9px 12px;
        left: 0;
    }

    .panelAdmin {
        min-width: auto;
        height: auto;
        font-size: 13px;
        padding: 9px 12px;
    }

    /* CUENTA */
    .boton-imagen {
        width: 45px;
        height: 45px;
        top: 15px;
        right: 15px;
    }

    /* IMAGEN PRINCIPAL */
    .catalogo {
        margin-top: 130px;
    }

    .imagenlogo {
        width: 100%;
        height: 55vh;
        object-fit: cover;
    }

    .hero-contenido {
        top: 15%;
        left: 5%;
        right: 5%;
        flex-direction: column;
        gap: 5px;
    }

    .imageneslogan {
        width: 130px;
        transform: none;
    }

    .eslogan {
        width: 100%;
        max-width: 100%;
    }

    /* BUSCADOR */
    .seccion-busqueda {
        width: 95%;
        margin: 20px auto;
    }

    .fondobusqueda {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        padding: 15px;
        gap: 15px;
    }

    .campo-busqueda {
        width: 100%;
    }

    .FechasDestinos {
        flex-direction: column;
    }

    .BUSCAR {
        width: 100%;
    }

    /* CATÁLOGO */
    .seccion-catalogo {
        padding: 35px 15px;
    }

    .seccion-catalogo h2 {
        font-size: 27px;
    }

    .lista-viajes-publicos {
        width: 100%;
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .tarjeta-viaje-publico {
        height: auto;
        min-height: 300px;
    }

    .imagen-viaje-publico {
        height: 230px;
    }

    .cuadrado-cuenta {
        right: 0;
        width: 200px;
    }
}

/* CELULARES MUY PEQUEÑOS */
@media (max-width: 400px) {

    .FFaventura {
        width: 120px;
    }

    .acceso,
    .circuitos,
    .contacto {
        font-size: 11px;
        padding: 8px;
    }

    .seccion-catalogo h2 {
        font-size: 23px;
    }
}

#mensaje-busqueda {
    color: #FF8500; /* Color del mensaje */
    font-family: Arial, sans-serif;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    margin-top: 15px;
}