:root {
    --granat: #0D1B2A;
    --bez: #D9C3A5;
    --tlo: #f7f1ea;
    --tekst: #2C2C2C;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--tekst);
    background-color: var(--tlo);
    scroll-behavior: smooth;
}

/* HEADER */
header {
    background: var(--tlo);
    position: fixed;
    width: 100%;
    z-index: 1000;
    transition: box-shadow 0.3s ease;
}
header.sticky {
    box-shadow: 0 2px 12px rgba(0,0,0,0.15);
}
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}
.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
}

.logo img {
    height: 60px;
}
.nav-links {
    list-style: none;
    display: flex;
    gap: 25px;
}
.nav-links a {
    text-decoration: none;
    color: var(--granat);
    font-weight: 500;
    transition: color 0.3s, border-bottom 0.3s;
    padding: 5px 0;
}
.nav-links a:hover {
    color: var(--bez);
    border-bottom: 2px solid var(--bez);
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}
.hamburger div {
    width: 25px;
    height: 3px;
    background-color: var(--granat);
    transition: all 0.3s;
}
.hamburger.active div:nth-child(1) {
    transform: rotate(45deg) translate(5px,5px);
}
.hamburger.active div:nth-child(2) {
    opacity: 0;
}
.hamburger.active div:nth-child(3) {
    transform: rotate(-45deg) translate(5px,-5px);
}

/* HERO */
.hero {
    position: relative;
    height: 90vh;
    background: url('images/hero.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}
.hero-overlay {
    position: absolute;
    top:0; left:0;
    width:100%; height:100%;
    background: rgba(13,27,42,0.55);
}
.hero-content {
    position: relative;
    z-index: 1;
    max-width: 600px;
    padding: 0 15px;
}
.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    margin-bottom: 15px;
}
.hero p {
    font-size: 1.2rem;
    margin-bottom: 25px;
}

/* BUTTON */
.btn {
    background: var(--bez);
    color: var(--tekst);
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    border: 2px solid var(--tekst);
    transition: all 0.3s ease;
    display: inline-block;
}
.btn:hover {
    background: var(--tekst);
    color: var(--bez);
    border-color: var(--bez);
}

/* SEKCJE */
.section {
    padding: 80px 0;
}
.section h2 {
    font-family: 'Playfair Display', serif;
    color: var(--granat);
    font-size: 2rem;
    margin-bottom: 25px;
    text-align: center;
}

/* O NAS */
.two-column {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 50px;
    flex-wrap: nowrap;
}
.two-column img {
    width: 45%;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border: 2px solid var(--bez);
}
.two-column .text {
    width: 50%;
    line-height: 1.6;
}
.onas-list {
    margin: 15px 0 15px 20px;
    list-style: disc;
}

/* GALERIA — desktop */
.desktop-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px,1fr));
    gap: 15px;
}
.desktop-gallery img {
    width: 100%;
    border-radius: 10px;
    cursor: pointer;
    border: 2px solid var(--tekst);
    transition: transform 0.3s ease;
}
.desktop-gallery img:hover {
    transform: scale(1.03);
}

/* Przycisk "Wyświetl więcej" — tylko mobile */
.show-more-btn {
    display: none;
}

/* CENNIK */
.pricing-table table {
    width: 100%;
    border-collapse: collapse;
    text-align: center;
    margin-bottom: 20px;
    border: 2px solid #000; /* czarne obramowanie */
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border-radius: 10px;
    overflow: hidden;
}
.pricing-table th, .pricing-table td {
    padding: 14px;
    color: var(--tekst);
    border: 1px solid #000; /* czarne linie */
}
.pricing-table th {
    background: var(--bez);
    font-weight: 600;
}
.pricing-table td:first-child {
    background: var(--bez);
    font-weight: 600;
}
.pricing-table td:not(:first-child) {
    background: #fff;
}
.pricing-table tr:nth-child(even) td:not(:first-child) {
    background: #f8f8f8;
}

