/* Background Image Styles for שלומי וסתם */

/* Hero Section with Background Image */
.hero-with-image {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Background Image */
.hero-background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
        height: 100%;
    background: linear-gradient(135deg, #6BB7FF 0%, #8A2BE2 50%, #FF6B6B 100%);
    background-image: url('../assets/images/background/שלומי וסתם.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

/* Overlay for better text readability */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.38); /* Slightly stronger for readability */
    z-index: 2;
}

/* Content positioning */
.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: white;
    padding: 0 1rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-with-image { min-height: 72vh; height: auto; }
    .hero-background-image {
        background-position: center center;
        background-size: cover;
    }
    .hero-animated-shapes { display: none !important; }
}

@media (min-width: 769px) {
    .hero-background-image {
        background-size: 60% auto;
    }
}

/* Fallback gradient if image fails to load */
.hero-fallback {
    background: linear-gradient(135deg, #6BB7FF 0%, #8A2BE2 50%, #FF6B6B 100%);
}

/* Animation for background image */
@keyframes background-fade-in {
    from {
        opacity: 0;
        transform: scale(1.1);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.hero-background-image {
    animation: background-fade-in 1.5s ease-out;
}

/* Loading state */
.hero-loading {
    background: linear-gradient(135deg, #6BB7FF 0%, #8A2BE2 50%, #FF6B6B 100%);
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .hero-overlay {
        background: rgba(0, 0, 0, 0.5);
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .hero-background-image {
        animation: none;
    }
} 