*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:Arial, sans-serif;
}

body{
    background:#111;
    color:white;
    line-height:1.6;
}

.container{
    width:90%;
    max-width:1200px;
    margin:auto;
    display:flex;
    justify-content:space-between;
    align-items:center;
}

header{
    background:#000;
    padding:15px 0;
    border-bottom:2px solid #ff3c00;
}

.logo{
    width:220px;
}

nav a{
    color:white;
    text-decoration:none;
    margin-left:20px;
    transition:0.3s;
}

nav a:hover{
    color:#ff3c00;
}

.hero{
    height:90vh;
    background:linear-gradient(rgba(0,0,0,0.7),
    rgba(0,0,0,0.7)),
    url('zdjecie.jpeg') center/cover;
    
    display:flex;
    justify-content:center;
    align-items:center;
    text-align:center;
}

.hero-content h1{
    font-size:60px;
    margin-bottom:20px;
}

.hero-content p{
    font-size:22px;
    margin-bottom:30px;
}

.btn{
    display:inline-block;
    padding:14px 30px;
    background:#ff3c00;
    color:white;
    text-decoration:none;
    border-radius:6px;
    font-weight:bold;
    transition:0.3s;
}

.btn:hover{
    background:#d92f00;
}

.section{
    padding:80px 10%;
    text-align:center;
}

.section h2{
    font-size:40px;
    margin-bottom:30px;
    color:#ff3c00;
}

.dark{
    background:#1a1a1a;
}

.cards{
    display:flex;
    gap:20px;
    flex-wrap:wrap;
    justify-content:center;
}

.card{
    background:#222;
    padding:30px;
    border-radius:10px;
    width:300px;
    border:1px solid #333;
    transition:0.3s;
}

.card:hover{
    transform:translateY(-5px);
    border-color:#ff3c00;
}

footer{
    background:#000;
    text-align:center;
    padding:20px;
    border-top:2px solid #ff3c00;
}

@media(max-width:768px){

    .hero-content h1{
        font-size:38px;
    }

    nav{
        display:none;
    }

    .cards{
        flex-direction:column;
        align-items:center;
    }
}
.gallery-img {
    width: 100%;          /* Obrazek zajmie dokładnie tyle miejsca, ile ma karta (300px) */
    height: 250px;        /* Ustaw stałą wysokość kafelka */
    object-fit: cover;    /* Kadruje zdjęcie (jak na Instagramie), dzięki czemu nie jest zniekształcone */
    border-radius: 6px;   /* Dodaje delikatne zaokrąglenie rogów zdjęcia */
    display: block;       /* Usuwa domyślne marginesy inline obrazka */
}
/* --- RESET I POPRAWKA DLA PEWNOŚCI --- */
.site-header {
    background-color: #111111 !important; /* Wymuszamy czarne tło jak na screenie */
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 10px 15px !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 110px !important;
    box-sizing: border-box !important;
    z-index: 9999 !important;
}

/* Poprawka logo, żeby nie robiło "białej kreski" */
.site-header .logo {
    height: 85px !important;
    width: auto !important;
    max-width: 150px !important;
    display: block !important;
}

/* Styl domyślny menu dla komputerów */
.nav-menu {
    display: flex;
}
.nav-menu a {
    color: #ffffff;
    text-decoration: none;
    padding: 10px 15px;
    font-weight: bold;
}

/* Ukrywamy hamburgera na komputerze */
.menu-toggle {
    display: none;
}

/* --- WIDOK DLA TELEFONÓW (Ekran poniżej 768px) --- */
@media (max-width: 768px) {
    
    /* Pokazujemy przycisk hamburgera */
    .menu-toggle {
        display: flex !important;
        flex-direction: column !important;
        justify-content: space-between !important;
        width: 30px !important;
        height: 21px !important;
        background: transparent !important;
        border: none !important;
        cursor: pointer !important;
        padding: 0 !important;
        margin-right: 10px !important;
    }
    
    /* Trzy poziome kreski w hamburgerze */
    .menu-toggle .bar {
        width: 100% !important;
        height: 3px !important;
        background-color: #ffffff !important; /* Białe kreski na czarnym tle */
        border-radius: 2px !important;
        transition: 0.3s !important;
    }

    /* Animacja hamburgera w krzyżyk (X) po kliknięciu */
    .menu-toggle.open .bar:nth-child(1) {
        transform: translateY(9px) rotate(45deg) !important;
        background-color: #f39c12 !important;
    }
    .menu-toggle.open .bar:nth-child(2) {
        opacity: 0 !important;
    }
    .menu-toggle.open .bar:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg) !important;
        background-color: #f39c12 !important;
    }

    /* Ukryte menu mobilne – wymuszamy pionowy układ */
    .nav-menu {
        display: flex !important;
        flex-direction: column !important;
        position: fixed !important;
        top: 70px !important;
        left: -100% !important; /* Schowane po lewej stronie */
        width: 100% !important;
        height: calc(100vh - 70px) !important;
        background-color: #111111 !important; /* Czarne tło panelu */
        transition: left 0.3s ease-in-out !important;
        padding-top: 30px !important;
        box-sizing: border-box !important;
    }

    /* Kiedy klikniesz hamburgera, menu wysuwa się na ekran */
    .nav-menu.open {
        left: 0 !important;
    }

    /* Linki w menu na telefonie */
    .nav-menu a {
        display: block !important;
        text-align: center !important;
        padding: 20px !important;
        font-size: 1.3rem !important;
        color: #ffffff !important;
        border-bottom: 1px solid #222222 !important;
    }
    
    .nav-menu a:hover {
        color: #f39c12 !important;
    }
}