/* Reset some default styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: #f0f0f0;
    /* Light background for the page */
}

/* //////////////////// Header styles //////////////// */

header {
    position: relative;
    height: 100vh;
    /* background-color: #121212; */
    /* Dark background */
    color: #fff;
    /* White text color */
    overflow: hidden;
}

/* Banner styles */
.banner {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    color: #ffffff;
    text-align: center;
}

/* Navbar styles */
.navbar {
    z-index: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    background: rgba(0, 0, 0, 0.7);
    /* Dark semi-transparent background */
    position: absolute;
    top: 0;
    width: 100%;
    transition: background 0.3s ease;
}

.logo img {
    height: 70px;
    width: 110px;
    object-fit: cover;
    /* border-radius: 50%; */
    background-position: center;
    transition: transform 0.3s ease;
}

.logo img:hover {
    transform: scale(1.1);
    /* Slight zoom on hover */
}

/* Burger menu */
.burger {
    display: none;
    /* Hidden by default */
    font-size: 28px;
    color: #ffffff;
    cursor: pointer;
    transition: color 0.3s ease;
}

/* Close icon */
.close {
    display: none;
    /* Hidden by default */
    font-size: 28px;
    color: #ffffff;
    cursor: pointer;
    transition: color 0.3s ease;
}

/* Navigation links */
.nav-links {
    display: flex;
    list-style: none;
    font-weight: 500;
    padding: 1rem 0;
}

.navlink-items {
    margin: 0 1.5rem;
}

