/* =========================================================
   Shunshig Blue Luxury Visual Layer
   Primary brand color: #002E88
   Custom code is intentionally unminified.
   ========================================================= */

:root {
    --luxury-navy-1000: #00091d;
    --luxury-navy-950: #000f2e;
    --luxury-navy-900: #00163f;
    --luxury-blue-800: #002e88;
    --luxury-blue-700: #0a46ad;
    --luxury-blue-600: #2868c4;

    --luxury-champagne-600: #b8984f;
    --luxury-champagne-500: #d2b866;
    --luxury-champagne-400: #e4d08f;

    --luxury-ivory-100: #fdfcf9;
    --luxury-border-dark: rgba(255, 255, 255, 0.12);
    --luxury-border-light: rgba(0, 46, 136, 0.11);

    --luxury-shadow-sm:
        0 14px 32px rgba(0, 20, 63, 0.08);

    --luxury-shadow-md:
        0 24px 58px rgba(0, 20, 63, 0.13);

    --luxury-shadow-lg:
        0 38px 90px rgba(0, 13, 42, 0.22);

    --luxury-ease:
        320ms cubic-bezier(0.22, 1, 0.36, 1);
}

/* Global rhythm and typography */

body {
    background:
        linear-gradient(
            180deg,
            #ffffff 0%,
            #fbfcff 100%
        );
    letter-spacing: 0.002em;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    letter-spacing: -0.018em;
}

.section-space {
    padding-top: 118px;
    padding-bottom: 118px;
}

.section-title {
    /*max-width: 920px;*/
    font-weight: 600;
    line-height: 1.06;
}

.section-kicker {
    position: relative;
    padding-left: 42px;
    color: var(--luxury-champagne-600);
    font-size: 0.68rem;
    letter-spacing: 0.26em;
}

.section-kicker::before {
    position: absolute;
    top: 50%;
    left: 0;
    width: 28px;
    height: 1px;
    background:
        linear-gradient(
            90deg,
            var(--luxury-champagne-600),
            transparent
        );
    content: "";
}

.text-center .section-kicker {
    padding-right: 42px;
}

.text-center .section-kicker::after {
    position: absolute;
    top: 50%;
    right: 0;
    width: 28px;
    height: 1px;
    background:
        linear-gradient(
            90deg,
            transparent,
            var(--luxury-champagne-600)
        );
    content: "";
}

.gold-divider {
    width: 88px;
    height: 1px;
    background:
        linear-gradient(
            90deg,
            transparent,
            var(--luxury-champagne-500),
            transparent
        );
}

.card-clean {
    border-color: var(--luxury-border-light);
    background:
        linear-gradient(
            180deg,
            rgba(255, 255, 255, 0.98),
            rgba(251, 252, 255, 0.95)
        );
    box-shadow: var(--luxury-shadow-sm);
}

/* Premium buttons and inputs */

.btn {
    position: relative;
    overflow: hidden;
    min-height: 40px;
    border-radius: 0;
    font-size: 0.76rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transition:
        transform var(--luxury-ease),
        box-shadow var(--luxury-ease),
        background-color var(--luxury-ease),
        border-color var(--luxury-ease),
        color var(--luxury-ease);
}

.btn::after {
    position: absolute;
    top: 0;
    left: -130%;
    width: 70%;
    height: 100%;
    background:
        linear-gradient(
            100deg,
            transparent,
            rgba(255, 255, 255, 0.38),
            transparent
        );
    content: "";
    transform: skewX(-18deg);
    transition: left 700ms ease;
}

.btn:hover::after {
    left: 150%;
}

.btn:hover {
    transform: translateY(-3px);
}

.btn-green,
.btn-brand {
    background:
        linear-gradient(
            135deg,
            var(--luxury-blue-800),
            var(--luxury-navy-900)
        );
    border-color: var(--luxury-blue-800);
    box-shadow:
        0 14px 26px rgba(0, 46, 136, 0.18);
}

