/* 🎨 Modern 2025 Theme - Elegant Green Color */

/* 🚀 Modern 2025 Hero Section */
.hero-section, .banner-section {
    background: linear-gradient(135deg, #009f78 0%, #007a5e 50%, #f2ba17 100%);
    position: relative;
    overflow: hidden;
    min-height: 90vh;
    display: flex;
    align-items: center;
    padding: 100px 0 !important;
}

.hero-section::before, .banner-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(242, 186, 23, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(0, 159, 120, 0.3) 0%, transparent 50%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, transparent 100%);
    pointer-events: none;
}

/* Static particles effect */
.hero-section::after, .banner-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(2px 2px at 20px 30px, rgba(255,255,255,0.4), transparent),
        radial-gradient(2px 2px at 40px 70px, rgba(242, 186, 23, 0.5), transparent),
        radial-gradient(1px 1px at 90px 40px, rgba(255,255,255,0.3), transparent),
        radial-gradient(1px 1px at 130px 80px, rgba(0, 159, 120, 0.4), transparent);
    background-repeat: repeat;
    background-size: 150px 100px;
    pointer-events: none;
    opacity: 0.6;
}

/* Modern content styling */
.banner-left__content {
    position: relative;
    z-index: 10;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.1);
    padding: 60px 40px;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.banner-left__content:hover {
    transform: translateY(-10px);
    box-shadow: 
        0 35px 70px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.banner-left__content h2 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    background: linear-gradient(135deg, #ffffff 0%, #f2ba17 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
    margin-bottom: 30px;
    text-shadow: 0 0 30px rgba(242, 186, 23, 0.3);
}

.banner-left__content p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin-bottom: 40px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Enhanced button group */
.button-wrap {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    align-items: center;
}

.button-wrap .btn {
    position: relative;
    overflow: hidden;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 14px;
    padding: 18px 35px;
    border-radius: 50px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.button-wrap .btn:first-child {
    background: linear-gradient(135deg, #f2ba17 0%, #e6a815 100%);
    color: #333;
}

.button-wrap .btn:first-child:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 20px 40px rgba(242, 186, 23, 0.4);
}

.button-wrap .btn.two {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.button-wrap .btn.two:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(255, 255, 255, 0.2);
}

/* 🎯 Revolutionary Hero Right Section - 3D Holographic Display */
.banner-right-wrap {
    position: relative;
    z-index: 5;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 500px;
    perspective: 1200px;
}

/* Hide original excavator image */
.main-banner-img img:first-child {
    display: none;
}

/* 🚀 3D Holographic Auction Terminal */
.main-banner-img {
    position: relative;
    width: 400px;
    height: 500px;
    transform-style: preserve-3d;
    animation: terminalGlow 4s ease-in-out infinite alternate;
}

/* Central holographic display */
.main-banner-img::before {
    content: '';
    position: absolute;
    top: 75%;
    left: 50%;
    transform: translate(-50%, -50%) rotateX(15deg) rotateY(-10deg);
    width: 350px;
    height: 600px;
    background: 
        linear-gradient(135deg, 
            rgba(0, 159, 120, 0.25) 0%, 
            rgba(0, 159, 120, 0.45) 50%, 
            rgba(242, 186, 23, 0.35) 100%);
    border: 2px solid #009f78;
    border-radius: 15px;
    box-shadow: 
        0 0 60px rgba(0, 159, 120, 0.4),
        inset 0 0 60px rgba(0, 159, 120, 0.15),
        0 0 120px rgba(242, 186, 23, 0.2);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    animation: hologramFlicker 3s ease-in-out infinite;
    z-index: 10;
}

/* Static holographic scan lines */
.main-banner-img::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(0, 159, 120, 0.05) 2px,
        rgba(0, 159, 120, 0.05) 4px
    );
    z-index: 12;
    pointer-events: none;
}

