* {
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #000;
    color: white;
}

/* HEADER */
header {
    background-color: #F75DB1;
    padding: 8px 30px;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
}

/* LOGO */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-right: auto;
    flex-shrink: 0; /* Zapobieganie zmniejszaniu logo */
}

.logo-img {
    height: 30px;
    width: auto;
}

.logo h1 {
    margin: 0;
    font-size: 24px;
    color: #D9D9D9; /* Szary tekst EST */
}

/* MENU */
nav ul {
    list-style: none;
    display: flex;
    gap: 40px;
    margin: 0;
    padding: 0 10px;
    flex-wrap: wrap; /* Dodanie możliwości łamania na mniejsze ekrany */
}

nav ul li a {
    text-decoration: none;
    color: #D9D9D9;
    font-weight: normal;
    font-size: 18px;
    transition: all 0.3s ease;
}

nav ul li a:hover {
    color: black;
    font-weight: bold;
    transform: scale(1.1);
}

/* ODSTĘP PO HEADERZE */
.header-spacer {
    height: 250px; /* regulowany dystans od headera */
}

/* SEKCJE */

#home.section {
    padding-top: 25px; /* domyślnie było 40px, więc zwiększamy */
}

.section {
    min-height: 70vh;
    margin: 80px auto;
    max-width: 900px;
    background-color: #F75DB1;
    border-radius: 20px;
    padding: 30px 30px 20px 30px;  /* Zmniejszenie odstępu na górze (padding-top) i na dole (padding-bottom) */
    color: black;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;  /* Wyrównanie zawartości do góry */
    align-items: center;
    text-align: center;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.05);
}


.section h2 {
    font-size: 32px;
    margin-bottom: 40px; /* było 20px – więcej przestrzeni nad tekstem */
}

.section p {
    font-size: 20px;
    max-width: 700px;
    margin: 0 auto 40px auto; /* więcej miejsca pod tekstem */
    line-height: 1.6;
}

/* KONTAKT – CENTER BUTTON */
#contact {
    display: flex;
    justify-content: center;
    align-items: center; /* Wyrównanie przycisku na środku */
}

button {
    margin-top: 30px;
    padding: 12px 24px;
    background-color: black;
    color: #F75DB1;
    font-weight: bold;
    border: 2px solid #F75DB1;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    max-width: 250px;
    text-align: center;
}

button:hover {
    background-color: #D9D9D9;
    color: black;
    transform: scale(1.05);
    font-size: 17px;
}

button:focus {
    outline: 3px solid #F75DB1; /* Stylizacja focus dla dostępności */
}

#successMsg {
    margin-top: 12px;
    font-size: 16px;
    color: green;
}

footer {
    text-align: center;
    padding: 20px;
    background-color: #000;
    color: #D9D9D9;
}
