/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* GLOBAL */
body {
    font-family: Arial, Helvetica, sans-serif;
    color: #111;
    line-height: 1.6;
    background-color: #edeff2;
}

/* HEADER */
.header {
    height: 60px;
    background-color: #2f2f2f;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px;
}

.logo {
    color: white;
    font-size: 1.4rem;
}

/* MENU */
.menu {
    list-style: none;
    display: flex;
    gap: 16px;
}

.menu li{
    text-decoration: none;
    color: white;
    padding: 3px;
    background: none;
    font-weight: bolder;
    border-radius: 8px;
    transition: background 0.3s ease, transform 0.2s ease;
    display: flex;
    justify-content: center;
    align-items: center;
}
.menu a{
    text-decoration: none;
    color: white;
}

.menu a:hover {
    color: #1e40af;
    transform: translateY(-2px);
    
}
.hamburger {
  display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    margin-left: auto; /* TO SPRAWDZA, żeby był maksymalnie po prawej */
}

.hamburger div {
    width: 25px;
    height: 3px;
    background-color: white;
}

/* RESPONSYWNE – na telefonie */
@media (max-width: 768px) {
    /* ukrycie normalnego menu */
    .menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px; /* pod header */
        right: 0;
        background-color: #2f2f2f;
        width: 200px;
        padding: 10px;
        border-radius: 0 0 8px 8px;
        z-index: 1000;
    }

    /* pokazujemy menu po kliknięciu */
    .menu.active {
        display: flex;
    }

    /* pokazujemy hamburger */
    .hamburger {
        display: flex;
    }
}

/* HERO */
.hero {
    min-height: calc(100vh - 60px);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
    
    
}

.hero-content {
    display: flex;
    gap: 40px;
    align-items: center;
    max-width: 1000px;
    background-color: #ffffff;
    padding: 15px;
    border-radius: 20px;
}


/* PHOTO */
.photo {
    height: 380px;
    border-radius: 12px;
    object-fit: cover;
}

/* NAME */
.name {
    font-size: 3rem;
    font-weight: bold;
}

.name span {
    font-size: 1.5rem;
    color: #2563eb;
}

/* ABOUT */
.about {
    padding: 80px 20px;
    max-width: 1000px;
    margin: 0 auto;

    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 30px;
    flex-wrap: wrap;
    min-height: calc(100vh - 60px);
}
.about p{
    font-size: 20px;
}

.about > div {
    width: 80%;
    min-height: 100%;
    max-width: 500px;
    background-color: #ffffff;
    border-radius: 18px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}


.about h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.zapisy{
    display: flex;
    flex-direction: column;
    gap: 20px;


}
.uwizyta{
    text-decoration: none;
    color: white;
    padding: 8px;
    background: #2563eb;
    border-radius: 8px;
    transition: background 0.3s ease, transform 0.2s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: fit-content;


}
.uwizyta a:hover{
        background: #1e40af;
    transform: translateY(-2px);
}
.uwizyta a{
    text-decoration: none;
    color: white;
}
.footer {
    background-color: #2f2f2f;
    color: white;
    padding: 40px 20px 20px 20px;
    font-family: Arial, sans-serif;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    max-width: 1000px;
    margin: 0 auto;
    gap: 30px;
}

.footer-section {
    flex: 1;
    min-width: 200px;
}

.footer-section h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    
}

.footer-section a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: #1e40af;
}

.footer-bottom {
    text-align: center;
    margin-top: 30px;
    border-top: 1px solid #444;
    padding-top: 20px;
    font-size: 0.9rem;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}


/* RESPONSIVE */
@media (max-width: 768px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
    }

    .photo {
        height: 280px;
    }

    .name {
        font-size: 2.2rem;
    }
}