/* Floating emoji nodes */
.banner-right-wrap::before {
    content: '💎';
    position: absolute;
    top: 20%;
    right: 15%;
    width: 80px;
    height: 80px;
    background: radial-gradient(circle, rgba(242, 186, 23, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    animation: dataNode1 6s ease-in-out infinite;
    box-shadow: 0 0 40px rgba(242, 186, 23, 0.6);
    z-index: 15;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    filter: drop-shadow(0 0 20px rgba(242, 186, 23, 0.8));
}

.banner-right-wrap::after {
    content: '🏆';
    position: absolute;
    bottom: 20%;
    left: 10%;
    width: 60px;
    height: 60px;
    background: radial-gradient(circle, rgba(0, 159, 120, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    animation: dataNode2 8s ease-in-out infinite reverse;
    box-shadow: 0 0 40px rgba(0, 159, 120, 0.6);
    z-index: 15;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 35px;
    filter: drop-shadow(0 0 20px rgba(0, 159, 120, 0.8));
}

/* Holographic content overlay */
.main-banner-img .holo-display {
    position: absolute;
    top: 75%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 350px;
    z-index: 12;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    text-align: center;
    color: #009f78;
    font-family: 'Courier New', monospace;
    text-shadow: 0 0 10px currentColor;
}

.main-banner-img .holo-display .auction-title {
    font-size: 20px;
    font-weight: 600;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.8);
    background: rgba(0, 159, 120, 0.2);
    padding: 8px 16px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.main-banner-img .holo-display .price-display {
    font-size: 56px;
    font-weight: 900;
    color: #f2ba17;
    margin: 25px 0;
    position: relative;
    text-shadow: 
        0 0 20px rgba(242, 186, 23, 1),
        0 0 40px rgba(242, 186, 23, 0.8),
        0 0 60px rgba(242, 186, 23, 0.6);
    background: rgba(242, 186, 23, 0.1);
    padding: 15px 25px;
    border-radius: 15px;
    border: 2px solid rgba(242, 186, 23, 0.4);
}

.main-banner-img .holo-display .price-display::before {
    content: '$';
    position: absolute;
    left: -35px;
    font-size: 32px;
    opacity: 0.9;
    color: #ffffff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

.main-banner-img .holo-display .stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    width: 100%;
    margin-top: 30px;
}

.main-banner-img .holo-display .stat-item {
    padding: 12px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    font-size: 11px;
    text-transform: uppercase;
    color: #ffffff;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.6);
    font-weight: 500;
}

.main-banner-img .holo-display .stat-value {
    font-size: 20px;
    font-weight: 800;
    color: #f2ba17;
    display: block;
    margin-top: 6px;
    text-shadow: 0 0 15px rgba(242, 186, 23, 0.8);
}

/* Orbital elements */
.banner-right-wrap .orbit-1,
.banner-right-wrap .orbit-2,
.banner-right-wrap .orbit-3 {
    position: absolute;
    border: 1px solid rgba(0, 159, 120, 0.2);
    border-radius: 50%;
    animation: rotate 20s linear infinite;
}

.banner-right-wrap .orbit-1 {
    width: 200px;
    height: 200px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-duration: 15s;
}

.banner-right-wrap .orbit-2 {
    width: 300px;
    height: 300px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-duration: 25s;
    animation-direction: reverse;
}

.banner-right-wrap .orbit-3 {
    width: 400px;
    height: 400px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-duration: 35s;
}

@keyframes shimmer {
    0%, 100% { 
        transform: translateX(-100%);
        will-change: transform;
    }
    50% { 
        transform: translateX(100%);
        will-change: transform;
    }
}

/* 2025 Glassmorphism Effect */
.card, .product-card {
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.card:hover, .product-card:hover {
    -webkit-backdrop-filter: blur(15px);
    backdrop-filter: blur(15px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 
        0 20px 40px rgba(0, 159, 120, 0.15),
        0 0 0 1px rgba(242, 186, 23, 0.3);
    transform: translateY(-8px) scale(1.02);
}

/* Modern 2025 Button Design */
.btn-primary, .cmn-btn {
    background: #009f78;
    border: none;
    border-radius: 25px;
    padding: 12px 32px;
    font-weight: 600;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 8px 25px rgba(0, 159, 120, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary::before, .cmn-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-primary:hover, .cmn-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 
        0 15px 35px rgba(0, 159, 120, 0.4),
        0 5px 15px rgba(0, 159, 120, 0.3);
}

.btn-primary:hover::before, .cmn-btn:hover::before {
    left: 100%;
}

/* 2025 Clean Accent Effects */
.highlight, .badge, .price {
    background: #009f78;
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-weight: 700;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    box-shadow: 0 0 20px rgba(0, 159, 120, 0.5);
}

/* Modern Page Transitions */
* {
    scroll-behavior: smooth;
}



/* 🔄 Global Blue to Green Color Override */

/* Override all primary colors with new theme */
.text-primary, 
.btn-primary, 
.bg-primary,
.badge-primary,
.alert-primary,
.border-primary {
    color: #009f78 !important;
}

.btn-primary,
.bg-primary {
    background-color: #009f78 !important;
    border-color: #009f78 !important;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    background-color: #007a5e !important;
    border-color: #007a5e !important;
}

.border-primary {
    border-color: #009f78 !important;
}

/* Links and text accents */
a:not(.btn):not(.nav-link) {
    color: #009f78;
}

a:not(.btn):not(.nav-link):hover {
    color: #007a5e;
}

/* Form controls focus states */
.form-control:focus,
.form-select:focus {
    border-color: #009f78 !important;
    box-shadow: 0 0 0 0.2rem rgba(0, 159, 120, 0.25) !important;
}

/* Bootstrap utilities override */
.text-success {
    color: #009f78 !important;
}

.bg-success {
    background-color: #009f78 !important;
}

/* Accent color utilities */
.text-accent {
    color: #f2ba17 !important;
}

.bg-accent {
    background-color: #f2ba17 !important;
}

/* Admin specific overrides */
.sidebar-menu-list__item.active a.sidebar-menu-list__link {
    color: #009f78 !important;
}

/* Any remaining old color references */
*[style*="color: #2563eb"],
*[style*="background: #2563eb"],
*[style*="background-color: #2563eb"] {
    color: #009f78 !important;
    background: #009f78 !important;
    background-color: #009f78 !important;
}

/* Header Dashboard Button Modern Styling */
.btn--base {
    background: #009f78 !important;
    border: none !important;
    border-radius: 25px !important;
    padding: 12px 24px !important;
    font-weight: 600 !important;
    letter-spacing: 0.5px !important;
    position: relative !important;
    overflow: hidden !important;
    box-shadow: 
        0 8px 25px rgba(0, 159, 120, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    color: white !important;
}

.btn--base::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: -100% !important;
    width: 100% !important;
    height: 100% !important;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent) !important;
    transition: left 0.5s !important;
    border: none !important;
    z-index: 1 !important;
}

.btn--base:hover, .btn--base:focus {
    transform: translateY(-3px) scale(1.05) !important;
    background: #007a5e !important;
    box-shadow: 
        0 15px 35px rgba(0, 159, 120, 0.4),
        0 5px 15px rgba(0, 159, 120, 0.3) !important;
    color: white !important;
    border: none !important;
}

.btn--base:hover::before {
    left: 100% !important;
}

/* Ensure header buttons match the new design */
.header .btn--base,
.sidebar-menu-wrapper .btn--base {
    background: #009f78 !important;
    border-radius: 25px !important;
}

/* 2025 Hero Animations */
@keyframes heroFloat {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg);
        opacity: 1;
        will-change: transform, opacity;
    }
    33% { 
        transform: translateY(-20px) rotate(1deg);
        opacity: 0.8;
        will-change: transform, opacity;
    }
    66% { 
        transform: translateY(10px) rotate(-1deg);
        opacity: 0.9;
        will-change: transform, opacity;
    }
}

/* Floating cards animations */
@keyframes cardFloat1 {
    0%, 100% { 
        transform: translateY(0px) translateX(0px) rotate(0deg);
        will-change: transform;
    }
    50% { 
        transform: translateY(-15px) translateX(10px) rotate(2deg);
        will-change: transform;
    }
}

@keyframes cardFloat2 {
    0%, 100% { 
        transform: translateY(0px) translateX(0px) rotate(0deg);
        will-change: transform;
    }
    50% { 
        transform: translateY(20px) translateX(-8px) rotate(-1deg);
        will-change: transform;
    }
}

/* Holographic Display Animations */
@keyframes terminalGlow {
    0% { 
        filter: brightness(1) saturate(1);
        will-change: filter;
    }
    100% { 
        filter: brightness(1.1) saturate(1.2);
        will-change: filter;
    }
}

@keyframes hologramFlicker {
    0%, 100% { 
        opacity: 1;
        transform: translate(-50%, -50%) rotateX(15deg) rotateY(-10deg);
        will-change: opacity, transform;
    }
    50% { 
        opacity: 0.98;
        transform: translate(-50%, -50%) rotateX(16deg) rotateY(-9deg);
        will-change: opacity, transform;
    }
}

@keyframes scanLines {
    0% { 
        transform: translateY(-100%);
        will-change: transform;
    }
    100% { 
        transform: translateY(100%);
        will-change: transform;
    }
}

@keyframes dataNode1 {
    0%, 100% { 
        transform: translateY(0px) scale(1);
        box-shadow: 0 0 40px rgba(242, 186, 23, 0.6);
        will-change: transform, box-shadow;
    }
    50% { 
        transform: translateY(-15px) scale(1.1);
        box-shadow: 0 0 60px rgba(242, 186, 23, 0.8);
        will-change: transform, box-shadow;
    }
}

@keyframes dataNode2 {
    0%, 100% { 
        transform: translateX(0px) scale(1);
        box-shadow: 0 0 40px rgba(0, 159, 120, 0.6);
        will-change: transform, box-shadow;
    }
    50% { 
        transform: translateX(20px) scale(1.15);
        box-shadow: 0 0 60px rgba(0, 159, 120, 0.8);
        will-change: transform, box-shadow;
    }
}

@keyframes textGlow {
    0% { 
        text-shadow: 0 0 10px rgba(242, 186, 23, 0.8);
        will-change: text-shadow;
    }
    100% { 
        text-shadow: 0 0 20px rgba(242, 186, 23, 1), 0 0 30px rgba(242, 186, 23, 0.6);
        will-change: text-shadow;
    }
}

@keyframes rotate {
    0% { 
        transform: translate(-50%, -50%) rotate(0deg);
        will-change: transform;
    }
    100% { 
        transform: translate(-50%, -50%) rotate(360deg);
        will-change: transform;
    }
}

@keyframes particleFloat {
    0% { 
        transform: translateY(0px) translateX(0px);
        will-change: transform;
    }
    100% { 
        transform: translateY(-1000px) translateX(100px);
        will-change: transform;
    }
}

/* 2025 Loading Animation */
@keyframes pulse2025 {
    0%, 100% { 
        opacity: 1;
        transform: scale(1);
        will-change: transform, opacity;
    }
    50% { 
        opacity: 0.7;
        transform: scale(1.05);
        will-change: transform, opacity;
    }
}

/* Responsive hero improvements */
@media (max-width: 768px) {
    .banner-left__content {
        padding: 40px 30px;
        border-radius: 20px;
    }
    
    .banner-left__content h2 {
        font-size: clamp(2rem, 8vw, 3rem);
        margin-bottom: 20px;
    }
    
    .banner-left__content p {
        font-size: 1.1rem;
        margin-bottom: 30px;
    }
    
    .button-wrap {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }
    
    .button-wrap .btn {
        padding: 15px 25px;
        text-align: center;
    }
    
    .main-banner-img {
        transform: none;
        margin-top: 30px;
    }
    
    .hero-section, .banner-section {
        min-height: 70vh;
        padding: 80px 0 !important;
    }
}