/* ======================================================
   1. GLOBAL VARS & TYPOGRAPHY
====================================================== */
:root {
    --primary-color: #542a40;
    --gold-accent: #c5a059;
    --text-dark: #1a1a1a;
}

html,
body {
    font-family: "Montserrat", sans-serif;
    color: var(--text-dark);
    font-weight: 500;
    letter-spacing: 0.3px;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* Premium Headings */
h1,
h2,
h3,
h4,
h5,
h6,
.display-1,
.display-2,
.display-3,
.display-4,
.display-5 {
    font-family: "Playfair Display", serif !important;
    letter-spacing: -0.5px;
    font-weight: 700;
}

/* Utilities */
.text-theme {
    color: var(--primary-color) !important;
}
.bg-theme {
    background-color: var(--primary-color) !important;
}
.ls-2 {
    letter-spacing: 2px;
}

/* ======================================================
   2. NAVBAR & HEADER (Transparent to White)
.navbar-nav {
    list-style: none;
    margin: 0;
    padding: 0;
}

.navbar-nav .nav-item {
    position: relative;
}

/* Main Nav Links */
.navbar-nav .nav-link {
    text-decoration: none;
    color: #fff; /* visible on transparent header */
    padding: 10px 15px;
    display: block;
    font-weight: 500;
    transition: color 0.3s ease, background-color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: #542a40;
}

/* ---------- SUBMENU (DROPDOWN) ---------- */
.navbar-nav .nav-item ul {
    position: absolute;
    top: 100%;
    left: 0;
    list-style: none;
    background: rgba(255, 255, 255, 0.15); /* subtle transparency */
    backdrop-filter: blur(8px);
    padding: 0;
    margin: 0;
    min-width: 180px;
    border-radius: 6px;
    /* display: none; */
    z-index: 1000;
}

/* Submenu links */
.navbar-nav .nav-item ul li a {
    display: block;
    padding: 10px 15px;
    color: #0e0a0a;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.navbar-nav .nav-item ul li a:hover {
    color: #542a40;
    background-color: rgba(255, 255, 255, 0.2);
}

/* Show submenu on hover (desktop only) */
@media (min-width: 992px) {
    .navbar-nav .nav-item:hover > ul {
        display: block;
    }
}

/* ---------- HEADER BEHAVIOR ---------- */
#main-header {
    transition: all 0.4s ease-in-out;
    z-index: 9999;
    background-color: transparent;
}

/* White header (on scroll or hero exit) */
#main-header.white {
    background-color: #fff !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Hidden header (scroll down) */
#main-header.hidden {
    top: -100px;
}

/* Navbar link color overrides */
#main-header .nav-link {
    color: rgb(13, 7, 7);
    font-weight: 400;
    transition: color 0.3s ease;
}

#main-header.white .nav-link {
    color: #222;
}

#main-header .nav-link:hover {
    color: #542a40;
}

/* ---------- MOBILE-ONLY LOGO BEHAVIOR ---------- */
@media (max-width: 991px) {
    .navbar {
        min-height: 70px;
        padding: 0.5rem 1rem;
    }

    /* Make sure the mobile logo & toggler are aligned on the same row */
    .navbar-brand {
        top: 50%;
        transform: translateY(-50%);
    }

    .navbar-toggler {
        border: none;
        background: none;
    }

    /* Collapsed menu background */
    .navbar-collapse {
        background-color: rgba(255, 255, 255, 0.97);
        backdrop-filter: blur(10px);
        border-radius: 10px;
        padding: 1rem;
        margin-top: 0.5rem;
    }

    .navbar-nav {
        flex-direction: column;
        text-align: center;
        gap: 0.4rem;
    }

    .navbar-nav .nav-link {
        color: #000 !important;
        font-size: 15px;
        padding: 8px 0;
    }

    /* Dropdown in mobile */
    .dropdown-menu {
        background: transparent;
        box-shadow: none;
        padding: 0;
    }

    .dropdown-item {
        color: #333;
        padding: 8px 0;
    }

    .dropdown-item:hover {
        color: #542a40;
        background: none;
    }

    /* Smaller logo for very small devices */
    @media (max-width: 576px) {
        .navbar-brand img {
            width: 110px;
        }
    }
}

/* ---------- SMALL SCREENS ---------- */
@media (max-width: 576px) {
    .navbar-brand img {
        width: 120px;
    }

    .navbar-nav .nav-link {
        font-size: 14px;
    }
}

/* ======================================================
   3. HERO SECTION (Video Background)
====================================================== */
#hero-section {
    height: 100vh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

#hero-section video {
    object-fit: cover;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-overlay {
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.3) 0%,
        rgba(0, 0, 0, 0.7) 100%
    );
    z-index: 2;
}

.hero-content {
    z-index: 3;
    max-width: 900px;
    text-align: center;
}

