/* ==========================================================================
   AU THE SUNFLOWER (EXCLUSIVELY RESIDENCE) — LIGHT LUXURY THEME
   Bright, Modern, Scroll-Friendly Architecture Showcase
   ========================================================================== */

:root {
    --primary-color: #1e293b;
    --primary-dark: #0f172a;
    --secondary-color: #334155;
    --bg-page: #fbfbfa;
    --bg-surface: #ffffff;
    --bg-subtle: #f8fafc;
    --bg-warm: #faf7f2;
    --gold: #c59b27;
    --gold-light: #dfb235;
    --gold-dark: #735308;
    --gold-subtle: rgba(197, 155, 39, 0.16);
    --gold-glow: rgba(197, 155, 39, 0.35);
    --white: #ffffff;
    --text-dark: #1e293b;
    --text-muted: #64748b;
    --text-light: #94a3b8;
    --border-color: #e2e8f0;
    --border-gold-subtle: rgba(197, 155, 39, 0.25);
    --font-heading: 'Cinzel', serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.05);
    --shadow-medium: 0 10px 30px rgba(0, 0, 0, 0.08);
    --shadow-luxury: 0 16px 45px rgba(0, 0, 0, 0.1);
    --shadow-gold: 0 8px 25px rgba(197, 155, 39, 0.3);
    --transition: 0.35s cubic-bezier(0.25, 1, 0.5, 1);
}

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden !important;
    max-width: 100% !important;
    width: 100% !important;
    position: relative;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--text-dark);
    overflow-x: hidden !important;
    max-width: 100% !important;
    width: 100% !important;
    position: relative;
    background-color: var(--bg-page);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    touch-action: pan-y;
}

/* Ensure modern browsers clip horizontal overflow cleanly */
@supports (overflow: clip) {
    html, body {
        overflow-x: clip !important;
    }
}

/* Structural tags constraint */
main, section, header, footer, nav, .container, .container-fluid {
    max-width: 100% !important;
}

img, video, iframe, svg, canvas {
    max-width: 100%;
    height: auto;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--primary-dark);
    letter-spacing: 0.02em;
    font-weight: 700;
}

/* Helper Utilities */
.bg-cream { background-color: var(--bg-warm) !important; }
.bg-gold { background-color: var(--gold) !important; }
.text-gold { color: #8a5d00 !important; }
.text-gold-light { color: var(--gold-light) !important; }
.border-gold { border-color: var(--gold) !important; }
.border-gold-subtle { border-color: var(--border-gold-subtle) !important; }
.tracking-wide { letter-spacing: 0.08em; }
.tracking-widest { letter-spacing: 0.15em; }
.cursor-pointer { cursor: pointer; }



/* ==================== NAVBAR WITH DUAL LOGOS ==================== */
.navbar {
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 0.65rem 0;
    border-bottom: 1px solid rgba(197, 155, 39, 0.22);
    transition: var(--transition);
    z-index: 1030;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    padding: 0.5rem 0;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
    margin-right: 1.5rem;
}

.brand-logo-au {
    height: 44px;
    width: auto;
    object-fit: contain;
    transition: var(--transition);
}

.brand-logo-divider {
    display: inline-block;
    height: 32px;
    width: 1.5px;
    background: linear-gradient(180deg, transparent, var(--gold), transparent);
    margin: 0 4px;
}

.brand-logo-sunflower {
    height: 50px;
    width: auto;
    object-fit: contain;
    transition: var(--transition);
}

.navbar-brand:hover .brand-logo-sunflower {
    transform: scale(1.03);
}

.navbar-nav .nav-link {
    color: var(--primary-dark) !important;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.875rem;
    letter-spacing: 0.02em;
    padding: 0.5rem 0.75rem !important;
    position: relative;
    transition: var(--transition);
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: var(--transition);
    transform: translateX(-50%);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--gold-dark) !important;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 70%;
}

