/* Mirosław Mucha ELECTRIC - Enterprise Styles */

:root {
    --primary-orange: #ff8c00;
    --dark-bg: #0a0a0a;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.1);
    --text-main: #f4f4f4;
    --text-dim: #aaa;
}

html {
    scroll-behavior: smooth;
}

body { 
    font-family: 'Segoe UI', Roboto, Arial, sans-serif; 
    line-height: 1.6; 
    margin: 0;
    padding: 0;
    color: #f4f4f4; 
    background: linear-gradient(135deg, #1e2a38 0%, #34495e 50%, #2c3e50 100%);
    background-attachment: fixed;
    overflow-x: hidden;
}

/* --- KROK 1: ENTERPRISE NAVBAR --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 15px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 10000;
    transition: all 0.4s ease;
    box-sizing: border-box;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.navbar.scrolled {
    background: rgba(0, 0, 0, 0.9);
    padding: 10px 40px;
}

.nav-logo {
    font-weight: 900;
    font-size: 1.1rem;
    letter-spacing: 2px;
    color: #ff8c00;
    text-decoration: none;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    transition: color 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- KROK 2: HERO & CROSS-FADE CAROUSEL --- */
.hero {
    position: relative;
    height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
    color: #fff;
    background: transparent;
}

.hero-bg-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: opacity 2s ease-in-out;
    z-index: -2; /* Zdjęcia tła za wszystkim */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: -1; /* Nad zdjęciami, pod treścią */
}

.hero h1, .typewriter-container, .hero-cta {
    position: relative;
    z-index: 10;
}

.hero h1 {
    font-size: 5rem;
    font-weight: 900;
    letter-spacing: 12px;
    text-transform: uppercase;
    background: linear-gradient(to bottom, #ffffff 0%, #a1a1a1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 5px 15px rgba(0,0,0,0.8));
    position: relative;
    animation: titleSurge 12s infinite;
}

@keyframes titleSurge {
    0%, 90%, 100% { 
        filter: drop-shadow(0 5px 15px rgba(0,0,0,0.8)) blur(0px);
        transform: scale(1);
    }
    92% { 
        filter: drop-shadow(0 0 30px rgba(255, 140, 0, 0.6)) blur(1px);
        transform: scale(1.02);
    }
    94% { 
        filter: drop-shadow(0 0 10px rgba(255, 140, 0, 0.4)) blur(0.5px);
        transform: scale(1.01);
    }
}

.hero-subtitle {
    color: #ff8c00;
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 8px;
    text-transform: uppercase;
    margin-top: -5px;
    margin-right: 5px;
    opacity: 0.9;
    text-shadow: 0 0 10px rgba(255, 140, 0, 0.3);
}

.hero-line {
    width: 150px;
    height: 3px;
    /* Gradient z 'rdzeniem' światła */
    background: linear-gradient(90deg, #ff8c00, #ff8c00, #fff, #00ffcc, #00ffcc);
    background-size: 400% 100%;
    margin-top: 15px;
    border-radius: 2px;
    box-shadow: 0 0 15px rgba(255, 140, 0, 0.5);
    align-self: flex-end;
    animation: lineExpand 2s ease-out forwards, lineFlow 12s linear infinite;
}

@keyframes lineFlow {
    0% { background-position: 0% 0%; box-shadow: 0 0 15px #ff8c00; filter: brightness(1); }
    45% { filter: brightness(1.2); }
    50% { 
        background-position: 100% 0%; 
        box-shadow: 0 0 60px 10px #00ffcc; /* MEGA GLOW */
        filter: brightness(2);
    }
    55% { filter: brightness(1.2); }
    100% { background-position: 200% 0%; box-shadow: 0 0 15px #ff8c00; filter: brightness(1); }
}

@keyframes lineExpand {
    from { width: 0; opacity: 0; }
    to { width: 250px; opacity: 1; }
}

.typewriter-container {
    font-size: 1.6rem;
    color: #fff; /* Zmiana na biały dla większej elegancji */
    height: 1.6em;
    font-weight: 300;
    letter-spacing: 4px;
    text-transform: uppercase;
    opacity: 0.9;
}

.hero-cta {
    margin-top: 40px;
    padding: 15px 40px;
    background: #ff8c00;
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(255, 140, 0, 0.4);
}

/* --- CONTAINER --- */
.container { 
    max-width: 1200px; 
    margin: 20px auto; 
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 40px; 
    box-shadow: 0 15px 40px rgba(0,0,0,0.6); 
    border-radius: 24px; 
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.header, .footer, h2 { 
    text-align: center; 
    color: #fff; 
}

/* --- KROK 3: FAQ ENTERPRISE ACCORDION --- */
.faq-item {
    margin-bottom: 15px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(255, 255, 255, 0.02);
    transition: all 0.3s ease;
}

.faq-question {
    width: 100%;
    padding: 20px 25px;
    background: transparent;
    border: none;
    color: #fff !important;
    font-size: 1.1rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    box-sizing: border-box;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: rgba(255, 140, 0, 0.1) !important;
}

.faq-question::after {
    content: '+' !important;
    font-size: 1.8rem !important;
    color: #ff8c00 !important;
    transition: transform 0.3s ease;
    font-weight: bold !important;
    display: inline-block !important;
    margin-left: 20px;
}

.faq-item.active .faq-question::after {
    transform: rotate(45deg) !important;
    color: #fff !important;
}

.faq-item.active {
    border-color: rgba(255, 140, 0, 0.3);
    background: rgba(255, 140, 0, 0.05);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.6s ease-in-out;
    background: rgba(0, 0, 0, 0.2);
}

.faq-item.active .faq-answer {
    max-height: 1000px !important;
}

.faq-answer p {
    padding: 20px 25px;
    margin: 0;
    color: #ccc;
    line-height: 1.7;
}

/* --- FORM STYLES --- */
form input, form textarea {
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    color: #fff;
    border-radius: 8px;
}

form button {
    background: #ff8c00;
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
}

#additionalMap { border-radius: 15px; overflow: hidden; margin-top: 30px; }

@media (max-width: 768px) {
    .hero h1 { font-size: 2.5rem; }
    .navbar { padding: 15px 20px; }
    .nav-links { display: none; }
}
