/**
 * Smart Frame Styles for Hero Slider Images
 */

/* Hero Image Frame Container */
.hero-image-frame {
    position: relative;
    display: inline-block;
    padding: 20px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    border-radius: 30px;
    backdrop-filter: blur(10px);
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.3),
        inset 0 0 0 1px rgba(255, 255, 255, 0.2);
    animation: float 6s ease-in-out infinite;
}

/* Orange Frame Variant */
.hero-image-frame.orange-frame {
    background: linear-gradient(135deg, rgba(255, 90, 0, 0.15), rgba(255, 122, 48, 0.1));
    box-shadow: 
        0 20px 60px rgba(255, 90, 0, 0.4),
        inset 0 0 0 1px rgba(255, 255, 255, 0.3);
}

/* Hero Image */
.hero-image {
    max-width: 500px;
    width: 100%;
    height: auto;
    border-radius: 20px;
    display: block;
    position: relative;
    z-index: 1;
}

/* Decorative Elements */
.hero-image-frame::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent);
    border-radius: 35px;
    z-index: -1;
    opacity: 0.5;
}

.hero-image-frame::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    z-index: -2;
    animation: pulse 4s ease-in-out infinite;
}

/* Orange Frame Decorative Elements */
.hero-image-frame.orange-frame::after {
    background: radial-gradient(circle, rgba(255, 90, 0, 0.2) 0%, transparent 70%);
}

/* Floating Animation */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* Pulse Animation */
@keyframes pulse {
    0%, 100% {
        opacity: 0.5;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 0.8;
        transform: translate(-50%, -50%) scale(1.1);
    }
}

/* Glow Effect on Hover */
.hero-image-frame:hover {
    box-shadow: 
        0 25px 70px rgba(0, 0, 0, 0.4),
        inset 0 0 0 1px rgba(255, 255, 255, 0.3),
        0 0 40px rgba(255, 255, 255, 0.2);
}

.hero-image-frame.orange-frame:hover {
    box-shadow: 
        0 25px 70px rgba(255, 90, 0, 0.5),
        inset 0 0 0 1px rgba(255, 255, 255, 0.4),
        0 0 40px rgba(255, 90, 0, 0.3);
}

/* Mobile Responsive */
@media (max-width: 991.98px) {
    .hero-image-frame {
        padding: 15px;
        border-radius: 20px;
    }
    
    .hero-image {
        max-width: 100%;
        border-radius: 15px;
    }
    
    .hero-image-frame::before {
        border-radius: 25px;
    }
}

@media (max-width: 767.98px) {
    .hero-image-frame {
        padding: 10px;
        border-radius: 15px;
    }
    
    .hero-image {
        border-radius: 10px;
    }
}
