:root {
    --primary-color: #007bff; /* A more standard, friendly blue */
    --text-color: #333;
    --background-color: #FFFFFF;
    --section-alt-bg: #f8f9fa;
    --border-color: #dee2e6;
    --text-light: #6c757d;
    --text-on-primary: #FFFFFF;
    
    /* Old dark theme colors - will be replaced */
    --dark-color: #121212; /* Will be replaced by --text-color or similar */
    --light-color: #f4f4f4; /* Will be replaced by --background-color */
    --secondary-dark-color: #1E1E1E; /* Will be replaced by --section-alt-bg */
    --gray-color: #aaa; /* Will be replaced by --text-light */
}

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

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    color: var(--primary-color);
    text-decoration: none;
}

h1, h2, h3 {
    font-weight: 600;
    line-height: 1.2;
}

h1 {
    font-size: 3.5rem;
    color: var(--text-color);
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
    color: #222;
}

p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

/* Header */
header {
    background: var(--background-color);
    color: var(--text-color);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 40px;
    margin-right: 10px;
}

.logo span {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-color);
}

header nav ul {
    list-style: none;
    display: flex;
}

header nav ul li {
    margin-left: 25px;
}

header nav ul li a {
    color: var(--text-color);
    font-weight: 600;
    transition: color 0.3s ease;
}

header nav ul li a:hover {
    color: var(--primary-color);
}

.btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
    text-align: center;
}

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

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

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 2rem;
    cursor: pointer;
}

/* Hero Section */
#hero {
    background-color: var(--section-alt-bg);
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 140px 20px 60px;
}

.hero-overlay {
    display: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1100px;
}

.hero-content h1 {
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.5rem;
    max-width: 700px;
    margin: 0 auto 2rem;
    color: var(--text-light);
}

.btn-cta {
    background-color: var(--primary-color);
    color: var(--text-on-primary);
    padding: 1rem 2.5rem;
    font-size: 1.3rem;
    border-radius: 50px;
    border: 2px solid var(--primary-color);
    animation: pulse 2s infinite;
}

.btn-cta:hover {
    background-color: transparent;
    color: var(--primary-color);
    animation-play-state: paused;
}

.phone-icon {
    margin-right: 10px;
}

.phone-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-top: 1.5rem;
    letter-spacing: 2px;
}

/* Flight Search Form */
#flight-search-form {
    background: var(--background-color);
    padding: 2rem;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 30px rgba(0,0,0,0.07);
}

.form-row {
    display: flex;
    margin-bottom: 1.5rem;
    align-items: flex-end;
    gap: 1.5rem;
}

.form-row:last-child {
    margin-bottom: 0;
}

.trip-type {
    justify-content: center;
    margin-bottom: 2rem;
    gap: 2rem;
}

.trip-type label {
    color: var(--text-color);
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
}

.trip-type input[type="radio"] {
    margin-right: 0.5rem;
    accent-color: var(--primary-color);
    transform: scale(1.2);
}

.form-group {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.form-group.passengers-group {
    max-width: 150px;
}
.form-group.date-group {
    max-width: 200px;
}

.form-group label {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
    font-weight: 600;
    text-align: left;
}

.form-group input {
    background: #fff;
    border: 1px solid #ccc;
    color: var(--text-color);
    padding: 0.75rem;
    border-radius: 5px;
    font-size: 1rem;
    font-family: 'Montserrat', sans-serif;
    width: 100%;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* Make date input placeholder visible */
input[type="date"]::-webkit-calendar-picker-indicator {
    filter: none;
    cursor: pointer;
}

.search-row {
    justify-content: center;
    align-items: center;
}

.search-or-divider {
    color: var(--text-light);
    font-weight: 600;
    margin: 0 1rem;
    align-self: center;
    padding-top: 1rem; /* Align with buttons */
}

#flight-search-form .btn-cta,
#flight-search-form .btn-secondary {
    flex-basis: 40%;
    max-width: 350px;
    animation: none; /* remove pulse from search button */
}

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

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--text-on-primary);
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(0, 123, 255, 0.7);
    }
    70% {
        transform: scale(1.05);
        box-shadow: 0 0 10px 20px rgba(0, 123, 255, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(0, 123, 255, 0);
    }
}

