:root {
    --primary: #0B1B3D;
    --primary-dark: #061024;
    --primary-light: #122754;
    --primary-soft: #FAF6EE;
    --primary-hover: #061024;
    --accent: #C5A869;
    --text-heading: #0B1B3D;
    --text-body: #334155;
    --text-muted: #64748B;
    --bg-page: #F8FAFC;
    --bg-card: #ffffff;
    --bg-light: #F0F4FA;
    --border-color: rgba(197, 168, 105, 0.25);
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
}

body {
    font-family: var(--font-sans);
    color: var(--text-body);
    background-color: var(--bg-page);
}



@media (min-width: 1024px) {
    .hero-banner-bg {
        background-image: url('../images/banner.jpg');
        background-size: cover;
        background-position: center right;
        background-repeat: no-repeat;
        min-height: 90vh !important;
    }

    .hero-mobile-image-wrap {
        display: none !important;
    }
}

@media (max-width: 1023px) {
    .hero-banner-bg {
        background-image: none !important;
        background-color: var(--bg-page);
        min-height: auto !important;
        padding-top: 0 !important;
        padding-bottom: 35px !important;
        display: block !important;
    }

    .hero-mobile-image-wrap {
        display: block !important;
        width: 100% !important;
        line-height: 0 !important;
        overflow: hidden !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .hero-mobile-uncompressed-img {
        width: 100% !important;
        height: auto !important;
        min-height: 280px !important;
        max-height: 480px !important;
        display: block !important;
        object-fit: cover !important;
    }
}

.modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(6, 16, 36, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 16px;
    overflow-y: auto;
}

.modal.hidden,
.modal[style*="display: none"] {
    display: none !important;
}

.modal.show,
.modal[style*="display: block"],
.modal[style*="display: flex"] {
    display: flex !important;
}

.navmenu-drawer {
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
}

.navmenu-drawer.active {
    transform: translateX(0);
}

.mobile-overlay {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.mobile-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.custom-dropdown {
    position: relative;
    width: 100%;
}

.custom-dropdown .selected {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    background: #FAF6EE;
    border: 1px solid rgba(197, 168, 105, 0.35);
    border-radius: 12px;
    font-size: 14px;
    color: #0B1B3D;
    font-weight: 500;
    cursor: pointer;
}

.custom-dropdown .dropdown-list {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    width: 100%;
    max-height: 200px;
    overflow-y: auto;
    background: #ffffff;
    border: 1px solid rgba(197, 168, 105, 0.35);
    border-radius: 12px;
    box-shadow: 0 12px 30px rgba(11, 27, 61, 0.15);
    z-index: 99999;
    display: none;
    padding: 4px 0;
    list-style: none;
    margin: 0;
}

.custom-dropdown .dropdown-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    font-size: 13px;
    color: #0B1B3D;
    cursor: pointer;
    transition: background 0.15s ease;
}

.custom-dropdown .dropdown-list li:hover {
    background: #FAF6EE;
    color: #C5A869;
}

#toast {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: #0B1B3D;
    color: #ffffff;
    border: 1px solid #C5A869;
    padding: 12px 24px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    z-index: 999999;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

#toast.show {
    display: block !important;
    opacity: 1 !important;
}

.gallery-pagination .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: #0B1B3D;
    opacity: 0.25;
    transition: all 0.3s ease;
}

.gallery-pagination .swiper-pagination-bullet-active {
    width: 28px;
    border-radius: 9999px;
    opacity: 1;
    background: #C5A869;
}

@keyframes floatBadge {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-6px);
    }
}

.animate-float-badge {
    animation: floatBadge 4s ease-in-out infinite;
}

@keyframes eoiFlash {

    0%,
    100% {
        opacity: 1;
        box-shadow: 0 1px 3px rgba(11, 27, 61, 0.12);
    }

    50% {
        opacity: 0.68;
        box-shadow: 0 0 14px rgba(197, 168, 105, 0.75);
    }
}

.animate-eoi-flash {
    animation: eoiFlash 1.6s ease-in-out infinite;
}

@keyframes priceBounce {

    0%,
    100% {
        transform: translateY(0);
        animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
    }

    50% {
        transform: translateY(-12px);
        animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
    }
}

.animate-price-bounce {
    animation: priceBounce 1.6s infinite;
}

@media (prefers-reduced-motion: reduce) {

    .animate-eoi-flash,
    .animate-price-bounce,
    .animate-float-badge {
        animation: none;
    }
}