/* Buttons */
.btn-luxury {
    background: linear-gradient(135deg, var(--gold-dark), var(--gold), var(--gold-light));
    background-size: 200% auto;
    color: #ffffff !important;
    border: none;
    font-weight: 700;
    letter-spacing: 0.04em;
    border-radius: 6px;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(197, 155, 39, 0.3);
}

.btn-luxury:hover {
    background-position: right center;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(197, 155, 39, 0.45);
}

.btn-outline-gold {
    color: #735308 !important;
    border: 1.5px solid #8c670a;
    background: #faf7f2;
    font-weight: 700;
    border-radius: 6px;
    transition: var(--transition);
}

.btn-outline-gold:hover {
    background: var(--gold);
    color: #0f172a !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(197, 155, 39, 0.25);
}

.text-success {
    color: #0d6838 !important;
}

/* ==================== HERO SECTION (PARTITIONED SHOWCASE & INSTANT ENQUIRY) ==================== */
.hero-section {
    position: relative;
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
    overflow: hidden;
}

.hero-split-row {
    min-height: calc(100vh - 85px);
    align-items: flex-start;
}

@media (min-width: 1200px) {
    .hero-split-row {
        min-height: 640px;
    }
}

.hero-split-info-col {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    z-index: 5;
}

.hero-identity-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.05);
    border-radius: 18px;
    contain: layout paint;
}

.hero-partition-title {
    font-family: var(--font-heading);
    font-size: clamp(1.6rem, 2.5vw, 2.25rem);
    font-weight: 800;
    color: #0f172a;
    letter-spacing: 0.05em;
    line-height: 1.2;
    min-height: 2.85em;
}

.hero-partition-sub {
    font-size: 0.875rem;
    color: #475569;
    font-weight: 500;
    line-height: 1.4;
}

.hero-light-chip {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #1e293b;
    padding: 0.25rem 0.65rem;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
}

.hero-chip-row {
    margin-top: 0.25rem;
}

/* Instant Enquiry Box on Hero Panel */
.hero-enquiry-box {
    background: #faf7f2;
    border: 1px solid rgba(197, 155, 39, 0.35);
    border-radius: 14px;
    box-shadow: 0 4px 18px rgba(197, 155, 39, 0.08);
}

.hero-form-label {
    font-size: 0.72rem;
    font-weight: 700;
    color: #334155;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.hero-express-form .form-control,
.hero-express-form .form-select {
    border-color: #cbd5e1;
    font-size: 0.85rem;
    border-radius: 8px;
    transition: var(--transition);
}

.hero-express-form .form-control:focus,
.hero-express-form .form-select:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(197, 155, 39, 0.2);
}

/* Right Visual Photo Showcase Frame */
.hero-split-visual-col {
    display: flex;
    align-items: stretch;
}

.hero-visual-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    min-height: 520px;
    max-height: 640px;
    background: #0f172a;
    border-radius: 18px;
    overflow: hidden;
    contain: layout paint;
}

@media (max-width: 991.98px) {
    .hero-visual-frame {
        min-height: 380px;
        max-height: 440px;
    }
}

@media (max-width: 575.98px) {
    .hero-visual-frame {
        min-height: 260px;
        max-height: 300px;
    }
}

.hero-split-carousel {
    width: 100%;
    height: 100%;
    position: relative;
}

.hero-split-img {
    width: 100%;
    height: 100%;
    min-height: 520px;
    max-height: 640px;
    object-fit: cover;
    object-position: center center;
    filter: none;
    -webkit-filter: none;
}

@media (max-width: 991.98px) {
    .hero-split-img {
        min-height: 380px;
        max-height: 440px;
    }
}

@media (max-width: 575.98px) {
    .hero-split-img {
        min-height: 260px;
        max-height: 300px;
    }
}

.hero-slide-tag {
    position: absolute;
    top: 18px;
    left: 18px;
    max-width: calc(100% - 36px);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    background: rgba(255, 255, 255, 0.95);
    color: #0f172a;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    padding: 0.4rem 1rem;
    border-radius: 30px;
    border: 1px solid rgba(197, 155, 39, 0.45);
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
    z-index: 5;
}

