
/* -----------------------------------
   FONTY I KOLORY
----------------------------------- */
body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    color: #333;
}

h1, h2, h3 {
    font-family: 'Playfair Display', serif;
    color: #1F3D2B;
}

h1 { font-size: 48px; }
h2 { font-size: 36px; }
h3 { font-size: 22px; }

p {
    font-size: 18px;
    line-height: 1.7;
}

/* -----------------------------------
   KONTAINER
----------------------------------- */
.container {
    width: 90%;
    max-width: 1280px;
    margin: auto;
}

/* -----------------------------------
   NAWIGACJA
----------------------------------- */
.nav {
    position: sticky;
    top: 0;
    background: white;
    padding: 20px 0;
    border-bottom: 1px solid #E0E0E0;
}

.nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav a {
    margin: 0 20px;
    text-decoration: none;
    color: #1F3D2B;
    font-weight: 400;
}

.phone {
    font-weight: 500;
    color: #1F3D2B;
}

/* -----------------------------------
   HERO
----------------------------------- */
.hero {
    position: relative;
    height: 80vh;
    background: url('../img/placeholder.jpg') center/cover no-repeat;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.35);
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
}

.hero-content p {
    font-size: 22px;
    margin-top: -10px;
}

/* -----------------------------------
   PRZYCISKI
----------------------------------- */
.btn-primary {
    display: inline-block;
    background: #1F3D2B;
    color: white;
    padding: 14px 28px;
    border-radius: 4px;
    text-decoration: none;
    margin-top: 20px;
}

.btn-primary:hover {
    background: #2A4F38;
}

/* -----------------------------------
   SEKCJE
----------------------------------- */
.section {
    padding: 120px 0;
}

.gray {
    background: #F5F5F5;
}

.line {
    width: 60px;
    height: 2px;
    background: #C2B280;
    margin: 10px 0 30px 0;
}

/* -----------------------------------
   UKŁAD DWUKOLUMNOWY
----------------------------------- */
.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.image-placeholder {
    background: #E0E0E0;
    height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6F6F6F;
    font-size: 20px;
}

/* -----------------------------------
   OFERTA
----------------------------------- */
.offer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.offer-card {
    background: white;
    border: 1px solid #E0E0E0;
    padding: 40px 30px;
    text-align: center;
    border-radius: 4px;
}

.icon {
    font-size: 40px;
    margin-bottom: 20px;
}

/* -----------------------------------
   GALERIA
----------------------------------- */
.gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.gallery-item {
    background: #E0E0E0;
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* -----------------------------------
   OPINIE
----------------------------------- */
.opinie-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.op-card {
    background: white;
    padding: 30px;
    border-radius: 4px;
    border: 1px solid #E0E0E0;
    font-style: italic;
}

.op-card span {
    display: block;
    margin-top: 10px;
    font-style: normal;
    color: #6F6F6F;
}

/* -----------------------------------
   FORMULARZ
----------------------------------- */
.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 14px;
    margin-bottom: 20px;
    border: 1px solid #E0E0E0;
    border-radius: 4px;
}

.contact-form textarea {
    height: 140px;
}

/* -----------------------------------
   STOPKA
----------------------------------- */
.footer {
    background: #1F3D2B;
    color: white;
    padding: 40px 0;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
}

/* -----------------------------------
   RESPONSYWNOŚĆ OGÓLNA
----------------------------------- */
@media (max-width: 900px) {
    .two-col {
        grid-template-columns: 1fr;
    }

    .offer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .gallery {
        grid-template-columns: 1fr 1fr;
    }

    .opinie-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .offer-grid,
    .gallery {
        grid-template-columns: 1fr;
    }
}

/* -----------------------------------
   LOGO — DESKTOP / TABLET / MOBILE
----------------------------------- */
.logo-img {
    height: 190px;
    width: auto;
    display: block;
}

.logo {
    display: flex;
    align-items: center;
}

/* TABLETY */
@media (max-width: 1024px) and (min-width: 769px) {
    .logo-img {
        height: 120px;
    }
}

