/* Flights Page Styles */

.flights-header {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--secondary-green) 100%);
    padding: 120px 0 60px;
    margin-top: 70px;
    position: relative;
    overflow: hidden;
}

.flights-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.05" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,138.7C960,139,1056,117,1152,101.3C1248,85,1344,75,1392,69.3L1440,64L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
}

.bg-gradient-green {
    background: linear-gradient(135deg, var(--secondary-green), var(--light-green));
}

.section-title {
    color: var(--primary-green);
    font-weight: bold;
    margin-bottom: 1rem;
    position: relative;
}

.section-subtitle {
    color: var(--dark-gray);
    font-size: 1.1rem;
}

.hero-stats .badge {
    font-size: 0.9rem;
    padding: 8px 15px;
}

/* Flight Search */
.flight-search {
    position: relative;
    z-index: 2;
}

.flight-search .card {
    border: none;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.input-group-text {
    background: var(--light-gray);
    border: 1px solid var(--secondary-green);
    color: var(--secondary-green);
}

.form-control, .form-select {
    border: 2px solid var(--secondary-green);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.form-control:focus, .form-select:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 0.2rem rgba(255, 215, 0, 0.25);
}

.btn-primary-custom {
    background: var(--secondary-green);
    border: 2px solid var(--secondary-green);
    color: var(--white);
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary-custom:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--dark-green);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
}

/* Featured Airlines */
.featured-airlines {
    background: var(--light-gray);
}

.airline-card {
    background: var(--white);
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    transition: all 0.3s ease;
    border: 3px solid transparent;
    height: 100%;
}

.airline-card:hover {
    border-color: var(--secondary-green);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 140, 90, 0.2);
}

.airline-logo {
    width: 120px;
    height: 60px;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.airline-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.airline-card h5 {
    color: var(--primary-green);
    font-weight: bold;
    margin-bottom: 8px;
}

.airline-card p {
    color: var(--dark-gray);
    margin-bottom: 15px;
}

.airline-features .badge {
    margin-right: 5px;
    margin-bottom: 5px;
}

/* Flight Results */
.flight-results {
    background: var(--white);
}

.flight-card {
    background: var(--white);
    border: 2px solid var(--light-gray);
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.flight-card:hover {
    border-color: var(--secondary-green);
    box-shadow: 0 10px 25px rgba(0, 140, 90, 0.15);
}

.flight-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--light-gray);
}

.airline-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.airline-info img {
    width: 60px;
    height: 30px;
    object-fit: contain;
}

.airline-info h5 {
    color: var(--primary-green);
    font-weight: bold;
    margin-bottom: 0;
}

.airline-info p {
    color: var(--dark-gray);
    margin-bottom: 0;
    font-size: 0.9rem;
}

.flight-price {
    text-align: right;
}

.price-label {
    font-size: 0.8rem;
    color: var(--dark-gray);
    display: block;
}

.price-value {
    font-size: 2rem;
    font-weight: bold;
    color: var(--secondary-green);
    display: block;
}

.price-per {
    font-size: 0.8rem;
    color: var(--dark-gray);
}

.flight-route {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.flight-city {
    text-align: center;
    min-width: 120px;
}

.flight-city h4 {
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary-green);
    margin-bottom: 5px;
}

.flight-city p {
    color: var(--dark-gray);
    margin-bottom: 5px;
    font-weight: 600;
}

.flight-time {
    display: block;
    color: var(--secondary-green);
    font-weight: bold;
    font-size: 0.9rem;
}

.flight-duration {
    flex: 1;
    text-align: center;
    position: relative;
    padding: 0 20px;
}

.flight-duration i {
    font-size: 2rem;
    color: var(--secondary-green);
    margin-bottom: 10px;
}

.flight-duration span {
    display: block;
    font-weight: 600;
    color: var(--dark-gray);
    margin-bottom: 5px;
}

.flight-line {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--light-gray);
    z-index: -1;
}

.flight-duration small {
    color: #999;
    font-size: 0.8rem;
}

.flight-details {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--dark-gray);
}

.detail-item i {
    color: var(--secondary-green);
    font-size: 1.2rem;
}

.flight-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

/* Booking Tips */
.booking-tips {
    background: var(--light-gray);
}

.tip-card {
    background: var(--white);
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
    border: 3px solid transparent;
}

.tip-card:hover {
    border-color: var(--secondary-green);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 140, 90, 0.2);
}

.tip-card i {
    font-size: 3rem;
    color: var(--secondary-green);
    margin-bottom: 15px;
}

.tip-card h5 {
    color: var(--primary-green);
    font-weight: bold;
    margin-bottom: 15px;
}

.tip-card p {
    color: var(--dark-gray);
    line-height: 1.6;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 992px) {
    .flight-route {
        flex-direction: column;
        gap: 20px;
    }
    
    .flight-duration {
        padding: 20px 0;
    }
    
    .flight-line {
        width: 2px;
        height: 100%;
        left: 50%;
        top: 0;
        bottom: 0;
    }
}

@media (max-width: 768px) {
    .flight-header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .flight-price {
        text-align: center;
    }
    
    .flight-details {
        justify-content: center;
    }
    
    .flight-actions {
        flex-direction: column;
    }
}