.hero-overlay-badge-top-right {
    position: absolute;
    top: 18px;
    right: 18px;
    z-index: 5;
}

/* Hero Carousel Controls & Indicators */
.hero-indicators {
    bottom: 16px;
    margin-bottom: 0;
    z-index: 7;
}

.hero-indicators button {
    width: 26px;
    height: 4px;
    border-radius: 2px;
    border: none;
    background-color: rgba(255, 255, 255, 0.7);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    margin: 0 3px;
    transition: var(--transition);
}

.hero-indicators button.active {
    width: 38px;
    background-color: var(--gold);
    box-shadow: 0 0 10px var(--gold);
}

.carousel-control-prev,
.carousel-control-next {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    border: 1px solid rgba(197, 155, 39, 0.4);
    z-index: 8;
    backdrop-filter: blur(6px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    transition: var(--transition);
}

.carousel-control-prev { left: 16px; }
.carousel-control-next { right: 16px; }

.carousel-control-prev-icon,
.carousel-control-next-icon {
    filter: invert(1) grayscale(100%);
    width: 1.25rem;
    height: 1.25rem;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background: var(--gold);
    border-color: var(--gold);
    transform: translateY(-50%) scale(1.08);
}

.carousel-control-prev:hover .carousel-control-prev-icon,
.carousel-control-next:hover .carousel-control-next-icon {
    filter: brightness(0) invert(1);
}

/* ==================== STATS STRIP ==================== */
.stats-strip {
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: clamp(2rem, 3.2vw, 2.7rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.8125rem;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 600;
}

/* ==================== SECTIONS COMMON ==================== */
.section-padding {
    padding: 5rem 0;
}

.section-title {
    font-size: clamp(2rem, 3.5vw, 2.7rem);
    line-height: 1.25;
    position: relative;
    padding-bottom: 0.5rem;
}

.section-subtitle {
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 400;
    line-height: 1.6;
}

/* ==================== 16 PETALS CARDS (MODERN & CRISP) ==================== */
.petal-num-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(15, 23, 42, 0.8);
    color: var(--gold-light);
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0.25rem 0.65rem;
    border-radius: 20px;
    border: 1px solid var(--gold);
    backdrop-filter: blur(4px);
    z-index: 2;
}

.col-md-6.col-lg-3 .border.border-light-subtle {
    border-color: #e2e8f0 !important;
    transition: var(--transition);
}

.col-md-6.col-lg-3 .border.border-light-subtle:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.08) !important;
    border-color: var(--gold) !important;
}

.col-md-6.col-lg-3 img {
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.col-md-6.col-lg-3:hover img {
    transform: scale(1.06);
}

/* Petals Quick Dropdown & Collapse Controls */
.petal-dropdown-box {
    background: #ffffff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border: 1.5px solid rgba(197, 155, 39, 0.35);
    transition: var(--transition);
}

.petal-dropdown-box:focus-within {
    border-color: var(--gold);
    box-shadow: 0 6px 24px rgba(197, 155, 39, 0.22);
}

#petalsDropdownToggleBtn {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

#petalsDropdownToggleBtn:hover {
    background-color: var(--gold);
    color: #ffffff !important;
    border-color: var(--gold);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(197, 155, 39, 0.3);
}

#petalsDropdownToggleBtn:hover .badge {
    background-color: #ffffff !important;
    color: #0f172a !important;
}

.petal-highlight-pulse {
    animation: petalPulseGlow 2.2s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes petalPulseGlow {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(197, 155, 39, 0);
    }
    30% {
        transform: scale(1.03);
        box-shadow: 0 0 0 8px rgba(197, 155, 39, 0.25), 0 16px 36px rgba(197, 155, 39, 0.35);
        border-color: var(--gold) !important;
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(197, 155, 39, 0);
    }
}

/* ==================== MASTER PLAN ==================== */
.zoom-trigger-wrap {
    overflow: hidden;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: var(--shadow-soft);
}

