/* Background Utilities */
.bg-pattern {
    position: relative;
    overflow: hidden;
}

.bg-pattern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiPjxkZWZzPjxwYXR0ZXJuIGlkPSJwYXR0ZXJuIiB3aWR0aD0iNDAiIGhlaWdodD0iNDAiIHBhdHRlcm5Vbml0cz0idXNlclNwYWNlT25Vc2UiIHBhdHRlcm5UcmFuc2Zvcm09InJvdGF0ZSg0NSkiPjxyZWN0IHdpZHRoPSIyMCIgaGVpZ2h0PSIyMCIgZmlsbD0icmdiYSgyNTUsMjU1LDI1NSwwLjA1KSIvPjwvcGF0dGVybj48L2RlZnM+PHJlY3QgZmlsbD0idXJsKCNwYXR0ZXJuKSIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIvPjwvc3ZnPg==');
    opacity: 0.3;
    pointer-events: none;
    z-index: 0;
}

/* Hero Backgrounds */
.bg-hero {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    overflow: hidden;
}

.bg-hero-primary {
    background: linear-gradient(rgba(26, 54, 93, 0.85), rgba(18, 44, 77, 0.9));
}

.bg-hero-secondary {
    background: linear-gradient(rgba(255, 107, 53, 0.9), rgba(230, 90, 43, 0.95));
}

/* Section Backgrounds */
.bg-section-light {
    background-color: var(--color-light);
    position: relative;
}

.bg-section-dark {
    background-color: var(--color-primary);
    color: white;
    position: relative;
}

/* Parallax Backgrounds */
.bg-parallax {
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    position: relative;
}

/* Background Images */
.bg-professional {
    background-image: url('../images/backgrounds/professional.webp');
}

.bg-photography {
    background-image: url('../images/backgrounds/photography.jpg');
}

.bg-photography-bw {
    background-image: url('../images/backgrounds/photography-bw.jpeg');
}

.bg-studio {
    background-image: url('../images/backgrounds/studio-recording-session.webp');
}

.bg-video-event {
    background-image: url('../images/backgrounds/video-camera-recording-event.jpg');
}

.bg-video-rig {
    background-image: url('../images/backgrounds/video-camera-rig.jpg');
}

/* Overlay Utilities */
.bg-overlay {
    position: relative;
}

.bg-overlay::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.bg-overlay-dark::before {
    background: rgba(0, 0, 0, 0.6);
}

.bg-overlay-primary::before {
    background: rgba(26, 54, 93, 0.85);
}

.bg-overlay-secondary::before {
    background: rgba(255, 107, 53, 0.9);
}

.bg-overlay-light::before {
    background: rgba(255, 255, 255, 0.9);
}

/* Content Wrapper */
.bg-content {
    position: relative;
    z-index: 1;
}

/* Glass Morphism Effect */
.glass-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0.75rem;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

/* Responsive Adjustments */
@media (max-width: 767.98px) {
    .bg-parallax {
        background-attachment: scroll;
    }
    
    .bg-overlay-mobile-dark::before {
        background: rgba(0, 0, 0, 0.6);
    }
    
    .bg-overlay-mobile-light::before {
        background: rgba(255, 255, 255, 0.9);
    }
}
