@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;700&display=swap');

:root {
    color-scheme: only light;
}

body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    color: #FFF;
    background-color: #121b7f;
    overflow-x: hidden;
    box-sizing: content-box;
}

a {
    color: white;
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
}

a:hover {
    color: #121b7f;
    background-color: white;
}

.navbar {
    font-size: 24pt;
    background-color: black;
    width: 40%;
    height: 100px;
    margin: 0 auto;
    border-radius: 0 0 30px 30px;
    overflow: hidden;
    display: flex;
}

.navbar a {
    border: solid;
    border-width: 0 0.1vw 0 0;
    border-color: white;
    height: 100%;
    padding: 0 50px;
    display: flex;
    align-items: center;
    box-sizing: border-box;
    flex: 1;
    justify-content: center;
}

.navbar a:last-child {
    border: none;
}

.main {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    padding: 2rem 5%;
    width: 70%;
    box-sizing: border-box;
    margin: 100px auto 0;
}

.left {
    flex: 1;
}

.left h1 {
    font-size: 64pt;
    margin: 0 0 0.5rem;
    font-weight: 700;
}

.left .subtitle {
    margin: 0 0 1.5rem;
    font-size: 20pt;
}

.left .description {
    font-size: 20pt;
    line-height: 1.6;
    margin: 0;
}

.contact-box {
    color: #fff;
    border-radius: 8px;
    padding: 1rem 1.25rem;
    min-width: 220px;
}

.contact-box h2 {
    font-size: 32pt;
    font-weight: 600;
    margin: 0 0 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.3);
    color: #fff;
}

.contact-box ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.contact-box li {
    color: #fff;
    font-size: 14pt;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.contact-box .icon {
    color: white;
    flex-shrink: 0;
}

.cenik-layout {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 2rem 5%;
    box-sizing: border-box;
    position: relative;
}

.cenik-main {
    max-width: 800px;
    width: 100%;
}

.cenik-sidebar {
    width: 240px;
    flex-shrink: 0;
    position: absolute;
    right: 5%;
    top: 2rem;
}

.cenik-title {
    font-size: 32pt;
    text-align: center;
    margin: 0 0 2rem;
}

.cenik-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 16pt;
}

.cenik-table td {
    padding: 3px 12px;
    color: #fff;
}

.cenik-table td:nth-child(2) {
    color: rgba(255,255,255,0.75);
    width: 60px;
    text-align: center;
}

.cenik-table td:nth-child(3) {
    text-align: right;
    width: 100px;
}

.cenik-table tr.spacer td {
    padding: 6px 0;
}

.galerie-layout {
    padding: 2rem 5%;
    box-sizing: border-box;
}

.galerie-title {
    font-size: 32pt;
    text-align: center;
    margin: 0 0 2rem;
}

.galerie-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.galerie-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-size: 14pt;
    color: white;
}

.galerie-item {
    width: 400px;
    height: 400px;
    background-color: gray;
    border: 2px solid white;
    box-sizing: border-box;
    border-radius: 40px;
}

.galerie-grid img{
    width: 400px;
}

.kontakt {
    margin-top: 4rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 4rem;
}

.kontakt-title {
    font-size: 40pt;
    font-weight: 700;
    text-align: center;
    margin: 0 0 2rem;
}

.kontakt-table {
    width: 800px;
    border-collapse: collapse;
}

.kontakt-table td {
    border: 1px solid rgba(255, 255, 255, 0.4);
    padding: 18px 24px;
    color: #fff;
    font-size: 16pt;
}

.kontakt-header td {
    background-color: rgba(0, 0, 0, 0.3);
    font-weight: 700;
    text-align: center;
}

.kontakt-label {
    font-weight: 700;
    width: 160px;
    background-color: rgba(0, 0, 0, 0.15);
}





@media (max-width: 1400px) {
    .galerie-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .galerie-item {
        width: 100%;
        height: 300px;
    }

    .galerie-card {
        width: 100%;
    }
}

@media (max-width: 1024px) {
    .navbar {
        width: 70%;
        font-size: 18pt;
        height: 80px;
    }

    .navbar a {
        padding: 0 20px;
    }

    .main {
        width: 90%;
        margin-top: 60px;
        flex-direction: column;
    }

    .left h1 {
        font-size: 40pt;
    }

    .left .subtitle,
    .left .description {
        font-size: 16pt;
    }

    .cenik-layout {
        flex-direction: column;
        align-items: center;
    }

    .cenik-sidebar {
        position: static;
        width: 100%;
        max-width: 800px;
        margin-top: 2rem;
    }

    .cenik-table {
        font-size: 13pt;
    }

    .galerie-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .galerie-item {
        height: 250px;
    }

    .kontakt-table {
        width: 90%;
    }

    .kontakt-table td {
        font-size: 13pt;
        padding: 12px 16px;
    }
}

@media (max-width: 600px) {
    .navbar {
        width: 100%;
        font-size: 13pt;
        height: 60px;
        border-radius: 0;
    }

    .navbar a {
        padding: 0 10px;
    }

    .main {
        width: 100%;
        padding: 1rem;
        margin-top: 20px;
    }

    .left h1 {
        font-size: 26pt;
    }

    .left .subtitle,
    .left .description {
        font-size: 13pt;
    }

    .contact-box h2 {
        font-size: 32pt;
    }

    .contact-box li {
        font-size: 12pt;
    }

    .cenik-title,
    .galerie-title {
        font-size: 22pt;
    }

    .cenik-table {
        font-size: 11pt;
    }

    .cenik-table td:nth-child(2) {
        display: none;
    }

    .galerie-grid {
        grid-template-columns: repeat(1, 1fr);
    }

    .galerie-item {
        height: 300px;
        width: 100%;
        border-radius: 20px;
    }

    .kontakt-title {
        font-size: 26pt;
    }

    .kontakt-table {
        width: 100%;
    }

    .kontakt-table td {
        font-size: 11pt;
        padding: 10px 12px;
    }

    .kontakt-label {
        width: 100px;
    }
}