/* Info Sections */
.info-section {
    padding: 5rem 0;
}

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

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.card {
    background: var(--background-color);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

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

.card .icon {
    height: 60px;
    margin-bottom: 1rem;
}

.card h3 {
    color: var(--text-color);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.card p {
    color: var(--text-light);
    font-size: 1rem;
}

/* Services Section */
.service-card {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    color: #fff;
}

.service-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.service-card:hover img {
    transform: scale(1.1);
}

.service-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    padding: 3rem 1.5rem 1.5rem;
}

.service-card-content h3 {
    font-size: 1.7rem;
}

/* Footer */
footer {
    background: var(--section-alt-bg);
    text-align: center;
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--border-color);
}

.footer-logo {
    height: 50px;
    margin-bottom: 1rem;
}

footer h3 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: #222;
}

.footer-call-btn {
    margin: 1.5rem 0;
    padding: 0.8rem 2rem;
    font-size: 1.2rem;
}

.contact-info {
    margin: 2rem 0;
    color: var(--text-light);
}

.contact-info p {
    margin-bottom: 0.5rem;
}

.copyright {
    font-size: 0.9rem;
    color: #666;
    margin-top: 2rem;
}

/* Modals */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.modal-content {
    background-color: var(--background-color);
    padding: 3rem;
    border-radius: 10px;
    text-align: center;
    border: 1px solid var(--border-color);
    max-width: 550px;
    width: 100%;
    position: relative;
}

.results-content {
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 2.5rem;
    cursor: pointer;
    line-height: 1;
}
.close-modal:hover {
    color: var(--text-color);
}

.modal-icon {
    height: 50px;
    margin-bottom: 1rem;
}

.modal-content h2 {
    font-size: 2.2rem;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.modal-subtitle {
    color: var(--text-color);
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.modal-call-btn {
    font-size: 1.3rem;
    width: 100%;
    padding: 1rem;
    animation: pulse 2s infinite; /* Add pulse to modal call button */
}

.modal-phone-number {
    display: inline-block;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-top: 1.5rem;
    letter-spacing: 2px;
    text-decoration: none;
    transition: transform 0.3s ease, color 0.3s ease;
}

.modal-phone-number:hover {
    transform: scale(1.05);
    color: #0056b3;
}

/* Spinner for loading modal */
.spinner {
    border: 5px solid #e9ecef;
    border-top: 5px solid var(--primary-color);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin: 0 auto 1.5rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.modal-content p {
    font-size: 1.2rem;
}

/* Floating Call Button - Mobile Only */
.floating-call-btn {
    display: none; /* Hidden by default */
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--primary-color);
    color: var(--text-on-primary);
    text-align: center;
    padding: 1rem;
    font-size: 1.2rem;
    font-weight: 700;
    z-index: 999;
    transform: translateY(100%);
    transition: transform 0.4s ease-in-out;
    text-decoration: none;
}

.floating-call-btn.visible {
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 992px) {
    h1 { font-size: 2.8rem; }
    h2 { font-size: 2rem; }
    .grid-3 { grid-template-columns: 1fr; }
    .inputs-row {
        flex-direction: column;
    }
    .form-group {
        width: 100%;
    }
    .form-group.passengers-group, .form-group.date-group {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    header nav {
        display: none; /* Hide nav by default */
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--background-color);
        border-bottom: 1px solid var(--border-color);
    }
    header.open nav {
        display: block; /* Show on toggle */
    }

    .floating-call-btn {
        display: block; /* Enable floating button on mobile */
    }

    header nav ul {
        flex-direction: column;
        width: 100%;
    }

    header nav ul li {
        margin: 0;
        text-align: center;
        border-bottom: 1px solid var(--border-color);
    }
    
    header nav ul li a {
        display: block;
        padding: 1rem;
    }

    .menu-toggle {
        display: block;
    }

    header .btn-primary {
        display: none; /* Hide call button in header on mobile */
    }

    .search-row {
        flex-direction: column;
        gap: 0.5rem;
    }

    .search-or-divider {
        padding-top: 0;
        margin: 0.5rem 0;
    }

    #flight-search-form {
        padding: 1.5rem;
        background: rgba(255, 255, 255, 0.95);
    }
}

@media (max-width: 480px) {
    h1 { font-size: 2.2rem; }
    .hero-content p { font-size: 1.2rem; }
    .btn-cta { font-size: 1rem; padding: 0.8rem 1.8rem; }
    .phone-number { font-size: 1.2rem; }
    .modal-content { padding: 2.5rem 1.5rem; }
    .modal-content h2 { font-size: 1.8rem; }
    .modal-subtitle { font-size: 1rem; }
    .modal-call-btn { font-size: 1.1rem; }
    .modal-phone-number { font-size: 1.5rem; }
}