/* Estilos generales */
body {
    font-family: 'Montserrat', sans-serif;
    background-color: #f5f7fa;
    font-weight: 600;
}

/* Header */
.main-header {
    background: linear-gradient(135deg, #0c0150, #00aaff);
    padding: 10px 0;
    position: relative;
}

/* Hero Banner */
.hero-banner {
    padding: 120px 0;
    background: url('img/hero-bg.jpg') no-repeat center center/cover;
    position: relative;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: white;
    text-align: center;
}

.hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

/* Botones */
.btn-promo {
    background: linear-gradient(90deg, #ff9900, #ffcc00);
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
    position: relative;
    overflow: hidden;
    color: #000;
    font-weight: bold;
}

.search-btn {
    background: linear-gradient(90deg, #0c0150, #00aaff);
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
    position: relative;
    overflow: hidden;
}

.book-btn {
    background: linear-gradient(90deg, #0c0150, #00aaff);
    border: none;
    padding: 8px 16px;
    border-radius: 25px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.reserve-now-btn {
    background: linear-gradient(90deg, #28a745, #20c997);
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

/* Efectos hover para botones */
.btn-promo:hover,
.search-btn:hover,
.book-btn:hover,
.reserve-now-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    filter: brightness(1.1);
}

/* Selector de tipo de viaje */
.trip-type-btn {
    width: 150px;
    padding: 10px 0;
    border-radius: 25px;
    transition: all 0.3s ease;
    border: 2px solid #0c0150;
    background: #e9ecef;
    color: #0c0150;
    font-weight: 500;
}

.trip-type-btn.active {
    background: linear-gradient(90deg, #0c0150, #00aaff);
    color: white;
    border: none;
    box-shadow: 0 0 10px rgba(0, 74, 173, 0.5);
}

.trip-type-btn:hover {
    filter: brightness(1.05);
    box-shadow: 0 0 10px rgba(0, 74, 173, 0.3);
}

.trip-type-btn:active {
    transform: scale(0.95);
}

/* Panel de búsqueda */
.flight-search-panel {
    background: url('img/search-bg.png') no-repeat center center/cover;
    border: none;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    z-index: 10;
}

.flight-search-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.95);
    z-index: 1;
}

.flight-search-panel * {
    position: relative;
    z-index: 2;
}

/* Tarjetas de ofertas */
.flight-offer {
    border: none;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.flight-offer:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

/* Footer */
.main-footer {
    background: #0c0150;
    padding: 40px 0;
}

/* Resto de estilos (mantenidos pero con posibles ajustes) */
.form-label {
    font-size: 1.1rem;
    font-weight: 600;
    color: #0c0150;
    text-transform: uppercase;
}

.form-control {
    border: 2px solid #0c0150;
    border-radius: 8px;
    padding: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-control:focus {
    border-color: #00aaff;
    box-shadow: 0 0 8px rgba(0, 170, 255, 0.3);
    outline: none;
}

.suggestions-list {
    position: absolute;
    z-index: 1000;
    width: 100%;
    max-height: 200px;
    overflow-y: auto;
    display: none;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.suggestions-list .list-group-item {
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.suggestions-list .list-group-item:hover {
    background-color: #e9ecef;
}

#flight-results {
    margin-top: 2rem;
    position: relative;
    z-index: 5;
}

#flights-table {
    background-color: #ffffff;
    opacity: 1;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    border: 2px solid #0c0150;
    z-index: 20;
}

#flights-table th {
    background: linear-gradient(90deg, #0c0150, #00aaff);
    color: white;
    font-weight: 700;
    font-size: 1.2rem;
    padding: 14px;
    text-transform: uppercase;
}

#flights-table td {
    vertical-align: middle;
    font-size: 1.1rem;
    font-weight: 500;
    padding: 14px;
    border: 1px solid #dee2e6;
    color: #333;
}

#flights-table tr:nth-child(even) {
    background-color: #f8f9fa;
}

#flights-table .book-btn {
    padding: 8px 16px;
    font-size: 1rem;
    font-weight: 600;
}

#destinos-destacados img {
    max-height: 350px;
    object-fit: cover;
    width: 100%;
}

#destinos-destacados h5 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #0c0150;
}

#destinos-destacados p {
    font-size: 0.9rem;
    color: #555;
}

.promo-timer {
    margin-top: 2rem;
    padding: 1.5rem;
    background: rgba(12, 1, 80, 0.7);
    border-radius: 12px;
}

/* Media queries */
@media (max-width: 767px) {
    .hero-banner {
        padding: 80px 0;
    }
    
    .trip-type-btn {
        width: 100%;
        margin-bottom: 0.5rem;
    }
    
    #flight-search-form {
        flex-direction: column;
    }
    
    #flight-search-form .col-12 {
        margin-bottom: 1rem;
    }
    
    .flight-offer {
        margin-bottom: 1.5rem;
    }
    
    #destinos-destacados img {
        max-height: 350px;
    }
    
    #flights-table th,
    #flights-table td {
        font-size: 0.9rem;
        padding: 10px;
    }
    
    #flights-table .book-btn {
        padding: 6px 12px;
        font-size: 0.9rem;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
    }
}