.btn-green:hover,
.btn-brand:hover {
    background:
        linear-gradient(
            135deg,
            var(--luxury-blue-700),
            var(--luxury-blue-800)
        );
    box-shadow:
        0 18px 34px rgba(0, 46, 136, 0.26);
}

.btn-gold,
.btn-copper {
    background:
        linear-gradient(
            135deg,
            var(--luxury-champagne-400),
            var(--luxury-champagne-600)
        );
    border-color: var(--luxury-champagne-500);
    color: var(--luxury-navy-950);
    box-shadow:
        0 13px 28px rgba(169, 150, 99, 0.18);
}

.btn-gold:hover,
.btn-copper:hover {
    background:
        linear-gradient(
            135deg,
            #e2d5b5,
            var(--luxury-champagne-500)
        );
    color: var(--luxury-navy-950);
}

.btn-outline-green,
.btn-outline-brand {
    border-color: rgba(0, 46, 136, 0.28);
    color: var(--luxury-blue-800);
}

.btn-outline-green:hover,
.btn-outline-brand:hover {
    border-color: var(--luxury-blue-800);
    background: var(--luxury-blue-800);
    color: #ffffff;
    box-shadow:
        0 14px 28px rgba(0, 46, 136, 0.16);
}

.form-control,
.form-select {
    min-height: 54px;
    border-color: rgba(0, 46, 136, 0.12);
    border-radius: 0;
    background-color: rgba(255, 255, 255, 0.96);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--luxury-champagne-500);
    box-shadow:
        0 0 0 0.2rem rgba(210, 184, 102, 0.12);
}

/* Header and navigation */

.site-header .navbar {
    min-height: 92px;
    border-bottom:
        1px solid rgba(255, 255, 255, 0.08);
}

.site-header-home .navbar {
    background:
        linear-gradient(
            180deg,
            rgba(0, 9, 29, 0.88) 0%,
            rgba(0, 15, 46, 0.48) 60%,
            rgba(0, 15, 46, 0) 100%
        );
}

.site-header-inner .navbar,
.site-header .navbar.navigation-scrolled {
    min-height: 78px;
    background: rgba(255, 255, 255, 0.92);
    border-bottom-color: rgba(0, 46, 136, 0.09);
    box-shadow:
        0 16px 42px rgba(0, 20, 63, 0.08);
    backdrop-filter: blur(18px);
}

