html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #1a1a1a;
    color: #fff;
}

.hero {
    position: relative;
    height: 60vh;
    background: url('tlo.jpg') center/cover no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);/
}

.hero h1 {
    position: relative;
    color: #f5d142;
    font-size: 3rem;
    font-weight: bold;
    text-align: center;
    z-index: 1;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.7);
}

.about-section {
    background: #1a1a1a;
    color: #fff;
    padding: 40px 20px;
    border-radius: 8px;
    margin: 40px auto;
    max-width: 900px;
    line-height: 1.6;
}

.about-section h2 {
    color: #f5d142;
    font-size: 2rem;
    margin-bottom: 20px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.about-section h3 {
    color: #FFD700;
    margin-top: 25px;
    margin-bottom: 10px;
}

.about-section p {
    margin-bottom: 15px;
    color: #ddd;
}

.about-section ul {
    margin: 15px 0;
    padding-left: 20px;
}

.about-section ul li {
    margin-bottom: 8px;
    color: #fff;
}

.info {
    background: #1a1a1a;
    color: #eaeaea;
    padding: 70px 40px;
    line-height: 1.8;
    text-align: center;
}

.info h2 {
    text-align: center;
    font-size: 2.4rem;
    color: #f5d142;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.info h3 {
    font-size: 1.6rem;
    color: #f5d142;
    margin-top: 40px;
    margin-bottom: 15px;
    text-align: center;
    border: none;
    padding-left: 0;
}

.info p {
    max-width: 900px;
    margin: 0 auto 25px auto;
    text-align: justify;
    font-size: 1.05rem;
}

.info ul {
    list-style: none;
    max-width: 900px;
    margin: 0 auto 25px auto;
    padding-left: 0;
}

.info ul li {
    margin-bottom: 12px;
    font-size: 1rem;
    position: relative;
    padding-left: 0;
}

.info ul li::before {
    color: #f5d142;
    position: absolute;
    left: 0;
    font-size: 1.2rem;
}

.info-text {
    max-height: 300px;
    overflow: hidden;
    position: relative;
}

.info-text::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(to bottom, rgba(26, 26, 26, 0), rgba(26, 26, 26, 0.9));
}

.info-text.expanded {
    max-height: none;
}

.info-text.expanded::after {
    display: none;
}

#readMoreBtn {
    display: block;
    margin: 20px auto 0 auto;
    padding: 10px 25px;
    background: #f5d142;
    color: #1a1a1a;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
}

#readMoreBtn:hover {
    background: #ffd84d;
    transform: scale(1.05);
}

nav {
    background: #1a1a1a;
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

nav .logo {
    display: flex;
    align-items: center;
    font-size: 1.6rem;
    font-weight: bold;
    color: #f5d142;
    letter-spacing: 2px;
    text-transform: uppercase;
}

nav .logo img {
    height: 40px;
    margin-right: 10px;
}

nav ul {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

nav ul li {
    margin: 0 20px;
}

nav ul li a {
    color: #f5d142;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: color 0.3s ease, border-bottom 0.3s ease;
    padding: 5px 0;
}

nav ul li a:hover {
    color: #ffffff;
    border-bottom: 2px solid #f5d142;
}

.nav-facebook a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin-left: 20px;
    transition: transform 0.3s ease;
}

.facebook-icon {
    width: 44px;
    height: 44px;
}

.nav-facebook a:hover {
    transform: scale(1.1);
}

.menu-toggle {
    display: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: #FFD700;
}

#backToTop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #f5d142;
    color: #1a1a1a;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
    font-weight: bold;
    cursor: pointer;
    display: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    transition: background 0.3s ease, transform 0.3s ease;
}

#backToTop:hover {
    background: #ffd84d;
    /* jaśniejszy złoty */
    transform: scale(1.1);
}

.services {
    background: #1a1a1a;
    padding: 60px 40px;
    color: #fff;
}

