@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;800&family=Poppins:wght@600;700;800&display=swap');
:root {
    /* Light Mode (Classy Essentials) */
    --bg-body: #f8fafc;
    --bg-card: #ffffff;
    --text-main: #0f172a;
    --border: #e2e8f0;
    --glass: rgba(255, 255, 255, 0.7);
    --nav-text: #0f172a;
    --primary: #10b981;
 
    /* Shadows */
    --shadow-sm: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 20px 25px -5px rgb(0 0 0 / 0.1);
    --whatsapp: #25D366;
}

body.dark-mode {
    /* The "First Image" Classy Palette */
    --bg-body: #020617;   /* Deep Midnight Base */
    --bg-card: #0f172a;   /* Rich Navy Cards */
    --text-main: #f1f5f9; /* Soft White Text */
    --border: #1e293b;   /* Subtle Border */
    --glass: rgba(2, 6, 23, 0.8); /* Dark Glass Effect */
    --nav-text: #ffffff;
}

* { 
    box-sizing: border-box; 
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease; 
}

body {
    background-color: var(--bg-body);
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    letter-spacing: -0.01em;
    margin: 0;
}

/* --- PREMIUM NAVBAR --- */
.hero-navbar {
    position: fixed; /* Keep it on top during scroll */
    top: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 60px; /* Increased padding for premium breathability */
    background: var(--glass);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
}

/* Increased Logo Size */
.logo {
    color: var(--nav-text) !important;
    text-decoration: none;
    font-size: 26px; /* Larger logo */
    font-weight: 800;
    font-family: 'Poppins', sans-serif;
    letter-spacing: -1px;
    flex : 0 1;
}

/* Increased Nav Link Sizes & Spacing */
.nav-links {
    display: flex;
    align-items: center;
    gap: 35px; /* More space between links */
}

.nav-links a {
    color: var(--nav-text) !important;
    text-decoration: none;
    font-size: 16px; /* Larger, more readable links */
    font-weight: 600;
    opacity: 0.9;
}

.nav-links a:hover {
    color: var(--primary) !important;
    opacity: 1;
}

/* Theme Toggle Button */
.theme-btn {
    background: var(--bg-card);
    border: 1px solid var(--border);
    color: var(--text-main);
    padding: 10px;
    border-radius: 12px;
    cursor: pointer;
}

/* --- HERO SECTION REFINEMENT --- */
.hero-slider {
    position: relative;
    width: 100%;
    height: 100vh;
    background-color: #000;
    overflow: hidden;
}

.slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.slide.active { opacity: 1; }

.overlay {
    position: absolute;
    inset: 0;
    /* Added top-weighted gradient to ensure nav visibility */
    background: linear-gradient(to bottom, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.2) 30%, rgba(0,0,0,0.4) 100%);
}

.hero-center-content {
    position: absolute;
    top: 55%; /* Slightly lower than center for visual balance */
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 90%;
    max-width: 800px;
    z-index: 10;
    color: white;
}

.hero-title {
    font-size: 64px; /* Massive premium title */
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    margin-bottom: 10px;
    letter-spacing: -2px;
    text-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

/* ROOM CARDS */
.rooms-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
}
.room-card {
    background: var(--bg-card) !important;
    border: 1px solid var(--border) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5); /* Adds depth in dark mode */
}


.room-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}
.book-btn {
    flex: 2;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    padding: 14px;
    border-radius: 14px;
    text-decoration: none;
    text-align: center;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}



.book-btn:hover {
    filter: brightness(0.9);
}
/* LIGHT MODE: Green text on White/Light background */
.details-btn {
    flex: 1; 
    background: #ffffff; /* Solid white background for light mode */
    color: var(--primary) !important; 
    border: 2px solid var(--primary); 
    border-radius: 12px; 
    font-weight: 700; 
    cursor: pointer;
    transition: all 0.3s ease;
}

/* DARK MODE: Green text on Transparent background */
body.dark-mode .details-btn {
    background: transparent; /* Makes text pop against the dark card */
    color: var(--primary) !important;
    border: 2px solid var(--primary);
}

.details-btn:hover {
    background: rgba(16, 185, 129, 0.1); /* Subtle green glow on hover */
    transform: translateY(-2px);
}
.room-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 28px;
    padding: 15px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); /* Smooth movement */
    position: relative;
    overflow: hidden;
}
/* THE CLASSY HOVER EFFECT */
.room-card:hover {
    transform: translateY(-10px); /* Lift effect */
    border: 1px solid var(--primary) !important; /* Force the Emerald Green border */
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.2); /* Subtle green glow */
}

