@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700&display=swap');

html { scroll-behavior: smooth; }

:root {
    --bright-blue: #40c4ff;
    --dark-blue: #2c3e50;
    --text-color: #34495e;
    --light-grey: #f9f9f9;
    --white: #ffffff;
}

* { box-sizing: border-box; }

body {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--light-grey);
    color: var(--text-color);
    line-height: 1.6;
}

.header-section {
    background-color: var(--white);
    padding: 1.5rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}

.container { width: 90%; max-width: 1200px; margin: auto; padding: 0 1rem; }

.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo img { height: 110px; display: block; width: auto; border-radius: 6px; }

nav { display: flex; align-items: center; gap: 4px; }

nav a {
    color: var(--text-color);
    text-decoration: none;
    padding: 0.5rem 1rem;
    font-weight: 600;
    transition: color 0.2s;
}
nav a:hover { color: var(--bright-blue); }

.nav-cta {
    background-color: var(--bright-blue);
    color: var(--dark-blue) !important;
    border-radius: 6px;
    font-weight: 700;
}
.nav-cta:hover { background-color: #26b2ff; color: var(--dark-blue) !important; }

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--dark-blue);
    cursor: pointer;
    padding: 4px 8px;
}

/* Hero */
.hero { padding: 3rem 0 2.5rem; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: center; }
.hero h1 { font-size: 2.4rem; color: var(--dark-blue); margin: 0 0 0.75rem; line-height: 1.2; }
.hero p { font-weight: 600; margin: 0 0 0.4rem; font-size: 1.05rem; }
.hero-ctas { margin-top: 1.5rem; display: flex; gap: 12px; flex-wrap: wrap; }

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: var(--bright-blue);
    color: var(--dark-blue);
    text-decoration: none;
    padding: 0.85rem 1.6rem;
    border-radius: 6px;
    font-weight: 700;
    transition: background-color 0.2s;
}
.btn-primary:hover { background-color: #26b2ff; }

.btn-secondary {
    border: 2px solid var(--dark-blue);
    color: var(--dark-blue);
    text-decoration: none;
    padding: 0.8rem 1.6rem;
    border-radius: 6px;
    font-weight: 700;
    transition: background-color 0.2s, color 0.2s;
}
.btn-secondary:hover { background-color: var(--dark-blue); color: var(--white); }

.hero-image { width: 100%; height: auto; border-radius: 10px; box-shadow: 0 6px 20px rgba(0,0,0,0.12); }

/* Sekcje ogólne */
section {
    background-color: var(--white);
    padding: 3rem 1rem;
    margin-top: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}
#oferta, #galeria, #kontakt, #kontakt-zapisy, .form-section { text-align: center; }

h2 {
    color: var(--dark-blue);
    font-size: 2rem;
    margin-bottom: 2rem;
    border-bottom: 2px solid var(--bright-blue);
    padding-bottom: 0.5rem;
    display: inline-block;
}

.content-block { display: flex; justify-content: space-between; align-items: center; gap: 2rem; flex-wrap: wrap; text-align: left; }
.block-left, .block-right { flex: 1; min-width: 300px; }
.block-image { max-width: 100%; border-radius: 8px; box-shadow: 0 2px 10px rgba(0,0,0,0.1); }

.why-us-section { background-color: var(--dark-blue); padding: 3rem 1rem; margin-top: 2rem; border-radius: 8px; }
.why-us-section h2 { color: var(--white); border-bottom-color: var(--bright-blue); }
.why-us-list { list-style-type: none; padding: 0; color: var(--white); }
.why-us-list li { margin-bottom: 0.6rem; font-weight: 600; }
.why-us-list li strong { color: var(--bright-blue); }

/* Galeria + lightbox */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1rem; margin-top: 2rem; }
.gallery-item { position: relative; cursor: pointer; }
.gallery-item img {
    width: 100%; height: 100%; object-fit: cover;
    border-radius: 8px; box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s; display: block;
}
.gallery-item img:hover { transform: scale(1.05); }