.navbar .nav-link {
    position: relative;
    font-size: 0.76rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.navbar .nav-link::after {
    position: absolute;
    right: 0.75rem;
    bottom: 0.28rem;
    left: 0.75rem;
    height: 1px;
    background:
        linear-gradient(
            90deg,
            transparent,
            var(--luxury-champagne-500),
            transparent
        );
    content: "";
    transform: scaleX(0);
    transition: transform var(--luxury-ease);
}

.navbar .nav-link:hover::after {
    transform: scaleX(1);
}

.brand-logo {
    width: 176px;
    height: 62px;
}

.header-phone i {
    color: var(--luxury-champagne-500);
}

/* Hero and page hero */

.hero {
    min-height: 900px;
    background-position: center 46%;
}

.hero::before {
    background:
        linear-gradient(
            90deg,
            rgba(0, 9, 29, 0.96) 0%,
            rgba(0, 22, 63, 0.83) 36%,
            rgba(0, 46, 136, 0.18) 70%,
            rgba(0, 46, 136, 0.08) 100%
        ),
        linear-gradient(
            0deg,
            rgba(0, 9, 29, 0.82) 0%,
            rgba(0, 9, 29, 0) 54%
        );
}

.hero::after {
    position: absolute;
    top: 135px;
    left: 7.5%;
    width: 1px;
    height: 210px;
    background:
        linear-gradient(
            180deg,
            transparent,
            rgba(228, 208, 143, 0.72),
            transparent
        );
    content: "";
}

.hero h1 {
    max-width: 820px;
    margin-bottom: 30px;
    font-size: clamp(4.2rem, 8vw, 8.4rem);
    font-weight: 500;
    letter-spacing: -0.045em;
    text-shadow:
        0 14px 36px rgba(0, 0, 0, 0.3);
}

.hero p {
    max-width: 670px;
    color: rgba(255, 255, 255, 0.76);
}

.hero-feature-strip {
    background:
        linear-gradient(
            90deg,
            rgba(0, 9, 29, 0.96),
            rgba(0, 26, 77, 0.91)
        );
    border-top-color: rgba(228, 208, 143, 0.24);
}

.hero-feature {
    min-height: 118px;
}

.hero-feature i {
    color: var(--luxury-champagne-400);
}

.page-hero {
    padding-top: 186px;
    padding-bottom: 100px;
    background:
        radial-gradient(
            circle at 86% 8%,
            rgba(210, 184, 102, 0.15),
            transparent 25%
        ),
        linear-gradient(
            135deg,
            var(--luxury-navy-1000),
            var(--luxury-navy-900) 62%,
            var(--luxury-blue-800)
        );
}

.page-hero h1 {
    /*max-width: 920px;*/
    font-weight: 500;
    letter-spacing: -0.04em;
}


/* Content cards and premium presentation */

.home-project-card,
.news-card,
.apartment-card,
.layout-card,
.featured-apartment,
.construction-preview,
.contact-card,
.contract-card,
.portal-card,
.portal-stat {
    border-color: rgba(0, 46, 136, 0.1);
    box-shadow: var(--luxury-shadow-sm);
    transition:
        transform var(--luxury-ease),
        box-shadow var(--luxury-ease),
        border-color var(--luxury-ease);
}

.home-project-card:hover,
.news-card:hover,
.apartment-card:hover,
.layout-card:hover,
.contact-card:hover {
    transform: translateY(-9px);
    border-color: rgba(210, 184, 102, 0.45);
    box-shadow: var(--luxury-shadow-md);
}

.home-project-card img,
.news-card img {
    filter:
        saturate(0.92)
        contrast(1.03);
}

.home-project-card .body,
.news-card .body,
.apartment-card .body,
.layout-card-body {
    padding: 26px;
}

.badge-soft {
    border: 1px solid rgba(0, 46, 136, 0.08);
    background:
        linear-gradient(
            180deg,
            rgba(238, 243, 251, 0.95),
            rgba(226, 234, 247, 0.88)
        );
    color: var(--luxury-blue-800);
    letter-spacing: 0.05em;
}

.info-stat {
    border-left-color: var(--luxury-champagne-500);
    background:
        linear-gradient(
            135deg,
            #ffffff,
            #f6f8fc
        );
    box-shadow: var(--luxury-shadow-sm);
}

.project-scale-card,
.project-feature-card {
    border-color: rgba(228, 208, 143, 0.18);
    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.075),
            rgba(255, 255, 255, 0.025)
        );
    backdrop-filter: blur(12px);
}

.project-scale-value,
.result-number,
.payment-alert .amount,
.featured-price,
.layout-detail-price,
.property-overview-price {
    color: var(--luxury-champagne-400);
}

.project-feature-card i,
.feature-detail i,
.stat-item i,
.why-card-icon,
.contact-card i,
.material-benefit-card i {
    color: var(--luxury-champagne-500);
}

.masterplan-band,
.project-feature-section {
    background:
        radial-gradient(
            circle at 18% 10%,
            rgba(210, 184, 102, 0.11),
            transparent 27%
        ),
        radial-gradient(
            circle at 92% 78%,
            rgba(40, 104, 196, 0.14),
            transparent 32%
        ),
        var(--luxury-navy-1000);
}

.why-section,
.bg-sage {
    background:
        linear-gradient(
            135deg,
            #f8faff,
            #eef3fb
        );
}

/* Layout, gallery and material pages */

.layout-card-image,
.floorplan-wrap,
.layout-detail-image,
.layout-media-gallery {
    background:
        radial-gradient(
            circle at 50% 28%,
            rgba(255, 255, 255, 0.12),
            transparent 30%
        ),
        linear-gradient(
            145deg,
            var(--luxury-blue-700),
            var(--luxury-navy-950)
        );
}

.layout-card-number,
.material-detail-brand,
.material-navigation-card span,
.news-card time {
    color: var(--luxury-champagne-600);
}

