/* 
   BitSafariX Hero Section Background Enhancement
   This CSS file adds a background image and visual enhancements to the hero section
*/

.hero {
    position: relative;
    overflow: hidden;
    background-color: #0a1929; /* Fallback color */
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/hero-background.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.95;
    z-index: 0;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 25, 41, 0.85) 0%, rgba(10, 25, 41, 0.7) 100%);
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
}

.hero-visual {
    position: relative;
    z-index: 3;
}

.network-visual .node {
    box-shadow: 0 0 15px rgba(245, 185, 65, 0.5);
}

.network-visual .connector {
    box-shadow: 0 0 10px rgba(245, 185, 65, 0.3);
}

/* Enhanced text styling */
.hero h1 {
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-description {
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
}

/* Subtle animation for network nodes */
@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.05); opacity: 0.9; }
    100% { transform: scale(1); opacity: 1; }
}

.network-visual .node {
    animation: pulse 3s infinite ease-in-out;
}

.network-visual .node-1 { animation-delay: 0s; }
.network-visual .node-2 { animation-delay: 0.5s; }
.network-visual .node-3 { animation-delay: 1s; }
.network-visual .node-4 { animation-delay: 1.5s; }

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero::before {
        background-position: 70% center;
    }
}