/* TELEFONY */
@media (max-width: 768px) {
    .logo-img {
        height: 50px;
    }
}

/* -----------------------------------
   MENU MOBILNE — PRZYCISK
----------------------------------- */
.mobile-menu-btn {
    display: none;
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
    user-select: none;
    padding: 6px 18px;
    border: 2px solid #2e7d32;
    border-radius: 6px;
    color: #2e7d32;
    transition: 0.25s ease;
}

.mobile-menu-btn:hover {
    background: #2e7d32;
    color: white;
}

/* -----------------------------------
   MENU MOBILNE — STRUKTURA
----------------------------------- */

/* MOBILE */
/* -----------------------------------
   ANIMACJE
----------------------------------- */
@keyframes menuFadeSlide {
    0% {
        opacity: 0;
        transform: translateY(-10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Animacja fade-in + slide-up */
.fade-up {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s ease forwards;
}

.fade-up:nth-child(2) { animation-delay: 0.1s; }
.fade-up:nth-child(3) { animation-delay: 0.2s; }
.fade-up:nth-child(4) { animation-delay: 0.3s; }
.fade-up:nth-child(5) { animation-delay: 0.4s; }
.fade-up:nth-child(6) { animation-delay: 0.5s; }

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Animacja fade-in + slide-up (uruchamiana przez JS) */
.fade-up {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}
.about-photo {
    width: 100%;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}


/* Styl zdjęcia w sekcji O mnie */
.about-photo {
    width: 100%;
    max-width: 500px;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    display: block;
    margin: 0 auto;
}

/* Responsywność sekcji O mnie */
@media (max-width: 768px) {
    #omnie .two-col {
        flex-direction: column;
        gap: 30px;
    }

    #omnie .two-col > div {
        width: 100%;
    }

    .about-photo {
        max-width: 100%;
        margin-top: 10px;
    }
}

.contact-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.contact-list li {
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.contact-list a {
    color: #2a7c4f;
    text-decoration: none;
    font-weight: 600;
}

.contact-list a:hover {
    text-decoration: underline;
}

.contact-photo {
    width: 100%;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

@media (max-width: 768px) {
    #kontakt .two-col {
        flex-direction: column;
        gap: 30px;
    }

    .contact-photo {
        max-width: 100%;
        margin-top: 10px;
    }
}

.oferta-photo {
    width: 100%;
    border-radius: 16px;
    margin: 30px 0;
    box-shadow: 0 4px 25px rgba(0,0,0,0.15);
    object-fit: cover;
}
/* Zdjęcie w sekcji OFERTA */
.oferta-photo {
    width: 100%;
    border-radius: 16px;
    margin: 30px 0;
    box-shadow: 0 4px 25px rgba(0,0,0,0.15);
    object-fit: cover;
}

/* Siatka kafelków oferty */
.offer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 40px;
}

/* Kafelki */
.offer-card {
    background: #fff;
    padding: 25px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

/* TABLET — 2 kolumny */
@media (max-width: 992px) {
    .offer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* TELEFON — 1 kolumna */
@media (max-width: 600px) {
    .offer-grid {
        grid-template-columns: 1fr;
    }

    .offer-card {
        padding: 20px;
    }

    .oferta-photo {
        margin: 20px 0;
        border-radius: 12px;
    }
}

.map-wrapper {
    width: 100%;
    max-width: 100%;
    height: 450px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 25px rgba(0,0,0,0.15);
    margin-top: 30px;
}

.map-wrapper iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

@media (max-width: 600px) {
    .map-wrapper {
        height: 300px;
        border-radius: 12px;
    }
}

@media (max-width: 992px) {
    .map-wrapper {
        height: 350px;
    }
}

.social-links {
    display: flex;
    gap: 18px;
    margin-top: 25px;
}

.social-links a {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-links svg {
    width: 100%;
    height: 100%;
    fill: #2c2c2c;
    transition: 0.3s;
}

.social-links a:hover svg {
    fill: #4CAF50;
    transform: scale(1.15);
}
/* --- SEKCJA KONTAKT --- */

/* Ogólne odstępy */
#kontakt .contact-list {
    margin-top: 20px;
    margin-bottom: 25px;
    line-height: 1.6;
}

/* Zdjęcie kontaktowe */
.contact-photo {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 4px 25px rgba(0,0,0,0.15);
    object-fit: cover;
}

/* Ikonki social media */
.social-links {
    display: flex;
    gap: 18px;
    margin-top: 25px;
}

.social-links a {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-links svg {
    width: 100%;
    height: 100%;
    fill: #2c2c2c;
    transition: 0.3s;
}

.social-links a:hover svg {
    fill: #4CAF50;
    transform: scale(1.15);
}

/* --- RESPONSYWNOŚĆ --- */

/* TABLETY */
@media (max-width: 992px) {
    .two-col {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-photo {
        max-width: 500px;
        margin: 0 auto;
        display: block;
    }
}

/* TELEFONY */
@media (max-width: 600px) {

    #kontakt p {
        font-size: 1rem;
    }

    .contact-list li {
        margin-bottom: 10px;
    }

    .social-links {
        justify-content: center;
        margin-top: 20px;
    }

    .contact-photo {
        border-radius: 12px;
        margin-top: 10px;
    }
}

/* --- SEKCJA MAPA --- */

#mapa p {
    max-width: 700px;
    margin-bottom: 25px;
    line-height: 1.6;
}

/* Kontener mapy */
.map-wrapper {
    width: 100%;
    height: 450px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 25px rgba(0,0,0,0.15);
    margin-top: 30px;
}

/* Sam iframe */
.map-wrapper iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* --- RESPONSYWNOŚĆ --- */

/* TABLETY */
@media (max-width: 992px) {
    .map-wrapper {
        height: 350px;
        border-radius: 14px;
    }
}

/* TELEFONY */
@media (max-width: 600px) {
    #mapa p {
        font-size: 1rem;
        margin-bottom: 20px;
    }

    .map-wrapper {
        height: 300px;
        border-radius: 12px;
        margin-top: 20px;
    }
}
/* --- LIGHTBOX --- */

.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.85);
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.lightbox-img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 12px;
    box-shadow: 0 0 25px rgba(255,255,255,0.2);
}

