/* Tbilisi Airways - Main Stylesheet */

:root {
    --gold: #d4af37;
    --dark-blue: #1a3a52;
    --light-bg: #f8f9fa;
    --white: #ffffff;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, sans-serif;
    background-color: var(--light-bg);
    color: #333;
}

/* Navbar */
.navbar-custom {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gold) !important;
}

.nav-link {
    color: var(--dark-blue) !important;
    font-weight: 500;
    margin: 0 10px;
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: var(--gold) !important;
}

.admin-link {
    color: var(--gold) !important;
    font-weight: 600;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--dark-blue) 0%, rgba(26, 58, 82, 0.8) 100%);
    color: white;
    padding: 100px 0 80px;
    text-align: center;
    position: relative;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.95;
}

/* Buttons */
.btn-gold {
    background: linear-gradient(135deg, var(--gold), #e8c547);
    color: var(--dark-blue);
    border: none;
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none;
}

.btn-gold:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.3);
    color: var(--dark-blue);
    text-decoration: none;
}

/* Search Box */
.search-box {
    background: white;
    padding: 30px;
    border-radius: 12px;
    margin: -50px auto 60px;
    max-width: 900px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 10;
}

.form-label {
    font-weight: 600;
    color: var(--dark-blue);
    margin-bottom: 8px;
}

.form-control, .form-select {
    border: 1px solid #ddd;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.form-control:focus, .form-select:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

/* Special Offer */
.special-offer {
    background: linear-gradient(135deg, var(--gold), #e8c547);
    color: var(--dark-blue);
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    font-weight: 600;
    margin-bottom: 40px;
}

/* Flight Card */
.flight-card {
    background: white;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 15px;
    border-left: 5px solid var(--gold);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.flight-card:hover {
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.2);
    transform: translateY(-3px);
}

.flight-code {
    color: var(--gold);
    font-weight: 700;
    font-size: 1.1rem;
}

.flight-time {
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--dark-blue);
}

.flight-price {
    color: var(--gold);
    font-weight: 700;
    font-size: 1.3rem;
}

/* City Card */
.city-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.city-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(212, 175, 55, 0.2);
}

.city-card-image {
    height: 150px;
    background: linear-gradient(135deg, var(--gold), #e8c547);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    opacity: 0.3;
}

.city-card h5 {
    color: var(--dark-blue);
    font-weight: 700;
    padding: 15px;
    margin: 0;
}

.city-card p {
    padding: 0 15px;
    color: #666;
    font-size: 0.9rem;
}

/* Schedule Table */
.schedule-table {
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 40px;
}

.schedule-table table {
    margin-bottom: 0;
}

.schedule-table thead {
    background-color: var(--dark-blue);
    color: white;
}

/* Admin Boxes */
.admin-box {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    max-width: 500px;
    margin: 0 auto 40px;
}

.admin-sidebar {
    background: var(--dark-blue);
    color: white;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 20px;
}

.admin-sidebar a {
    display: block;
    color: white;
    text-decoration: none;
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.admin-sidebar a:hover {
    background: rgba(212, 175, 55, 0.2);
    color: var(--gold);
}

.admin-card {
    background: white;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.admin-stat {
    background: white;
    padding: 30px;
    text-align: center;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.admin-stat h5 {
    color: var(--dark-blue);
    margin-top: 15px;
    font-weight: 600;
}

.admin-stat .stat-number {
    font-size: 2rem;
    color: var(--gold);
    font-weight: 700;
}

/* Alert Boxes */
.alert-success {
    background-color: #d4edda;
    color: #155724;
    border-left: 5px solid #28a745;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.alert-error {
    background-color: #f8d7da;
    color: #721c24;
    border-left: 5px solid #dc3545;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.alert-info {
    background-color: #d1ecf1;
    color: #0c5460;
    border-left: 5px solid var(--gold);
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
}

/* Footer */
.footer-custom {
    background-color: var(--dark-blue);
    color: #ccc;
    padding: 40px 0 20px;
    margin-top: 60px;
}

.footer-custom h5 {
    color: var(--gold);
    font-weight: 600;
    margin-bottom: 15px;
}

.footer-custom a {
    color: #ccc;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-custom a:hover {
    color: var(--gold);
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 20px;
    text-align: center;
    margin-top: 30px;
    font-size: 0.9rem;
}

/* Table Styling */
table {
    width: 100%;
    border-collapse: collapse;
}

table th {
    background-color: var(--dark-blue);
    color: white;
    padding: 12px;
    text-align: left;
}

table td {
    padding: 12px;
    border-bottom: 1px solid #eee;
}

table tr:hover {
    background-color: #f5f5f5;
}

/* Fare Calendar */
.fare-cell {
    padding: 15px;
    text-align: center;
    border: 1px solid #eee;
    border-radius: 8px;
    margin-bottom: 10px;
}

.fare-cheap {
    background-color: #d4edda;
    color: #155724;
    font-weight: 600;
}

.fare-expensive {
    background-color: #f8d7da;
    color: #721c24;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }

    .search-box {
        padding: 20px;
    }

    .admin-sidebar {
        margin-bottom: 20px;
    }

    .schedule-table {
        overflow-x: auto;
    }
}

/* Utility Classes */
.text-gold {
    color: var(--gold);
}

.text-dark-blue {
    color: var(--dark-blue);
}

.bg-gold {
    background-color: var(--gold);
}

.bg-dark-blue {
    background-color: var(--dark-blue);
}

.rounded-12 {
    border-radius: 12px;
}

.shadow-md {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.transition-all {
    transition: all 0.3s ease;
}
