/* ===========================================
   ZAAWANSOWANE OPCJE TŁA HERO - Panel Montage
   Dodatkowy plik CSS z różnymi wariantami
   =========================================== */

/* PODSTAWOWE USTAWIENIA HERO */
.hero-section {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    padding-top: 70px;
    overflow: hidden;
}

/* ===========================================
   WARIANT 1: KLASYCZNY Z PARALLAX
   =========================================== */
.hero-section.classic {
    background-image: url('../images/hala-przemyslowa.jpg');
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.hero-section.classic::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.85) 0%,
        rgba(255, 255, 255, 0.6) 50%,
        rgba(255, 255, 255, 0.3) 100%
    );
    z-index: 1;
}

/* ===========================================
   WARIANT 2: SPLIT SCREEN (50/50)
   =========================================== */
.hero-section.split-screen::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background-image: url('../images/hala-przemyslowa.jpg');
    background-size: cover;
    background-position: left center;
    background-repeat: no-repeat;
    z-index: 1;
}

.hero-section.split-screen::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
    z-index: 1;
}

.hero-section.split-screen .hero-content {
    z-index: 2;
    width: 45%;
}

/* ===========================================
   WARIANT 3: DIAGONAL SPLIT
   =========================================== */
.hero-section.diagonal::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/hala-przemyslowa.jpg');
    background-size: cover;
    background-position: center right;
    clip-path: polygon(0 0, 60% 0, 80% 100%, 0 100%);
    z-index: 1;
}

.hero-section.diagonal::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        45deg,
        rgba(255, 255, 255, 0.9) 0%,
        rgba(255, 255, 255, 0.7) 70%,
        transparent 100%
    );
    z-index: 2;
}

/* ===========================================
   WARIANT 4: ANIMATED GRADIENT OVERLAY
   =========================================== */
.hero-section.animated {
    background-image: url('../images/hala-przemyslowa.jpg');
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
}

.hero-section.animated::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        45deg,
        rgba(59, 130, 246, 0.8),
        rgba(147, 197, 253, 0.6),
        rgba(255, 255, 255, 0.4),
        rgba(59, 130, 246, 0.6)
    );
    background-size: 400% 400%;
    animation: gradientShift 8s ease-in-out infinite;
    z-index: 1;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.hero-section.animated .hero-content h1,
.hero-section.animated .hero-content p {
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* ===========================================
   WARIANT 5: GLASS MORPHISM
   =========================================== */
.hero-section.glass {
    background-image: url('../images/hala-przemyslowa.jpg');
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
}

.hero-section.glass .hero-content {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 60px 40px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    max-width: 600px;
}

.hero-section.glass .hero-content h1,
.hero-section.glass .hero-content p {
    color: #1e293b;
}

/* ===========================================
   WARIANT 6: DARK CORPORATE
   =========================================== */
.hero-section.dark-corporate {
    background-image: 
        linear-gradient(
            135deg,
            rgba(30, 41, 59, 0.9) 0%,
            rgba(30, 41, 59, 0.7) 50%,
            rgba(30, 41, 59, 0.5) 100%
        ),
        url('../images/hala-przemyslowa.jpg');
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
}

.hero-section.dark-corporate .hero-content h1,
.hero-section.dark-corporate .hero-content p {
    color: white;
}

.hero-section.dark-corporate .highlight {
    color: #60a5fa;
}

.hero-section.dark-corporate .btn-secondary {
    border-color: rgba(255, 255, 255, 0.3);
    color: white;
}

.hero-section.dark-corporate .btn-secondary:hover {
    border-color: #60a5fa;
    color: #60a5fa;
}

/* ===========================================
   WARIANT 7: MULTIPLE IMAGES SLIDESHOW
   =========================================== */
.hero-section.slideshow {
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
    animation: imageSlideshow 15s infinite;
}

@keyframes imageSlideshow {
    0%, 33% { 
        background-image: url('../images/hala-przemyslowa.jpg');
    }
    34%, 66% { 
        background-image: url('../images/hala-przemyslowa-2.jpg');
    }
    67%, 100% { 
        background-image: url('../images/hala-przemyslowa-3.jpg');
    }
}

.hero-section.slideshow::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.8) 0%,
        rgba(255, 255, 255, 0.6) 60%,
        rgba(255, 255, 255, 0.4) 100%
    );
    z-index: 1;
}

/* ===========================================
   WARIANT 8: ZOOM EFFECT
   =========================================== */
.hero-section.zoom {
    overflow: hidden;
}

.hero-section.zoom::before {
    content: '';
    position: absolute;
    top: -10%;
    left: -10%;
    width: 120%;
    height: 120%;
    background-image: url('../images/hala-przemyslowa.jpg');
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
    animation: slowZoom 20s ease-in-out infinite alternate;
    z-index: 1;
}

@keyframes slowZoom {
    0% { transform: scale(1) rotate(0deg); }
    100% { transform: scale(1.1) rotate(1deg); }
}

.hero-section.zoom::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.85) 0%,
        rgba(255, 255, 255, 0.6) 60%,
        rgba(255, 255, 255, 0.3) 100%
    );
    z-index: 2;
}

/* ===========================================
   RESPONSYWNOŚĆ
   =========================================== */
@media (max-width: 768px) {
    .hero-section.classic {
        background-attachment: scroll;
    }
    
    .hero-section.split-screen::before,
    .hero-section.split-screen::after {
        display: none;
    }
    
    .hero-section.split-screen {
        background-image: url('../images/hala-przemyslowa.jpg');
        background-size: cover;
        background-position: center;
    }
    
    .hero-section.split-screen::after {
        display: block;
        width: 100%;
        background: rgba(255, 255, 255, 0.8);
    }
    
    .hero-section.split-screen .hero-content {
        width: 100%;
        text-align: center;
    }
    
    .hero-section.diagonal::before {
        clip-path: none;
        opacity: 0.7;
    }
    
    .hero-section.glass .hero-content {
        margin: 0 15px;
        padding: 40px 30px;
    }
    
    /* Wyłącz animacje na mobile dla lepszej wydajności */
    .hero-section.animated::before {
        animation: none;
        background: rgba(59, 130, 246, 0.7);
    }
    
    .hero-section.slideshow {
        animation: none;
        background-image: url('../images/hala-przemyslowa.jpg');
    }
    
    .hero-section.zoom::before {
        animation: none;
        transform: scale(1);
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }
}

/* ===========================================
   UTILITY CLASSES
   =========================================== */

/* Zwiększ kontrast tekstu */
.hero-section.high-contrast .hero-content h1,
.hero-section.high-contrast .hero-content p {
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

/* Centruj tekst */
.hero-section.center-text .hero-content {
    text-align: center;
    max-width: 800px;
}

/* Animacja fade-in dla tekstu */
.hero-section .hero-content {
    animation: fadeInUp 1s ease-out;
}

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

/* Dodatkowe przyciski dla wariantów ciemnych */
.hero-section.dark-corporate .btn-primary,
.hero-section.animated .btn-primary {
    background: linear-gradient(135deg, #60a5fa, #3b82f6);
}

.hero-section.dark-corporate .btn-primary:hover,
.hero-section.animated .btn-primary:hover {
    background: linear-gradient(135deg, #3b82f6, #1e40af);
}