.layout-card-play {
    background: rgba(255, 255, 255, 0.94);
    color: var(--luxury-blue-800);
}

.material-detail-summary {
    background:
        linear-gradient(
            180deg,
            #ffffff,
            #f8faff
        );
}

.material-benefit-card,
.material-navigation-card {
    border-color: rgba(0, 46, 136, 0.1);
    box-shadow: var(--luxury-shadow-sm);
    transition:
        transform var(--luxury-ease),
        box-shadow var(--luxury-ease),
        border-color var(--luxury-ease);
}

.material-benefit-card:hover,
.material-navigation-card:hover {
    transform: translateY(-6px);
    border-color: rgba(210, 184, 102, 0.4);
    box-shadow: var(--luxury-shadow-md);
}

.layout-media-thumbnails,
.media-caption {
    background: var(--luxury-navy-1000);
}

/* Calculator, inquiry and maps */

.result-card,
.payment-alert,
.project-information-form,
.inquiry-panel {
    background:
        radial-gradient(
            circle at 82% 0%,
            rgba(228, 208, 143, 0.13),
            transparent 28%
        ),
        linear-gradient(
            145deg,
            var(--luxury-blue-800),
            var(--luxury-navy-950)
        );
}

.inquiry-panel {
    border: 1px solid rgba(210, 184, 102, 0.16);
    box-shadow: var(--luxury-shadow-lg);
}

.google-map-embed {
    border: 0;
    box-shadow: var(--luxury-shadow-md);
}

/* Footer */

.site-footer {
    background:
        radial-gradient(
            circle at 10% 0%,
            rgba(210, 184, 102, 0.08),
            transparent 24%
        ),
        radial-gradient(
            circle at 90% 100%,
            rgba(40, 104, 196, 0.12),
            transparent 28%
        ),
        var(--luxury-navy-1000);
}

.footer-subscribe {
    border-top-color: rgba(255, 255, 255, 0.1);
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

.footer-socials a {
    border-color: rgba(228, 208, 143, 0.18);
}

.footer-socials a:hover {
    border-color: var(--luxury-champagne-500);
    color: var(--luxury-champagne-400);
}

/* Customer portal and admin portal */

.portal-sidebar,
.admin-sidebar {
    background:
        radial-gradient(
            circle at 15% 0%,
            rgba(228, 208, 143, 0.13),
            transparent 25%
        ),
        radial-gradient(
            circle at 90% 70%,
            rgba(40, 104, 196, 0.22),
            transparent 36%
        ),
        linear-gradient(
            180deg,
            #002e88 0%,
            #002776 58%,
            #001f5d 100%
        );
    box-shadow:
        18px 0 50px rgba(0, 20, 63, 0.18);
}

.portal-brand {
    border-bottom-color: rgba(228, 208, 143, 0.12);
}

.portal-navigation a {
    border-left: 2px solid transparent;
    border-radius: 0;
}

.portal-navigation a:hover,
.portal-navigation a.active {
    border-left-color: var(--luxury-champagne-500);
    background:
        linear-gradient(
            90deg,
            rgba(210, 184, 102, 0.12),
            transparent
        );
    color: var(--luxury-champagne-400);
}

.portal-manager {
    border-color: rgba(228, 208, 143, 0.15);
    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.07),
            rgba(255, 255, 255, 0.025)
        );
}

.portal-topbar {
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(16px);
}

.portal-stat,
.admin-dashboard-stat {
    position: relative;
    overflow: hidden;
}

.portal-stat::before,
.admin-dashboard-stat::before {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background:
        linear-gradient(
            90deg,
            var(--luxury-blue-800),
            var(--luxury-champagne-500)
        );
    content: "";
}

.portal-stat .icon,
.admin-dashboard-stat i,
.admin-activity-icon {
    color: var(--luxury-champagne-600);
}

.progress-ring {
    background:
        conic-gradient(
            var(--luxury-champagne-500) 0 37.5%,
            #e5ebf4 37.5% 100%
        );
}

