/* Base Reset and Typography */
:root {
    --primary-color: #0A1931; /* Deep Navy/Blue */
    --primary-color-light: #1A2947; /* Lighter shade of Primary for contrast/backgrounds */
    --secondary-color: #D9BE89; /* Gold/Sand Beige Accent */
    --dark-color: #1a1a1a;
    --light-color: #f4f4f4;
    --max-width: 1200px;    
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Poppins', 'Poppins-fallback', Arial, sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    background-color: #fff;
}

a {
    text-decoration: none;
    color: var(--primary-color);
}

.cpara
{
text-align: justify; padding-bottom: 10px;padding-left: 15px;padding-right: 15px;
}

.paradesc
{
    text-align: justify; padding-top: 10px;
}


ul {
    list-style: none;
}

/* Utility Classes */
.container {
    max-width: var(--max-width);
    margin: auto;
    padding: 0 20px;
    overflow: hidden;
}

.section-padding {
    padding: 60px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5em;
    margin-bottom: 40px;
    color: var(--primary-color);
}

/* Header and Navigation */
.main-header {
    background: #fff;
    color: var(--dark-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100px;
}

/* Adjust mobile styles */
@media (max-width: 600px) {
    .header-logo {
        /* Make the logo slightly smaller on mobile */
        max-height: 40px; 
    }
}

.site-name {
    font-size: 1.5em;
    font-weight: 700;
    color: var(--secondary-color);
    margin: 0;
    padding: 0;
    line-height: 1;
}

/* Style the logo image itself */
.header-logo {
    /* Set max height to prevent the logo from dominating the header */
    max-height: 95px; 
    width: auto;
    display: block; /* Removes any default bottom spacing from images */
    aspect-ratio: 1 / 1;
}

.nav-list {
    display: flex;
    gap: 25px;
}

.nav-list a {
    color: var(--dark-color);
    font-weight: 600;
    transition: color 0.3s;
}

.btn-book {
    background: var(--primary-color);
    color: var(--light-color) !important;
    padding: 8px 15px;
    border-radius: 5px;
    font-weight: 600;
}
.btn-book:hover
{
    background: var(--secondary-color);
    color: var(--primary-color-light) !important;
    font-weight: 600;
    transition: color 0.3s;
}

/* Hamburger Menu (Mobile Only) */
.hamburger {
    display: none; /* Hidden on desktop */
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.hamburger .bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--dark-color);
    transition: 0.3s;
}

/* Mobile Navigation State */
@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: 0;
        width: 100%;
        height: 100%;
        background: rgba(255, 255, 255, 0.95);
        transform: translateX(100%);
        transition: transform 0.4s ease-in-out;
        padding-top: 80px;
    }

    .main-nav.active {
        transform: translateX(0);
    }

    .nav-list {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    .nav-list li {
        width: 100%;
        text-align: center;
    }
    
    .nav-list a {
        font-size: 1.5em;
        display: block;
        padding: 10px 0;
    }
    
    .nav-list .btn-book {
        padding: 12px 30px;
        font-size: 1.2em;
    }
}


/* Hero Section (SLIDER CSS) */
.hero-section {
    position: relative;
    overflow: hidden;
    /*height: 80vh;*/
    /*height:563px;*/
    height: 563px;
    
}



.hero-track {
    display: flex;
    height: 100%;
    transition: transform 0.8s ease-in-out;
}

.hero-slide {
    min-width: 100%; /* Each slide takes full width */
    height: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
    position: relative;
}

.hero-slide::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Dark overlay for text readability */
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 20px;
    top:140px;
}

.hero-content h2 {
    font-size: 3em;
    margin-bottom: 10px;
    font-weight: 700;
}

.hero-content p {
    font-size: 1.4em;
    margin-bottom: 30px;
    font-weight: 300;
}

.btn-primary {
    background: var(--secondary-color);
    color: var(--primary-color) !important;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 700;
    transition: background-color 0.3s;
}

.btn-primary:hover {
    background: #c3b081; /* Slightly darker secondary color on hover */
}

/* Slider Navigation Buttons (Common Styling) */
.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    padding: 10px;
    cursor: pointer;
    z-index: 10;
    transition: background-color 0.3s, color 0.3s;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Hero Nav Specific Styling */
.slider-nav.hero-prev, .slider-nav.hero-next {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}
.slider-nav.hero-prev:hover, .slider-nav.hero-next:hover {
    background: rgba(255, 255, 255, 0.5);
}