/* Navigation links */
.navlink-items a {
    font-size: 18px;
    color: #ffffff;
    padding: 5px 10px;
    border-radius: 4px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.navlink-items a:hover,
.navlink-items a.active {
    color: white;
    background-color: #1683e9;
}

@media (max-width : 468px) {
    header {
        height: 65vh;
    }

    .logo img {
        height: 50px;
        width: 80px;
    }
    .navbar {
        padding: 5px 10px;
    }
}

/* ////////////////// Banner slider ///////////////////// */

.mainslider {
    height: 100%;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.slideHead {
    display: flex;
    height: 100%;
    width: 100%;
}

.slideHead img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(80%);
    top: 0;
    /* Darken image for better text visibility */
    transition: transform 0.5s ease;
    /* Add transition for smooth sliding */
}

.slide {
    min-width: 100%;
    height: 100%;
    object-fit: cover;
}

.controls {
    position: absolute;
    width: 100%;
    top: 50%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    padding: 0 1rem;
}

.controls button {
    cursor: pointer;
    background-color: #1683e9;
    color: white;
    border: none;
    padding: 12px 14px;
    border-radius: 50%;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.controls button:hover {
    background-color: #186fc0;
    transform: scale(1.1);
}

/* Media queries for responsiveness */
@media (max-width: 768px) {

    .controls button {
        font-size: 10px;
        padding: 10px;
    }

    .burger {
        display: block;
        /* Show burger icon on mobile */
    }

    .nav-links {
        display: none;
        /* Hidden by default */
        z-index: 5;
        flex-direction: column;
        width: 100%;
        background: rgba(0, 0, 0, 0.7);
        position: absolute;
        top: 83px;
        left: 0;
        text-align: center;
    }

    .navlink-items {
        margin: 10px 20px;
    }

    .nav-links.active {
        display: flex;
        /* Show links when active */
        padding: 20px 0;
    }

    .close {
        display: none;
        /* Hidden by default */
    }

    .nav-links.active~.close {
        display: block;
        /* Show close icon when nav is active */
    }
}

/* Add animation keyframes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Add the blur animation */
@keyframes blur {
    0% {
        filter: blur(4px);
        opacity: 0;
    }

    100% {
        filter: blur(0px);
        opacity: 1;
    }
}

/* Apply animation to banner-title and banner-description */
.banner-title {
    animation: blur 1s ease-in-out forwards;
    animation-delay: 0.5s;
    /* Delay for the title */
    color: #ffffff;
    /* Match the fill color */
    opacity: 0;
    /* Start hidden */
}

.banner-description {
    animation: blur 1s ease-in-out forwards;
    animation-delay: 1.5s;
    /* Delay for the description */
    color: #f8f8f8;
    /* Match the fill color */
    opacity: 0;
    /* Start hidden */
}

/* /////////////////////////// Center text of banner ///////////////////// */
.banner-details {
    user-select: none;
    position: absolute;
    display: flex;
    flex-direction: column;
    width: 80vw;
    justify-content: center;
    align-items: center;
    /* z-index: 2; */
    color: #2c3e50;
}

.about-li {
    color: #2c3e50;
    padding: 0 20px;

}

/* Banner title and description styles */
.banner-title {
    font-size: 3.8rem;
    font-weight: 700;
    margin: 20px;
    /* color: #186fc0; */
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
    transition: color 0.3s ease;
}

.banner-description {
    font-size: 1.4rem;
    max-width: 600px;
    letter-spacing: 1px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
    line-height: 1.5;
    padding: 0 10px;
}

@media (max-width: 480px) {
    .banner-title {
        font-size: 1.7rem;
    }

    .banner-description {
        font-size: 1.1rem;
    }

    .book-now {
        width: 80%;
        /* Adjusted width for mobile */
    }
}



/* //////////////////// Footer styles //////////////// */
.footer {
    height: fit-content;
    padding: 2rem 14px 3.4rem;
    background: black;
    color: white;
}

.main-footer {
    display: flex;
    gap: 40px;
    justify-content: space-around;
    align-items: flex-start;
    /* Align items at the start */
    flex-wrap: wrap;
    /* Allow items to wrap on smaller screens */
}

.footer-partone {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    /* Change 'start' to 'flex-start' */
    gap: 0.8rem;
}

.footer-subhead {
    font-size: 26px;
}

.footer-partone p {
    color: rgba(255, 255, 255, 0.7);
}

.footer-partone span a:hover {
    color: rgb(231, 229, 229);
    text-decoration: underline;
}

.footer-parttwo {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    /* Change 'start' to 'flex-start' */
    gap: 1.4rem;
    /* background-color: #121212; */
}

.footer-parttwo p {
    color: rgba(255, 255, 255, 0.7);
}

.footer-description {
    display: flex;
    align-items: start;
    gap: 10px;
}

.sub-footer {
    font-size: 18px;
    font-weight: 400;
    text-align: center;
    margin-top: 40px;
    color: black;
}


/* Responsive styles */
@media (max-width: 768px) {
    .main-footer {
        flex-direction: column-reverse;
        /* Stack items vertically */
        align-items: center;
        /* Center align for smaller screens */
        text-align: center;
        /* Center text */
        gap: 2rem;
    }

    .footer-partone,
    .footer-parttwo {
        align-items: center;
        /* Center align items */
        gap: 0.4rem;
        /* Adjust gap for better spacing */
    }

    .footer-subhead {
        font-size: 24px;
        /* Slightly smaller for mobile */
    }

    .footer-partone span {
        font-size: 12px;
        /* Smaller links */
    }

    .footer-parttwo span {
        font-size: 14px;
        /* Smaller phone numbers */
    }
}

@media (max-width: 480px) {
    .footer-subhead {
        font-size: 16px;
        /* Even smaller for very small screens */
    }

    .footer-partone span {
        font-size: 16px;
        /* Smaller links */
    }

    .footer-parttwo span {
        font-size: 16px;
        /* Smaller phone numbers */
    }
}

/* //////////////////// ImageGrid styles //////////////// */

/* Container */
.ImageGrid-wrapper {
    /* max-width: 1200px; */
    margin: 0 auto;
    padding: 60px 20px;
    background: #fefefe;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
}

/* Base Section */
.ImageGrid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 60px;
    transition: all 0.4s ease-in-out;
}

/* Reverse layout for second section */
.ImageGrid.reverse {
    flex-direction: row-reverse;
}

/* Image Wrapper */
.ImageGrid-image-wrapper {
    flex: 1;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.ImageGrid-image-wrapper:hover {
    transform: scale(1.02);
}

.ImageGrid-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
}

/* Content */
.ImageGrid-content {
    flex: 1;
    padding: 0 20px;
    text-align: left;
}

/*   
  .ImageGrid-content.align-right {
    text-align: right;
  } */

.ImageGrid-content h2 {
    font-size: 28px;
    color: #2c3e50;
    margin-bottom: 16px;
    position: relative;
}

.ImageGrid-content h2::after {
    content: '';
    width: 60px;
    height: 4px;
    background: #e67e22;
    display: block;
    margin-top: 8px;
    border-radius: 2px;
}

.ImageGrid-content p {
    font-size: 17px;
    line-height: 1.7;
    color: #555;
    text-align: justify;
}

/* Responsive */
@media (max-width: 768px) {

    .ImageGrid,
    .ImageGrid.reverse {
        flex-direction: column;
        gap: 20px;
    }

    .ImageGrid-content,
    .ImageGrid-content.align-right {
        text-align: center;
        padding: 0;
    }

    .ImageGrid-content h2::after {
        margin-left: auto;
        margin-right: auto;
    }
}

/* Additional styles for responsiveness (optional) */

/* Mobile styles */
/* @media (max-width:868px) {
    .ImageGrid {
        flex-direction: column;
        padding: 1rem;
        gap: 1.5rem;
    }

    .ImageGrid-reverse {
        flex-direction: column-reverse;
        padding: 1rem;
        gap: 1.5rem;
    }

    .ImageGrid-image,
    .ImageGrid-reverse-image img,
    .ImageGrid-reverse-subimage img {
        height: auto;
        width: 100%;
        border-radius: 15% 0 15% 0;
    }

    .ImageGrid-content h2 {
        font-size: 2rem;
        text-align: center;
    }

    .ImageGrid-content span {
        font-size: 1rem;
        text-align: center;
    }
} */

/* //////////////////// gridCard styles //////////////// */

/* Default Styles for Desktop */
.gridCard {
    height: fit-content;
    padding: 2rem 4rem;
}

.gridCard-heading {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    margin-bottom: 2rem;
    color: #2c3e50;
}

.gridCard-heading h2 {
    font-size: 3rem;
}

.gridCard-heading span {
    font-size: 1.2rem;
}

.gridcard-images {
    display: flex;
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.grid-image {
    height: 60vh;
    width: 20vw;
    position: relative;
}

.grid-image img {
    flex: 1;
    height: 100%;
    width: 100%;
    object-fit: cover;
    border-radius: 4px;
}


.grid-image-title {
    z-index: 1;
    width: 70%;
    padding: 0 10px;
    color: white;
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 30px;
    font-weight: bold;
    transition: all ease 0.3s;
}

.grid-image a {
    display: none;
    position: absolute;
    cursor: pointer;
    font-size: 20px;
    color: white;
    text-decoration: none;
    width: 10rem;
    border: 2px solid white;
    padding: 8px 14px;
}

.grid-image:hover {
    opacity: 0.;
}

.grid-image:hover .grid-image-title {
    bottom: 25vh;
}

.grid-image:hover a {
    display: block;
}

/* Tablet and Mobile View (max-width: 768px) */
@media (max-width: 768px) {
    .gridCard {
        padding: 1rem;
    }

    .gridCard-heading h2 {
        font-size: 2rem;
        text-align: center;
    }

    .gridCard-heading span {
        font-size: 0.9rem;
        text-align: center;
    }

    .gridcard-images {
        flex-direction: column;
        align-items: center;
    }

    .grid-image {
        height: 40vh;
        width: 80vw;
        margin: 0 auto;
        /* Center the images */
    }

    .grid-image-title {
        font-size: 18px;
    }
}

/* Mobile View (max-width: 480px) */
@media (max-width: 480px) {
    .gridCard-heading h2 {
        font-size: 1.5rem;
    }

    .gridCard-heading span {
        font-size: 0.8rem;
    }

    .grid-image {
        height: 35vh;
        width: 90vw;
        margin: 0 auto;
        /* Center the images */
    }

    .grid-image-title {
        font-size: 16px;
    }
}

/* Room section css */


.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    padding-top: 30px;
    padding-bottom: 20px;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
    color: #333;
    padding: 0 10px;
}

.section-title h2 {
    font-size: 36px;
    margin-bottom: 10px;
}

.section-title p {
    font-size: 16px;
    color: #666;
}

.room-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    /* 4 columns */
    gap: 30px;
    /* Space between the grid items */
}