.photo-credits { text-align: center; font-size: 0.7rem; color: #777; margin-top: 0.5rem; }
.photo-credits a { color: #777; text-decoration: none; }
.photo-credits a:hover { text-decoration: underline; }

#lightbox-overlay {
    display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.85);
    z-index: 2000; align-items: center; justify-content: center; padding: 2rem;
}
#lightbox-overlay.open { display: flex; }
#lightbox-overlay img { max-width: 90vw; max-height: 85vh; border-radius: 6px; box-shadow: 0 10px 40px rgba(0,0,0,0.5); }
#lightbox-close { position: absolute; top: 20px; right: 30px; color: #fff; font-size: 2.2rem; background: none; border: none; cursor: pointer; line-height: 1; }

/* Szybki kontakt + Librus (zapisy.html) */
.contact-quick { display: flex; justify-content: center; gap: 2rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.contact-quick a { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--dark-blue); font-weight: 700; font-size: 1.1rem; }
.contact-quick a i { font-size: 1.4rem; color: var(--bright-blue); }
.contact-quick a:hover { color: var(--bright-blue); }

.librus-section { background-color: var(--dark-blue); color: var(--white); text-align: center; }
.librus-section h2 { color: var(--white); border-bottom-color: var(--bright-blue); }
.librus-section p { max-width: 550px; margin: 0 auto 1.5rem; }

/* Formularze */
form { text-align: left; margin-top: 2rem; max-width: 500px; margin-left: auto; margin-right: auto; }
.form-group { margin-bottom: 1rem; }
.form-group label { display: block; margin-bottom: 0.5rem; font-weight: 600; }
.form-group input, .form-group textarea, .form-group select {
    width: 100%; padding: 0.75rem; border: 1px solid #ccc; border-radius: 4px; box-sizing: border-box;
}
.form-group textarea { height: 150px; resize: vertical; }

.btn-submit {
    background-color: var(--bright-blue);
    border: none;
    color: var(--dark-blue);
    padding: 1rem 2rem;
    text-transform: uppercase;
    font-weight: 700;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s;
}
.btn-submit:hover { background-color: #26b2ff; }

.contact-info { margin-top: 2rem; text-align: left; }
.contact-info a { color: var(--dark-blue); text-decoration: none; }
.contact-info a:hover { color: var(--bright-blue); }

.social-icons { margin-top: 2rem; text-align: center; }
.social-icons a { color: var(--dark-blue); font-size: 2rem; margin: 0 1rem; transition: color 0.2s; }
.social-icons a:hover { color: var(--bright-blue); }

footer { text-align: center; padding: 1rem; background-color: var(--dark-blue); color: var(--white); margin-top: 2rem; }
footer a { color: var(--bright-blue); }

/* Strona polityki prywatności */
main.policy-main {
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    padding: 2.5rem;
    margin: 2.5rem auto;
    max-width: 850px;
    text-align: left;
}
main.policy-main h1 {
    color: var(--dark-blue);
    font-size: 2rem;
    border-bottom: 2px solid var(--bright-blue);
    padding-bottom: 0.5rem;
    display: inline-block;
}
main.policy-main h2 { font-size: 1.3rem; margin-top: 2rem; margin-bottom: 1rem; display: block; border-bottom: none; padding-bottom: 0; }
main.policy-main table { width: 100%; border-collapse: collapse; margin: 1rem 0; }
main.policy-main th, main.policy-main td { text-align: left; padding: 0.6rem; border-bottom: 1px solid #eee; font-size: 0.92rem; vertical-align: top; }
main.policy-main th { color: var(--dark-blue); }
main.policy-main .updated { color: #999; font-size: 0.85rem; }

@media screen and (max-width: 720px) {
    .hero-grid { grid-template-columns: 1fr; }
    .menu-toggle { display: block; }
    nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 1rem;
        box-shadow: 0 8px 15px rgba(0,0,0,0.08);
        gap: 8px;
        border-radius: 0 0 8px 8px;
    }
    nav.open { display: flex; }
    .contact-quick { flex-direction: column; gap: 1rem; align-items: center; }
}