/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f4f4f4;
}

a {
    text-decoration: none;
    color: #007bff;
}

a:hover {
    text-decoration: underline;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Header and Navigation */
header {
    background-color: #fff;
    padding: 20px 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

header h1 {
    text-align: center;
    font-size: 2.5em;
    color: #2c3e50;
    margin-bottom: 10px;
}

nav ul {
    display: flex;
    justify-content: center;
}

nav ul li {
    margin: 0 20px;
}

nav ul li a {
    color: #34495e;
    font-weight: 500;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #e74c3c;
    text-decoration: none;
}

/* HERO SECTION */
.hero {
    position: relative;
    width: 100%;
    height: 80vh; /* Adjust as needed */
    overflow: hidden;
}

/* Hero Slideshow Container */
.hero-slideshow {
    position: absolute;
    width: 100%;
    height: 100%;
}

/* Hero Images */
.hero-image {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1.5s ease-in-out, filter 0.5s ease-in-out;
    filter: brightness(90%) contrast(110%);
}

/* Show Active Slide */
.hero-image.active {
    opacity: 1;
}

/* Image Filters & Hover Effects */
.hero-image:hover {
    filter: brightness(100%) contrast(120%) saturate(110%);
    transition: filter 0.3s ease-in-out;
}

/* Hero Text */
.hero-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    background: rgba(0, 0, 0, 0.6);
    padding: 20px 40px;
    border-radius: 8px;
    animation: fadeIn 2s ease-in-out;
}

/* CTA Button */
.cta-btn {
    display: inline-block;
    background-color: #A9927D;
    color: #fff;
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.cta-btn:hover {
    background-color: #5E503F;
}

/* Slide Navigation Buttons */
.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 30px;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 10px;
    border: none;
    cursor: pointer;
    transition: background 0.3s ease-in-out;
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}

.prev:hover, .next:hover {
    background: rgba(0, 0, 0, 0.8);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-text {
        width: 80%;
        padding: 15px;
    }
}





/* WHY CHOOSE US SECTION */
.why-choose {
    padding: 60px 20px;
    text-align: center;
    background-color: #F2F4F3; /* Soft background color */
}

.why-choose h2 {
    font-size: 2.5em;
    margin-bottom: 40px;
    color: #22333B;
}

/* Features Grid */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Feature Box */
.feature-box {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    opacity: 0; /* Hidden initially */
    transform: translateY(50px); /* Start position */
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

/* Image Styling */
.feature-box img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    transition: filter 0.3s ease-in-out, transform 0.3s ease-in-out;
}

/* Hover Effects */
.feature-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.feature-box:hover img {
    filter: brightness(105%) contrast(110%);
    transform: scale(1.05);
}

/* Feature Title */
.feature-box h3 {
    font-size: 1.8em;
    margin-top: 15px;
    color: #5E503F;
}

/* Feature Description */
.feature-box p {
    font-size: 1em;
    color: #333;
    line-height: 1.6;
}

/* Animation Activation (When Scrolled Into View) */
.feature-box.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Booking Section */
.booking {
    padding: 60px 20px;
    background-color: #ecf0f1;
    text-align: center;
}

.booking h2 {
    font-size: 2.5em;
    margin-bottom: 30px;
}

#bookingForm {
    width: 90%;
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
}

#bookingForm input[type="text"],
#bookingForm input[type="email"],
#bookingForm input[type="phone"],
#bookingForm input[type="date"],
#bookingForm input[type="number"] {
    width: 100%;
    padding: 12px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

#bookingForm h3 {
    margin-top: 20px;
    margin-bottom: 10px;
}

.room-selection {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

#bookingForm button[type="submit"] {
    background-color: #27ae60;
    color: #fff;
    padding: 15px 30px;
    border: none;
    border-radius: 5px;
    font-size: 1em;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: 100%;
}

#bookingForm button[type="submit"]:hover {
    background-color: #219653;
}

/* About Page Styles */
.about, .our-story, .our-mission, .our-vision {
    padding: 60px 20px;
    background-color: #fff;
}