.slider-nav.hero-prev {
    left: 20px;
}

.slider-nav.hero-next {
    right: 20px;
}


/* About Us Section */
.about-section {
    background: var(--primary-color-light); 
    color: var(--light-color); 
}

.about-section .section-title, .about-section h3 {
    color: var(--secondary-color); 
}

.lead-text {
    text-align: center;
    margin-bottom: 50px;
    font-size: 1.1em;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.about-grid {
    display: flex;
    gap: 30px;
    text-align: center;
}

.about-feature {
    flex: 1;
    padding: 20px;
    border-radius: 8px;
    background: var(--primary-color); 
    color: var(--light-color); 
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.about-feature h3 {
    margin-bottom: 15px;
    font-weight: 600;
}

/* Accommodation Section (Amenities) */
.accommodation-section {
    background: #fff;
}

.amenities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    text-align: center;
}

.amenity-card {
    padding: 25px;
    border: 1px solid #ddd;
    border-radius: 8px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.amenity-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Icon Styling for Font Awesome */
.amenity-icon {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 60px; 
    height: 60px;
    margin-bottom: 15px;
    background-color: var(--primary-color); 
    color: var(--secondary-color); 
    border-radius: 50%;
    font-size: 2.2em; 
    font-weight: normal; 
}

.amenity-card h3 {
    color: var(--secondary-color);
    margin-bottom: 10px;
}



/* Testimonial Nav Specific Styling (Make them cleaner/less intrusive) */
.slider-nav.testimonial-prev, .slider-nav.testimonial-next {
    background: var(--primary-color); /* Dark solid background */
    color: var(--light-color);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%; /* Circular buttons */
    opacity: 0.8;
    transition: all 0.3s;
}

.slider-nav.testimonial-prev:hover, .slider-nav.testimonial-next:hover {
    background: var(--secondary-color); /* Gold accent on hover */
    color: var(--primary-color);
    opacity: 1;
}

.slider-nav.testimonial-prev { left: 10px; }
.slider-nav.testimonial-next { right: 10px; }



/* --- Responsiveness Adjustments for Testimonials --- */
@media (max-width: 900px) {
    /* Medium screens (e.g., tablets): Show 2 columns */
    .testimonial-card {
        min-width: calc(50% - 15px); 
    }
}

@media (max-width: 600px) {
    /* Small screens (e.g., phones): Show 1 column */
    .testimonial-card {
        min-width: 100%; 
    }
}


/* --- FOOTER STYLES --- */

.main-footer {
    background: var(--primary-color);
    color: var(--light-color);
    padding: 40px 0;
}

/* New wrapper to hold the 3 columns */
.footer-content {
    display: grid;
    /* 3 equal columns */
    grid-template-columns: 1fr 1fr 1fr; 
    gap: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 20px;
}

.footer-column h4 {
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
}

.footer-column a, .footer-column p {
    color: rgba(255, 255, 255, 0.8);
    display: block;
    margin-bottom: 10px;
    transition: color 0.3s;
}

.footer-column a:hover {
    color: var(--secondary-color);
}

.footer-column i {
    margin-right: 8px;
    width: 20px; /* Aligns icons nicely */
    text-align: center;
}

/* Quick Links Styling */
.footer-column ul {
    padding: 0;
    list-style: none;
}

/* Follow Us (Social Icons) */
.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    color: var(--light-color);
    font-size: 20px;
    width: auto;
}

.social-links a:hover {
    color: var(--secondary-color);
}

/* Copyright Bar */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: rgba(255, 255, 255, 0.6);
}

.footer-bottom p {
    margin: 0;
}