/* Optional: Add a subtle transition to the border specifically */
.room-card {
    transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}


.card-top { display: flex; gap: 15px; }
.left-section, .right-section { width: 50%; }

.main-img, .room-video {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 16px;
    background: #000;
}
.room-video {
    width: 100%;
    aspect-ratio: 9/16; /* Portrait like Instagram */
    background: #000;
    border-radius: 12px;
    object-fit: cover; /* Fills the vertical space */
    cursor: pointer;
}

.slider-container img {
    max-width: 100%;
    max-height: 80vh; /* Prevents image from being too tall for screen */
    object-fit: contain;
    cursor: zoom-in;
}

.room-price { font-size: 22px; color: var(--accent); font-weight: 700; margin-top: 10px; }

/* Labels for Media */
.media-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(4px);
    color: white;
    padding: 5px 10px;
    border-radius: 8px;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
}

/* --- WHATSAPP FLOAT --- */
.whatsapp-float {
    position: fixed;
    bottom: 40px;
    right: 40px;
    background: var(--whatsapp);
    color: white;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    z-index: 1000;
    box-shadow: 0 10px 25px rgba(37,211,102,0.4);
    text-decoration: none;
}
/* The Pill Filter Bar */
.filter-bar {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.95);
    padding: 6px 10px 6px 25px;
    border-radius: 100px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.filter-bar select {
    border: none;
    outline: none;
    background: transparent;
    padding: 10px;
    font-size: 13px;
    color: #333;
    cursor: pointer;
}

.divider {
    width: 1px;
    height: 20px;
    background: #ddd;
    margin: 0 10px;
}

.search-btn {
    background: #0f172a;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 100px;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    transition: background 0.3s;
}