.zoom-trigger-wrap img {
    transition: transform 0.5s ease;
}

.zoom-trigger-wrap:hover img {
    transform: scale(1.02);
}

.zoom-badge {
    position: absolute;
    bottom: 14px;
    right: 14px;
    background: rgba(15, 23, 42, 0.85);
    color: var(--gold-light);
    font-size: 0.8125rem;
    padding: 0.4rem 0.85rem;
    border-radius: 30px;
    border: 1px solid var(--gold);
    backdrop-filter: blur(6px);
}

.legend-scroll-container::-webkit-scrollbar {
    width: 6px;
}

.legend-scroll-container::-webkit-scrollbar-thumb {
    background: var(--gold);
    border-radius: 3px;
}

.legend-item {
    font-size: 0.85rem;
    color: #334155;
    padding: 0.3rem 0;
    font-weight: 500;
}

/* ==================== FLOOR PLANS ==================== */
.floorplan-tabs .nav-link {
    background: var(--white);
    color: var(--text-dark);
    border: 1.5px solid var(--border-gold-subtle);
    font-weight: 600;
    padding: 0.75rem 1.6rem;
    margin: 0 0.5rem 0.5rem;
    border-radius: 30px;
    transition: var(--transition);
}

.floorplan-tabs .nav-link.active {
    background: #0f172a !important;
    color: #ffffff !important;
    border-color: #0f172a !important;
    box-shadow: 0 4px 15px rgba(15, 23, 42, 0.25);
}

/* ==================== PAYMENT PLAN TABS ==================== */
.paymentplan-tabs .nav-link {
    background: var(--white);
    color: var(--text-dark);
    border: 1.5px solid var(--border-gold-subtle);
    font-weight: 600;
    padding: 0.75rem 1.6rem;
    margin: 0 0.5rem 0.5rem;
    border-radius: 30px;
    transition: var(--transition);
}

.paymentplan-tabs .nav-link:hover {
    border-color: var(--gold);
    color: var(--gold-dark);
}

.paymentplan-tabs .nav-link.active {
    background: linear-gradient(135deg, #1e293b, #0f172a) !important;
    color: #ffffff !important;
    border-color: var(--gold) !important;
    box-shadow: 0 4px 15px rgba(15, 23, 42, 0.25);
}

.plan-1090-unit-card {
    transition: var(--transition);
}

.plan-1090-unit-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(197, 155, 39, 0.15) !important;
    border-color: var(--gold) !important;
}

/* ==================== GALLERY (SCROLL-FRIENDLY & CLEAN) ==================== */
.btn-gold-pill {
    background: var(--white);
    border: 1.5px solid var(--border-color);
    color: var(--text-dark);
    border-radius: 30px;
    padding: 0.45rem 1.1rem;
    font-weight: 600;
    font-size: 0.8125rem;
    transition: var(--transition);
}

.btn-gold-pill.active,
.btn-gold-pill:hover {
    background: var(--gold);
    color: #ffffff;
    border-color: var(--gold);
    box-shadow: 0 4px 12px rgba(197, 155, 39, 0.25);
}

.gallery-clean-wrap {
    height: 260px;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    border: 1px solid #e2e8f0;
    box-shadow: var(--shadow-soft);
    background: #f1f5f9;
}

.gallery-clean-wrap img {
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.gallery-clean-wrap:hover img {
    transform: scale(1.06);
}

.gallery-hover-tag {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.88) 0%, rgba(15, 23, 42, 0.4) 60%, transparent 100%);
    color: #ffffff;
    padding: 1.5rem 1rem 0.75rem;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    transform: translateY(0);
    transition: var(--transition);
}

/* ==================== PRICING CARDS ==================== */
.price-luxury-card {
    transition: var(--transition);
}

.price-luxury-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(197, 155, 39, 0.2);
}

.pricing-top-tag {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gold);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    padding: 0.3rem 1.25rem;
    border-radius: 20px;
}