.lightbox-close {
    position: absolute;
    top: 25px;
    right: 35px;
    font-size: 40px;
    color: #fff;
    cursor: pointer;
    transition: 0.3s;
}

.lightbox-close:hover {
    color: #4CAF50;
}

/* STRZAŁKI */
.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    font-size: 60px;
    color: #fff;
    cursor: pointer;
    padding: 10px;
    transform: translateY(-50%);
    transition: 0.3s;
    user-select: none;
}

.lightbox-prev {
    left: 40px;
}

.lightbox-next {
    right: 40px;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    color: #4CAF50;
}

/* --- SEKCJA REALIZACJE --- */

/* KOMPUTERY – 4 kolumny */
.realizacje-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-top: 40px;
}

.realizacja-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 14px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    transition: transform 0.3s ease;
}

.realizacja-item img:hover {
    transform: scale(1.03);
}

/* TABLETY – 3 kolumny */
@media (max-width: 1200px) {
    .realizacje-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* MAŁE TABLETY – 2 kolumny */
@media (max-width: 900px) {
    .realizacje-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* TELEFONY – 1 kolumna */
@media (max-width: 600px) {
    .realizacje-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .realizacja-item img {
        border-radius: 12px;
    }
}

/* --- LIGHTBOX --- */

.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.85);
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.lightbox-img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 12px;
    box-shadow: 0 0 25px rgba(255,255,255,0.2);
}

.lightbox-close {
    position: absolute;
    top: 25px;
    right: 35px;
    font-size: 40px;
    color: #fff;
    cursor: pointer;
    transition: 0.3s;
}

.lightbox-close:hover {
    color: #4CAF50;
}

/* STRZAŁKI */
.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    font-size: 60px;
    color: #fff;
    cursor: pointer;
    padding: 10px;
    transform: translateY(-50%);
    transition: 0.3s;
    user-select: none;
}

.lightbox-prev {
    left: 40px;
}

