@font-face {
    font-family: 'Sarine-Regular';
    src: url('fonts/sarine.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
body {
    font-family: Sarine-Regular;
    margin: 0;
    padding: 0;
    background: #f8f8f8;
}

header {
    background: #74a5c5;
    color: white;
    padding: 20px;
    text-align: center;
    font-size: x-large;
}

section {
    padding: 40px 100px;
    max-width: 900px;
    margin: auto;
    background: #e3f1f5;
}

section h2{
    text-align: center;
    font-size: xx-large;
}

#zdj{
    margin-top: 0px;
    margin-left: 20%;
    margin-right: 20%;
    padding-top: 0px;
    width: 60%;
    border-radius: 10px;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0);
}
#zdj:hover{
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

#cena{
    color: #3946c1;
    font-weight: bold;
    font-size:x-large;
}

.cennik {
    max-width: 600px;
    width: 100%;
    margin: 40px auto;
    margin-bottom: 0px;
    border-collapse: collapse;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 18px rgba(0, 0, 0, 0.12);
}

.cennik th {
    background: #333;
    color: white;
    padding: 14px;
    font-size: 18px;
    text-align: left;
}

.cennik td {
    padding: 14px;
    font-size: 16px;
    border-bottom: 1px solid #e5e5e5;
}

.cennik tr:last-child td {
    border-bottom: none;
}

.cennik tr:hover td {
    background: #f3f3f3;
}


#kurs li::marker {
    content: "🚗 ";
    font-size: 20px;
}

#dodatki li::marker {
    content: "✔ ";
    font-size: 20px;
}

li::marker {
    content: "⭐ ";
    font-size: 20px;
}

h2 {
    margin-top: 0;
    margin-bottom: 0;
}

.gallery {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin: 30px 0 50px;
}

.photo {
    width: 400px;
    height: 300px;
    position: relative;
    overflow: hidden;
    border-radius: 6px;
    cursor: pointer;
    flex: 0 0 auto;
}

.photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.2s;
}

/* hover lekko powiększa obrazek, ale nie zmienia go w czarny */
.photo:hover img {
    transform: scale(1.05);
}

/* czarny kwadrat dopiero po kliknięciu */
.photo.shown img {
    opacity: 0;
}



#lightbox-bg {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 900;
}

#lightbox-bg.active {
    opacity: 1;
    pointer-events: all;
}

#lightbox-img {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    width: 75vw;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 10px;
    opacity: 0;
    transition: opacity 0.3s, transform 0.3s;
    z-index: 1000;
}

#lightbox-img.active {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.lightbox-arrow {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    font-size: 46px;
    color: #fff;
    cursor: pointer;
    z-index: 1010;
    padding: 6px 12px;
    border-radius: 6px;
    background: rgba(0, 0, 0, 0.25);
    display: none;
}

.lightbox-arrow:hover {
    background: rgba(0, 0, 0, 0.4);
}

#lightbox-prev {
    left: 18px;
}

#lightbox-next {
    right: 18px;
}

#lightbox-close {
    position: fixed;
    top: 18px;
    right: 26px;
    font-size: 36px;
    color: #fff;
    cursor: pointer;
    z-index: 1010;
    display: none;
}
#naklejka {
    display: flex;              /* włączamy flexbox */
    justify-content: center;    /* wyśrodkowanie poziome */
    align-items: center;        /* wyśrodkowanie pionowe */
    text-align: center;         /* tekst w środku */
    
}
footer {
    background: #222;
    color: white;
    text-align: center;
    padding: 20px;
}

.two-columns {
    display: flex;
    gap: 30px;
    align-items: stretch; /* klucz: prawa kolumna równa do lewej */
}

/* Lewa kolumna – max 65% szerokości */
.two-columns .col-left {
    flex: 0 1 65%;
}

/* Prawa kolumna automatycznie dopasowuje wysokość */
.two-columns {
    display: flex;
    gap: 30px;
    align-items: stretch;
    position: relative;
}
.col-left {
    flex: 0 1 60%;
    position: relative;
    z-index: 1;
}
.col-right {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 3;
}
.col-right img {
    height: auto;          /* dopasowanie do wysokości lewej kolumny */
    width: auto;           /* zachowanie proporcji */
    border-radius: 10px;
    object-fit: cover;     /* estetyczne wypełnienie */
    max-width: 80%;        /* jeśli chcesz ograniczyć szerokość */
    z-index: 3;
}


