/* Nawigacja górna */
.main-nav {
    background-color: #111;
    border-bottom: 3px solid #ffcc00;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 0 !important; /* Reset paddingu dla kontenera w menu */
    padding-bottom: 0 !important;
}

.nav-logo a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.4rem;
    letter-spacing: 1px;
}

.nav-logo span {
    color: #ffcc00;
}

.nav-links a {
    color: #eee;
    text-decoration: none;
    margin-left: 25px;
    font-size: 0.95rem;
    font-weight: 600;
    transition: color 0.3s;
    text-transform: uppercase;
}

.nav-links a:hover {
    color: #ffcc00;
}

/* Poprawka dla telefonów (menu pod logo) */
@media (max-width: 850px) {
    .nav-container {
        flex-direction: column;
        gap: 15px;
    }
    .nav-links {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
    .nav-links a {
        margin: 0;
        font-size: 0.85rem;
    }
}

body {
    background-color: #1a1a1a; /* Ciemne tło majsteriskra.pl */
    color: #eeeeee;
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}
/* 2. Układ górny: Logo + Opis (Miłosz) */
.about-grid {
    display: grid;
    grid-template-columns: 300px 1fr; /* Logo po lewej, tekst po prawej */
    gap: 60px;
    align-items: center;
    margin-bottom: 60px;
}

.about-image {
    text-align: center;
}

.about-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    filter: drop-shadow(0 0 15px rgba(255, 204, 0, 0.15));
}

.about-content h1 {
    color: #ffcc00; /* Złoty akcent */
    font-size: 2.5rem;
    margin-top: 0;
    text-transform: uppercase;
}

.about-content p {
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.about-content strong {
    color: #ffcc00;
}

/* 3. Lista cech pod tekstem */
.features-list {
    list-style: none;
    padding: 0;
    margin: 25px 0;
}

.features-list li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    font-weight: bold;
    color: #ccc;
}

.features-list li::before {
    content: "⚡";
    margin-right: 12px;
    color: #ffcc00;
}

/* 4. Siatka usług: 2 rzędy po 3 kafelki */
.services-mini-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Dokładnie 3 kolumny */
    gap: 25px;
    margin-top: 50px;
    border-top: 2px solid #333;
    padding-top: 50px;
}

.service-card {
    background-color: #252525; /* Odcień kart z podstron */
    padding: 30px;
    border-radius: 12px;
    border: 1px solid #333;
    text-align: center;
    transition: transform 0.3s, border-color 0.3s;
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: #ffcc00;
}

.service-icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 15px;
}

.service-card h3 {
    color: #ffcc00;
    font-size: 1.1rem;
    margin: 10px 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.service-card p {
    color: #bbb;
    font-size: 0.95rem;
    margin: 0;
}

/* 5. Przyciski (CTA) */
.cta-group {
    display: flex;
    gap: 20px;
    margin-top: 35px;
}

.btn-primary {
    background-color: #ffcc00;
    color: #000;
    padding: 14px 30px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 50px;
    transition: background 0.3s;
}

.btn-secondary {
    border: 2px solid #ffcc00;
    color: #ffcc00;
    padding: 12px 30px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 50px;
    transition: all 0.3s;
}

.btn-primary:hover {
    background-color: #ffdb4d;
}

.btn-secondary:hover {
    background-color: #ffcc00;
    color: #000;
}

/* 6. Responsywność (Telefony i Tablety) */
@media (max-width: 992px) {
    .services-mini-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 kolumny na tabletach */
    }
}

@media (max-width: 850px) {
    .about-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .about-image img {
        max-width: 220px;
        margin-bottom: 30px;
    }

    .cta-group {
        justify-content: center;
        flex-direction: column;
    }
}

@media (max-width: 600px) {
    .services-mini-grid {
        grid-template-columns: 1fr; /* 1 kolumna na telefonach */
    }
}
/*foto */
.gallery-container {
    margin-top: 50px;
    padding-bottom: 30px;
}

.gallery-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 30px;
    color: #fff; /* Dostosuj do koloru swojej strony */
}

.photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.photo-item {
    overflow: hidden;
    border-radius: 10px;
    height: 250px; /* Stała wysokość dla porządku */
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.photo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Zdjęcie wypełni ramkę bez rozciągania */
    transition: transform 0.3s ease;
    cursor: pointer;
}

.photo-item img:hover {
    transform: scale(1.08); /* Efekt przybliżenia */
}

/* RWD - na telefonach 2 kolumny lub 1 */
@media (max-width: 600px) {
    .photo-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
/*koniec foto*/
/* Styl dla tła lightboxa */
.lightbox {
    display: none; 
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9);
    cursor: pointer;
    align-items: center;
    justify-content: center;
}

/* Styl dla powiększonego zdjęcia */
.lightbox-content {
    max-width: 90%;
    max-height: 80%;
    border: 3px solid #f1c40f; /* Kolor "iskry" - żółty */
    border-radius: 5px;
}

/* Przycisk zamknięcia (X) */
.close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
}
/* koniec Styl dla tła lightboxa */