/**
 * Slider Revolution Demo Style
 * Exact replica of the Slider Revolution WordPress Hero Image demo
 */

/* ==========================================================================
   Hero Section - Slider Revolution Demo Style
   ========================================================================== */
.hero-section.slider-revolution-style {
    min-height: 100vh !important;
    background: #000000 !important;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Background Wrapper */
.hero-background-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* Main Background - Digital Brain Network */
.hero-background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/hero-preview.jpg') no-repeat center center;
    background-size: cover;
    opacity: 0.15;
    z-index: 1;
}

/* Alternative: Use the brain as centered element */
.digital-network-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: url('../images/hero-preview.jpg') no-repeat center center;
    background-size: contain;
    opacity: 0.3;
    z-index: 2;
    animation: pulse-glow 4s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% {
        opacity: 0.3;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 0.5;
        transform: translate(-50%, -50%) scale(1.05);
    }
}

/* Gradient Circles from Demo */
.gradient-circle {
    position: absolute;
    z-index: 3;
    animation: float-smooth 10s ease-in-out infinite;
}

.gradient-circle.top-left {
    top: -150px;
    left: -150px;
    width: 400px;
    height: 400px;
}

.gradient-circle.bottom-right {
    bottom: -150px;
    right: -150px;
    width: 450px;
    height: 450px;
    animation-delay: -5s;
}

.gradient-circle img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0.8;
    filter: blur(80px);
}

@keyframes float-smooth {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    25% {
        transform: translate(20px, -30px) scale(1.1);
    }
    50% {
        transform: translate(-20px, 20px) scale(0.95);
    }
    75% {
        transform: translate(30px, 10px) scale(1.05);
    }
}

/* Hero Content */
.hero-section.slider-revolution-style .hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 0 20px;
    max-width: 900px;
    margin: 0 auto;
}

/* Hero Title - Matter of Meaning Style */
.hero-section.slider-revolution-style .hero-title {
    font-size: clamp(3.5rem, 10vw, 7rem) !important;
    font-weight: 300 !important;
    color: #ffffff !important;
    margin-bottom: 30px !important;
    letter-spacing: -3px;
    line-height: 0.9 !important;
    text-shadow: 0 0 40px rgba(255, 255, 255, 0.1);
}

.hero-section.slider-revolution-style .hero-title span {
    font-weight: 100;
    display: block;
    margin-bottom: 10px;
}

/* Hero Subtitle */
.hero-section.slider-revolution-style .hero-subtitle {
    font-size: 1.25rem !important;
    color: rgba(255, 255, 255, 0.7) !important;
    max-width: 600px;
    margin: 0 auto 50px;
    font-weight: 300 !important;
    line-height: 1.6;
    letter-spacing: 0.5px;
}

/* Buttons - Demo Style */
.hero-section.slider-revolution-style .btn {
    padding: 15px 40px !important;
    font-size: 0.9rem !important;
    font-weight: 500 !important;
    border-radius: 30px !important;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.3s ease;
    margin: 0 10px;
}

.hero-section.slider-revolution-style .btn-primary {
    background: #feca57 !important;
    border: none !important;
    color: #000000 !important;
    box-shadow: 0 0 30px rgba(254, 202, 87, 0.3);
}

.hero-section.slider-revolution-style .btn-primary:hover {
    background: #ffdb4d !important;
    transform: translateY(-3px);
    box-shadow: 0 10px 40px rgba(254, 202, 87, 0.5);
}

.hero-section.slider-revolution-style .btn-secondary {
    background: transparent !important;
    border: 2px solid rgba(255, 255, 255, 0.3) !important;
    color: white !important;
}

.hero-section.slider-revolution-style .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    border-color: rgba(255, 255, 255, 0.5) !important;
    transform: translateY(-3px);
}

/* Particles for Demo Style */
.hero-section.slider-revolution-style #particles-js {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 4;
    opacity: 0.3;
}

/* Animated Dots Pattern */
.hero-section.slider-revolution-style::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(254, 202, 87, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(0, 255, 255, 0.1) 0%, transparent 50%);
    z-index: 2;
    animation: dots-move 20s linear infinite;
}

@keyframes dots-move {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(-50px, -50px);
    }
}

/* Header adjustments for demo */
.site-header {
    background: rgba(0, 0, 0, 0.95) !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.site-header .site-title,
.site-header .site-title a {
    color: #ffffff !important;
}

.site-header .main-navigation a {
    color: rgba(255, 255, 255, 0.8) !important;
}

.site-header .main-navigation a:hover {
    color: #feca57 !important;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .digital-network-overlay {
        width: 400px;
        height: 400px;
    }

    .gradient-circle.top-left {
        width: 300px;
        height: 300px;
        top: -100px;
        left: -100px;
    }

    .gradient-circle.bottom-right {
        width: 350px;
        height: 350px;
        bottom: -100px;
        right: -100px;
    }

    .hero-section.slider-revolution-style .hero-title {
        font-size: 3rem !important;
    }

    .hero-section.slider-revolution-style .hero-subtitle {
        font-size: 1rem !important;
    }

    .hero-section.slider-revolution-style .btn {
        display: block;
        width: 200px;
        margin: 10px auto;
    }
}

/* Animation Classes */
.animate-fade-in {
    animation: fadeInUp 1s ease-out;
}

.animate-fade-in-delay {
    animation: fadeInUp 1s ease-out 0.3s both;
}

.animate-fade-in-delay-2 {
    animation: fadeInUp 1s ease-out 0.6s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}