.room-card {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    width: 100%;
    display: none;
    /* Hide all cards by default */
}

.room-card:hover {
    transform: translateY(-5px);
}

.room-card.visible {
    display: block;
    /* Show only visible cards */
}

.room-image {
    position: relative;
    height: 220px;
    overflow: hidden;
    object-fit: cover;
}

.room-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.room-card:hover .room-image img {
    transform: scale(1.05);
}

.room-type {
    position: absolute;
    top: 20px;
    right: 0;
    background-color: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 8px 15px;
    font-size: 14px;
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
}

.room-details {
    padding: 20px;
}

.room-name {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #333;
}

.room-description {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
}

.room-amenities {
    margin: 15px 0;
}

.amenities-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
}

.amenities-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.amenity-item {
    background-color: #f0f0f0;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    color: #555;
    margin-bottom: 5px;
}

.room-price {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #eee;
    flex-wrap: wrap;
    gap: 10px;
}

.price {
    font-size: 24px;
    font-weight: 700;
    color: #e74c3c;
}

.price span {
    font-size: 14px;
    color: #666;
    font-weight: 400;
}

.book-now {
    background-color: #e74c3c;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.book-now:hover {
    background-color: #c0392b;
}

.view-more-container {
    text-align: center;
    margin-top: 20px;
}