.lightbox-next {
    right: 40px;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    color: #4CAF50;
}


/* --- NAGŁÓWEK W KOLORZE STOPKI --- */

header,
.navbar,
.navbar-inner {
    background: #1F3D2B !important;
}

/* Linki w menu */
header a,
.navbar a,
.navbar ul li a {
    color: #ffffff !important;
}

/* Hover linków */
header a:hover,
.navbar a:hover,
.navbar ul li a:hover {
    color: #A8D5BA !important; /* jaśniejsza zieleń – pasuje do stylu */
}

/* Mobilne menu (jeśli masz hamburgera) */
.mobile-menu,
.mobile-nav {
    background: #1F3D2B !important;
}

.mobile-nav a {
    color: #ffffff !important;
}

.mobile-nav a:hover {
    color: #A8D5BA !important;
}

/* --- ZŁOTY NUMER TELEFONU W NAGŁÓWKU --- */

header .phone,
.navbar .phone,
.navbar a.phone {
    color: #D4AF37 !important; /* złoty */
    font-weight: 600;
}

header .phone:hover,
.navbar .phone:hover,
.navbar a.phone:hover {
    color: #F5D76E !important; /* jaśniejszy złoty */
}


/* --- IKONY W OFERCIE (UPORZĄDKOWANE) --- */

.offer-card .icon {
    width: 52px;
    height: 52px;
    margin: 0 auto 18px auto; /* wycentrowanie + odstęp */
}

.offer-card .icon svg {
    width: 100%;
    height: 100%;
    display: block;
    fill: none;
    stroke: #D4AF37;          /* złoty */
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: stroke 0.3s ease, transform 0.3s ease;
}

.offer-card:hover .icon svg {
    stroke: #F5D76E;          /* jaśniejszy złoty */
    transform: translateY(-2px);
}


/* --- RESPONSYWNOŚĆ OFERTA --- */

@media (max-width: 600px) {

    .offer-card .icon {
        width: 42px;
        height: 42px;
    }

    .offer-grid {
        gap: 30px;
    }
}

.policy-section {
    max-width: 900px;
    margin: 60px auto;
    padding: 20px;
    line-height: 1.7;
    color: #333;
}

.policy-section h2 {
    font-size: 28px;
    margin-bottom: 10px;
    color: #1F3D2B;
    text-align: center;
}

.policy-section h3 {
    margin-top: 30px;
    color: #1F3D2B;
    font-size: 20px;
}

.policy-section .line {
    width: 80px;
    height: 3px;
    background: #D4AF37;
    margin: 0 auto 25px auto;
    border-radius: 2px;
}

.policy-section ul {
    margin: 10px 0 20px 20px;
}

.policy-section strong {
    color: #1F3D2B;
}

@media (max-width: 768px) {
    header h1, 
    .main-title, 
    .hero-title {
        margin-top: 120px !important;
    }
}

@media (max-width: 768px) {
    .hero {
        padding-top: 140px !important;
    }
}
/* Naprawa nachodzenia nagłówka na telefonach */
@media (max-width: 768px) {
    .hero {
        padding-top: 140px !important;
    }
}
@media (max-width: 768px) {
    .hero h1 {
        margin-top: 20px !important;
    }
}

/* NAPRAWA MENU MOBILNEGO */
@media (max-width: 768px) {

    #mobileMenu {
        display: flex;
        flex-direction: column;
        background: #2e7d32; /* zielony, dopasowany do Twojej strony */
        padding: 20px;
        position: absolute;
        top: 60px; /* poniżej zielonego paska */
        right: 0;
        width: 100%;
        z-index: 9999;
    }

    #mobileMenu a {
        color: white !important;
        font-size: 20px;
        padding: 12px 0;
        text-align: center;
        display: block;
    }

    #mobileMenu a:hover {
        color: #c8ffc8 !important; /* jaśniejsza zieleń przy dotknięciu */
    }
}