.hero-btn {
    display: inline-block;
    padding: 15px 40px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: #fff;
    text-decoration: none;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 14px;
    transition: all 0.4s;
}
.hero-btn:hover {
    background: #fff;
    color: #000;
    transform: translateY(-3px);
}
/* ================================
   HERO SECTION 2 - FULL PAGE VIDEO
=================================== */

#hero-section2 {
    position: relative;
    width: 100%;
    min-height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
}

/* 🎥 Background video */
#hero-section2 video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

/* 🖤 Overlay */
#hero-section2 .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.55);
    z-index: 1;
}

/* ✨ Content styling */
#hero-section2 .container {
    position: relative;
    z-index: 2;
    padding: 0 15px;
}

#hero-section2 h1 {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

#hero-section2 p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2rem;
    font-weight: 500;
}

/* ✴️ Call To Action Button */
#hero-section2 .btn {
    border: 2px solid #fff;
    color: #fff;
    font-weight: 600;
    border-radius: 50px;
    padding: 0.9rem 2.5rem;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

#hero-section2 .btn:hover {
    background-color: #fff;
    color: #000;
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(255, 255, 255, 0.3);
}

/* 💫 Animation entry (AOS support optional) */
#hero-section2 [data-aos] {
    transition: all 0.6s ease;
}

/* 📱 RESPONSIVE DESIGN */
@media (max-width: 991px) {
    #hero-section2 h1 {
        font-size: 2.5rem;
        line-height: 1.3;
    }
    #hero-section2 p {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    #hero-section2 {
        text-align: left;
        align-items: flex-start;
        padding-top: 80px;
    }

    #hero-section2 h1 {
        font-size: 2rem;
        line-height: 1.4;
        margin-bottom: 1rem;
    }

    #hero-section2 p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    #hero-section2 .btn {
        font-size: 0.9rem;
        padding: 0.7rem 1.8rem;
    }
}

@media (max-width: 480px) {
    #hero-section2 h1 {
        font-size: 1.6rem;
    }

    #hero-section2 p {
        font-size: 0.9rem;
    }

    #hero-section2 .btn {
        padding: 0.6rem 1.5rem;
        font-size: 0.85rem;
    }
}

/* ======================================================
   4. ABOUT & STATS
====================================================== */
/* Stats Card */
.stat-card {
    padding: 25px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border-bottom: 3px solid var(--primary-color);
    transition: transform 0.3s;
    text-align: center;
}
.stat-card:hover {
    transform: translateY(-5px);
}

.stat-number {
    font-family: "Playfair Display", serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.stat-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    color: #777;
    letter-spacing: 1px;
}

/* Reveal Image (About Section) */
.reveal-img {
    overflow: hidden;
    position: relative;
}
.reveal-img img {
    transition: transform 1.2s cubic-bezier(0.25, 1, 0.5, 1);
    width: 100%;
    display: block;
}
.reveal-img:hover img {
    transform: scale(1.05);
}

/* ======================================================
   5. FLAGSHIP PROJECT SECTION
====================================================== */
/* --- FLAGSHIP PROJECT SPACING --- */
#flagship-project {
    padding-top: 100px; /* Ye rahi upar ki padding */
    padding-bottom: 50px;
}

/* Mobile pe padding thodi kam */
@media (max-width: 768px) {
    #flagship-project {
        padding-top: 60px;
    }
}

/* --- AAPKA PURANA CSS (Amenities & Buttons) --- */
#flagship-project .btn-dark {
    background-color: #222;
    border: none;
    transition: all 0.3s ease;
}
#flagship-project .btn-dark:hover {
    background-color: #542a40; /* Theme Color */
    transform: translateY(-2px);
}
#flagship-project i {
    transition: transform 0.3s;
}
#flagship-project .col-4:hover i {
    transform: scale(1.2);
    color: #542a40; /* Theme Color on Hover */
}

/* Amenity Hover Fix (Jo aapne bheja tha) */
.amenity-card:hover {
    background-color: #542a40 !important;
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2) !important;
}
.amenity-card:hover .icon-box i,
.amenity-card:hover .icon-box .text-theme {
    color: #ffffff !important;
    transform: scale(1.2);
}
.amenity-card:hover h4 { color: #ffffff !important; }
.amenity-card:hover p,
.amenity-card:hover .text-muted {
    color: rgba(255, 255, 255, 0.8) !important;
}
/* --- RESPONSIVE PROJECT SECTION --- */

/* 1. Spacing Fix */
#flagship-project {
    padding-top: 60px; /* Mobile Padding */
}
@media (min-width: 992px) {
    #flagship-project {
        padding-top: 100px; /* Desktop Padding */
    }
}