.services h2 {
    text-align: center;
    font-size: 2.2rem;
    color: #f5d142;
    margin-bottom: 40px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.service-item {
    background: #2a2a2a;
    border: 2px solid #333;
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    color: #fff;
    transition: background 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 180px;
}

.service-item:hover {
    background: #f5d142;
    color: #1a1a1a;
    transform: translateY(-5px);
}

.service-title {
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 15px;
    color: #f5d142;
}

.service-summary {
    font-size: 1rem;
    margin-bottom: 15px;
}

.service-details {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.5s ease, opacity 0.5s ease;
    font-size: 0.95rem;
}

.service-item.expanded .service-details {
    max-height: 300px;
    opacity: 1;
}

.read-more-btn {
    margin-top: auto;
    padding: 10px 20px;
    background: #f5d142;
    color: #1a1a1a;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
}

.read-more-btn {
    margin-top: auto;
    padding: 10px 20px;
    background: #f5d142;
    color: #1a1a1a;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease, color 0.3s ease;
}

.read-more-btn:hover {
    background: #ffd84d;
    transform: scale(1.05);
}

.service-item:hover .read-more-btn {
    background: #1a1a1a;
    color: #f5d142;
}

.gallery {
    background: #1a1a1a;
    color: #fff;
    padding: 60px 40px;
    text-align: center;
}

.gallery h2 {
    font-size: 2.2rem;
    color: #f5d142;
    margin-bottom: 40px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.gallery-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.gallery-img {
    width: 200px;
    height: auto;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-img:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(245, 209, 66, 0.6);
}

.hidden {
    display: none;
}

#showMoreBtn {
    margin-top: 20px;
    padding: 10px 25px;
    background: linear-gradient(135deg, #f5d142, #ffd84d);
    color: #1a1a1a;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

#showMoreBtn:hover {
    background: linear-gradient(135deg, #ffd84d, #f5d142);
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.4);
}

.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.lightbox-img {
    max-width: 80%;
    max-height: 80%;
    border-radius: 10px;
}

.close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 2rem;
    color: #fff;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    transition: all 0.3s ease;
}

.close:hover {
    background: rgba(245, 209, 66, 0.9);
    color: #1a1a1a;
    transform: rotate(90deg);
}

.prev,
.next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(245, 209, 66, 0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.8rem;
    font-weight: bold;
    color: #1a1a1a;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.prev {
    left: 30px;
}

.next {
    right: 30px;
}

.prev:hover,
.next:hover {
    background: #ffd84d;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.5);
}

.prev:active,
.next:active {
    transform: translateY(-50%) scale(0.95);
    background: #f5d142;
}

.contact {
    background: #1a1a1a;
    color: #fff;
    padding: 60px 40px;
    text-align: center;
}

.contact h2 {
    font-size: 2.2rem;
    color: #f5d142;
    margin-bottom: 40px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.contact-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
}

.contact-item {
    flex: 1 1 200px;
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-item h3 {
    color: #f5d142;
    margin-bottom: 10px;
}

.contact-item a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(245, 209, 66, 0.4);
}

.facebook-card i {
    font-size: 1.2rem;
    color: #1877F2;
    margin-right: 6px;
}

.facebook-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
}

.facebook-icon {
    display: inline-block;
    flex-shrink: 0;
}

.facebook-link:hover {
    color: #f5d142;
}

.footer {
    width: 100%;
    background: inherit;
    color: #fff;
    text-align: center;
    font-size: 0.85rem;
    border-top: 1px solid #444;
    margin: 0;
    padding: 0;
}

.footer p {
    margin: 0;
    line-height: 2.2;
    color: #bbb;
}

@media (max-width: 768px) {
    nav {
        flex-direction: row;
        justify-content: space-between;
        padding: 15px 20px;
    }

    .menu-toggle {
        display: block;
        font-size: 1.8rem;
        cursor: pointer;
        color: #FFD700;
    }

    nav ul {
        display: none;
        flex-direction: column;
        background: #111;
        position: absolute;
        top: 60px;
        right: 20px;
        width: 220px;
        border: 2px solid #FFD700;
        border-radius: 5px;
        padding: 15px 0;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
        z-index: 999;
    }

    nav ul li {
        margin: 12px 0;
        text-align: center;
    }

    nav ul li a {
        display: block;
        width: 100%;
        padding: 8px 0;
    }

    nav ul.show {
        display: flex;
    }

    .nav-facebook {
        margin-top: 10px;
        display: flex;
        justify-content: center;
    }

    .nav-facebook a {
        width: 44px;
        height: 44px;
    }

    .facebook-icon {
        width: 28px;
        height: 28px;
    }
}

/* Jeżeli ktoś to kiedyś znajdzie to pozdrawiam serdecznie z rodzinkom :* <3  ~Filip */