:root {
    --primary-color: #0d6efd;
    --secondary-color: #6c757d;
}

/* Reduced font sizes globally */
body {
    font-size: 14px;
}

h1 {
    font-size: 2rem;
}

h2 {
    font-size: 1.5rem;
}

h3 {
    font-size: 1.25rem;
}

h4 {
    font-size: 1.1rem;
}

h5 {
    font-size: 1rem;
}

h6 {
    font-size: 0.9rem;
}

.navbar {
    font-size: 0.9rem;
}

.hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 450px;
}

.hero-section h1 {
    font-size: 2.5rem;
}

.hero-section .lead {
    font-size: 1rem;
}

.autocomplete-results {
    position: absolute;
    z-index: 1000;
    width: 100%;
    max-height: 300px;
    overflow-y: auto;
    background: white;
    border: 1px solid #ddd;
    border-top: none;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.autocomplete-item {
    padding: 10px;
    cursor: pointer;
    border-bottom: 1px solid #f0f0f0;
}

.autocomplete-item:hover {
    background: #f8f9fa;
}

.autocomplete-item.priority {
    background: #e7f3ff;
}

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

.flight-card:hover {
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

/* Make date inputs fully clickable */
input[type="date"] {
    position: relative;
    cursor: pointer;
}

input[type="date"]::-webkit-calendar-picker-indicator {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: auto;
    height: auto;
    color: transparent;
    background: transparent;
    cursor: pointer;
}

/* Price range slider visibility */
.form-range {
    --bs-form-range-thumb-bg: #0d6efd;
}

.form-range::-webkit-slider-thumb {
    background-color: #0d6efd;
}

.form-range::-moz-range-thumb {
    background-color: #0d6efd;
}

.form-range::-webkit-slider-runnable-track {
    background-color: #dee2e6;
    height: 0.5rem;
    border-radius: 0.25rem;
}

.form-range::-moz-range-track {
    background-color: #dee2e6;
    height: 0.5rem;
    border-radius: 0.25rem;
}

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

.btn-primary:hover {
    background: #0b5ed7;
    transform: translateY(-1px);
}

@media (max-width: 768px) {
    .hero-section {
        min-height: auto;
        padding: 30px 0;
    }
}

/* Feature icon blue circle backgrounds */
.feature-icon {
    width: 80px;
    height: 80px;
    background-color: rgba(13, 110, 253, 0.1) !important;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.feature-icon i {
    color: #fff !important;
}

/* Airline logo styling */
.airline-logo img {
    max-width: 120px;
    height: 60px;
    object-fit: contain;
    filter: grayscale(30%);
    transition: all 0.3s ease;
}

.airline-logo img:hover {
    filter: grayscale(0%);
    transform: scale(1.05);
}

/* Sticky navbar styles */
.navbar {
    transition: all 0.3s ease;
}

.navbar.is-sticky {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
    animation: slideDown 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1) !important;
}

body.navbar-sticky {
    padding-top: 70px;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Scroll animation classes */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

.scroll-reveal.fade-up {
    transform: translateY(50px);
}

.scroll-reveal.fade-up.revealed {
    transform: translateY(0);
}

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

.destination-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15) !important;
}