.search-btn:hover { background: #334155; }

/* AMENITIES SECTION */
.marquee-container {
    overflow: hidden; /* Hides the items outside the screen */
    width: 100%;
    position: relative;
    padding: 40px 0;
}

.marquee-content {
    display: flex; /* Aligns items in a single line */
    width: max-content; /* Ensures the track is long enough for all items */
    gap: 40px; /* Space between items */
    animation: scrollLine 40s linear infinite; /* The movement */
}

/* PAUSE ON HOVER: A very classy touch */
.marquee-container:hover .marquee-content {
    animation-play-state: paused;
}

/* --- AMENITIES SECTION CONTAINER --- */
.home-amenities { 
    padding: 30px 10px !important; /* Tight vertical spacing */
    background: var(--bg-body); 
    text-align: center; 
    transition: background 0.3s ease;
    margin: 0 !important;
}

.home-amenities h2 {
    color: var(--text-main);
    margin-top: 0 !important;
    margin-bottom: 20px !important; /* Pulls marquee closer to the title */
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
}

/* --- THE SCROLLING ENGINE --- */
.marquee-container {
    overflow: hidden;
    width: 100%;
    padding: 10px 0;
}

.marquee-content {
    display: flex;
    gap: 25px;
    width: max-content;
    animation: scrollLine 30s linear infinite;
}

@keyframes scrollLine {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* --- THE AMENITY BOX (CLASSY & SYMMETRICAL) --- */
.amenity-box {
    flex-shrink: 0;
    width: 200px; /* Slightly smaller for better screen fit */
    aspect-ratio: 1/1; /* Perfect squares */
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.amenity-img {
    width: 80px; /* High visibility icon */
    height: 80px;
    object-fit: contain;
    margin-bottom: 12px;
    transition: transform 0.3s ease;
}

.amenity-box p {
    color: var(--text-main);
    font-weight: 700;
    font-size: 14px;
    margin: 0;
    letter-spacing: 0.02em;
}

/* --- PREMIUM HOVER EFFECTS --- */
.amenity-box:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: var(--primary) !important;
    box-shadow: 0 15px 35px rgba(16, 185, 129, 0.2);
}

.amenity-box:hover .amenity-img {
    transform: scale(1.15); /* Icon pop effect */
}

/* THE MODAL CLOSE BUTTON */
.modal-close {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 24px;
    font-weight: 300; /* Thin lines look more premium */
    cursor: pointer;
    
    /* THE KEY FIX: Follows the theme text color */
    color: var(--text-main); 
    
    transition: transform 0.3s ease, color 0.3s ease;
    z-index: 1010;
}

.modal-close:hover {
    color: var(--primary); /* Emerald Green on hover */
    transform: rotate(90deg); /* Classy rotation effect */
}


/* Update your modal container and content */
.modal-overlay {
    background: rgba(0, 0, 0, 0.7); /* Darkens the background for focus */
    backdrop-filter: blur(8px);
}

.modal-content {
    background: var(--bg-card) !important; /* Flips from white to dark navy */
    color: var(--text-main) !important; /* Flips text color automatically */
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 30px;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
}

/* FIX: The "Invisible" Cross / Close Button */
.close-modal {
    color: var(--text-main) !important; /* Ensures visibility in both modes */
    font-size: 28px;
    opacity: 0.8;
    transition: transform 0.3s ease, color 0.3s ease;
}

.close-modal:hover {
    color: var(--primary) !important; /* Emerald green highlight */
    transform: rotate(90deg);
}

/* Modal Text Fixes */
.modal-content h2, 
.modal-content p, 
.modal-content .amenities-list {
    color: var(--text-main) !important; /* Prevents text from staying white or light grey */
}
/* Lightbox Container */
.lightbox {
    display: none; 
    position: fixed;
    z-index: 2000; /* Higher than navbar */
    inset: 0;
    background: rgba(2, 6, 23, 0.9); /* Deep midnight overlay */
    backdrop-filter: blur(10px);
    justify-content: center;
    align-items: center;
}

/* The Full Size Image */
.lightbox-content {
    max-width: 90%;
    max-height: 85vh;
    border-radius: 16px;
    box-shadow: 0 0 40px rgba(0,0,0,0.5);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

/* Zoom effect when opened */
.lightbox.active .lightbox-content {
    transform: scale(1);
}

/* Classy Close Cross */
.close-lightbox {
    position: absolute;
    top: 30px;
    right: 40px;
    color: white;
    font-size: 50px;
    font-weight: 200;
    cursor: pointer;
    transition: 0.3s;
}

.close-lightbox:hover {
    color: var(--primary);
    transform: rotate(90deg);
}
.close-modal, .close-lightbox {
    cursor: pointer !important; /* Forces the "hand" icon instead of the "I" bar */
    user-select: none;          /* Prevents the cross from being highlighted as text */
    -webkit-user-select: none;
    display: inline-block;      /* Ensures the cursor change applies to the whole area */
}
/* Removes the ugly '+' zoom and uses a clean pointer hand instead */
.main-img, .slider-thumb {
    cursor: pointer !important; /* The standard "hand" icon */
    transition: filter 0.3s ease, transform 0.3s ease;
}

/* Optional: To make it even classier, add a subtle brightness effect */
.main-img:hover, .slider-thumb:hover {
    filter: brightness(1.1); 
}
.about-us {
    padding: 100px 20px;
    background: var(--bg-body);
    transition: all 0.3s ease;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 60px;
    flex-wrap: wrap; /* Ensures responsiveness on mobile */
}

.about-image {
    flex: 1;
    min-width: 300px;
}

.about-image img {
    width: 100%;
    border-radius: 30px;
    /* Optional: Subtle glow to match your cards */
    box-shadow: 0 20px 40px rgba(16, 185, 129, 0.1);
}

.about-content {
    flex: 1.2;
    min-width: 300px;
}

.about-tag {
    color: var(--primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 14px;
}

.about-content h2 {
    color: var(--text-main);
    font-size: 42px;
    margin: 15px 0 25px;
    line-height: 1.2;
}

.about-content p {
    color: #64748b; /* Soft grey text for readability */
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 17px;
}

/* Feature Checkmarks */
.about-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 35px;
}

.feat-item {
    color: var(--text-main);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.feat-item i {
    color: var(--primary);
}

/* The Read More Button */
.read-more-btn {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
    padding: 14px 35px;
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.read-more-btn:hover {
    background: var(--primary);
    color: white;
    box-shadow: 0 10px 20px rgba(16, 185, 129, 0.3);
}
.about-us {
    padding: 100px 20px;
    background: var(--bg-body);
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 60px;
    flex-wrap: wrap;
}

.about-content h2 {
    color: var(--text-main);
    font-size: 38px;
    margin: 15px 0;
}

.about-content p {
    color: #64748b;
    line-height: 1.8;
    font-size: 16px;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 25px;
}

.feat-item {
    color: var(--text-main);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.feat-item i { color: var(--primary); }

.read-more-btn {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 700;
    margin-top: 25px;
    cursor: pointer;
    transition: 0.3s ease;
}

.read-more-btn:hover {
    background: var(--primary);
    color: white;
}
.main-footer {
    background: #020617; /* Deepest Midnight */
    color: #cbd5e1;
    padding: 80px 20px 20px;
    border-top: 1px solid #1e293b;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.footer-logo {
    color: white;
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 20px;
}

.footer-col h4 {
    color: white;
    font-size: 16px;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

/* The green underline from image_284a37.png */
.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background: var(--primary);
}

.footer-col ul { list-style: none; padding: 0; }
.footer-col ul li { margin-bottom: 15px; font-size: 14px; display: flex; gap: 10px; }
.footer-col a { color: #cbd5e1; text-decoration: none; transition: 0.3s; }
.footer-col a:hover { color: var(--primary); }

/* SOCIAL MEDIA ICONS */
.social-icons { display: flex; gap: 12px; }
.social-link {
    width: 40px;
    height: 40px;
    background: #1e293b;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    color: white;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--primary);
    transform: translateY(-5px);
}

.footer-bottom {
    text-align: center;
    margin-top: 60px;
    padding-top: 20px;
    border-top: 1px solid #1e293b;
    font-size: 12px;
}
/* BACK TO TOP BUTTON */
/* Moves the button from the Right to the Left */
.back-to-top {
    position: fixed;
    bottom: 30px;
    left: 30px; /* Switched from "right" to "left" */
    right: auto; /* Ensures it overrides the right setting */
    
    /* Ensuring it has the "Deep Midnight" theme and emerald green glow */
    background: #0f172a; /* Slate Gray */
    border: 1px solid var(--primary); /* Emerald Green Line */
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: none; /* Hidden until scroll */
    z-index: 1000;
    transition: all 0.3s ease;
}

/* Updated premium hover effect */
.back-to-top:hover {
    transform: translateY(-8px);
    background: var(--primary); /* Glows completely green */
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.4);
}

/* POLICY TEXT STYLING */
.policy-text p {
    margin-bottom: 15px;
    color: var(--text-main);
    font-size: 14px;
}
/* Animation for the Student Illustration */
.about-image img {
    opacity: 0;
    transform: translateX(-50px) rotate(-5deg); /* Starts off-screen and tilted */
    transition: all 1s cubic-bezier(0.22, 1, 0.36, 1);
}

/* The state when the suitcase "arrives" */
.about-image.reveal img {
    opacity: 1;
    transform: translateX(0) rotate(0deg);
}
html {
    scroll-behavior: smooth !important;
}


/* Add this to the <style> tag in admin.html */
.room-card.is-sold .admin-status-btn, 
.room-card.is-sold button {
    pointer-events: auto !important;
    cursor: pointer !important;
}


/* Update this in your style.css */
.room-card.is-sold {
    opacity: 0.6 !important;
    filter: grayscale(1) blur(1px) !important;
    position: relative;
    /* This line stops all clicks, hover effects, and links from working */
    pointer-events: none; 
    cursor: not-allowed;
}

/* Optional: Add a 'No Entry' sign style for the badge */
.sold-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #ef4444;
    color: white;
    font-weight: 800;
    font-size: 12px;
    padding: 6px 12px;
    border-radius: 6px;
    z-index: 20; /* Ensure it stays above everything */
    text-transform: uppercase;
}
/* style.css */
.share-btn {
    background: #f1f5f9;
    color: #475569;
    border: 1px solid #e2e8f0;
    padding: 10px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.share-btn:hover {
    background: #e2e8f0;
    color: #1e293b;
}
html {
    scroll-behavior: smooth; /* This makes the jumping look professional */
}

body {
    overflow-x: hidden; /* Only hide horizontal, never vertical */
}
/* THE INSTAGRAM REEL GRID */
#feedback-grid {
    display: grid;
    /* This ensures 3 per row on laptop, 2 on tablet, and 1 on phone */
   /* grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); */
    gap: 50px;
    padding: 40px 80px;
    max-width: 100%;
    margin: 0 auto;
}

.testimonial-card {
    width: 100%;
    max-width: 280px; 
    aspect-ratio: 9/16; /* Perfect vertical phone shape */
    margin: 0 auto;
    border-radius: 24px;
    overflow: hidden;
    background: #000;
    position: relative;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(0,0,0,0.05);
}

.testimonial-card:hover {
    transform: translateY(-12px) scale(1.03);
    box-shadow: 0 20px 50px rgba(16, 185, 129, 0.25); /* Greenish Glow */
}

.testimonial-card video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.9;
    transition: 0.4s;
}

/* THE "REEL" OVERLAY */
.video-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 25px 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, transparent 100%);
    color: white;
    z-index: 2;
}

.play-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(8px);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 10px;
    color: white;
    text-transform: uppercase;
    letter-spacing: 1px;
}
