/* Global Styles */
:root {
    --primary-color: #007bff;
    --secondary-color: #6c757d;
    --success-color: #28a745;
    --danger-color: #dc3545;
    --light-color: #f8f9fa;
    --dark-color: #343a40;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
                url('../images/hero-bg.jpg') center/cover no-repeat;
    padding: 100px 0;
    color: white;
    margin-bottom: 50px;
}

.search-box {
    background: rgba(255, 255, 255, 0.95);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

.search-box h1 {
    color: var(--dark-color);
    font-size: 2.5rem;
    font-weight: 600;
}

/* Form Styles */
.form-floating > .form-control,
.form-floating > .form-select {
    height: calc(3.5rem + 2px);
    line-height: 1.25;
}

.form-floating > label {
    padding: 1rem 0.75rem;
}

.btn-primary {
    padding: 0.75rem 2rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Flight Card Styles */
.card {
    border: none;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
}

.card-title {
    color: var(--primary-color);
    font-weight: 600;
}

/* Seat Selection Styles */
.seat-map {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
    margin: 20px 0;
}

.seat {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--light-color);
    border: 2px solid var(--secondary-color);
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.seat:hover {
    background: var(--primary-color);
    color: white;
}

.seat.selected {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.seat.unavailable {
    background: var(--danger-color);
    color: white;
    cursor: not-allowed;
    opacity: 0.7;
}

/* Ticket Styles */
.ticket {
    background: white;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    padding: 30px;
    margin: 20px 0;
}

.ticket-header {
    border-bottom: 2px dashed var(--secondary-color);
    padding-bottom: 20px;
    margin-bottom: 20px;
}

.ticket-body {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.ticket-footer {
    border-top: 2px dashed var(--secondary-color);
    padding-top: 20px;
    margin-top: 20px;
    text-align: center;
}

/* Admin Dashboard Styles */
.admin-sidebar {
    background: var(--dark-color);
    color: white;
    min-height: calc(100vh - 56px);
    padding: 20px 0;
}

.admin-sidebar .nav-link {
    color: rgba(255, 255, 255, 0.8);
    padding: 10px 20px;
}

.admin-sidebar .nav-link:hover,
.admin-sidebar .nav-link.active {
    color: white;
    background: rgba(255, 255, 255, 0.1);
}

.admin-content {
    padding: 20px;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .hero-section {
        padding: 50px 0;
    }

    .search-box {
        padding: 20px;
    }

    .search-box h1 {
        font-size: 2rem;
    }

    .ticket-body {
        grid-template-columns: 1fr;
    }

    .seat-map {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Animation Styles */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.5s ease-out;
}

/* Print Styles */
@media print {
    .no-print {
        display: none !important;
    }

    .ticket {
        box-shadow: none;
        border: 1px solid #ddd;
    }

    body {
        background: white;
    }
} 