/* ==========================================
   ROHIT GROUP LUXURY REAL ESTATE STYLESHEET
   ========================================== */

:root {
    --bg-charcoal: #0A0A0A;
    --bg-darker: #121212;
    --bg-dark: #161616;
    --gold: #C8A45D;
    --gold-hover: #b5924f;
    --gold-subtle: rgba(200, 164, 93, 0.1);
    --gold-border: rgba(200, 164, 93, 0.3);
}

body {
    background-color: var(--bg-charcoal);
    color: #F4F4F2;
    font-family: 'Plus Jakarta Sans', sans-serif;
    overflow-x: hidden;
}

.font-serif {
    font-family: 'Playfair Display', serif;
}

/* Colors & Backgrounds */
.bg-charcoal { background-color: var(--bg-charcoal) !important; }
.bg-darker { background-color: var(--bg-darker) !important; }
.bg-dark { background-color: var(--bg-dark) !important; }
.bg-dark-input { background-color: #1c1c1c !important; }
.bg-gold { background-color: var(--gold) !important; }
.bg-gold-subtle { background-color: var(--gold-subtle) !important; }

.text-gold { color: var(--gold) !important; }
.border-gold { border-color: var(--gold) !important; }
.border-gold-subtle { border-color: var(--gold-border) !important; }

/* Typography Helpers */
.tracking-widest { letter-spacing: 0.25em !important; }
.tracking-wider { letter-spacing: 0.15em !important; }
.fs-10 { font-size: 10px !important; }
.fs-11 { font-size: 11px !important; }
.fs-12 { font-size: 12px !important; }
.fs-13 { font-size: 13px !important; }
.fs-14 { font-size: 14px !important; }
.fs-15 { font-size: 15px !important; }
.fs-16 { font-size: 16px !important; }
.max-w-700 { max-width: 700px; }
.max-w-900 { max-width: 900px; }

/* Buttons */
.btn-gold {
    background-color: var(--gold);
    color: #0A0A0A;
    border: 1px solid var(--gold);
    transition: all 0.3s ease;
}
.btn-gold:hover {
    background-color: var(--gold-hover);
    border-color: var(--gold-hover);
    color: #0A0A0A;
    transform: translateY(-2px);
}
.btn-outline-gold {
    background-color: transparent;
    color: var(--gold);
    border: 1px solid var(--gold);
    transition: all 0.3s ease;
}
.btn-outline-gold:hover {
    background-color: var(--gold);
    color: #0A0A0A;
    border-color: var(--gold);
}

/* Header & Navbar */
#mainHeader {
    transition: all 0.5s ease;
    z-index: 1030;
}
.navbar-transparent {
    background: linear-gradient(to bottom, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.4) 50%, transparent 100%);
    padding-top: 1rem;
    padding-bottom: 1rem;
}
.navbar-scrolled {
    background-color: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(12px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-bottom: 1px solid rgba(0,0,0,0.08);
    padding-top: 0.75rem !important;
    padding-bottom: 0.75rem !important;
}
.navbar-scrolled .brand-title,
.navbar-scrolled .nav-link {
    color: #0A0A0A !important;
}
.navbar-scrolled .brand-crest {
    background-color: #0A0A0A;
    border-color: #0A0A0A;
}
.navbar-scrolled .search-trigger {
    color: #0A0A0A !important;
}

.brand-crest {
    width: 40px;
    height: 40px;
    border: 1px solid var(--gold);
    background-color: rgba(0,0,0,0.4);
}

.hover-gold:hover {
    color: var(--gold) !important;
    transition: color 0.3s ease;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
}
.absolute-bg {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 1;
}
.hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to top, var(--bg-charcoal) 0%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0.7) 100%);
    z-index: 2;
}
.zoom-effect {
    transition: transform 10s ease;
}
.zoom-effect:hover, .project-card:hover .zoom-effect {
    transform: scale(1.08);
}

/* Search Panel */
.search-section {
    margin-top: -80px;
}
.search-panel {
    background-color: rgba(20, 20, 20, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid var(--gold-border);
}

/* Project Cards */
.project-card {
    transition: all 0.4s ease;
}
.project-card:hover {
    border-color: var(--gold) !important;
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.6);
}