/* Media Query for Mobile/Tablet */
@media (max-width: 768px) {
    .footer-content {
        /* Stack columns vertically on smaller screens */
        grid-template-columns: 1fr;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    .footer-bottom .footer-links {
        margin-top: 10px;
    }
}

/* Responsiveness adjustments for smaller screens */
@media (max-width: 900px) {
    .hero-content h2 {
        font-size: 2.5em;
    }
    .hero-content p {
        font-size: 1.2em;
    }
    
    .main-footer .container {
        flex-direction: column;
        gap: 15px;
    }
    .footer-links {
        display: flex;
        flex-direction: column;
        gap: 8px;
        align-items: center;
    }
    .footer-links a, .footer-links p {
        margin: 0;
    }
}

@media (max-width: 600px) {
    .section-title {
        font-size: 2em;
    }
    .about-grid {
        flex-direction: column;
    }
    .about-feature {
        margin-bottom: 20px;
    }
    .hero-content h2 {
        font-size: 2em;
    }
    .hero-content p {
        font-size: 1em;
    }
    
    .slider-nav {
        /* Make hero buttons smaller on mobile */
        width: 30px;
        height: 30px;
    }
}

/* Button Styling (Added btn-secondary) */
.btn-primary {
    background: var(--secondary-color);
    color: var(--primary-color) !important;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 700;
    transition: background-color 0.3s;
}

.btn-primary:hover {
    background: #c3b081; /* Slightly darker secondary color on hover */
}

.btn-secondary {
    display: inline-block;
    background: var(--primary-color);
    color: var(--light-color) !important;
    padding: 10px 20px;
    border-radius: 5px;
    margin-top: 15px;
    transition: background-color 0.3s;
}

.btn-secondary:hover {
    background: var(--secondary-color);
    color: var(--primary-color-light)!important;
    font-weight: 600;
}


/* Gallery Navigation Buttons (Specific Placement) */
.slider-nav.gallery-prev, .slider-nav.gallery-next {
    /* Use same styling as Hero buttons but placed inside the gallery box */
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.4);
    color: #fff;
    width: 35px;
    height: 35px;
    z-index: 5; /* Ensure they are above the image */
    transition: background-color 0.3s;
}

.slider-nav.gallery-prev:hover, .slider-nav.gallery-next:hover {
    background: rgba(0, 0, 0, 0.6);
}

.slider-nav.gallery-prev {
    left: 10px;
}

.slider-nav.gallery-next {
    right: 10px;
}


/* Button Styling (Added btn-secondary) */
/* ... (existing button styles) ... */

/* Gallery Navigation Buttons (Specific Placement) */
/* ... (existing gallery nav styles) ... */

/* Responsiveness adjustments */
/* ... (existing media queries) ... */

/* --- NEW ACCOMMODATION/VILLA SECTION STYLES --- */
.room-accommodation-section {
    /* CHANGED: Updated background color to primary-color-light */
    background: var(--primary-color-light);
    /* Adding text color change for readability against the dark background */
    color: var(--light-color);
}

.villa-grid {
    display: grid;
    /* Two columns: 60% for details, 40% for gallery (approx 3fr/2fr split) */
    grid-template-columns: 3fr 2fr; 
    gap: 40px;
    align-items: center;
}

.villa-details-column {
    padding: 20px;
}

.room-accommodation-section .section-title {
    color: var(--secondary-color); /* H2 Section Title */
}
.villa-details-column h3 {
    /* Keeping this color for contrast/accent */
    color: var(--secondary-color); /* H3 Sub-heading */
    font-size: 1.8em;
    margin-bottom: 15px;
}

.villa-description {
    /* This will already be light-color due to parent, but explicitly defining here for clarity */
    color: var(--light-color);
    margin-bottom: 15px;
    line-height: 1.8;
}

.features-title {
    color: var(--secondary-color);
    margin-top: 20px;
    margin-bottom: 10px;
    font-weight: 600;
}

.villa-features {
    padding-left: 0;
}

.villa-features li {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    font-size: 1.05em;
    /* Ensure the list item text is light */
    color: var(--light-color); 
}

.villa-features li i {
    color: var(--secondary-color);
    margin-right: 10px;
    font-size: 1.2em;
}

