/* Valley Bike Service - Holographic Logo Effects */

.valley-logo {
    display: inline-block;
    position: relative;
    transition: all 0.3s ease;
}

.valley-logo img {
    transition: all 0.3s ease;
    filter: drop-shadow(0 0 10px rgba(0, 123, 255, 0.3));
}

/* Holographic Effect */
.valley-logo-holographic {
    position: relative;
    display: inline-block;
    animation: holographic-glow 3s ease-in-out infinite alternate;
}

/* Fix for animation issues */
@keyframes holographic-glow {
    0% {
        filter: drop-shadow(0 0 10px rgba(37, 99, 235, 0.3));
    }
    100% {
        filter: drop-shadow(0 0 20px rgba(37, 99, 235, 0.5));
    }
}

.valley-logo-holographic::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: linear-gradient(45deg, 
        #ff006e, #fb5607, #ffbe0b, #8338ec, #3a86ff, #06ffa5, #ff006e);
    background-size: 300% 300%;
    border-radius: 15px;
    z-index: -1;
    animation: holographic-rainbow 4s ease infinite;
    opacity: 0.7;
    filter: blur(8px);
}

.valley-logo-holographic::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, 
        rgba(255, 255, 255, 0.1), 
        rgba(0, 123, 255, 0.2), 
        rgba(255, 255, 255, 0.1));
    border-radius: 12px;
    z-index: 1;
    animation: holographic-shimmer 2s ease-in-out infinite;
    pointer-events: none;
}

.valley-logo-holographic img {
    position: relative;
    z-index: 2;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.valley-logo-holographic:hover {
    transform: scale(1.05) rotateY(5deg);
}

.valley-logo-holographic:hover::before {
    opacity: 1;
    filter: blur(12px);
    animation-duration: 2s;
}

.valley-logo-holographic:hover img {
    filter: brightness(1.1) contrast(1.1) drop-shadow(0 0 20px rgba(0, 123, 255, 0.5));
}

/* Animations */
@keyframes holographic-glow {
    0% {
        filter: drop-shadow(0 0 5px rgba(0, 123, 255, 0.3));
    }
    50% {
        filter: drop-shadow(0 0 15px rgba(255, 0, 110, 0.4)) drop-shadow(0 0 25px rgba(0, 255, 165, 0.3));
    }
    100% {
        filter: drop-shadow(0 0 10px rgba(131, 56, 236, 0.4));
    }
}

@keyframes holographic-rainbow {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes holographic-shimmer {
    0% {
        opacity: 0.3;
        transform: translateX(-100%);
    }
    50% {
        opacity: 0.8;
        transform: translateX(0%);
    }
    100% {
        opacity: 0.3;
        transform: translateX(100%);
    }
}

/* Header Logo Styles */
.navbar-brand .valley-logo {
    height: 35px;
    width: auto;
}

.navbar-brand .valley-logo img {
    height: 100%;
    width: auto;
    object-fit: contain;
}

/* Large Logo for Auth Pages */
.auth-logo {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-logo .valley-logo {
    height: 120px;
    width: auto;
}

.auth-logo .valley-logo img {
    height: 100%;
    width: auto;
    object-fit: contain;
}

/* Footer Logo */
.footer-logo .valley-logo {
    height: 80px;
    width: auto;
}

.footer-logo .valley-logo img {
    height: 100%;
    width: auto;
    object-fit: contain;
    filter: brightness(0.9);
}

/* Hero Section with Background Logo */
.hero-section {
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.1), rgba(131, 56, 236, 0.1)),
                url('/static/images/valley-bike-hero.png') center/cover no-repeat;
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: white;
    text-align: center;
}

/* Floating Logo Animation */
.floating-logo {
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar-brand .valley-logo {
        height: 40px;
    }
    
    .auth-logo .valley-logo {
        height: 80px;
    }
    
    .footer-logo .valley-logo {
        height: 60px;
    }
}

/* Special Effects for Admin Sections */
.admin-logo-effect {
    position: relative;
    display: inline-block;
}

.admin-logo-effect::before {
    content: '👑';
    position: absolute;
    top: -10px;
    right: -10px;
    font-size: 20px;
    animation: crown-glow 2s ease-in-out infinite;
    z-index: 3;
}

@keyframes crown-glow {
    0%, 100% {
        opacity: 0.7;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.2);
    }
}