/* jQuery UI dialogs */

.ui-widget-overlay {
    background: rgba(0, 9, 29, 0.78);
}

.ui-dialog {
    border: 1px solid rgba(210, 184, 102, 0.2);
    box-shadow:
        0 42px 100px rgba(0, 9, 29, 0.34);
}

.ui-dialog .ui-dialog-titlebar {
    background:
        linear-gradient(
            135deg,
            var(--luxury-blue-800),
            var(--luxury-navy-950)
        );
    border-bottom: 1px solid rgba(228, 208, 143, 0.14);
}

.ui-dialog .ui-dialog-buttonpane button:last-child {
    border-color: var(--luxury-blue-800);
    background:
        linear-gradient(
            135deg,
            var(--luxury-blue-800),
            var(--luxury-navy-900)
        );
}

/* Decorative motion */

.about-media,
.property-gallery-main,
.layout-media-main,
.material-gallery-grid {
    box-shadow: var(--luxury-shadow-md);
}

.about-media img,
.property-gallery-main img,
.layout-media-main img,
.material-gallery-grid img {
    transition:
        transform 900ms cubic-bezier(0.22, 1, 0.36, 1),
        filter 900ms ease;
}

.about-media:hover img,
.property-gallery-main:hover img,
.layout-media-main:hover img,
.material-gallery-grid img:hover {
    transform: scale(1.025);
    filter:
        saturate(1.02)
        contrast(1.03);
}

.share-icon-button {
    border-color: rgba(0, 46, 136, 0.14);
    box-shadow:
        0 8px 18px rgba(0, 20, 63, 0.06);
}

.share-icon-button:hover {
    border-color: var(--luxury-champagne-500);
    background: var(--luxury-blue-800);
    color: #ffffff;
}

/* Responsive refinements */

@media (max-width: 991.98px) {
    .section-space {
        padding-top: 88px;
        padding-bottom: 88px;
    }

    .hero {
        min-height: 790px;
    }

    .hero::after {
        display: none;
    }
}

@media (max-width: 767.98px) {
    .section-space {
        padding-top: 68px;
        padding-bottom: 68px;
    }

    .hero {
        min-height: 670px;
    }

    .hero h1 {
        font-size: clamp(3.6rem, 17vw, 5.6rem);
    }

    .page-hero {
        padding-top: 142px;
        padding-bottom: 70px;
    }

    .section-kicker {
        padding-left: 34px;
        letter-spacing: 0.18em;
    }

    .section-kicker::before {
        width: 22px;
    }
}


.portal-navigation a {
    color: rgba(255, 255, 255, 0.72);
}

.portal-navigation a:hover,
.portal-navigation a.active {
    border-left-color: var(--luxury-champagne-500);
    background:
        linear-gradient(
            90deg,
            rgba(228, 208, 143, 0.18),
            rgba(255, 255, 255, 0.035)
        );
    color: #ffffff;
}

.portal-navigation a.active i,
.portal-navigation a:hover i {
    color: var(--luxury-champagne-400);
}

.portal-manager {
    border-color: rgba(228, 208, 143, 0.2);
    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.1),
            rgba(255, 255, 255, 0.035)
        );
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}


/* ---------------------------------------------------------
   Desktop hover dropdown navigation
   --------------------------------------------------------- */