/* Image Gallery Container */
.image-gallery-column {
    /* CHANGED: Decreased height from 450px to 350px for a wider (shorter) rectangular shape. */
    height: 350px; 
    overflow: hidden;
    position: relative;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.gallery-slider-container {
    height: 100%;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.gallery-track {
    display: flex;
    height: 100%;
    width: 100%;
    transition: transform 0.8s ease-in-out;
}

.gallery-slide {
    flex-shrink: 0;
    width: 100%;
    height: 100%;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

/* Slider Dots for Gallery (New) */
.gallery-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background-color 0.3s;
}

.slider-dot.active {
    background: var(--secondary-color);
}

/* Gallery Navigation Buttons (Specific Placement) */
.slider-nav.gallery-prev, .slider-nav.gallery-next {
    /* Use same styling as Hero buttons but placed inside the gallery box */
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.4);
    color: #fff;
    width: 35px;
    height: 35px;
    z-index: 5; /* Ensure they are above the image */
    transition: background-color 0.3s;
}

.slider-nav.gallery-prev:hover, .slider-nav.gallery-next:hover {
    background: rgba(0, 0, 0, 0.6);
}

.slider-nav.gallery-prev {
    left: 10px;
}

.slider-nav.gallery-next {
    right: 10px;
}

/* Responsiveness adjustments */
@media (max-width: 900px) {
    /* ... (Existing media query code) ... */
    
    .villa-grid {
        /* On medium screens, stack vertically */
        grid-template-columns: 1fr;
    }
    
    /* Ensure gallery maintains a decent height on mobile */
    .image-gallery-column {
        height: 300px; 
    }
}

.image-gallery-column {
    /* UPDATED: Increased height for better display of 3:2 images in a 2-column layout */
    height: 450px; 
    overflow: hidden;
    position: relative;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Ensure the slides inside the track fill the space */
.gallery-slide {
    flex-shrink: 0;
    width: 100%;
    height: 100%;
    background-size: cover; /* Important: ensures the image covers the area */
    background-position: center;
    background-repeat: no-repeat;
}

.image-gallery-column {
    /* Temporary style for debugging */
    background-color: lightgray; 
    /* ... rest of the styles ... */
}


/* --- SCROLL TO TOP BUTTON STYLES --- */

.scroll-to-top {
    display: none; /* Hidden by default in JS, but good practice */
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000; /* High z-index to ensure it is always on top */
    
    /* Styling */
    background-color: var(--secondary-color); /* Gold accent color */
    color: var(--primary-color);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%; /* Makes it round */
    cursor: pointer;
    font-size: 18px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: opacity 0.3s, background-color 0.3s, transform 0.3s;
}

.scroll-to-top:hover {
    background-color: #c7a76c; /* Slightly darker hover */
    transform: scale(1.05);
}

.scroll-to-top:active {
    transform: scale(0.95);
}

/* Media Query for smaller screens to make it less intrusive */
@media (max-width: 600px) {
    .scroll-to-top {
        width: 40px;
        height: 40px;
        bottom: 20px;
        right: 20px;
        font-size: 16px;
    }
}




/* --- Video Styles for About Us Section --- */


.video-container {
width: 100%;
    max-width: 870px;
    margin: 2rem auto;
    /* Aspect Ratio = Width / Height (870 / 579 = 1.502) */
    aspect-ratio: 870 / 579; 
    position: relative;
    overflow: hidden;
    display: block;
}

.video-container video {
width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures the poster fills the reserved box perfectly */
    display: block;
    
     text-align:center;
    
    /* Optional: Adds a subtle border radius */
    border-radius: 8px; 
    
    /* Optional: Adds a subtle shadow */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); 
    
}
.hiddenimg
{
position: absolute;
left: -9999px;
top: -9999px;
overflow: hidden
}



/*+++++++++++++++++++++ MODAL POPUP CODE STRATS HERE ++++++++++++++++++++++++++++++++ */
/* --- 1. Modal Container (Hidden by default) --- */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 10000; /* Sit on top of everything */
    left: 0px;
    top: 0px;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: hidden; /* Enable scroll if needed */
    background-color: rgba(0, 0, 0, 0.6); /* Black background with opacity (the overlay) */
}

/* --- 2. Modal Content Box --- */
.modal-content {
    background-color: #fefefe;
    margin: 15% auto; /* 15% from the top and centered */
    padding: 20px;
    border-radius: 10px;
    width: 80%; /* Could be more or less, depending on screen size */
    max-width: 500px; /* Max width for desktop viewing */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    position: relative;
    text-align: center;
    animation: fadeIn 0.5s ease-out; /* Animation to make it appear smoothly */
}

/* --- 3. Close Button --- */
.close-btn {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    top: 10px;
    right: 15px;
    transition: color 0.3s;
}

.close-btn:hover,
.close-btn:focus {
    color: var(--primary-color); /* Use your primary theme color */
    text-decoration: none;
}

/* --- 4. Ad Specific Styling --- */
.ad-content h3 {
    color: var(--secondary-color); /* Use your secondary theme color (Gold/Accent) */
    margin-bottom: 10px;
    font-size: 1.5em;
}

.ad-content p {
    font-size: 1em;
    color: #333;
    line-height: 1.4;
}

.ad-small {
    font-size: 0.8em;
    color: #888;
    margin-top: 10px;
}

.ad-img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
    margin: 15px 0;
}

.modal-cta {
    margin-top: 20px;
    display: block; /* Make the button full width inside the content box */
}

/* --- 5. Modal Animation --- */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-50px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 600px) {
    .modal-content {
        width: 90%;
        margin: 10% auto;
    }
}