.facebook-icon {
    display: inline-block;
    width: 40px;
    height: 40px;
    background-color: #3b5998;
    /* kolor Facebooka */
    mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 320 512"><path fill="white" d="M279.14 288l14.22-92.66h-88.91V132.11c0-25.35 12.42-50.06 52.24-50.06H293V6.26S259.36 0 225.36 0c-73.22 0-121.36 44.38-121.36 124.72v70.62H22.89V288h81.11v224h100.2V288z"/></svg>') no-repeat center / contain;
    -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 320 512"><path fill="white" d="M279.14 288l14.22-92.66h-88.91V132.11c0-25.35 12.42-50.06 52.24-50.06H293V6.26S259.36 0 225.36 0c-73.22 0-121.36 44.38-121.36 124.72v70.62H22.89V288h81.11v224h100.2V288z"/></svg>') no-repeat center / contain;
    
    transition: background 0.3s;
}

.facebook-icon:hover {
    background-color: #2d4373;
    /* ciemniejszy na hover */
}
.phone-icon {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: #28a745;
    mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M493.4 24.6l-104-24c-11.4-2.6-23 3.3-28.2 13.9l-48 104c-4.5 9.7-2.4 21.3 5.3 28.7l60.8 57.2c-36.4 76.2-99.6 139.4-175.8 175.8l-57.2-60.8c-7.4-7.7-19-9.8-28.7-5.3l-104 48c-10.6 5.2-16.5 16.9-13.9 28.2l24 104c2.6 11.4 12.6 19.4 24.3 19.4 256.5 0 464-207.5 464-464 0-11.7-8-21.7-19.4-24.3z"/></svg>') no-repeat center / contain;
    -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M493.4 24.6l-104-24c-11.4-2.6-23 3.3-28.2 13.9l-48 104c-4.5 9.7-2.4 21.3 5.3 28.7l60.8 57.2c-36.4 76.2-99.6 139.4-175.8 175.8l-57.2-60.8c-7.4-7.7-19-9.8-28.7-5.3l-104 48c-10.6 5.2-16.5 16.9-13.9 28.2l24 104c2.6 11.4 12.6 19.4 24.3 19.4 256.5 0 464-207.5 464-464 0-11.7-8-21.7-19.4-24.3z"/></svg>') no-repeat center / contain;
    transition: background 0.3s;
}
.phone-icon:hover{
    background: #217735;
}
.googlemaps-icon {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: #ffffff; 
    -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zm0 9.5c-1.38 0-2.5-1.12-2.5-2.5S10.62 6.5 12 6.5s2.5 1.12 2.5 2.5S13.38 11.5 12 11.5z"/></svg>') no-repeat center / contain;
        mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zm0 9.5c-1.38 0-2.5-1.12-2.5-2.5S10.62 6.5 12 6.5s2.5 1.12 2.5 2.5S13.38 11.5 12 11.5z"/></svg>') no-repeat center / contain;
        -webkit-mask-repeat: no-repeat;
        mask-repeat: no-repeat;
    transition: background 0.3s;
}
.googlemaps-icon:hover {
    background-color: #818181;
}
.icon-l {
    display: inline-flex;      /* pozwala trzymać się linii */
    align-items: center;       /* centrowanie pionowe */
    justify-content: center;   /* centrowanie poziome */

    width: 1em;
    height: 1em;

    background: #3946c1;
    color: white;
    border-radius: 0.25em;
    font-size: 1.2em;          /* kontrolujesz wielkość ikony względem tekstu */
    line-height: 1;            /* żeby nie rozciągało tekstu */
    margin: 0 .15em;           /* mały odstęp od tekstu */
}

.icon-l::after {
    content: "L";
    font-weight: bold;
    font-size: 0.8em;          /* dopasowanie litery w środku */
}

#podpis{
    font-size:x-small;
    text-align: right;
}

@media(max-width: 800px) {
    .two-columns {
        grid-template-columns: 1fr;
    }

    .two-columns .col-right {
        margin-top: 20px;
    }
}