.view-more-btn {
    background-color: #e74c3c;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.view-more-btn:hover {
    background-color: #c0392b;
}

/* Mobile Responsiveness */
@media (max-width: 992px) {
    .room-grid {
        grid-template-columns: repeat(3, 1fr);
        /* 3 columns for medium screens */
    }

    .section-title h2 {
        font-size: 32px;
    }
}

@media (max-width: 768px) {
    .room-grid {
        grid-template-columns: repeat(2, 1fr);
        /* 2 columns for small screens */
    }

    .section-title h2 {
        font-size: 28px;
    }

    .section-title p {
        font-size: 14px;
    }

    .room-card {
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .room-grid {
        grid-template-columns: 1fr;
        /* 1 column for very small screens */
    }

    .section-title h2 {
        font-size: 24px;
    }
}

/* Floating Book Now button */
.floating-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #2196f3;
    color: white;
    padding: 12px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 999;
    transition: background 0.3s ease;
}

.floating-button:hover {
    background-color: #1976d2;
}

/* OTa Links  */

.ota-section {
    padding: 2rem 0.4rem;
    background-color: #f9f9f9;
}

.ota-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    width: 100%;
    margin: 0 auto;
}

.ota-image {
    flex: 1 1 120px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 100px;
}

.ota-image img {
    height: 70px;
    border-radius: 50%;
    width: auto;
    max-width: 100%;
    transition: transform 0.3s ease;
}

.ota-image:hover img {
    transform: scale(1.1);
}

/* Responsive styles */
@media (max-width: 768px) {
    .ota-container {
        gap: 1rem;
    }

    .ota-image img {
        height: 40px;
    }
}

@media (max-width: 480px) {

    .ota-section {
        padding: 1rem 1rem;
    }

    .ota-container {
        gap: 0.7rem;
    }

    .ota-image img {
        height: 35px;
    }
}

/* amenities  */

.amenities-section {
    padding: 60px 20px;
    background-color: #fff;
}

.amenities-title {
    font-size: 32px;
    font-weight: 700;
    text-align: center;
    color: #222;
    margin-bottom: 40px;
    position: relative;
}

.amenities-title::after {
    content: "";
    width: 60px;
    height: 3px;
    background-color: #1683e9;
    display: block;
    margin: 10px auto 0;
}

.amenities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 10px;
}

.amenity-item {
    background-color: #f8f8f8;
    padding: 20px;
    border-left: 5px solid #1683e9;
    font-size: 18px;
    color: #333;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    border-radius: 4px;
}

/* Responsive title */
@media (max-width: 600px) {
    .amenities-title {
        font-size: 26px;
    }

    .amenity-item {
        font-size: 16px;
        padding: 15px;
    }
}

/* Floating Button */
.floating-btn {
    z-index: 100;
    position: fixed;
    bottom: 40px;
    right: 20px;
    background-color: #007bff;
    text-transform: uppercase;
    color: white;
    width: 120px;
    height: fit-content;
    padding: 10px 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 6%;
    font-size: 18px;
    text-decoration: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease;
}

.floating-btn:hover {
    background-color: #0056b3;
}


@media (min-width: 480px) {
    .floating-btn {
        display: none;
    }
}
