/* ========== Strona O nas ========== */

/* Hero sekcja powitalna */
.about-hero {
    text-align: center;
    padding: 48px 32px 40px;
    margin-bottom: 32px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.12) 0%, rgba(139, 92, 246, 0.08) 100%);
    border-radius: 24px;
    border: 1px solid rgba(99, 102, 241, 0.15);
    position: relative;
    overflow: hidden;
}
.about-hero::before {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, transparent 70%);
    border-radius: 50%;
}
.about-hero-icon {
    margin-bottom: 16px;
    line-height: 1;
    display: flex;
    justify-content: center;
}
.about-hero-logo {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 30px;
    border: 2px solid rgba(99, 102, 241, 0.3);
    box-shadow: 0 0 24px rgba(99, 102, 241, 0.35), 0 8px 24px rgba(0, 0, 0, 0.2);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.about-hero-logo:hover {
    transform: scale(1.06);
    box-shadow: 0 0 32px rgba(99, 102, 241, 0.5), 0 12px 32px rgba(0, 0, 0, 0.25);
}
body:not(.dark-mode) .about-hero-logo {
    border-color: rgba(79, 70, 229, 0.2);
    box-shadow: 0 0 20px rgba(79, 70, 229, 0.2), 0 8px 20px rgba(0, 0, 0, 0.1);
}
.about-hero-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text);
    margin: 0 0 16px;
}
.about-hero-text {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.8;
    max-width: 700px;
    margin: 0 auto;
}
.about-hero-text strong {
    color: var(--accent-light);
}

/* Sekcje O nas */
.about-section {
    margin-bottom: 40px;
}
.about-section-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
}
.about-section-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--accent) 0%, #7c3aed 100%);
    color: #fff;
    font-size: 1.25rem;
    flex-shrink: 0;
    box-shadow: 0 4px 14px rgba(99, 102, 241, 0.35);
}
.about-section-header h2 {
    color: var(--text);
    font-size: 1.6rem;
    margin: 0;
}
.about-section-desc {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 24px;
}
.about-section-desc strong {
    color: var(--accent-light);
}

/* Karty "Nasze produkty" */
.about-cards-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}
.about-card {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 28px 24px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.about-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(99, 102, 241, 0.15);
}
.about-card-icon {
    font-size: 2rem;
    color: var(--accent);
    margin-bottom: 14px;
    filter: drop-shadow(0 0 8px rgba(99, 102, 241, 0.3));
}
.about-card h3 {
    color: var(--text);
    font-size: 1.2rem;
    margin: 0 0 10px;
}
.about-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* Cechy filamentu ABS */
.about-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 18px;
}
.about-feature {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.about-feature:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.12);
}
.about-feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.15) 0%, rgba(139, 92, 246, 0.1) 100%);
    color: var(--accent);
    font-size: 1.15rem;
    flex-shrink: 0;
}
.about-feature h4 {
    color: var(--text);
    font-size: 1.05rem;
    margin: 0 0 6px;
}
.about-feature p {
    color: var(--text-muted);
    font-size: 0.93rem;
    line-height: 1.55;
    margin: 0;
}

/* Wideo */
.about-video-wrapper {
    max-width: 800px;
    margin: 0 auto;
}
.about-video {
    width: 100%;
    border-radius: 18px;
    border: 2px solid var(--border);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    background: #000;
}
.about-video-caption {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 12px;
    font-style: italic;
}
.about-video-caption i {
    margin-right: 6px;
    color: var(--accent);
}

/* Galeria */
.about-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
}
.about-gallery-item {
    border-radius: 16px;
    overflow: hidden;
    border: 2px solid var(--border);
    background: var(--bg-surface);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}
.about-gallery-item:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 28px rgba(99, 102, 241, 0.2);
}
.about-gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}
.about-gallery-item img.zoomed {
    transform: scale(1.3);
}

/* CTA na dole strony O nas */
.about-cta {
    text-align: center;
    padding: 48px 32px;
    margin-top: 20px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.06) 100%);
    border-radius: 24px;
    border: 1px solid rgba(99, 102, 241, 0.12);
}
.about-cta h2 {
    color: var(--text);
    font-size: 1.8rem;
    margin: 0 0 12px;
}
.about-cta-logo {
    width: 36px;
    height: 36px;
    object-fit: cover;
    border-radius: 10px;
    vertical-align: middle;
    margin-right: 8px;
    box-shadow: 0 0 10px rgba(99, 102, 241, 0.3);
}
.about-cta p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin: 0 0 24px;
}

/* Tryb jasny — O nas */
body:not(.dark-mode) .about-hero {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.08) 0%, rgba(249, 115, 22, 0.05) 100%);
    border-color: rgba(0, 0, 0, 0.06);
}
body:not(.dark-mode) .about-hero-title {
    color: #1e293b;
}
body:not(.dark-mode) .about-hero-text {
    color: #475569;
}
body:not(.dark-mode) .about-section-header h2 {
    color: #1e293b;
}
body:not(.dark-mode) .about-video-caption {
    color: #475569;
}
body:not(.dark-mode) .about-video-caption i {
    color: #4f46e5;
}
body:not(.dark-mode) .about-hero-text strong {
    color: #4f46e5;
}
body:not(.dark-mode) .about-card {
    background: #fff;
    border-color: rgba(0, 0, 0, 0.06);
}
body:not(.dark-mode) .about-card h3 {
    color: #1e293b;
}
body:not(.dark-mode) .about-card p {
    color: #64748b;
}
body:not(.dark-mode) .about-feature {
    background: #fff;
    border-color: rgba(0, 0, 0, 0.06);
}
body:not(.dark-mode) .about-feature h4 {
    color: #1e293b;
}
body:not(.dark-mode) .about-feature p {
    color: #64748b;
}
body:not(.dark-mode) .about-section-desc {
    color: #475569;
}
body:not(.dark-mode) .about-section-desc strong {
    color: #4f46e5;
}
body:not(.dark-mode) .about-gallery-item {
    border-color: rgba(0, 0, 0, 0.06);
    background: #fff;
}
body:not(.dark-mode) .about-cta {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.06) 0%, rgba(249, 115, 22, 0.04) 100%);
    border-color: rgba(0, 0, 0, 0.06);
}
body:not(.dark-mode) .about-cta h2 {
    color: #1e293b;
}
body:not(.dark-mode) .about-cta p {
    color: #475569;
}

/* Responsive — O nas */
@media (max-width: 768px) {
    .about-hero {
        padding: 32px 20px;
    }
    .about-hero-title {
        font-size: 1.5rem;
    }
    .about-hero-text {
        font-size: 1rem;
    }
    .about-section-header h2 {
        font-size: 1.3rem;
    }
    .about-features {
        grid-template-columns: 1fr;
    }
    .about-cards-row {
        grid-template-columns: 1fr;
    }
    .about-gallery {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 12px;
    }
    .about-gallery-item img {
        height: 150px;
    }
    .about-cta {
        padding: 32px 20px;
    }
    .about-cta h2 {
        font-size: 1.4rem;
    }
}