/* ==================== STICKY EOI BAR & FLOATING BTN ==================== */
.sticky-eoi-middle {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1020;
    display: flex;
}

.sticky-eoi-bar-link {
    background: linear-gradient(135deg, var(--gold-dark), var(--gold));
    color: #ffffff !important;
    text-decoration: none;
    padding: 14px 10px;
    border-radius: 8px 0 0 8px;
    box-shadow: -4px 4px 15px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.sticky-eoi-vertical-text {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    transform: rotate(180deg);
    font-weight: 800;
    letter-spacing: 0.15em;
    font-size: 0.8125rem;
}

.sticky-eoi-bar-link:hover {
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    transform: translateX(-4px);
}

.whatsapp-btn,
.whatsapp-float-left-btn {
    position: fixed !important;
    bottom: 28px !important;
    left: 28px !important;
    right: auto !important;
    width: 62px !important;
    height: 62px !important;
    border-radius: 50% !important;
    display: block !important;
    line-height: 0 !important;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45) !important;
    z-index: 9999999 !important;
    text-decoration: none !important;
    padding: 0 !important;
    overflow: hidden !important;
    transition: transform 0.25s ease, box-shadow 0.25s ease !important;
}

.whatsapp-btn img,
.whatsapp-float-left-btn img {
    width: 62px !important;
    height: 62px !important;
    border-radius: 50% !important;
    display: block !important;
    pointer-events: none !important;
    object-fit: cover !important;
}

.whatsapp-btn:hover,
.whatsapp-float-left-btn:hover {
    transform: scale(1.08) !important;
    box-shadow: 0 10px 28px rgba(37, 211, 102, 0.65) !important;
}

/* ==================== LIGHTBOX COMPONENT ==================== */
.custom-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(12px);
    z-index: 99999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 1.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.custom-lightbox.active {
    opacity: 1;
}

