/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif; /* Arial or Georgia font */
}

/* By default, show everything */
.show-mobile, .hide-mobile {
    display: block;
}

/* Body and Background */
body {
    background: #fbe6c0;
    color: #333; /* Dark text for contrast */
    line-height: 1.6;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* Navigation Bar */

nav {
    position: sticky;
    top: 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.6);
    z-index: 1000;
}

nav ul {
    background: #555;
    padding: 10px 20px;
    display: flex;
    justify-content: center;
}

nav a {
    color: #fff; /*#e60000; /* Red text for links */
    text-decoration: none;
    margin: 0 15px;
    font-size: 1rem;
    position: relative; /* Required for pseudo-elements */
    transition: color 0.3s ease-in-out;
}

nav a::before,
nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px; /* Thickness of the line above and below */
    background: #fff; /* Line color */
    transition: width 0.3s ease-in-out;
}

nav a::before {
    top: -5px; /* Position the line above the text */
    left: 50%;
    transform: translateX(-50%);
}

nav a::after {
    bottom: -5px; /* Position the line below the text */
    left: 50%;
    transform: translateX(-50%);
}

nav a:hover::before,
nav a:hover::after {
    width: 100%; /* Extend the lines to match the text width */
}

nav a:hover {
    color: #fff; /* Keep the text color the same on hover */
}

/*nav a:hover {
    color: #000; 
}*/

/* Banner Section */


.desktop-banner {
    width: 100%;
    text-align: center;
    margin: 0 auto;
    overflow: hidden;
}

.desktop-banner img {
    width: 100%; /* Ensures the banner spans the full width */
    height: auto; /* Maintains the aspect ratio */
    display: block;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); /* Optional: Adds a subtle shadow */
}

.mobile-banner {
    display: none;
}

/* Header */
header {
    text-align: center;
    padding: 100px 20px;
    /*background: #fff;*/
    color: #333;
    background: linear-gradient(to bottom, #fbe6c0, #ffffff); /* Gradient from gold to white */
}

header h1 {
    font-size: 3rem;
    color: #555; /*#e60000;  Bright red */
}

header p {
    font-size: 1.2rem;
    margin-top: 10px;
    color: #555;
}

/* Services Section */
.services {
    padding: 50px 20px;
    text-align: center;
    background: linear-gradient(to bottom, #ffffff, #f9f9f9); /* Gradient from gray to white */
    /* background: #f9f9f9; */
}

.services h2 {
    font-size: 2rem;
    color: #555;
    margin-bottom: 20px;
}

.services p {
    font-size: 1rem;
    color: #555;
    margin-bottom: 40px;
}

/* Swiper Container */
.swiper-container {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.swiper-slide {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.swiper-slide img {
    width: 600px; /* Fixed width */
    height: 400px; /* Fixed height */
    object-fit: cover; /* Ensures the image fills the space without distortion */
    border-radius: 10px; /* Optional: Adds rounded corners */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2); /* Optional: Adds a shadow */
}

.swiper-slide h3 {
    font-size: 1.5rem;
    color: #333;
}

.swiper-slide p {
    font-size: 1rem;
    color: #666;
}


/* About Us Section */
.about {
    padding: 50px 20px;
    text-align: center;
    background: #f9f9f9;
}

.about h2 {
    font-size: 2rem;
    color: #555;
    margin-bottom: 20px;
}

.about p {
    font-size: 1rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;
    color: #555;
}

/* Fleet Section */
.fleet {
    padding: 50px 20px;
    text-align: center;
    background: #f9f9f9;
}

.fleet-header {
    text-align: center;
    margin-bottom: 30px;
}

.fleet-header h2 {
    font-size: 2rem;
    color: #555;
    margin-bottom: 20px;
}

.fleet-gallery {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    text-align: center;
}

.fleet-gallery figure {
    margin: 0;
    text-align: center;
    width: 200px; /* Optional: Adjust the width as needed */
}

.fleet-gallery img {
    max-width: 100%;
    margin: 10px;
    border-radius: 10px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.5);
}

.fleet-gallery figcaption {
    margin-top: 10px;
    font-size: 1rem;
    color: #555;
}


/* Promotions Section */
.promotions {
    padding: 50px 20px;
    text-align: center;
    background: #f9f9f9;
}

.promotions h2 {
    font-size: 2rem;
    color: #555;
    margin-bottom: 20px;
}

.promotions p {
    font-size: 1rem;
    margin: 10px 0;
    color: #555;
}

/* Reservation Form Section */
.reservation {
    padding: 50px 20px;
    text-align: center;
    background: #f9f9f9;
}

.reservation h2 {
    font-size: 2rem;
    color: #555;
    margin-bottom: 20px;
}

.reservation-form {
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
    gap: 10px;
}

.date-time {
    display: flex;
    gap: 20px; /* Space between first and last name */
    justify-content: space-between;
}

.date-time div {
    flex: 1; /* Makes both fields equal in width */
}

/* Ensure input fields take full width inside div */
.date-time input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
}

.pax-lug {
    display: flex;
    gap: 20px; /* Space between first and last name */
    justify-content: space-between;
}

.pax-lug div {
    flex: 1; /* Makes both fields equal in width */
}

.pax-lug input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
}

