* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    margin: 0;
    padding: 0;
    font-family: "Poppins", sans-serif;
    background: url("assets/background2.JPG") no-repeat center center fixed;
    background-size: cover;
    color: white;
    overflow-x: hidden;
}

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    z-index: 999;
}
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: auto;
    padding: 1rem;
    -webkit-tap-highlight-color: transparent;
    outline: none;
}

.logo {
    position: relative;
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.logo::after {
    content: "";
    position: absolute;
    bottom: -4px;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: white;
    transition: width 0.3s ease, left 0.3s ease;
    transform: translateX(-50%);
}

@media (hover: hover) {
    .logo:hover::after {
        width: 100%;
        left: 50%;
    }
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    -webkit-tap-highlight-color: transparent;
    outline: none;
    position: relative;
    transition: color 0.3s ease;
    font-weight: 600;
    font-size: 1rem;
}

.nav-links a:active {
    color: #00bfff;
}

.nav-links a::after {
    content: "";
    position: absolute;
    bottom: -4px;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: white;
    transition: width 0.3s ease, left 0.3s ease;
    transform: translateX(-50%);
}

@media (hover: hover) {
    .nav-links a:hover::after {
        width: 100%;
    }
}

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    cursor: pointer;
    z-index: 1001;
}

.hamburger span {
    display: block;
    height: 3px;
    background-color: white;
    border-radius: 2px;
    transition: all 0.3s ease;
}

@media (max-width: 950px) {
    .hamburger {
        display: flex;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        right: 0;
        width: 50vw;
        max-width: 100vw;
        background: rgba(0, 0, 0, 0.9);
        flex-direction: column;
        transform: scaleY(0);
        transform-origin: top;
        transition: transform 0.3s ease, opacity 0.3s ease;
        opacity: 0;
        pointer-events: none;
    }

    .nav-separator {
        height: 2px;
        background-color: rgba(255, 255, 255, 0.7);
        margin: 0 10%;
    }

    .nav-separator-top-edge {
        margin-top: 0.5rem;
    }

    .nav-separator-bottom-edge {
        margin-bottom: 0.5rem;
    }

    .nav-links.active {
        transform: scaleY(1);
        opacity: 1;
        pointer-events: auto;
    }

    .nav-links a {
        margin: 0.5rem 0;
        text-align: center;
        width: 100%;
    }

    .nav-separator,
    .nav-separator-top-edge,
    .nav-separator-bottom-edge {
        height: 2px;
        background-color: rgba(255, 255, 255, 0.7);
        margin: 0 10%;
        transform: scaleX(0);
        transform-origin: center;
        opacity: 0;
    }

    .nav-links.active #sep1 {
        animation: growLine 0.3s ease forwards;
        animation-delay: 0.1s;
    }
    .nav-links.active #sep2 {
        animation: growLine 0.3s ease forwards;
        animation-delay: 0.15s;
    }
    .nav-links.active #sep3 {
        animation: growLine 0.3s ease forwards;
        animation-delay: 0.2s;
    }
    .nav-links.active #sep4 {
        animation: growLine 0.3s ease forwards;
        animation-delay: 0.25s;
    }

    @keyframes growLine {
        0% {
            transform: scaleX(0);
            opacity: 0;
        }
        100% {
            transform: scaleX(1);
            opacity: 1;
        }
    }
}

/* Główna sekcja */
main#app {
    padding-top: 100px;
    display: grid;
    gap: 2rem;
    max-width: 1200px;
    margin: auto;
}

section {
    margin: 100px auto;
    padding: 2rem;
    width: 90%;
    max-width: 1000px;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 15px;
    backdrop-filter: blur(6px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    animation: fadeInUp 1s ease both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* Strona główna */
.video-section {
    position: relative;
    width: 90%;
    max-width: 1000px;
    padding: 2rem;
    margin: 0 auto;
    animation: fadeInUp 1s ease both;
    text-align: center;
}

.video-section h2 {
    margin-bottom: 2rem;
}

.video-section iframe {
    width: 100%;
    max-width: 900px;
    aspect-ratio: 16 / 9;
}

/* Galeria */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.gallery-grid img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    object-fit: cover;
    transition: transform 0.3s ease;
    cursor: zoom-in;
}

.gallery-grid img:hover {
    transform: scale(1.1);
}
