﻿
/* Parallax Effect for index*/
.parallax-banner {
    background-image: url('assets/images/bg.jpg'); /* Replace with your actual image */
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* This creates the parallax effect */
    height: 50vh; /* Full viewport height */
    display: flex;
    align-items: center;
    justify-content: center;
}

.content {
    color: white;
    text-align: center;
}

    .content h2 {
        color: white;
        background-color: orangered;
    }

    .content h4 {
        color: whitesmoke;
    }

.btn {
    font-size: 1.2rem;
    padding: 10px 20px;
}

.scrolling-wrapper {
    overflow-x: auto;
    white-space: nowrap;
    padding: 20px 0;
}

.grid-container {
    display: inline-flex; /* Change grid to inline-flex for horizontal scrolling */
    gap: 20px;
}
/* Marquee content styling */
.marquee-container {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    padding-top: 30px; /* Increased padding to make space for U-shape */
}

.marquee-content {
    display: inline-block;
    animation: marquee 25s linear infinite;
}


/* Slider Container */
.slider-container {
    position: relative;
    top: 130px; /* Offset to start below the header */
    width: 100%;
    max-width: 100%;
    margin: auto;
    overflow: hidden;
    height: 300px; /* Ensure sufficient height */
    bottom: 100px;
    margin-bottom: 50px;
}

/* Slide Images */
.slide {
    display: none;
}

    .slide img {
        width: 100%;
        height: 500px !important;
    }

/* Navigation Buttons */
.slider-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
}

    .slider-nav button {
        background-color: rgba(0, 0, 0, 0.5);
        color: white;
        border: none;
        font-size: 18px;
        cursor: pointer;
        padding: 10px;
        border-radius: 3px;
    }
    /* Floating Button Styling */
.book-now-button {
    position: absolute;
    bottom: 50px; /* Position button 20px from the bottom of the slide */
    left: 50%;
    transform: translateX(-50%);
    background-color: green; /* Example color */
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    text-decoration: none; /* For an anchor-style button */
}

.book-now-button:hover {
    background-color: #e04848; /* Darken color on hover */
    color:white;
}
/*  slider css ends here*/

/*---------------------------------------*/
/*  offer css starts here*/

/* Container for the grid items */

.offers-heading {
    /*text-align: center;
    font-size: 1.8rem;
    margin-top: 30px;
    background-color: #CC333F;
    width: 300px;
    align-content: center;
    margin: 0 auto;
    font-size: 28px;
    font-weight: bold;
    color: #fff;*/
  
    font-size: 28px;
    font-weight: bold;
    color: #fff;
     position: absolute;
     background-color: #CC333F;
    bottom: 1; /* Position near the bottom of the slider */
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 20px;
    
    
    z-index: 10; /* Ensure it appears on top */
}

.grid-container {
    display: flex;
    grid-template-columns: repeat(10, 1fr); /* 10 items per row */
    gap: 20px;
    padding: 1px;
    max-width: 1200px; /* Adjust based on desired max width */
    margin: 0 auto; /* Centers the grid container */
}

/* General Thumbnail Styling */
.thumbnail {
    flex-direction: column;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 100%; /* Maximum width for desktop */
        
    display: flex;
    align-items: center;
    text-align: center;
    margin: 10px;
}

/* Image Styling */
.thumbnail-image {
    width: 150px; /* Set desired width */
    height: 150px; /* Set desired height */
    object-fit: cover; /* Ensures images maintain their aspect ratio */
    border-radius: 8px; /* Optional: adds rounded corners */
}

/* Details Section Styling */
.details {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Detail Items */
.detail-item {
    display: flex;
    align-items: center;
}

.icon {
    margin-right: 5px;
}

.label {
    font-weight: bold;
    font-size:15px;

}

/* Responsive adjustments */
@media (max-width: 900px) {
    .grid-container {
        display: flex; /* Stack in a single row */
        flex-wrap: wrap; /* Allow wrapping on smaller screens */
        justify-content: center; /* Center items */
    }

    .thumbnail {
        max-width: 200px; /* Reduce thumbnail size for medium screens */
    }
}


@media (max-width: 600px) {
    .thumbnail {
        max-width: 150px; /* Further reduce for very small screens */
    }
}
/*  offer css ends here*/

/* Container for marquee */
.image-marquee {
    overflow: hidden; /* Hides the overflow of the images */
    white-space: nowrap;
}

    /* Flexbox for images */
    .image-marquee .marquee-content {
        display: flex;
        animation: marquee 20s linear infinite; /* Animation applied to the content */
    }

/* Animation from left to right */
@keyframes marquee {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

.image-marquee img {
    height: 150px;
    margin-right: 20px;
}
/* Container for marquee ends */



