/* ========================= */
/* GLOBALNE USTAWIENIA STRONY */
/* ========================= */

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    color: white;
}

/* ========================= */
/* NAWIGACJA */
/* ========================= */

/* ================= NAVBAR ================= */

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #222;
    padding: 15px 20px;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    color: #ff9800;
    font-size: 20px;
    font-weight: bold;
}

.nav-list {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
}

.nav-list li a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: 0.3s;
}

.nav-list li a:hover {
    color: #ff9800;
}

/* ===== Hamburger ===== */

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    height: 3px;
    width: 25px;
    background-color: white;
    margin: 4px 0;
    transition: 0.4s;
}

/* ===== Mobile ===== */

@media (max-width: 768px) {

    .menu-toggle {
        display: flex;
    }

    .nav-list {
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background: #222;
        flex-direction: column;
        align-items: center;
        display: none;
        padding: 20px 0;
    }

    .nav-list.active {
        display: flex;
    }

    .nav-list li {
        margin: 10px 0;
    }
}

/* ========================= */
/* HEADER */
/* ========================= */

header {
    text-align: center;
    padding: 60px 20px;
}

header h1 {
    font-size: 42px;
    margin-bottom: 20px;
}

header p {
    font-size: 18px;
}

/* ========================= */
/* PRZYCISKI */
/* ========================= */

button {
    background-color: #ff9800;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 10px;
    cursor: pointer;
    color: white;
    transition: 0.3s;
}

button:hover {
    background-color: #e68900;
}

/* ========================= */
/* SEKCJE */
/* ========================= */

section {
    padding: 50px 20px;
    max-width: 1000px;
    margin: 0 auto;
}

/* ========================= */
/* FOOTER */
/* ========================= */

footer {
    text-align: center;
    font-weight: bold;
    padding: 25px 20px;
    background-color: rgba(0,0,0,0.8);
    font-size: 14px;
    margin-top: 40px;
}

footer a {
    color: #ff9800;
    text-decoration: none;
    transition: 0.3s;
}

footer a:hover {
    color: #e68a00;
    text-decoration: underline;
}

/* ========================= */
/* RESPONSYWNOŚĆ */
/* ========================= */

@media (max-width: 600px) {
    header h1 {
        font-size: 30px;
    }
}
/* ========================= */
/* STRONA GLOWNA */
/* ========================= */
.index_h1{
    color: #ff9800;
}

/* ========================= */
/* STRONA O MNIE */
/* ========================= */

.about_me_h1 {
    color: #ff9800;
}

.about {
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-card {
    max-width: 700px;
    background: rgba(255,255,255,0.08);
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    line-height: 1.6;
    box-shadow: 0 0 20px rgba(0,0,0,0.4);
    transition: 0.3s;
}

.about-card h2 {
    color: #ff9800;
}

/* ========================= */
/* KONTAKT W O MNIE */
/* ========================= */

.contact-card h2 {
    text-align: center;
    color: #ff9800;
}

/* ========================= */
/* STRONA KONTAKT */
/* ========================= */


.contact-page {
    display: flex;
    justify-content: center;
    padding: 50px 20px;
}

.contact-card {
    background: rgba(255,255,255,0.08);
    padding: 40px;
    border-radius: 20px;
    width: 100%;
    max-width: 600px;
    box-shadow: 0 0 25px rgba(0,0,0,0.4);
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    background: rgba(255,255,255,0.05);
    border-radius: 12px;
    transition: background 0.3s, transform 0.2s;
    text-decoration: none;
    color: white;
}

.contact-item:hover {
    background: rgba(255,255,255,0.12);
    transform: scale(1.02);
}

.contact-item .icon {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-item .icon svg {
    width: 100%;
    height: 100%;
    fill: white;
}

.contact-item p {
    margin: 0;
    font-size: 16px;
    color: white;
}

/* RESPONSYWNOŚĆ */
@media (max-width: 480px) {
    .contact-card {
        padding: 30px 15px;
    }

    .contact-item {
        flex-direction: row;
        gap: 10px;
    }

    .contact-item p {
        font-size: 14px;
    }
}


/* ========================= */
/* STRONA POLITYKA PRYWATNOSCI */
/* ========================= */
.privacy-section {
    background: rgba(255, 255, 255, 0.08);
    padding: 30px 40px;
    border-radius: 15px;
    max-width: 900px;
    margin: 30px auto;
    line-height: 1.7;
    box-shadow: 0 0 20px rgba(0,0,0,0.4);
}

.privacy-section h2 {
    color: #ff9800;
    margin-top: 25px;
    margin-bottom: 15px;
    font-size: 22px;
}

.privacy-section p, .privacy-section li {
    color: #ffffff;
    font-size: 16px;
}

.privacy-section ul {
    padding-left: 20px;
}

.privacy-section a {
    color: #ff9800;
    text-decoration: none;
    transition: 0.3s;
}

.privacy-section a:hover {
    color: #e68900;
    text-decoration: underline;
}

@media (max-width: 768px) {
    .privacy-section {
        padding: 20px;
    }
}