/* Timeline */
.timeline-container {
    position: relative;
}
.timeline-line {
    position: absolute;
    top: 0; bottom: 0; left: 50%;
    width: 1px;
    background-color: rgba(255,255,255,0.15);
    transform: translateX(-50%);
}
.timeline-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: var(--bg-charcoal);
    border: 2px solid var(--gold);
    position: relative;
    z-index: 2;
}

@media (max-width: 768px) {
    .timeline-line { left: 20px; }
    .timeline-dot { margin-left: 0 !important; }
}

/* Footer Social Icons */
.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
}
.social-icon:hover {
    border-color: var(--gold);
    color: var(--gold);
}

/* Modals */
.modal-content {
    background-color: var(--bg-dark);
}
.search-modal .modal-content {
    background-color: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(30px);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-charcoal);
}
::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--gold);
}

/* =========================================
   HERO MOBILE RESPONSIVE FIX
   ========================================= */

@media (max-width: 767.98px) {

    .hero-section {
        width: 100vw !important;
        max-width: 100vw !important;
        min-width: 0 !important;
        min-height: 100svh !important;
        overflow: hidden !important;
    }

    .absolute-bg {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        overflow: hidden !important;
    }

    .absolute-bg img {
        width: 100% !important;
        max-width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        object-position: center center !important;
    }

    .hero-section > .container {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        padding-left: 20px !important;
        padding-right: 20px !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        box-sizing: border-box !important;
    }

    .hero-section h1 {
        font-size: clamp(38px, 11vw, 54px) !important;
        line-height: 1.08 !important;
        letter-spacing: -0.02em !important;
    }

    .hero-section p {
        font-size: 14px !important;
        line-height: 1.7 !important;
        max-width: 100% !important;
    }

    .hero-section .d-flex {
        width: 100% !important;
        max-width: 100% !important;
        flex-direction:column !important;
        align-items:stretch !important;
    }

    .hero-section .d-flex > a,
    .hero-section .d-flex > button {
        width:100% !important;
        max-width:100% !important;
        min-width:0 !important;
        box-sizing:border-box !important;
    }

}

/* =========================================================
   FINAL MOBILE HERO WIDTH FIX
   ========================================================= */

@media (max-width: 767.98px) {

    html,
    body {
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: hidden !important;
    }

    .hero-section {
        position: relative !important;

        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;

        min-height: 100svh !important;

        overflow: hidden !important;

        box-sizing: border-box !important;
    }

    .hero-section .absolute-bg {
        position: absolute !important;

        top: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        left: 0 !important;

        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;

        overflow: hidden !important;
    }

    .hero-section .absolute-bg img {
        display: block !important;

        width: 100% !important;
        max-width: 100% !important;

        height: 100% !important;

        object-fit: cover !important;
        object-position: center center !important;
    }

    .hero-section .hero-overlay {
        position: absolute !important;

        inset: 0 !important;

        width: 100% !important;
        height: 100% !important;
    }

    .hero-section > .container {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;

        margin-left: 0 !important;
        margin-right: 0 !important;

        padding-left: 18px !important;
        padding-right: 18px !important;

        box-sizing: border-box !important;
    }

    .hero-section h1 {
        width: 100% !important;
        max-width: 100% !important;

        font-size: clamp(38px, 10.5vw, 52px) !important;

        line-height: 1.08 !important;

        word-break: normal !important;
        overflow-wrap: normal !important;
    }

    .hero-section p {
        width: 100% !important;
        max-width: 100% !important;

        font-size: 14px !important;
        line-height: 1.7 !important;
    }

    .hero-section .d-flex {
        width: 100% !important;
        max-width: 100% !important;

        box-sizing: border-box !important;

        flex-direction: column !important;
        align-items: stretch !important;
    }

    .hero-section .d-flex > a,
    .hero-section .d-flex > button {
        width: 100% !important;
        max-width: 100% !important;

        box-sizing: border-box !important;

        margin-left: 0 !important;
        margin-right: 0 !important;
    }

}




