/* style2 */
* {
    font-family: 'Work Sans', Arial, Helvetica, sans-serif;
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
body {
    font-family: 'Work Sans', Arial, Helvetica, sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    color: #111;
    background-color: black;
    overflow-x: hidden;
}
h1, h2, h3 {
    font-family: 'Playfair Display', serif;
}
h3, h3 a {
    font-family: 'Playfair Display', serif;
    font-size: 25px;
    text-decoration: none;
    color: black;
}

/* Hero - ZACHOWANE syky1.jpg ze style2 */
.hero {
    height: 45vh;
    min-height: 350px;
    background-image: url('zdjecia/syky1.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}
.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0.2),
        rgba(0,0,0,0.6)
    );
    z-index: 1;
}
#hero-content {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    z-index: 2;
    background: rgba(0, 0, 0, 0.1);
    padding: 20px;
}
#hero-content h1 {
    color: white;
    font-size: clamp(1.5rem, 5vw, 2.5rem);
    max-width: 800px;
    margin: 0;
}

/* --- NAWIGACJA (Przeniesiona ze style5) --- */
header {
    position: absolute;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1200px;
    padding: 0px 20px;
    display: flex;
    align-items: center;
    background-color: #FAFAFA;
    border-radius: 50px;
    z-index: 100;
}
#nawigacjalogo {
    margin-right: auto;
    transition: transform 900ms ease-out;
}
.hamburger {
    display: none;
    background: none;
    border: none;
    font-size: 30px;
    cursor: pointer;
    color: black;
    padding: 0;
}
.nav-links {
    display: flex;
    align-items: center;
}
.nawigacja {
    color: black;
    margin: 0px 10px;
    display: flex;
    flex-direction: row;
    align-items: center;
    transition: transform 900ms ease-out;
    text-decoration: none;
}
.nawigacja span {
    position: relative;
    display: inline-block;
    color: #000;
    font-size: 16px;
}
.nawigacja span::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 100%;
    height: 1px;
    background: #75b5fd;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}
.nawigacja:hover span::after {
    transform: scaleX(1);
    transform-origin: left;
}
.nawigacja a {
    text-decoration: none;
    color: inherit;
}
.media {
    height: 20px;
    width: 20px;
    vertical-align: middle;
}
/* --- KONIEC NAWIGACJI --- */

/* Main i Treść - Zachowane ze style2 (Cytaty, Galeria) */
main {
    width: 100%;
    margin-top: -40px;
    border-radius: 50px;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 10;
    padding: 60px 20px;
}
main p {
    max-width: 850px;
    line-height: 1.8;
    margin: 10px 0 30px 0;
}
.tytul {
    display: flex;
    align-items: center;
    text-align: center;
    gap: 15px;
    color: #333;
    font-weight: 700;
    width: 100%;
    max-width: 900px;
    margin: 40px 0 20px 0;
}
.tytul::before, .tytul::after {
    content: "";
    flex: 1;
    height: 2px;
    background: #eaeaea;
}
.quotes-container {
    width: 100%;
    max-width: 850px;
    margin: 50px auto;
    display: flex;
    flex-direction: column;
    gap: 40px;
}
.quote-item {
    display: flex;
    align-items: center;
    gap: 30px;
    text-align: left;
}
.quote-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    flex-shrink: 0;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}
.quote-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.quote-content {
    display: flex;
    flex-direction: column;
}
.quote-text {
    font-size: 1.2rem;
    margin: 0 0 10px 0 !important;
    line-height: 1.5 !important;
    text-align: left !important;
}
.author {
    font-size: 0.8rem;
    letter-spacing: 2px;
    color: #666;
    text-transform: uppercase;
    font-weight: 500;
    margin: 0 !important;
    text-align: left !important;
}

/* Galeria - ZACHOWANE 3 kolumny ze style2 */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    width: 100%;
    max-width: 1200px;
    margin-top: 50px;
    padding: 0 20px;
}
.gallery-item {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 4px;
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.gallery-item:hover img {
    transform: scale(1.05);
}

/* Stopka - Zachowana ze style2 */
footer {
    width: 90%;
    max-width: 1200px;
    min-height: 200px;
    background-color: #1A1A1A;
    border-radius: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 40px auto;
    padding: 40px;
}
#stopkalewo, #stopkaprawo {
    color: white;
}
#stopkalewo {
    text-align: left;
}
#stopkaprawo {
    text-align: right;
}
#stopkalewo p, #stopkaprawo p {
    margin: 5px 0;
}
#mail {
    color: white;
}
.telefon{
    transform: translateY(20%);
}

/* MEDIA QUERIES */
@media (max-width: 992px) {
    header {
        width: 95%;
        border-radius: 25px;
    }
    #nawigacjalogo h3 {
        font-size: 18px;
    }
}

@media (max-width: 768px) {
    /* Menu mobilne - Zsynchronizowane ze style5 */
    .hamburger {
        display: block;
    }
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: #FAFAFA;
        border-radius: 20px;
        padding: 20px;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    }
    .nav-links.active {
        display: flex;
    }
    .nawigacja {
        margin: 10px 0;
        width: 100%;
        justify-content: center;
    }

    /* Reszta RWD - Zachowane ze style2 */
    .tytul {
        justify-content: center;
        width: 100%;
        padding: 0 10px;
    }
    .tytul::before, .tytul::after {
        display: block;
        height: 1px;
    }
    .tytul h2 {
        text-align: center;
        flex-shrink: 0;
        margin: 0;
        transform: none !important;
    }
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    .quote-item {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    .quote-text, .author {
        text-align: center !important;
    }
    footer {
        flex-direction: column;
        height: auto;
        padding: 30px 20px;
        text-align: center;
        gap: 30px;
    }
    #stopkalewo, #stopkaprawo {
        text-align: center;
        margin: 0;
        width: 100%;
    }
}