.lightbox-img-wrapper {
    position: relative;
    max-width: 92vw;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lightbox-img-wrapper img {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 10px;
    border: 1px solid rgba(197, 155, 39, 0.4);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
}

.lightbox-caption {
    color: var(--gold-light);
    margin-top: 1rem;
    font-size: 1rem;
    font-weight: 500;
    text-align: center;
}

.lightbox-close-btn {
    position: absolute;
    top: 20px;
    right: 25px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid var(--gold);
    color: var(--white);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
}

.lightbox-close-btn:hover {
    background: var(--gold);
    color: #ffffff;
    transform: rotate(90deg);
}

/* ==================== FOOTER ==================== */
.footer-links-list li {
    margin-bottom: 0.35rem;
}

.footer-links-list a {
    color: #475569;
    text-decoration: none;
    display: inline-block;
    padding: 6px 4px;
    font-size: 0.875rem;
    transition: var(--transition);
}

.footer-links-list a:hover {
    color: #8a5d00;
    padding-left: 8px;
}

/* ==================== RESPONSIVE ADJUSTMENTS ==================== */
@media (max-width: 991.98px) {
    .brand-logo-au {
        height: 36px;
    }
    .brand-logo-sunflower {
        height: 42px;
    }
    .gallery-clean-wrap {
        height: 220px;
    }
}

@media (max-width: 767.98px) {
    /* Critical horizontal containment on mobile devices */
    html, body {
        overflow-x: hidden !important;
        width: 100% !important;
        position: relative;
    }

    .container,
    .container-fluid {
        padding-left: 12px !important;
        padding-right: 12px !important;
        max-width: 100% !important;
        overflow-x: hidden;
    }

    /* Constrain rows so negative margins don't bleed out of containers */
    .row {
        margin-left: -6px !important;
        margin-right: -6px !important;
    }

    .row > * {
        padding-left: 6px !important;
        padding-right: 6px !important;
    }

    /* Disable desktop fixed vertical EOI right-edge bar on mobile to eliminate touch scroll jitter & overflow */
    .sticky-eoi-middle {
        display: none !important;
    }

    /* Table responsive overflow */
    .table-responsive {
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .table {
        margin-bottom: 0 !important;
    }

    /* Ensure chips and text wrap cleanly */
    .hero-partition-title {
        font-size: 1.45rem !important;
        word-break: break-word !important;
    }

    .hero-light-chip {
        font-size: 0.72rem !important;
        white-space: normal !important;
    }

    .petal-dropdown-box {
        border-radius: 12px !important;
        padding: 6px 10px !important;
        width: 100% !important;
    }

    .petal-dropdown-box select {
        font-size: 0.8rem !important;
    }

    .hero-split-info-col .border-top {
        gap: 6px !important;
    }

    .hero-split-info-col .border-top .btn {
        font-size: 0.76rem !important;
        padding: 0.4rem 0.5rem !important;
    }
}

@media (max-width: 576px) {
    .navbar {
        padding: 0.45rem 0;
    }
    .navbar-brand {
        margin-right: 0.25rem !important;
        gap: 0.35rem !important;
    }
    .brand-logo-au {
        height: 28px;
    }
    .brand-logo-divider {
        height: 18px;
        margin: 0 3px;
    }
    .brand-logo-sunflower {
        height: 32px;
    }
    .hero-photo-carousel {
        height: 220px !important;
        min-height: auto !important;
    }
    .hero-showcase-bar {
        padding-top: 1rem !important;
        padding-bottom: 1rem !important;
    }
    .hero-card-title {
        font-size: 1.25rem !important;
        line-height: 1.25 !important;
        letter-spacing: 0.02em !important;
        word-break: break-word !important;
        overflow-wrap: break-word !important;
    }
    .hero-card-sub {
        font-size: 0.78rem !important;
        line-height: 1.4 !important;
    }
    .hero-slide-tag {
        top: 10px;
        left: 10px;
        max-width: calc(100% - 20px);
        font-size: 0.68rem;
        padding: 0.25rem 0.65rem;
    }
    .hero-light-chip {
        font-size: 0.7rem;
        padding: 0.2rem 0.5rem;
    }
    .gallery-clean-wrap {
        height: 190px;
    }
    .whatsapp-btn,
    .whatsapp-float-left-btn {
        bottom: 16px !important;
        left: 16px !important;
        width: 52px !important;
        height: 52px !important;
    }
    .whatsapp-btn img,
    .whatsapp-float-left-btn img {
        width: 52px !important;
        height: 52px !important;
    }
}

/* ==================== WHATSAPP MODULE MODAL ==================== */
.wa-modal-chip {
    transition: all 0.2s ease;
    font-size: 0.8rem;
    cursor: pointer;
}
.wa-modal-chip:hover {
    background-color: #25d366 !important;
    color: #ffffff !important;
    border-color: #25d366 !important;
}
.wa-modal-chip:hover i {
    color: #ffffff !important;
}

/* ==================== FAQ ACCORDION STYLES ==================== */
.custom-accordion .accordion-item {
    border-color: #f0eae1 !important;
    background-color: #ffffff;
    overflow: hidden;
    transition: box-shadow 0.25s ease, border-color 0.25s ease;
}
.custom-accordion .accordion-item:hover {
    border-color: #e2b96f !important;
    box-shadow: 0 4px 15px rgba(212, 160, 23, 0.08);
}
.custom-accordion .accordion-button {
    font-size: 1.02rem;
    padding: 1.15rem 1.25rem;
    color: #1a1a1a;
    background-color: #ffffff;
    box-shadow: none !important;
}
.custom-accordion .accordion-button:not(.collapsed) {
    color: #8f6516;
    background-color: #fdfbf7;
    border-bottom: 1px solid #f2e9dc;
}
.custom-accordion .accordion-button::after {
    transition: transform 0.2s ease-in-out;
}
.custom-accordion .accordion-body {
    padding: 1.2rem 1.25rem;
    font-size: 0.95rem;
    line-height: 1.65;
    background-color: #ffffff;
}