/* 2. Image Height Control */
.project-split-img {
    min-height: 350px; /* Mobile Height */
    height: 100%;
    position: relative;
}
@media (min-width: 992px) {
    .project-split-img {
        min-height: 650px; /* Desktop Height */
    }
}

/* 3. Price Badge Responsive */
.price-badge {
    border-top-left-radius: 10px;
    background: #fff;
    padding: 1.5rem;
}
@media (max-width: 768px) {
    .price-badge {
        padding: 1rem; /* Mobile pe chhota padding */
    }
    .price-badge h3 {
        font-size: 1.2rem; /* Mobile pe chhota font */
    }
}

/* --- AAPKE BUTTON & ICON STYLES (Keep As Is) --- */
#flagship-project .btn-dark {
    background-color: #222;
    border: none;
    transition: all 0.3s ease;
}
#flagship-project .btn-dark:hover {
    background-color: #542a40;
    transform: translateY(-2px);
}
#flagship-project i {
    transition: transform 0.3s;
}
#flagship-project .col-4:hover i {
    transform: scale(1.2);
    color: #542a40;
}

/* ======================================================
   7. GALLERY (Infinite Marquee)
====================================================== */
.marquee-container {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    padding-bottom: 20px;
}

.marquee-content {
    display: inline-block;
    animation: marquee 25s linear infinite;
}

.gallery-marquee-img {
    height: 400px;
    width: 600px;
    object-fit: cover;
    margin-right: 15px;
    border-radius: 4px;
    filter: grayscale(100%);
    transition: filter 0.5s, transform 0.5s;
}

.gallery-marquee-img:hover {
    filter: grayscale(0%);
    transform: scale(1.02);
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Mobile Gallery Fix */
@media (max-width: 768px) {
    .gallery-marquee-img {
        height: 250px;
        width: 350px;
    }
}
/* ================= MEDIUM FOOTER STYLES ================= */

/* Footer Container */
.footer-medium {
    background-color: #150a10; /* Deep Dark Background */
    /* Agar aapko Purple chahiye to ye use karein: background-color: #542a40; */
    position: relative;
    border-top: 5px solid #c5a059; /* Gold Top Border */
}

/* Colors */
.text-gold { color: #c5a059 !important; }

/* Navigation Links */
.footer-nav li { margin-bottom: 10px; }
.footer-nav a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}
.footer-nav a:hover {
    color: #c5a059;
    padding-left: 5px; /* Slide Effect */
}

/* Social Icons (Circles) */
.social-circle {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    color: #fff;
    margin-right: 8px;
    text-decoration: none;
    transition: all 0.3s;
}
.social-circle:hover {
    background: #c5a059;
    color: #000;
    transform: translateY(-3px);
}

/* Bottom Bar */
.footer-bottom {
    background: rgba(0,0,0,0.2);
}

/* WhatsApp Button */
.whatsapp-btn {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 55px;
    height: 55px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.3);
    z-index: 100;
    text-decoration: none;
    transition: transform 0.3s;
}
.whatsapp-btn:hover {
    transform: scale(1.1);
    color: #fff;
}
/* ======================================================
   9. PRELOADER
====================================================== */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: transform 1s ease-in-out, opacity 0.8s ease;
}

#preloader.hidden {
    transform: translateY(-100%);
    opacity: 0;
}

.preloader-logo {
    width: 250px;
    animation: pulse 2s infinite ease-in-out;
}

@keyframes pulse {
    0%,
    100% {
        transform: scale(0.95);
        opacity: 0.8;
    }
    50% {
        transform: scale(1);
        opacity: 1;
    }
}
/* --- GALLERY PAGE STYLES --- */

/* Title Divider */
.divider {
    height: 3px;
    width: 80px;
    background-color: var(--primary-color); /* #542a40 */
    border-radius: 2px;
}

/* Gallery Item Container */
.gallery-item {
    height: 350px; /* Fixed height for uniformity */
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

/* Image Zoom Effect */
.gallery-item img {
    height: 100%;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.gallery-item:hover img {
    transform: scale(1.1); /* Zoom in on hover */
}

/* Overlay (Dark Gradient on Hover) */
.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to top,
        rgba(84, 42, 64, 0.9),
        transparent
    ); /* Purple Tint */
    opacity: 0;
    transition: opacity 0.4s ease;
    display: flex;
    align-items: flex-end;
    padding: 30px;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1; /* Show overlay on hover */
}

