/* Custom premium styles for One Agency Marayong-Doonside */

/* Font variables and base overrides */
:root {
    --one-agency-orange: #f27321;
    --primary-black: #1b1c1c;
    --luxury-bg: #fbf9f8;
    --luxury-white: #ffffff;
    --secondary-grey: #5d5f5b;
    --light-grey: #e9e8e7;
    --border-grey: #EEEEEE;
}

html, body {
    overflow-x: hidden;
    max-width: 100vw;
}

body {
    background-color: var(--luxury-bg);
    color: var(--primary-black);
    font-family: 'Open Sans', sans-serif;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

/* Custom animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes drawLine {
    from {
        width: 0;
    }
    to {
        width: 6rem;
    }
}

@keyframes pulseOrange {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(242, 115, 33, 0.4);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 15px 5px rgba(242, 115, 33, 0.2);
    }
}

@keyframes pulseDot {
    0% {
        transform: scale(0.8);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.2);
        opacity: 1;
    }
    100% {
        transform: scale(0.8);
        opacity: 0.5;
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.animate-draw-line {
    animation: drawLine 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.pulse-orange-btn {
    animation: pulseOrange 2s infinite ease-in-out;
}

/* Glassmorphism details */
.glass-panel {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.dark .glass-panel {
    background: rgba(15, 15, 15, 0.75);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Perspective card styling */
.perspective-card {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s ease;
}

.perspective-card:hover {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.12);
}

/* Tab Active Transitions */
.tab-active {
    color: var(--one-agency-orange) !important;
    border-bottom: 2px solid var(--one-agency-orange) !important;
}

/* Suburb Tab Button styling */
.suburb-tab-btn {
    padding-bottom: 0.75rem;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    white-space: nowrap;
    border-bottom: 2px solid transparent;
    color: #a3a3a3;
    transition: all 0.3s ease;
    cursor: pointer;
    background: transparent;
}

.suburb-tab-btn:hover {
    color: #1b1c1c;
}

.suburb-tab-btn.active {
    color: #f27321 !important;
    border-bottom-color: #f27321 !important;
}

/* Step Wizard Navigation */
.step-dot.active {
    background-color: var(--one-agency-orange);
    color: var(--luxury-white);
    transform: scale(1.15);
}

.step-dot.completed {
    background-color: #10b981;
    color: var(--luxury-white);
}

/* Map Dot Details */
.map-pulse-dot {
    position: absolute;
    width: 14px;
    height: 14px;
    background-color: var(--one-agency-orange);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 0 0 4px rgba(242, 115, 33, 0.3);
}

.map-pulse-dot::after {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 2px solid var(--one-agency-orange);
    animation: pulseDot 1.8s infinite ease-in-out;
}

.map-pulse-dot.sold {
    background-color: #1b1c1c;
    box-shadow: 0 0 0 4px rgba(27, 28, 28, 0.3);
}

.map-pulse-dot.sold::after {
    border-color: #1b1c1c;
}

/* Suburb Chart Layout styling */
.chart-bar {
    transition: height 1s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Premium gradient accents */
.gradient-orange-black {
    background: linear-gradient(135deg, var(--one-agency-orange) 0%, #a6450d 100%);
}

.gradient-dark-card {
    background: linear-gradient(180deg, #242525 0%, #171818 100%);
}

/* Hide default scrollbar for specific overflow layers */
.no-scrollbar::-webkit-scrollbar {
    display: none;
}
.no-scrollbar {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

/* Custom active outline */
.input-premium:focus {
    outline: none;
    border-color: var(--one-agency-orange);
    box-shadow: 0 0 0 2px rgba(242, 115, 33, 0.15);
}

/* Premium Galaxy Cosmic Footer Background */
.footer-galaxy-bg {
    position: relative;
    background: radial-gradient(circle at 50% -20%, rgba(242, 115, 33, 0.28) 0%, rgba(26, 24, 22, 0.95) 40%, rgba(10, 10, 14, 0.99) 75%, #08080a 100%), #08080a !important;
    overflow: hidden;
}

.footer-galaxy-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.18) 1px, transparent 1px);
    background-size: 24px 24px;
    opacity: 0.4;
    pointer-events: none;
    z-index: 1;
}

.footer-galaxy-glow {
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 700px;
    height: 320px;
    background: radial-gradient(circle, rgba(242, 115, 33, 0.35) 0%, rgba(242, 115, 33, 0.08) 50%, transparent 80%);
    filter: blur(60px);
    pointer-events: none;
    z-index: 1;
}

.footer-galaxy-bar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, rgba(242, 115, 33, 0.9) 20%, rgba(242, 115, 33, 0.9) 80%, transparent 100%);
    box-shadow: 0 0 10px rgba(242, 115, 33, 0.8), 0 0 20px rgba(242, 115, 33, 0.4);
    z-index: 30;
}

/* Mobile responsive helper adjustments */
@media (max-width: 640px) {
    .glass-panel {
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
    }
    
    .perspective-card {
        transform: none !important;
    }
}

/* ==========================================================================
   Boutique Advantage Stat Card Hover Polish
   ========================================================================== */
.boutique-stat-card {
    will-change: transform, box-shadow;
    position: relative;
    user-select: none;
}

.boutique-stat-card:hover .font-display-hero {
    text-shadow: 0 0 20px rgba(242, 115, 33, 0.45);
}

.boutique-stat-card:hover .material-symbols-outlined {
    filter: drop-shadow(0 0 10px rgba(242, 115, 33, 0.7));
}