/* Naprawa nachodzenia nagłówka na telefonach */
@media (max-width: 768px) {
    .hero {
        padding-top: 140px !important;
    }
}
/* MENU MOBILNE – WYSUWANE Z PRAWEJ STRONY */
@media (max-width: 768px) {

    #mobileMenu {
        position: fixed;
        top: 0;
        right: -100%; /* ukryte poza ekranem */
        width: 70%;
        height: 100vh;
        background: #2e7d32; /* zielony */
        padding-top: 80px;
        display: flex;
        flex-direction: column;
        gap: 20px;
        transition: right 0.3s ease-in-out;
        z-index: 9999;
    }

    #mobileMenu a {
        color: white !important;
        font-size: 22px;
        text-align: center;
        padding: 10px 0;
        display: block;
    }

    #mobileMenu.open {
        right: 0; /* wysunięte menu */
    }
}
/* NAPRAWA MAPY GOOGLE NA TELEFONACH */
.map-container iframe {
    width: 100% !important;
    height: 350px !important;
    border: 0;
    display: block;
}

@media (max-width: 768px) {
    .map-container {
        width: 100%;
        height: auto;
        overflow: visible !important;
    }
}
/* MENU MOBILNE – WYSUWANE Z PRAWEJ STRONY */
@media (max-width: 768px) {

    #mobileMenu {
        position: fixed;
        top: 0;
        right: -100% !important; /* ukryte */
        width: 70%;
        height: 100vh;
        background: #2e7d32;
        padding-top: 80px;
        display: flex;
        flex-direction: column;
        gap: 20px;
        transition: right 0.3s ease-in-out;
        z-index: 9999;
    }

    #mobileMenu.open {
        right: 0 !important; /* wysunięte */
    }

    #mobileMenu a {
        color: white !important;
        font-size: 22px;
        text-align: center;
        padding: 10px 0;
        display: block;
    }
}
/* Naprawa nachodzenia nagłówka na telefonach */
@media (max-width: 768px) {
    .hero {
        padding-top: 160px !important;
    }
}

@media (max-width: 768px) {
    .hero-content {
        margin-top: 160px !important;
    }
}


/* Odsunięcie całej sekcji HERO spod fixed headera */
@media (max-width: 768px) {
    header.nav {
        height: 100px !important; /* wysokość zielonego paska */
    }

    .hero {
        margin-top: 100px !important; /* odsunięcie sekcji od góry */
    }
}