/* Section Headings */
.about h2, .our-story h2, .our-mission h2, .our-vision h2 {
    text-align: center;
    font-size: 2.5em;
    margin-bottom: 30px;
    color: #2c3e50;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

/* Paragraph Styling */
.about p, .our-story p, .our-mission p, .our-vision p {
    line-height: 1.8;
    margin-bottom: 20px;
    text-align: justify;
    font-size: 1.1em;
    color: #555;
}

/* Image Container */
.about-image {
    text-align: center;
    margin-top: 30px;
}

/* Image Styling */
.about-image img {
    max-width: 100%; /* Full width for mobile */
    height: auto; /* Maintain aspect ratio */
    border-radius: 12px; /* Smooth rounded corners */
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15); /* Enhanced shadow */
    transition: transform 0.3s ease-in-out, filter 0.3s ease-in-out;
}

/* Hover Effect: Zoom & Brightness */
.about-image img:hover {
    transform: scale(1.05); /* Slight zoom effect */
    filter: brightness(1.1) contrast(1.1);
    cursor: pointer;
}

/* Responsive Image Styling */
@media screen and (max-width: 768px) {
    .about-image img {
        max-width: 90%; /* Adjust for smaller screens */
    }
}

@media screen and (max-width: 480px) {
    .about-image img {
        max-width: 100%; /* Full width on mobile */
        border-radius: 6px; /* Smaller radius for compact screens */
    }
}

/* Rooms Page Styles */
.rooms-intro {
    padding: 40px 20px;
    text-align: center;
    background-color: #f9f9f9;
}

.rooms-intro h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: #2c3e50;
}

.room {
    display: flex;
    align-items: center;
    margin: 40px 20px;
    background-color: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.room-carousel {
    width: 50%;
    position: relative;
    overflow: hidden;
}

.room-image {
    width: 100%;
    height: auto;
    transition: opacity 0.5s ease;
}

.room-image:not(.active) {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
}

.room-carousel .prev {
    left: 10px;
}

.room-carousel .next {
    right: 10px;
}

.room-details {
    width: 50%;
    padding: 30px;
}

.room-details h3 {
    font-size: 2em;
    margin-bottom: 20px;
    color: #2c3e50;
}

.room-details ul {
    margin-bottom: 20px;
}

.room-details ul li {
    margin-bottom: 10px;
    list-style-type: disc;
    margin-left: 20px;
}

.room-details blockquote {
    font-style: italic;
    margin: 20px 0;
    padding-left: 20px;
    border-left: 3px solid #e74c3c;
}

.book-btn {
    display: inline-block;
    background-color: #27ae60;
    color: #fff;
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.book-btn:hover {
    background-color: #219653;
    text-decoration: none;
}

/* 🎯 Scroll Buttons */
.room-carousel .prev, 
.room-carousel .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    border: none;
    font-size: 24px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    z-index: 10;
}


/* Amenities Page Styles */
.amenities-intro {
    padding: 40px 20px;
    text-align: center;
    background-color: #f9f9f9;
}

.amenities-intro h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: #2c3e50;
}

.amenities-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 40px 20px;
}

.amenity {
    width: 300px;
    margin: 20px;
    padding: 30px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.amenity img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 5px;
    margin-bottom: 20px;
}

.amenity h3 {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: #2c3e50;
}

.amenity p {
    line-height: 1.7;
}

/* Contact Page Styles */
.contact-info, .contact-form, .find-us {
    padding: 60px 20px;
    background-color: #fff;
}

.contact-info h2, .contact-form h2, .find-us h2 {
    text-align: center;
    font-size: 2.5em;
    margin-bottom: 30px;
    color: #2c3e50;
}

.contact-details {
    text-align: center;
    margin-bottom: 30px;
}

.contact-details p {
    margin-bottom: 10px;
}

#contactForm {
    width: 90%;
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
}

#contactForm input[type="text"],
#contactForm input[type="email"],
#contactForm input[type="phone"],
#contactForm textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

#contactForm button[type="submit"] {
    background-color: #27ae60;
    color: #fff;
    padding: 15px 30px;
    border: none;
    border-radius: 5px;
    font-size: 1em;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: 100%;
}

#contactForm button[type="submit"]:hover {
    background-color: #219653;
}

.map-container {
    width: 100%;
    max-width: 800px;
    margin: 20px auto;
}

/* Gallery Page Styles */
.gallery {
    padding: 40px 20px;
    text-align: center;
    background-color: #f9f9f9;
}

.gallery h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: #2c3e50;
}

.gallery-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    padding: 20px;
}

.gallery-item {
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item img:hover {
    transform: scale(1.1);
}

.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.lightbox img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 3em;
    color: #fff;
    cursor: pointer;
}

/* Footer Styles */
footer {
    background-color: #34495e;
    color: #fff;
    text-align: center;
    padding: 20px 0;
}