/* Overlay Text Animation */
.overlay-text {
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

.gallery-item:hover .overlay-text {
    transform: translateY(0);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .gallery-item {
        height: 250px; /* Smaller height on mobile */
    }
}
/* --- ABOUT PAGE STYLES --- */

/* 1. Overlap Section (Who We Are) */
.about-img-wrapper {
    position: relative;
    z-index: 1;
}
.about-text-box {
    background: #fff;
    padding: 60px;
    box-shadow: -20px 20px 60px rgba(0, 0, 0, 0.1); /* Soft shadow */
    position: relative;
    z-index: 2;
    margin-left: -100px; /* Overlap effect */
}
@media (max-width: 991px) {
    .about-text-box {
        margin-left: 0;
        margin-top: -50px; /* Mobile overlap */
        padding: 30px;
    }
}

/* --- PREMIUM PROJECT CARD STYLES --- */

/* Card Container */
.project-card-premium {
    background: transparent;
    transition: transform 0.4s ease, opacity 0.4s ease;
    height: 100%;
    cursor: pointer;
}

/* Image Wrapper */
.project-img-box {
    overflow: hidden;
    border-radius: 12px; /* Thoda zyada curve for premium feel */
    position: relative;
    height: 380px; /* Fixed elegant height */
    box-shadow: 0 15px 30px rgba(0,0,0,0.08); /* Soft Shadow */
    transition: all 0.4s ease;
}

.project-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Hover Effects */
.project-card-premium:hover .project-img-box {
    box-shadow: 0 25px 50px rgba(0,0,0,0.15); /* Deep shadow on hover */
    transform: translateY(-5px); /* Slight Lift */
}

.project-card-premium:hover .project-img-box img {
    transform: scale(1.1); /* Smooth Zoom */
}

/* Typography */
.project-info-premium {
    padding-top: 20px;
}

.project-info-premium h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: #1a1a1a;
    transition: color 0.3s ease;
}

.project-info-premium p {
    font-family: 'Montserrat', sans-serif;
    color: #888;
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1.5px; /* Wider spacing for luxury look */
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-info-premium p i {
    margin-right: 8px;
    color: #c5a059; /* Gold Icon */
    font-size: 1rem;
}

/* Hover Text Color */
.project-card-premium:hover h3 {
    color: #542a40; /* Theme Purple */
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .project-img-box {
        height: 260px;
    }
    .project-info-premium h3 {
        font-size: 1.4rem;
    }
}


/* Cursor blinking animation */
@keyframes blinkCursor {
    from, to { border-color: transparent; }
    50% { border-color: #542a40; }
}

/* Ensure text doesn't jump */
.project-info-premium {
    min-height: 80px; /* Prevent layout shift while typing */
}
/* --- PREMIUM CONTACT PAGE ANIMATIONS --- */

/* 1. Hero Overlay Gradient (Rich look) */
.hero-gradient {
    background: linear-gradient(135deg, rgba(84,42,64,0.9) 0%, rgba(20,10,15,0.8) 100%);
}

/* 2. Scroll Down Mouse Animation */
.scroll-downs {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 50px;
}
.mousey {
    width: 3px;
    padding: 10px 15px;
    height: 35px;
    border: 2px solid #fff;
    border-radius: 25px;
    opacity: 0.75;
    box-sizing: content-box;
}
.scroller {
    width: 3px;
    height: 10px;
    border-radius: 25%;
    background-color: #fff;
    animation-name: scroll;
    animation-duration: 2.2s;
    animation-timing-function: cubic-bezier(.15,.41,.69,.94);
    animation-iteration-count: infinite;
}
@keyframes scroll {
    0% { opacity: 0; }
    10% { transform: translateY(0); opacity: 1; }
    100% { transform: translateY(15px); opacity: 0; }
}

/* 3. Glassmorphism Cards (The "Wow" Factor) */
.glass-card {
    background: rgba(255, 255, 255, 0.95); /* Thoda transparent */
    backdrop-filter: blur(20px); /* Blur effect background ke liye */
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 15px; /* Smooth corners */
    padding: 3rem 2rem;
    text-align: center;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.5s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

/* 4. 3D Hover Lift Effect */
.glass-card:hover {
    transform: translateY(-15px) scale(1.02); /* Upar uthega */
    box-shadow: 0 30px 60px rgba(0,0,0,0.3); /* Gehra Shadow */
    background: #fff; /* Hover pe solid white */
}

/* 5. Animated Icon Circle */
.icon-animate-box {
    width: 90px;
    height: 90px;
    margin: 0 auto 1.5rem;
    background: rgba(84, 42, 64, 0.05); /* Very Light Purple */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: #542a40;
    transition: all 0.5s ease;
    position: relative;
}

/* Icon Ripple Effect on Hover */
.glass-card:hover .icon-animate-box {
    background: #542a40;
    color: #c5a059; /* Gold Icon */
    transform: rotateY(360deg);
    box-shadow: 0 0 0 8px rgba(84, 42, 64, 0.1);
}

/* 6. Background Decoration (Floating Shapes) */
.decoration-circle {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(45deg, #c5a059, #f0e68c);
    opacity: 0.1;
    z-index: 0;
    animation: floatShape 6s ease-in-out infinite;
}
@keyframes floatShape {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}