/* Naprawa pozycji tekstu w sekcji HERO */
.hero {
    position: relative !important;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

/* Odsunięcie tekstu na telefonach */
@media (max-width: 768px) {
    .hero-content {
        padding-top: 160px !important;
    }
}


/* Wymuszone odsunięcie tekstu w HERO na telefonach */
@media (max-width: 768px) {
    .hero-content h1 {
        margin-top: 70px !important;
        display: block !important;
        position: relative !important;
        top: 0 !important;
    }
}


@media (max-width: 768px) {
    .hero-content {
        margin-top: 140px !important;
        padding-top: 0 !important;
        position: relative !important;
        top: 0 !important;
        display: block !important;
    }
}
@media (max-width: 768px) {
    .hero-content {
        margin-top: 120px !important;
        padding-top: 0 !important;
        position: relative !important;
        top: 0 !important;
        display: block !important;
    }
}
@media (max-width: 768px) {
    .hero-content {
        margin-top: 110px !important;
        padding-top: 0 !important;
        position: relative !important;
        top: 0 !important;
        display: block !important;
    }
}

@media (max-width: 768px) {
    .hero {
        padding-top: 120px !important;
        margin-top: 0 !important;
        position: relative !important;
        top: 0 !important;
    }
}
/* TELEFONY PIONOWO (najmniejsze ekrany) */
@media (max-width: 480px) {
    .hero {
        padding-top: 140px !important;
        height: auto !important;
        min-height: auto !important;
    }
}

/* TELEFONY POZIOMO + MAŁE TABLETY */
@media (min-width: 481px) and (max-width: 768px) {
    .hero {
        padding-top: 120px !important;
        height: auto !important;
        min-height: auto !important;
    }
}

/* TABLETY PIONOWO */
@media (min-width: 769px) and (max-width: 1024px) {
    .hero {
        padding-top: 100px !important;
        height: auto !important;
        min-height: auto !important;
    }
}

@media (max-width: 768px) {
    .hero {
        padding-top: 120px !important;
        margin-top: 0 !important;
        position: relative !important;
        top: 0 !important;
    }
}

/* TELEFONY I TABLETY – normalne pozycjonowanie hero */
@media (max-width: 1024px) {
    .hero {
        height: auto !important;
        padding: 140px 0 80px 0 !important; /* góra / dół */
    }

    .hero-content {
        position: static !important;
        transform: none !important;
        top: auto !important;
        left: auto !important;
        text-align: center !important;
        margin: 0 auto !important;
        width: 90%;
    }
}

/* WYŁĄCZENIE centrowania absolutnego na telefonach i tabletach */
@media (max-width: 1024px) {
    .hero {
        height: auto !important;
        padding: 140px 0 80px 0 !important;
    }

    .hero-content {
        position: static !important;
        top: auto !important;
        left: auto !important;
        transform: none !important;
        margin: 0 auto !important;
        text-align: center !important;
        width: 90%;
    }
}
/* Ciemniejsze nagłówki h2 i h3 */
h2, h3 {
    color: #0F2418 !important; /* ciemniejszy, bardziej kontrastowy odcień */
}
/* Ciemniejsze nagłówki h2 i h3 – wymuszone */
h2, h3 {
    color: #0A1A12 !important; /* bardzo ciemna, elegancka zieleń */
}

/* Ciemnozielony tekst w HERO */
.hero-content p {
    color: #0F2A1A !important; /* głęboka, ciemna zieleń */
}

/* Czarny kolor dla wszystkich tekstów w HERO */
.hero-content,
.hero-content h1,
.hero-content p {
    color: #000 !important;
}

/* Przycisk otwierania menu */
.mobile-menu-btn {
    display: none;
    font-size: 20px;
    font-weight: 600;
    cursor: pointer;
    padding: 10px 16px;
    background: #1F3D2B;
    color: white;
    border-radius: 10px;
}

/* Panel menu mobilnego */
.mobile-menu {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 260px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(6px);
    padding: 25px;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.25);

    display: flex;
    flex-direction: column;
    gap: 20px;

    transform: translateX(120%);
    transition: transform 0.35s ease;
    z-index: 9999;
}

/* Po otwarciu */
.mobile-menu.active {
    transform: translateX(0);
}

/* Przycisk zamknięcia */
.mobile-menu .close-btn {
    font-size: 32px;
    cursor: pointer;
    align-self: flex-end;
    margin-bottom: 10px;
}

/* Linki */
.mobile-menu a {
    text-decoration: none;
    color: #1F3D2B;
    font-size: 20px;
    font-weight: 500;
}

/* Tło półprzezroczyste za menu */
.menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    backdrop-filter: blur(2px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 9990;
}

.menu-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

/* Pokazuj menu tylko na telefonach */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }

    /* Ukrywamy linki w menu desktopowym TYLKO na telefonach */
    .nav-inner a {
        display: none;
    }
}

/* Na komputerze linki mają być widoczne */
.nav-inner a {
    display: inline-block;
}
/* Ukrywamy linki TYLKO na telefonach i tabletach */
@media (max-width: 1024px) {
    .nav-inner a {
        display: none;
    }
}
/* Wyłączamy menu mobilne na wszystkich urządzeniach */
.mobile-menu,
.mobile-menu-btn,
.menu-overlay {
    display: none !important;
}

/* Na komputerze linki mają być widoczne */
.nav-inner a {
    display: inline-block;
}

.hero-overlay,
.menu-overlay,
.mobile-menu {
    pointer-events: none !important;
}

@media (max-width: 768px) {
    .logo img,
    .nav-logo img,
    .header-logo img {
        width: 50px !important; /* powiększ logo */
        height: auto !important;
    }
}
@media (max-width: 768px) {
    .logo img,
    .nav-logo img,
    .header-logo img {
        width: 90px !important; /* powiększ logo */
        height: auto !important;
    }
}