.navbar .nav-link-submenu {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.nav-dropdown-icon {
    margin-top: 1px;
    font-size: 0.58rem;
    transition:
        transform var(--luxury-ease),
        color var(--luxury-ease);
}

/*
   Remove Bootstrap's dropdown caret pseudo-element.
   The normal nav-link underline is then identical on every menu item.
*/
.navbar .dropdown-toggle::after {
    display: none;
    border: 0;
    margin: 0;
}

@media (min-width: 1400px) {
    .navbar .luxury-hover-dropdown {
        position: relative;
    }

    .navbar .luxury-hover-dropdown > .dropdown-menu {
        top: calc(100% + 12px);
        left: 50%;
        display: block;
        min-width: 248px;
        margin: 0;
        padding: 10px;
        visibility: hidden;
        border: 1px solid rgba(0, 46, 136, 0.09) !important;
        border-radius: 0;
        background: rgba(255, 255, 255, 0.97);
        box-shadow:
            0 24px 55px rgba(0, 20, 63, 0.16);
        opacity: 0;
        pointer-events: none;
        transform:
            translate(-50%, 12px);
        transition:
            opacity 180ms ease,
            visibility 180ms ease,
            transform var(--luxury-ease);
        backdrop-filter: blur(16px);
    }

    .navbar .luxury-hover-dropdown > .dropdown-menu::before {
        position: absolute;
        top: -13px;
        right: 0;
        left: 0;
        height: 13px;
        content: "";
    }

    .navbar .luxury-hover-dropdown:hover > .dropdown-menu,
    .navbar .luxury-hover-dropdown:focus-within > .dropdown-menu {
        visibility: visible;
        opacity: 1;
        pointer-events: auto;
        transform:
            translate(-50%, 0);
    }

    .navbar .luxury-hover-dropdown:hover .nav-dropdown-icon,
    .navbar .luxury-hover-dropdown:focus-within .nav-dropdown-icon {
        color: var(--luxury-champagne-600);
        transform: rotate(180deg);
    }

    .navbar .luxury-hover-dropdown .dropdown-item {
        position: relative;
        padding: 0.78rem 0.9rem;
        border-radius: 0;
        font-size: 0.78rem;
        letter-spacing: 0.025em;
        transition:
            padding-left var(--luxury-ease),
            background-color var(--luxury-ease),
            color var(--luxury-ease);
    }

    .navbar .luxury-hover-dropdown .dropdown-item::before {
        position: absolute;
        top: 50%;
        left: 0.8rem;
        width: 0;
        height: 1px;
        background: var(--luxury-champagne-500);
        content: "";
        transform: translateY(-50%);
        transition: width var(--luxury-ease);
    }

    .navbar .luxury-hover-dropdown .dropdown-item:hover {
        padding-left: 1.65rem;
        background: rgba(0, 46, 136, 0.045);
        color: var(--luxury-blue-800);
    }

    .navbar .luxury-hover-dropdown .dropdown-item:hover::before {
        width: 10px;
    }
}

/* ---------------------------------------------------------
   Mobile hero amenity strip fix
   Keep the amenity cards fully visible below the hero content.
   --------------------------------------------------------- */

@media (max-width: 991.98px) {
    .hero {
        display: block;
        min-height: 0;
        padding-top: 0;
        background-position: 62% center;
    }

    .hero > .container {
        display: flex;
        width: 100%;
        min-height: 650px;
        align-items: center;
        padding-top: 118px;
        padding-bottom: 72px;
    }

    .hero-feature-strip {
        position: relative;
        right: auto;
        bottom: auto;
        left: auto;
        width: 100%;
        overflow: visible;
    }

    .hero-feature-strip > .container {
        display: block;
        min-height: 0;
        padding-top: 0;
        padding-bottom: 0;
    }

    .hero-feature-strip .row {
        width: 100%;
        margin-right: 0;
        margin-left: 0;
    }

    .hero-feature-strip .row > [class*="col-"] {
        padding-right: 0;
        padding-left: 0;
        border-right: 1px solid rgba(255, 255, 255, 0.08);
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .hero-feature-strip .row > [class*="col-"]:nth-child(2n) {
        border-right: 0;
    }

    .hero-feature-strip .row > [class*="col-"]:last-child {
        border-right: 0;
        border-bottom: 0;
    }

    .hero-feature {
        width: 100%;
        min-height: 108px;
        justify-content: flex-start;
        padding: 18px 20px;
        border-right: 0;
        border-bottom: 0;
    }
}

@media (max-width: 575.98px) {
    .hero > .container {
        min-height: 640px;
        padding-top: 108px;
        padding-bottom: 54px;
    }

    .hero-feature {
        min-height: 102px;
        padding: 16px 14px;
        font-size: 0.65rem;
    }

    .hero-feature span {
        overflow-wrap: anywhere;
    }
}
