/* Zmienne globalne */
:root {
    --bg-dark: #0a0e14;
    --text-main: #f0f4f8;
    --text-muted: #94a3b8;
    --accent-color: #4da6d8;
    --card-bg-gradient: linear-gradient(145deg, rgba(30, 41, 59, 0.4) 0%, rgba(15, 23, 42, 0.6) 100%);
    --card-border: rgba(255, 255, 255, 0.08);
}

/* Reset */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow-x: hidden;
    position: relative;
}

.about-text {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6; /* Daje ładny, czytelny odstęp między wierszami */
    text-align: center; /* Wyrównuje tekst do środka (możesz zmienić na left) */
}
/* Tło i SVG */
.bg-wrapper {
    position: absolute;
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    overflow: hidden;
}

.center-glow {
    position: absolute;
    width: 60vw; 
    height: 60vw;
    max-width: 800px;
    max-height: 800px;
    background: radial-gradient(circle, rgba(26,107,150,0.12) 0%, rgba(10,14,20,0) 60%);
    border-radius: 50%;
}

.bg-svg {
    position: absolute;
    width: 100%;
    height: 100%;
    min-width: 800px;
    opacity: 0.6;
}

/* Główny układ - Grid do równomiernego rozłożenia */
.content-wrapper {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 4rem;
    width: 100%;
    max-width: 1400px;
    padding: 2rem 5%;
}

/* Karty boczne (Glassmorphism) */
.card {
    background: var(--card-bg-gradient);
    border-top: 1px solid var(--card-border);
    border-left: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 3rem 2rem;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 15px rgba(77, 166, 216, 0.1);
}

.card-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 1.5rem;
    color: var(--accent-color);
    filter: drop-shadow(0 0 8px rgba(77, 166, 216, 0.4));
}

.card h2 {
    font-family: 'Jura', sans-serif;
    font-size: 1.3rem;
    letter-spacing: 2px;
    margin-bottom: 2rem;
    font-weight: 700;
    color: #ffffff;
}

.card ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    width: 100%;
}

.card ul li {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.5;
    position: relative;
}

/* Środkowa sekcja - Kontakt */
.contact-section {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    padding: 0 2rem;
}

.contact-section h1 {
    font-family: 'Jura', sans-serif;
    font-size: 3.5rem;
    letter-spacing: 5px;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.email {
    font-size: 2.2rem;
    color: #ffffff;
    text-decoration: none;
    font-weight: 300;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    position: relative;
}

.email:hover {
    color: var(--accent-color);
    text-shadow: 0 0 15px rgba(77, 166, 216, 0.5);
}

/* Puste divy pod przyszłe dane (zachowują strukturę) */
.additional-contact {
    min-height: 24px;
    width: 100%;
}

/* RWD - Dostosowanie do mniejszych ekranów */
@media (max-width: 1100px) {
    .content-wrapper {
        gap: 2rem;
    }
    .email {
        font-size: 1.8rem;
    }
    .contact-section h1 {
        font-size: 2.8rem;
    }
}

@media (max-width: 850px) {
    .content-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
        padding: 4rem 5%;
    }
    
    .contact-section {
        order: -1; /* Kontakt na samej górze na telefonach */
        margin-bottom: 1rem;
    }

    .card {
        max-width: 500px;
        margin: 0 auto;
        width: 100%;
    }
}
