/* 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: 60px;
    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;
}

/* ////////////////// 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%);
    /* 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.8);
        position: absolute;
        top: 75px;
        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;
}

/* 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: 2.2rem;
    }

    .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;
}

.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: rgba(255, 255, 255, 0.7);
}


/* 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 //////////////// */

.ImageGrid {
    display: flex;
    padding: 2rem 4rem;
    width: 100%;
    gap: 3rem;
    /* Space between items */
    background-color: rgba(128, 128, 128, 0.1);
}

.ImageGrid-image {
    flex: 1;
}

.ImageGrid-image {
    height: 80vh;
    width: 40vw;
    object-fit: cover;
    border-radius: 20% 0 20% 0;
}

.ImageGrid-content {
    /* background: #fff;
    box-shadow: 3px 3px 15px rgba(128, 128, 128, 0.3);
    border-radius: 14px; */
    padding: 4px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    /* align-items: center; */
    align-self: center;
    justify-content: start;
}

.ImageGrid-content h2 {
    font-size: 3.4rem;
}

.ImageGrid-content span {
    font-size: 1.4rem;
}

.ImageGrid-content a {
    cursor: pointer;
    font-size: 20px;
    color: black;
    text-decoration: none;
    width: 10rem;
    border: 1px solid black;
    padding: 8px 14px;
}

.ImageGrid-reverse {
    display: flex;
    padding: 2rem 4rem;
    width: 100%;
    gap: 3rem;
    /* Space between items */
    background-color: rgba(128, 128, 128, 0.1);
}

.ImageGrid-reverse-image {
    flex: 2;
}

.ImageGrid-reverse-image img {
    height: 80vh;
    width: 100%;
    object-fit: cover;
    border-radius: 20% 0 20% 0;
}

.ImageGrid-reverse-subimage {
    flex: 1;
}

.ImageGrid-reverse-subimage img {
    height: 50vh;
    width: 25vw;
    object-fit: cover;
    border-radius: 20% 0 20% 0;
}

/* 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%;
        /* Full width */
        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;
}

.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;
}