/* ==========================================================================
   Modern Transfer Website Design
   Inspired by: Kayak, Uber, Bolt
   Primary Color: #005ead (Blue)
   Font: Inter
   ========================================================================== */

/* CSS Variables */
:root {
    /* Primary Colors */
    --primary: #005ead;
    --primary-hover: #004080;
    --primary-light: #e6f2ff;
    
    /* Text Colors */
    --text-dark: #192024;
    --text-body: #3d4448;
    --text-muted: #6b7177;
    --text-light: #9ca3a9;
    
    /* Background Colors */
    --bg-white: #ffffff;
    --bg-light: #f7f8f9;
    --bg-gray: #e8eaed;
    --bg-dark: #192024;
    
    /* Border & Dividers */
    --border-color: #e0e2e5;
    --border-radius: 12px;
    --border-radius-sm: 8px;
    --border-radius-lg: 16px;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
    
    /* Spacing */
    --spacing-xs: 8px;
    --spacing-sm: 16px;
    --spacing-md: 24px;
    --spacing-lg: 40px;
    --spacing-xl: 64px;
    
    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ==========================================================================
   Base Styles
   ========================================================================== */

* {
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    color: var(--text-body);
    background-color: var(--bg-white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--text-dark);
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; font-weight: 700; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }

p {
    color: var(--text-body);
}

/* ==========================================================================
   Header / Navigation
   ========================================================================== */

.navbar {
    background-color: var(--bg-white) !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
}

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

.nav-link {
    color: #4C4C4C !important;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 1rem !important;
    transition: color 0.2s ease;
}

.nav-link:hover {
    color: #005ead !important;
}

.nav-link-gray {
    color: #4C4C4C !important;
}

.nav-link-gray:hover {
    color: #005ead !important;
}

/* My Booking Button - Tailwind Style */
.btn-my-booking {
    color: #005ead !important;
    border-radius: 42px;
    font-weight: 700;
    padding: 5px 15px;
    box-shadow: inset 0 0 0 1.5px rgb(0, 93, 173);
    font-size: 0.875rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: all 0.2s ease;
    background-color: transparent;
    border: none;
}

.btn-my-booking:hover {
    background-color: #005ead;
    color: white !important;
}

.navbar-toggler {
    border: none;
    padding: 0.5rem;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.dropdown-menu {
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    box-shadow: var(--shadow-md);
    padding: 0.5rem;
    margin-top: 0.5rem;
}

.dropdown-item {
    border-radius: var(--border-radius-sm);
    padding: 0.5rem 1rem;
    font-size: 0.95rem;
    color: var(--text-body);
    transition: background-color 0.2s ease;
}

.dropdown-item:hover {
    background-color: var(--bg-light);
}

.dropdown-item.active {
    background-color: var(--primary-light);
    color: var(--primary);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero-section {
    background: linear-gradient(135deg, #003d7a 0%, #005ead 100%);
    padding: 4rem 0 6rem;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('https://images.unsplash.com/photo-1449965408869-eaa3f722e40d?w=1600&h=800&fit=crop');
    background-size: cover;
    background-position: center;
    opacity: 0.15;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-title {
    color: white;
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 2rem;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.hero-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.125rem;
    text-align: center;
    margin-bottom: 2.5rem;
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.25rem;
    }
}

/* ==========================================================================
   Booking Widget
   ========================================================================== */

.booking-widget {
    background: white;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 2rem;
    margin-top: -3rem;
    position: relative;
    z-index: 10;
}

.booking-widget-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

/* ==========================================================================
   Form Elements
   ========================================================================== */

.form-label {
    font-weight: 500;
    font-size: 0.875rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    display: block;
}

.form-control,
.form-select {
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    color: var(--text-body);
    background-color: var(--bg-white);
    transition: all 0.2s ease;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-light);
    outline: none;
}

.form-control::placeholder {
    color: var(--text-light);
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
    border-radius: var(--border-radius-sm);
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    border: none;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-outline-primary {
    border: 2px solid var(--primary);
    color: var(--primary);
    background-color: transparent;
}

.btn-outline-primary:hover {
    background-color: var(--primary);
    color: white;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1rem;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

/* ==========================================================================
   Cards
   ========================================================================== */

.card {
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    overflow: hidden;
}

.card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.card-body {
    padding: 1.5rem;
}

.card-img-top {
    height: 240px;
    object-fit: cover;
}

/* ==========================================================================
   Sections
   ========================================================================== */

.section {
    padding: 4rem 0;
}

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

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 3rem;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.125rem;
    margin-bottom: 3rem;
}

/* ==========================================================================
   Route Cards
   ========================================================================== */

.route-card {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.route-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.route-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.route-content {
    padding: 1.5rem;
}

.route-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.route-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1rem;
}

/* ==========================================================================
   Feature Icons
   ========================================================================== */

.feature-icon {
    width: 56px;
    height: 56px;
    background-color: var(--primary-light);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.feature-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.feature-text {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* ==========================================================================
   Footer
   ========================================================================== */

footer {
    background-color: var(--bg-light);
    color: var(--text-body);
    padding: 3.5rem 0 0;
}

footer h5 {
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 1.25rem;
    font-size: 1rem;
}

footer a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s ease;
    font-size: 0.9rem;
}

footer a:hover {
    color: var(--primary);
}

.footer-links li {
    margin-bottom: 0.65rem;
}

.footer-section {
    padding: 2rem 0;
    border-top: 1px solid var(--border-color);
}

.footer-section-title {
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-airports,
.footer-routes {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer-airports a,
.footer-routes a {
    font-size: 0.875rem;
}

.footer-divider {
    border-top: 1px solid var(--border-color);
    margin: 2rem 0 1.5rem;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    padding: 1.5rem 0;
}

.footer-social {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-social-label {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: white;
    border: 1px solid var(--border-color);
    color: var(--text-body);
    transition: all 0.2s ease;
}

.footer-social-link:hover {
    background-color: var(--primary);
    border-color: var(--primary);
    color: white;
    transform: translateY(-2px);
}

.footer-legal {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-legal a {
    font-size: 0.875rem;
}

.footer-copyright-bar {
    border-top: 1px solid var(--border-color);
    padding: 1.5rem 0;
    text-align: center;
}

.footer-copyright-bar p {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin: 0;
}

@media (max-width: 768px) {
    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .footer-legal {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .footer-airports,
    .footer-routes {
        flex-direction: column;
        gap: 0.65rem;
    }
}

/* ==========================================================================
   Utilities
   ========================================================================== */

.text-primary {
    color: var(--primary) !important;
}

.bg-primary {
    background-color: var(--primary) !important;
}

.bg-light {
    background-color: var(--bg-light) !important;
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */

@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .booking-widget {
        padding: 1.5rem;
    }
    
    .section {
        padding: 3rem 0;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
}

/* ==========================================================================
   Animations
   ========================================================================== */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}