.reservation-form label {
    display: block;
    margin: 10px 0 5px;
    color: #333;
}

.reservation-form input,
.reservation-form select,
.reservation-form textarea,
.reservation-form button {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
}

.reservation-form input,
.reservation-form select,
.reservation-form textarea {
    background: #fff;
    color: #333;
}

.reservation-form button {
    background: #555;
    color: #fff;
    cursor: pointer;
    transition: background 0.3s ease-in-out;
}

.reservation-form button:hover {
    background: #cc0000;
}

/* Contact Section */
.contact {
    padding: 50px 20px;
    text-align: center;
    background: #555;
}

.contact-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 800px;
    margin: 0 auto;
    gap: 20px;
}

.contact-logo {
    flex: 1;
    text-align: center;
}

.contact-logo img {
    max-width: 300px; /* Adjust size as needed */
    height: auto;
    margin-bottom: 10px;
}

.contact h2 {
    color: #ffffff;
    margin-bottom: 20px;
}

.contact h3 {
    font-size: 1.5rem;
    color: #ffffff;
    margin-bottom: 20px;
}

form {
    flex: 2;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

form h2 {
    font-size: 2rem;
    margin-bottom: 10px;
    color: #333;
}

form input, form textarea, form button {
    padding: 10px;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    width: 100%;
}

form button {
    background: #555;
    color: #fff;
    cursor: pointer;
    transition: background 0.3s ease;
}

form button:hover {
    background: #cc0000;
}

/* Extra Stops Styling */
#extra-stops {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 10px;
}

.extra-stop {
    display: flex;
    align-items: center;
    gap: 10px;
}

.extra-stop input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
}

.remove-stop {
    background: red;
    color: white;
    border: none;
    padding: 8px 12px;
    cursor: pointer;
}

.remove-stop:hover {
    background: darkred;
}

/* Airport Detection Note */
.airport-note {
    font-size: 0.9rem;
    color: #e60000;
    margin-top: 5px;
    font-weight: bold;
}

.hidden {
    display: none;
}

.iframe-container {
  position: relative;
  width: 30%;
  margin: 0 auto;
  padding-bottom: 25%; /* 4:3 ratio – adjust as needed */
  height: 100%;
  overflow: hidden;
}

.iframe-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}


/* Footer */
footer {
    text-align: center;
    padding: 20px;
    background: #555;
    color: #fff;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    
    html, body {
    max-width: 100%;
    overflow-x: hidden;
    }
    
    nav {
        flex-wrap: wrap;
    }

    nav ul {
        flex-direction: column;
        align-items: center;
        padding: 0;
    }    

    nav ul li {
        margin: 3px 0;
    }
    .iframe-container {
    width: 80%;
    padding-bottom: 100%; /* Shorter height for desktop */
  }

    .fleet-gallery {
        flex-direction: column;
        align-items: center;
    }

    .services .swiper-slide img {
        width: 100%;
        height: auto;
    }

    .contact-content {
        flex-direction: column;
        text-align: center;
    }

    header h1 {
        font-size: 2rem;
    }

    header p {
        font-size: 1rem;
    }

    .reservation-form,
    form {
        width: 100%;
        padding: 0 10px;
    }

    .date-time,
    .pax-lug {
        flex-direction: column;
    }
    
    .swiper-container {
    width: 100%;
    }

    .swiper-slide img {
        width: 100%;
        height: auto;
    }

    .hide-mobile {
            display: none;
    }

    .mobile-banner {
        display: block;
        width: 100%;
        height: auto;
    }

    .desktop-banner {
        display: none;
    }

    #home {
        height: auto;
    }

    #welcome {
        margin-top: 0; /* Remove gap */
    }

    header {
        background: linear-gradient(to bottom, #fff0ce, #ffffff);
    }

}