/* Kontakt */
.contact-info {
    text-align:center;
    max-width:600px;
    margin:0 auto;
    font-size:1.1rem;
}
.contact-details {
    margin-top:25px;
    background:white;
    padding:25px;
    border-radius:12px;
    border:2px solid var(--tekst);
    box-shadow:0 4px 15px rgba(0,0,0,0.03);
}
.contact-details p {
    margin:10px 0;
    color: var(--tekst);
}
.contact-details a {
    color: var(--tekst);
    text-decoration:none;
    font-weight:600;
    border-bottom:1px solid transparent;
    transition: all 0.3s ease;
}
.contact-details a:hover {
    color: var(--bez);
    border-bottom:1px solid var(--bez);
}

#telefonik{
    color: black;
}

/* Footer */
footer {
    background: var(--granat);
    color:white;
    text-align:center;
    padding:25px 0;
    font-size:0.9rem;
}

/* Fade-in animacje */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-in.visible {
    opacity:1;
    transform:translateY(0);
}

/* MAPA */
.map-container {
    position: relative;
    width:100%;
    max-width:800px;
    margin:0 auto;
    padding-bottom:56.25%;
    height:0;
    overflow:hidden;
    border-radius:10px;
    border:2px solid var(--bez);
    box-shadow:0 4px 15px rgba(0,0,0,0.05);
}
.map-container iframe {
    position:absolute;
    top:0; left:0;
    width:100%; height:100%;
    border:0;
}
#lokalizacja .container {
    display:flex;
    flex-direction:column;
    align-items:center;
    text-align:center;
    gap:25px;
}

/* LIGHTBOX */
.gallery-mobile {
    display: none;
}
.gallery-mobile img {
    width: 48%;
    border-radius: 8px;
    border: 2px solid var(--tekst);
    margin-bottom: 10px;
}
.gallery-mobile-row {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

/* Lightbox (slider po kliknięciu) */
.lightbox {
    display:none;
    position:fixed;
    z-index:2000;
    top:0; left:0;
    width:100%; height:100%;
    background:rgba(13,27,42,0.95);
    justify-content:center;
    align-items:center;
    flex-direction: column;
}
.lightbox img {
    max-width:90%;
    max-height:80%;
    border-radius:10px;
    margin-bottom: 20px;
}
.lightbox .close {
    position:absolute;
    top:20px;
    right:40px;
    color:var(--bez);
    font-size:3rem;
    cursor:pointer;
}
.lightbox .next, .lightbox .prev {
    color: var(--bez);
    font-size: 2.5rem;
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}
.lightbox .prev { left: 30px; }
.lightbox .next { right: 30px; }

#linkdg{
	color: #D9C3A5; 
}	

/* RESPONSYWNOŚĆ */
@media(max-width:1024px){
    .two-column {
        flex-wrap: wrap;
        text-align: center;
    }
    .two-column img {
        width: 80%;
    }
    .two-column .text {
        width: 100%;
    }
}

@media(max-width:768px){
    .desktop-gallery { display: none; }
    .gallery-mobile { display: block; }

    /* miniatury równe */
    .gallery-mobile img {
        width: 48%;
        height: auto;
        object-fit: cover;
    }

    /* przycisk Wyświetl więcej */
    .show-more-btn {
        display: inline-block;
        background: var(--bez);
        color: var(--tekst);
        padding: 10px 20px;
        border-radius: 30px;
        border: 2px solid var(--tekst);
        margin: 20px auto;
        text-align: center;
        transition: all 0.3s;
    }
    .show-more-btn:hover {
        background: var(--tekst);
        color: var(--bez);
    }

    .nav-links {
        display:none;
        position:absolute;
        top:65px;
        right:0;
        background: var(--tlo);
        flex-direction:column;
        width:200px;
        padding:15px;
        box-shadow:0 4px 15px rgba(0,0,0,0.1);
        border-radius:0 0 10px 10px;
    }
    .nav-links.show { display:flex; }
    .hamburger { display:flex; }
	
	/* RESPONSYWNA TABELA CENNIK - mobilna */
.pricing-table {
    overflow-x: auto;      /* umożliwia przewijanie w poziomie */
}
.pricing-table table {
    width: 100%;
    min-width: 600px;      /* minimalna szerokość tabeli, żeby kolumny nie były zbyt wąskie */
}

}
