/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', sans-serif;
}

/* Navbar Styles */
.navbar {
    background-color: #ffffff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: relative;
    top: 0;
    z-index: 999;
}

.container {
    max-width: 1200px;
    margin: auto;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo */
.logo img {
    height: 100px;
    width: 90px
}

/* Nav Links */
.nav-links {
    display: flex;
    gap: 25px;
}

.nav-links a {
    text-decoration: none;
    color: #000000;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #007bff;
}

/* Contact Info */
.contact-info {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
}

.call-text {
    font-size: 12px;
    color: #888;
}

.phone-number {
    font-size: 16px;
    font-weight: bold;
    color: #000;
    text-decoration: none;
}

.phone-number:hover {
    color: #007bff;
}

.flight-banner {
    background-image: url('assets/images/banner.jpg');
    /* replace with your background */
    background-size: cover;
    background-position: center;
    height: 65vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.overlay {
    width: 100%;
    height: 100%;
    background: rgba(100, 0, 120, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.banner-content {
    text-align: center;
    max-width: 900px;
}

.sub-text {
    font-size: 16px;
    color: #d4ff00;
    margin-bottom: 10px;
}

.banner-content h1 {
    font-size: 2.5rem;
    font-weight: bold;
    color: #d4ff00;
    margin-bottom: 20px;
}

.trip-toggle {
    display: flex;
    justify-content: center;
    margin-bottom: 25px;
}

.trip-toggle button {
    padding: 8px 20px;
    border: none;
    cursor: pointer;
    background: #fff;
    color: #333;
    font-weight: 600;
    border-radius: 25px 0 0 25px;
    transition: background 0.3s;
}

.trip-toggle button:last-child {
    border-radius: 0 25px 25px 0;
    margin-left: 2px;
}

.trip-toggle .active {
    background: #d4ff00;
    color: #000;
}

.search-form {
    display: flex;
    flex-wrap: wrap;
    background: #fff;
    border-radius: 10px;
    padding: 10px;
    gap: 10px;
    align-items: center;
    justify-content: center;
}

.form-group {
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 8px;
    padding: 10px;
    flex: 1;
    min-width: 180px;
    border: 1px solid #ccc;
}

.form-group span {
    margin-right: 8px;
}

.form-group input,
.select-group select {
    border: none;
    outline: none;
    width: 100%;
    font-size: 14px;
}

.select-group select {
    padding: 5px;
}

.search-btn {
    background: #4b006e;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
}

.search-btn:hover {
    background: #320047;
}

/* Call Deals Section */
.call-deals-bar {
    background-color: #d4ff00;
    padding: 20px 0;
    color: #4b006e;
}

.call-deals-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

/* Left Side (Phone Icon + Number) */
.call-left {
    display: flex;
    align-items: center;
    font-size: 20px;
    font-weight: bold;
}

.phone-icon {
    margin-right: 10px;
    font-size: 24px;
}

/* Center Message */
.call-center p {
    font-size: 14px;
    line-height: 1.4;
    text-align: center;
}

/* Right Side Button */
.call-right .call-btn {
    display: inline-block;
    padding: 10px 20px;
    border: 1px solid #4b006e;
    border-radius: 6px;
    color: #4b006e;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s;
}

.call-right .call-btn:hover {
    background-color: #4b006e;
    color: #fff;
}

.call-right .arrow {
    margin-left: 8px;
}

/* Section container */
.deals-section {
    background-color: #f4f4f4;
    padding: 50px 20px;
    text-align: center;
}

.section-title {
    font-size: 28px;
    color: #4b006e;
    margin-bottom: 40px;
}

/* Grid */
.deals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Section Title */
.section-title {
    font-size: 40px;
    text-align: center;
    color: #4b006e;
    margin: 25px 0 30px;
}

/* Grid Layout */
.deals-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    padding: 0 20px 50px;
}

/* Card Style */
.deal-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.deal-card:hover {
    transform: translateY(-5px);
}

/* Card Header */
.deal-header {
    display: flex;
    align-items: center;
    padding: 15px;
    font-size: 14px;
    color: #555;
}

.deal-header img {
    height: 20px;
    margin-right: 10px;
}

/* Title and Subtitles */
.deal-title {
    font-size: 16px;
    font-weight: 700;
    padding: 0 15px;
    margin-bottom: 4px;
}

.deal-subtitle {
    font-size: 13px;
    color: #777;
    padding: 0 15px;
    margin-bottom: 10px;
}

.deal-dates {
    font-size: 12px;
    color: #999;
    padding: 0 15px 5px;
}

/* Image */
.deal-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

/* Price */
.deal-price {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px 15px;
    font-size: 14px;
    color: #4b006e;
}

.deal-price strong {
    font-size: 18px;
}

.deals-table-section {
    max-width: 1200px;
    margin: 10px auto;
    padding: 0 20px;
}

.deals-table-section h3 {
    text-align: center;
    color: #333;
    margin-bottom: 5px;
}

.table-wrapper {
    overflow-x: auto;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    padding: 10px;
}

.deals-table {
    width: 100%;
    border-collapse: collapse;
}

.deals-table th,
.deals-table td {
    text-align: left;
    padding: 15px;
    border-bottom: 1px solid #eee;
    vertical-align: middle;
}

.deals-table thead th {
    color: #555;
    font-weight: 600;
    font-size: 14px;
}

.deals-table td {
    font-size: 14px;
}

.airline-logo {
    height: 32px;
    width: auto;
}

.badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 20px;
    background-color: #d3e600;
    font-size: 12px;
    color: #333;
    font-weight: 500;
}

.price {
    font-weight: bold;
    font-size: 16px;
    color: #4b006e;
}

.btn-call {
    display: inline-block;
    background-color: #d3e600;
    color: #000;
    font-weight: 600;
    text-transform: uppercase;
    padding: 10px 15px;
    border-radius: 2px;
    font-size: 12px;
    text-decoration: none;
}

.btn-call:hover {
    background-color: #c0d900;
}

.site-footer {
    background-color: rgb(20, 81, 178);
    color: #fff;
    padding: 40px 20px 10px;
    font-family: sans-serif;
}

.footer-top {
    max-width: 1200px;
    margin: auto;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-desc {
    color: #ddd;
    line-height: 1.9;
    font-size: 14px;
}

.footer-widgets {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1200px;
    margin: 30px auto;
}

.footer-column {
    flex: 1 1 220px;
    margin: 20px;
    min-width: 220px;
}

.footer-column h4 {
    margin-bottom: 15px;
    font-size: 16px;
    color: #fff;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column ul li {
    margin-bottom: 8px;
}

.footer-column ul li a {
    color: #ddd;
    text-decoration: none;
    font-size: 14px;
}

.footer-column ul li a:hover {
    text-decoration: underline;
}

.newsletter-form {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.newsletter-form input[type="email"] {
    padding: 8px;
    flex: 1;
    border: none;
    border-radius: 3px;
}

.newsletter-form button {
    background-color: #d3e600;
    border: none;
    color: #000;
    padding: 8px 15px;
    font-weight: bold;
    cursor: pointer;
    border-radius: 3px;
}


.newsletter-form button:hover {
    background-color: #c0d900;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 15px;
    font-size: 13px;
    color: #ccc;
}

/* === Header Base Styles === */
.navbar {
    background-color: #ffffff;
    border-bottom: 1px solid #e0e0e0;
    padding: 10px 20px;
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* === Container === */
.navbar .container {
    display: flex;
    align-items: center;
    padding: 0px;
    justify-content: space-between;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

/* === Logo === */
.logo img {
    height: 100px;
    width: auto;
}

/* === Hamburger Menu (Mobile) === */
.hamburger {
    font-size: 28px;
    cursor: pointer;
    display: none;
}

/* === Navigation Links === */
.nav-links {
    display: flex;
    gap: 20px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #007BFF;
}

/* === Dropdown Menu === */
.dropdown {
    position: relative;
}

.dropdown-content {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    border: 1px solid #ccc;
    display: none;
    flex-direction: column;
    min-width: 150px;
    z-index: 10;
}

.dropdown:hover .dropdown-content {
    display: flex;
}

.dropdown-content a {
    padding: 10px;
    color: #333;
    text-decoration: none;
}

.dropdown-content a:hover {
    background-color: #f0f0f0;
}

/* === Contact Info === */
.contact-info {
    text-align: right;
}

.call-text {
    font-size: 14px;
    color: #666;
    display: block;
}

.phone-number {
    color: #007BFF;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
}

.contact-info p {
    font-size: 12px;
    color: #777;
    margin: 2px 0 0;
}

/* === Responsive Styles === */
@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .nav-links {
        display: none;
        width: 100%;
        flex-direction: column;
        margin-top: 10px;
    }

    .nav-links.show {
        display: flex;
    }

    .contact-info {
        text-align: left;
        margin-top: 10px;
    }

    .dropdown-content {
        position: static;
        border: none;
    }
}

.hamburger {
    font-size: 28px;
    cursor: pointer;
    display: none;
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        margin-top: 10px;
    }

    .nav-links.show {
        display: flex;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
        z-index: 1001;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        background-color: #fff;
        position: absolute;
        top: 70px;
        /* Adjust depending on your header height */
        left: 0;
        padding: 20px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }

    .nav-links.show {
        display: flex;
    }

    .nav-links a {
        padding: 10px 0;
        font-size: 18px;
        text-align: center;
        border-bottom: 1px solid #eee;
    }

    @media (max-width: 768px) {
        .hamburger {
            display: block;
            z-index: 1001;
        }

        .nav-links {
            display: none;
            flex-direction: column;
            width: 100%;
            background-color: #fff;
            position: absolute;
            top: 70px;
            /* Adjust based on your header height */
            left: 0;
            padding: 20px;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        }

        .nav-links.show {
            display: flex;
        }

        .nav-links a {
            padding: 10px 0;
            font-size: 18px;
            text-align: center;
            border-bottom: 1px solid #eee;
        }

        /* 👇 THIS hides the contact info block on mobile screens */
        .contact-info {
            display: none;
        }

        .navbar .container {
            position: relative;
            flex-wrap: nowrap;
        }
    }
}

/* === Animated Navigation Underline (Add This Code) === */

/* Set up the nav links to be containers for the animation element */
.nav-links a {
  position: relative;
  padding-bottom: 4px; /* Creates space for the underline */
}

/* This creates the underline itself. It's hidden by default (width: 0). */
.nav-links a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px; /* Thickness of the underline */
  background-color: #007bff; /* Color of the underline */
  transition: width 0.3s ease-in-out; /* This is the animation! */
}

/* On hover, the underline expands to the full width of the link. */
.nav-links a:hover::after {
  width: 100%;
}