/* --- Reset i podstawowe style --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: radial-gradient(circle at top, #0f0f1a, #050510);
    color: white;
    overflow-x: hidden;
    min-height: 100vh;
}

/* Glow background */
body::before {
    content: "";
    position: fixed;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, #00f0ff33, transparent 70%);
    top: -200px;
    left: -200px;
    z-index: -1;
}

header {
    text-align: center;
    padding: 80px 20px 40px 20px;
}

header h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 48px;
    background: linear-gradient(90deg, #00f0ff, #ff00d4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

header p {
    opacity: 0.7;
    margin-top: 10px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* --- Container info cards --- */
.container-info {
    max-width: 1100px;
    margin: auto;
    padding: 40px 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

/* --- Info cards --- */
.info-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 30px;
    border-radius: 20px;
    backdrop-filter: blur(15px);
    transition: 0.4s ease;
    position: relative;
    overflow: hidden;
}

.info-card::before {
    content: "";
    position: absolute;
    width: 200%;
    height: 200%;
    background: linear-gradient(120deg, transparent, #00f0ff33, transparent);
    transform: rotate(25deg);
    top: -150%;
    left: -150%;
    transition: 0.7s;
}

.info-card:hover::before {
    top: 100%;
    left: 100%;
}

.info-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 30px #00f0ff33;
}

.info-card h2 {
    font-family: 'Orbitron', sans-serif;
    margin-bottom: 15px;
}

.info-card p {
    opacity: 0.8;
    font-size: 14px;
}

/* --- Footer --- */
footer {
    text-align: center;
    padding: 40px 20px;
    opacity: 0.6;
    font-size: 14px;
}
/* Wyśrodkowanie całego formularza w karcie */
.contact-form {
    display: flex;
    flex-direction: column;     /* ustawiamy kolumnę (pola jedno pod drugim) */
    align-items: center;        /* poziome wyśrodkowanie pól */
    gap: 15px;                  /* odstęp między polami */
    width: 100%;
    max-width: 400px;           /* opcjonalnie ograniczenie szerokości */
    margin: 0 auto;             /* wyśrodkowanie w karcie */
    padding: 15px;
}

/* Pola input i textarea */
.contact-form input,
.contact-form textarea {
    width: 100%;                /* wypełniają całą szerokość formularza */
    padding: 12px;
    font-size: 14px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.05);
    color: white;
    outline: none;
    resize: vertical;
    transition: 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #00f0ff;
    box-shadow: 0 0 15px #00f0ff33;
}

/* Przycisk Wyślij */
.submit-btn {
    padding: 12px 20px;
    font-weight: 600;
    font-family: 'Orbitron', sans-serif;
    color: white;
    background: linear-gradient(90deg, #00f0ff, #ff00d4);
    border: none;
    border-radius: 15px;
    cursor: pointer;
    transition: 0.3s ease;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 20px #00f0ff33;
}

/* --- Resposywnosc --- */

@media (max-width: 768px) {
    header h1 {
        font-size: 36px;
    }
    header p {
        font-size: 14px;
    }
    .info-card {
        padding: 20px;
    }
    .info-card p {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    header h1 {
        font-size: 28px;
    }
    header p {
        font-size: 12px;
    }
    .container-info {
        padding: 20px 10px;
        gap: 20px;
    }
    .info-card {
        padding: 15px;
        border-radius: 16px;
    }
    .info-card h2 {
        font-size: 16px;
    }
    .info-card p {
        font-size: 12px;
    }
    body::before {
        width: 400px;
        height: 400px;
        top: -100px;
        left: -100px;
    }
}