/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
    scroll-padding: 50px;
}

/* Colors and Backgrounds */
:root {
    --primary-color: #ff8c42;
    --secondary-color: #003b6f;
    --text-color: #333;
    --light-bg: #e2e2e2;
}

/* Body and Layout */
body {
    overflow-x: hidden;
    background-color: var(--light-bg);
}

/* Navigation Bar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    background-color: var(--secondary-color);
    color: white;
    position: fixed;
    width: 100%;
    z-index: 10;
}

.navbar-brand{
   font-size: 1.8rem;
    font-weight: bold;
    color: var(--primary-color); 
}

.navbar-nav {
    display: flex;
    gap: 20px;
    list-style: none;
}

.navbar-nav li a {
    color: white;
    text-decoration: none;
    padding: 10px 15px;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.navbar-nav li a:hover {
    background: var(--primary-color);
    color: white;
}

/* Responsive Navbar */
@media (max-width: 768px) {
    .navbar-nav {
        display: none;
    }

    .navbar .navbar-toggler {
        display: block;
        font-size: 1.5rem;
        cursor: pointer;
    }
}

/* Banner with Parallax Effect */
/* Banner with Parallax Effect */
.banner {
    position: relative;
    height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    overflow: hidden; /* Ensures the video fills the section */
}

/* Style for the video */
.banner-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2; /* Place it behind the overlay and text */
}

/* Dark overlay on top of the video */
.banner::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: -1; /* Ensure it stays behind the content */
}

/* Positioning for text and form */
.d-flex {
    position: relative;
    z-index: 5; /* Ensures the text is above the overlay */
}

/* Banner Text Styling */
.banner h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    animation: fadeInDown 1.5s ease;
}

/* Form input and button styling */
.banner .form input[type="text"],
.banner .form input[type="date"],
.banner .form .book {
    padding: 10px 15px;
    border-radius: 5px;
    margin: 0 5px;
    border: none;
    outline: none;
}

.banner .form .book {
    background: var(--primary-color);
    color: white;
    cursor: pointer;
    transition: background 0.3s ease;
}

.banner .form .book:hover {
    background: var(--secondary-color);
}

/* Banner Animations */
@keyframes fadeInDown {
    0% {
        opacity: 0;
        transform: translateY(-50px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Services Section */
.services {
    display: flex;
    justify-content: space-around;
    padding: 1rem;
    background: var(--light-bg);
}

.service-item {
    text-align: center;
    width: 23%;
}

.service-title{
    color: #24664d;
}

.service-item .service-image {
    width: 150px;
    height: 150px;
    margin-bottom: 1rem;
    border-radius: 50%;
    background-size: cover;
}

.service-image{
    position: relative;
    left: 24%;
    overflow: hidden;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    transition: transform 0.6s ease;
}

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

/* Replace with your icons as background images */
.img-1 {
    background-image: url('media/travel-guide.png');
}

.img-2 {
    background-image: url('media/travel-agency.jpg');
}

.img-3 {
    background-image: url('media/travel-experience.jpg');
}

.img-4 {
    background-image: url('media/travel-happiness.jpg');
}

/* Places Section with Parallax Effect */
.places {
    padding: 1rem;
    background: #ececec;
    text-align: center;
}

.places h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
}

.carousel-wrapper {
    overflow: hidden;
    width: 100%;
    position: relative;
    padding: 20px 0;
    background: linear-gradient(to right, #ececec, #ececec);
    /* box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2); */
}

.carousel {
    display: flex;
    gap: 20px;
    padding: 20px;
    animation: scrollCarousel 22s alternate infinite;
    transition: transform 0.3s ease;
}

.card {
    flex: 0 0 30%; /* Show 3 cards at a time */
    background-color: #fff;
    border-radius: 10px;
    /* box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); */
    overflow: hidden;
    transform: scale(0.97);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: scale(1);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
    animation-play-state: paused;
}

.card-img-top {
    height: 200px;
    background-size: cover;
    background-position: center;
}

.card-body {
    padding: 15px;
    text-align: left;
}

.card-title {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 8px;
}

.card-text, .card-body small {
    color: #666;
    font-size: 0.9rem;
}

.img-5 {
    background-image: url('media/adventure.jpg'); /* Replace with actual image path */
}

.img-6 {
    background-image: url('media/Paris.png'); /* Replace with actual image path */
}

.img-7 {
    background-image: url('media/Japan.jpg'); /* Replace with actual image path */
}

.img-8 {
    background-image: url('media/troopical.jpg'); /* Replace with actual image path */
}

.img-9 {
    background-image: url('media/safari.jpg'); /* Replace with actual image path */
}

/* Smooth scrolling animation */
@keyframes scrollCarousel {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); } /* Moves halfway to cover both sets */
}

.text {
    padding: 1rem;
    text-align: left;
}

.rating {
    font-size: 1rem;
    color: var(--primary-color);
}

/* About Section */
.about {
    display: flex;
    flex-wrap: wrap;
    padding: 3rem 1rem;
    align-items: center;
    background: var(--secondary-color);
    color: white;
}

.about-img {
    width: 300px;
    height: 300px;
    background-size: cover;
    background-position: center;
    border-radius: 10px;
    margin-right: 1rem;
}

.img-10 {
    background-image: url('media/lake-boat.jpg'); /* Replace with actual image path */
}

.about-text {
    flex: 1;
    padding: 2rem;
}

.about h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
}

.about p {
    line-height: 1.6;
}

/* Footer */
.footer {
    color: #ddd;
    text-align: center;
}

.footer .contact-form {
    background-color: #333;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.footer .contact-form input[type="text"],
.footer .contact-form input[type="email"],
.footer .contact-form textarea {
    background-color: #444;
    color: #ddd;
    border: none;
    border-radius: 5px;
    padding: 0.75rem;
    margin-bottom: 1rem;
    width: 100%;
}

.footer .contact-form input::placeholder,
.footer .contact-form textarea::placeholder {
    color: #aaa;
}

.footer .contact-form button {
    background-color: #007bff;
    color: white;
    padding: 0.75rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.footer .contact-form button:hover {
    background-color: #0056b3;
}

/* Footer Text Styling */
.footer p {
    color: #aaa;
    margin-top: 1.5rem;
    font-size: 0.875rem;
}

.footer h5 {
    font-size: 1.25rem;
    color: #dfab00;
    margin-bottom: 1rem;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .services, .cards {
        flex-direction: column;
        align-items: center;
    }

    .card {
        width: 90%;
    }

    .about {
        flex-direction: column;
    }

    .about-text {
        padding: 1rem;
    }

    .footer .contact-form {
        padding: 1.5rem;
    }
}