/* COLOR PALETTE FROM SCREENSHOTS */
:root {
    --primary: #621335;
    --gold: rgb(104 28 61);
    --gold-hover: rgb(82 20 46);
    --red: #b9242d;
    --dark-bg: #ffffff;
    --text-color: #321522;
    --border-color: rgba(98, 19, 53, 0.18);
}

body {
    background-color: #ffffff;
    color: var(--text-color);
    font-family: 'Montserrat', sans-serif;
    overflow-x: hidden;
    padding-bottom: 0;
}

@media (max-width: 768px) {
    body { padding-bottom: 60px; } 
}

/* 1. READABILITY FIX: Brighten up the muted text */
.text-muted {
    color: #5b4b54 !important;
}

/* TYPOGRAPHY */

 h1, h2, h3, h4, .font-playfair, .hero-title, .section-title { font-family: 'Jost', serif; } */
.hero-title { font-size: 4rem; line-height: 1.1; font-weight: 500; }
.hero-title { color: #ffffff; text-shadow: 0 2px 14px rgba(0, 0, 0, 0.85); display: inline-block; text-align: center; }
.hero-title-small { display: block; font-size: 70%; font-weight: 400; margin-bottom: 5px; }
.hero-kicker { font-size: 13px; color: #ffffff !important; text-shadow: 0 1px 8px rgba(0, 0, 0, 0.9); }
.hero-subtitle { font-size: 14px; color: #ffffff !important; text-shadow: 0 1px 8px rgba(0, 0, 0, 0.9); }
.scroll-label { font-size: 10px; color: #ffffff !important; }
.nav-toggle-icon { font-size: 1.8rem; }
.section-title { font-size: 2.8rem; font-weight: 500; }
.gold-text { color: var(--gold) !important; }
.text-primary { color: var(--primary) !important; }
.text-light { color: #f8f9fa !important; } /* Pure crisp white */
.hero-section .gold-text { color: #ffffff !important; }
.hero-section .text-muted { color: #ffffff !important; }
.tracking-wide { letter-spacing: 2px; }
.py-100 { padding: 90px 0; }
.gold-divider { width: 40px; height: 2px; background-color: var(--gold); }

/* Z-INDEX LAYERING */
/* #particles-js { 
    position: fixed; 
    top: 0; 
    left: 0; 
    width: 100vw; 
    height: 100vh; 
    z-index: 0; 
    pointer-events: none; 
} */
.main-wrapper { position: relative; z-index: auto; background: #ffffff; }
.modal { z-index: 1055 !important; } /* Ensures modal is always top */

/* 2. POPUP CLOSE BUTTON FIX */
.custom-close-btn {
    position: relative;
    z-index: 1060; /* Forces button above everything */
    opacity: 1; /* Makes the X crisp and white */
    filter: none;
}

/* NAVBAR */
.transition-nav {
    width: 100%;
    background: #ffffff;
    border-bottom: 1px solid var(--border-color);
    padding: 10px 0;
    transition: all 0.3s;
    z-index: 1030;
}
.nav-solid { background: #ffffff; border-bottom: 1px solid var(--border-color); padding: 10px 0; }
.logo-img { height: 50px; }
.nav-link { color: var(--primary) !important; font-size: 12px; font-weight: 600; letter-spacing: 1px; margin: 0 15px; }
.nav-solid .nav-link { color: var(--primary) !important; }
.nav-link:hover { color: var(--gold) !important; }
.navbar-toggler { padding: 8px 10px; border: 1px solid var(--primary) !important; border-radius: 4px; }
.navbar-toggler:focus { box-shadow: 0 0 0 0.2rem rgba(104, 28, 61, 0.2) !important; }
.navbar-toggler .nav-toggle-icon { color: var(--primary) !important; }
.nav-solid .navbar-toggler { border-color: var(--primary) !important; }
.nav-solid .navbar-toggler .nav-toggle-icon { color: var(--primary) !important; }
.nav-solid .btn-gold-outline { border-color: var(--gold); color: var(--gold); }
.nav-solid .btn-gold-outline:hover { background: var(--gold); color: #ffffff; }
.navbar-collapse { background: rgba(255, 255, 255, 0.98); }
.nav-solid .navbar-collapse { background: #ffffff; }

/* HERO */
/* --- PERFECT HERO BACKGROUND & SHADOW --- */

.hero-section { 
    min-height: 100vh;
    margin-top: 0;
    display: flex; 
    align-items: center; 
    padding-top: 0px; 
    position: relative; 
    z-index: auto !important; 
    background: transparent !important;
}

.hero-image {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-repeat: no-repeat;
    z-index: 1;
}

.hero-image-desktop {
    background-image: url('images/banner1.avif');
    background-position: right center;
}

.hero-image-mobile {
    background-image: url('images/banner2.avif');
    background-position: center center;
}

/* The Dark Shadow Overlay */
.hero-shadow-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2; 
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.52) 38%, rgba(0, 0, 0, 0.18) 72%, transparent 100%);
    pointer-events: none; 
}

/* Mobile Shadow Override (Fades from bottom to top so the building isn't hidden) */
@media (max-width: 767px) {
    .hero-shadow-overlay {
        background: linear-gradient(to top, rgba(0, 0, 0, 0.82) 8%, rgba(0, 0, 0, 0.48) 52%, transparent 100%);
    }
}

.hero-content {
    position: relative;
    z-index: 10; 
    margin-top: auto;
    margin-bottom: auto;
    padding-top: 96px;
}

@media (max-width: 991px) {
    .transition-nav {
        background: #ffffff;
        border-bottom-color: var(--border-color);
        padding: 10px 0;
    }

    .navbar-collapse {
        margin-top: 10px;
        padding: 12px;
        border: 1px solid var(--border-color);
        border-radius: 6px;
        background: rgba(255, 255, 255, 0.98);
    }

    @media (min-width: 992px) {
        .transition-nav {
            background: #ffffff;
            border-bottom-color: var(--border-color);
            padding: 10px 0;
        }

        .transition-nav .nav-link {
            color: var(--primary) !important;
            text-shadow: none;
        }

        .transition-nav .btn-gold-outline {
            border-color: var(--gold);
            color: var(--gold);
        }

        .transition-nav .btn-gold-outline:hover {
            background: var(--gold);
            color: #ffffff;
        }
    }

    .nav-solid .navbar-collapse {
        background: rgba(98, 19, 53, 0.98);
    }
}

/* Readable logo-colour theme for light content sections */
.main-wrapper > section:not(.hero-section),
.main-wrapper > footer {
    background-color: #ffffff;
}

.main-wrapper > section:not(.hero-section) .text-white,
.main-wrapper > footer .text-white {
    color: var(--primary) !important;
}

.main-wrapper > section:not(.hero-section) .text-light,
.main-wrapper > footer .text-light {
    color: var(--text-color) !important;
}

.main-wrapper > section:not(.hero-section) .section-title,
.main-wrapper > footer .section-title,
.main-wrapper > section:not(.hero-section) h3,
.main-wrapper > section:not(.hero-section) h4,
.main-wrapper > section:not(.hero-section) h5 {
    color: var(--primary);
}

/* --- GOLDEN BUBBLES --- */
#particles-js { 
    position: fixed; 
    top: 0; 
    left: 0; 
    width: 100vw; 
    height: 100vh; 
    z-index: 3 !important; 
    pointer-events: none; 
}








/* BORDERS */
.border-y-dim { border-top: 1px solid var(--border-color); border-bottom: 1px solid var(--border-color); }
.border-top-dim { border-top: 1px solid var(--border-color); }
.border-dim { border: 1px solid var(--border-color); }

/* CARDS */
.highlight-card, .form-wrapper {
    background: #fff8e1;
    padding: 40px 20px;
    border: 1px solid rgba(98, 19, 53, 0.22);
    transition: 0.3s;
    height: 100%;
    border-radius: 4px;
}
.highlight-card:hover { border-color: var(--gold); box-shadow: 0 12px 30px rgba(185, 36, 45, 0.2); transform: translateY(-5px); }
.floating-stat-card {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    background: #ffffff;
    border: 1px solid var(--border-color);
    padding: 15px 30px;
    border-radius: 4px;
    white-space: nowrap;
}

/* BUTTONS */
.btn-gold { background-color: var(--gold); color: #ffffff; font-weight: 600; border: none; border-radius: 4px; font-size: 13px; letter-spacing: 1px; transition: 0.3s; }
.btn-gold:hover { background-color: var(--gold-hover); color: #ffffff; }
.btn-gold-outline { border: 1px solid var(--gold); color: var(--gold); background: transparent; padding: 8px 24px; border-radius: 4px; font-size: 12px; letter-spacing: 1px; text-decoration: none; transition: 0.3s; }
.btn-gold-outline:hover { background-color: var(--gold); color: #ffffff; }
.btn-outline-white { border: 1px solid #777; color: #fff; border-radius: 4px; font-size: 13px; letter-spacing: 1px; transition: 0.3s; background: transparent; }
.btn-outline-white:hover { border-color: #fff; color: #111; background: #fff; }

/* MODAL INPUTS (READABILITY FIX) */
.custom-input { 
    background: #ffffff;
    border: 1px solid rgba(98, 19, 53, 0.45);
    color: var(--text-color);
    border-radius: 4px; 
    padding: 12px 15px; 
    font-size: 14px; 
}
.custom-input:focus { background: #ffffff; color: var(--text-color); border-color: var(--gold); box-shadow: 0 0 0 0.2rem rgba(245, 188, 21, 0.2); }
.custom-input::placeholder { color: #75656d; }

.form-wrapper {
    color: var(--text-color);
    box-shadow: 0 12px 30px rgba(98, 19, 53, 0.1);
}

.form-wrapper h3,
.form-wrapper .form-label {
    color: var(--primary) !important;
}

.form-wrapper .text-muted {
    color: #5b4b54 !important;
}

#inquiryModal .modal-content {
    background: #ffffff !important;
    color: var(--text-color);
}

#inquiryModal h3,
#inquiryModal .form-label {
    color: var(--primary) !important;
}

#inquiryModal .text-muted {
    color: #5b4b54 !important;
}

#inquiryModal .custom-input {
    background: #fff8e1;
}

/* SCROLLABLE GALLERY */
.scrollable-gallery {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding-bottom: 20px;
    scroll-snap-type: x mandatory;
}
.custom-scrollbar::-webkit-scrollbar { height: 6px; }
.custom-scrollbar::-webkit-scrollbar-track { background: #111; }
.custom-scrollbar::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 10px; }
.gallery-item { flex: 0 0 500px; height: 350px; object-fit: cover; border-radius: 4px; scroll-snap-align: center; }

/* MOBILE STICKY FOOTER */
.mobile-sticky-footer { position: fixed; bottom: 0; left: 0; width: 100%; display: flex; z-index: 1040; box-shadow: 0 -2px 10px rgba(0,0,0,0.8); }
.mobile-sticky-footer a { flex: 1; text-align: center; padding: 15px; font-weight: 600; text-decoration: none; font-size: 14px; letter-spacing: 1px; }
.call-btn { background: #1a1a1a; color: #fff; border-top: 1px solid #333; border-right: 1px solid #333; }
.wa-btn { background: var(--gold); color: #ffffff; border-top: 1px solid var(--gold); }

/* BOUNCE ARROW */
.bounce-icon { animation: bounce 2s infinite; }
@keyframes bounce { 0%, 20%, 50%, 80%, 100% { transform: translateY(0); } 40% { transform: translateY(-10px); } 60% { transform: translateY(-5px); } }

/* RESPONSIVE */
@media (max-width: 992px) {
    .hero-title { font-size: 2.5rem; }
    .gallery-item { flex: 0 0 85vw; height: 250px; }
}

/* Mobile Sticky Footer Styles */
.mobile-sticky-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    display: flex;
    z-index: 1040; /* Keeps it above particles and content */
    box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.6);
}

.sticky-btn {
    flex: 1; /* Makes them exactly 50% width each */
    text-align: center;
    padding: 16px 10px;
    font-weight: 600;
    text-decoration: none;
    font-size: 14px;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.call-btn {
    background-color: #1a1a1a;
    color: #ffffff;
    border-top: 1px solid #333;
    border-right: 1px solid #333;
}

.call-btn:hover {
    color: #ffffff;
    background-color: #000000;
}

.enquire-btn {
    background-color: var(--gold);
    color: #ffffff;
    border-top: 1px solid var(--gold);
}

.enquire-btn:hover {
    color: #ffffff;
    background-color: var(--gold-hover);
}

/* Add padding to the bottom of the body on mobile so the footer doesn't hide your content */
@media (max-width: 768px) {
    body {
        padding-bottom: 55px; 
    }
}


/* --- FLOOR PLAN BLUR EFFECTS --- */
.blur-container {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border-bottom: 1px solid var(--border-color);
}
.blur-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    filter: blur(2px); /* This makes the image blurry */
    transition: transform 0.4s ease;
}
.blur-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    font-weight: 600;
}
.blur-container:hover .blur-img {
    transform: scale(1.05); /* Slight zoom on hover */
}
.blur-container:hover .blur-overlay {
    background: rgba(12, 12, 12, 0.4);
}

/* --- GALLERY CURSOR --- */
.cursor-pointer {
    cursor: pointer;
    transition: filter 0.3s ease, border-color 0.3s ease;
}
.cursor-pointer:hover {
    filter: brightness(1.2);
    border-color: var(--gold);
}
/* --- FOOTER SOCIAL MEDIA ICONS --- */
.footer-social {
    display: flex;
    gap: 15px;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border: 1px solid var(--border-color);
    border-radius: 50%;
    color: var(--gold);
    font-size: 1.2rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: var(--gold);
    color: #111111; /* Dark icon on gold background */
    border-color: var(--gold);
    transform: translateY(-5px); /* Slight bounce up on hover */
}

/* --- RERA COMPLIANCE --- */
.rera-compliance {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.rera-logo,
.rera-qr {
    width: 84px;
    height: 84px;
    object-fit: contain;
    border: 1px solid var(--border-color);
    padding: 3px;
    background: #ffffff;
}

.rera-qr {
    image-rendering: pixelated;
}

/* --- FLOATING WHATSAPP ICON --- */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25D366; /* Official WhatsApp Green */
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 32px;
    box-shadow: 2px 2px 15px rgba(0,0,0,0.5);
    z-index: 1050; /* Keeps it above particles and content */
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    background-color: #128C7E; /* Slightly darker green on hover */
    color: #FFF;
    transform: scale(1.1); /* Slight pop effect */
}

/* Make sure it doesn't overlap your existing sticky buttons on Mobile! */
@media (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 80px; /* Pushed up to clear the mobile sticky footer */
        right: 15px;
        font-size: 26px;
    }
}

/* --- VIDEO TOUR SECTION --- */
.video-wrapper {
    position: relative;
    background: #fff8e1;
    padding: 10px; /* Creates a nice dark frame around the video */
    transition: all 0.4s ease;
}

.video-wrapper:hover {
    border-color: var(--gold);
    box-shadow: 0 10px 30px rgba(245, 188, 21, 0.12);
    transform: translateY(-5px);
}

/* Ensure the iframe itself has rounded corners to match the frame */
.video-wrapper iframe {
    border-radius: 4px;
}

/* --- AMENITIES AUTO SLIDER --- */
.amenity-slide-box {
    position: relative;
    width: 100%;
    /* This sets the height of your slider for Desktop */
    height: 500px; 
}

.amenity-img {
    width: 100%;
    height: 100%;
    /* MAGIC TRICK: This makes all different sized images fit the box perfectly! */
    object-fit: cover; 
    object-position: center; 
}

.amenity-slide-box > .position-absolute {
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.82) 55%, rgba(0, 0, 0, 0.94) 100%) !important;
    color: #ffffff;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.9);
}

#amenities .amenity-slide-box > .position-absolute h4 {
    color: #ffffff !important;
    font-weight: 700;
}

#amenities .amenity-slide-box > .position-absolute p {
    color: #f5bc15 !important;
    font-weight: 600;
}

.amenity-list {
    color: var(--primary);
    font-weight: 500;
}

.amenity-list li {
    color: var(--primary);
}

/* Adjust the slider height for Mobile so it fits nicely on a phone screen */
@media (max-width: 768px) {
    .amenity-slide-box {
        height: 350px; 
    }
}