﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    overflow: hidden;
}

body {
    font-family: Arial, sans-serif;
    background: #111;
    color: #eee;
    height: 100vh;
    position: relative;
}

/* FILM JAKO TŁO */
.background-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    filter: brightness(55%); /* było 45% – film lepiej widoczny */
}

/* GŁÓWNY KONTENER */
.main-container {
    height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
}

/* HEADER */
header {
    background: rgba(17, 17, 17, 0.85);
    padding: 12px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid #ffcc00;
    backdrop-filter: blur(5px);
    flex-shrink: 0;
    z-index: 10;
    height: 70px;
}

.logo {
    font-size: 18px;
    font-weight: bold;
    color: #ffcc00;
}

nav {
    display: flex;
    align-items: center;
    gap: 15px;
}

    nav a {
        color: #eee;
        text-decoration: none;
        font-size: 13px;
        white-space: nowrap;
    }

        nav a:hover {
            color: #ffcc00;
        }

.lang {
    display: flex;
    gap: 8px;
}

    .lang a {
        font-weight: bold;
        cursor: pointer;
        font-size: 12px;
    }

/* GŁÓWNY TYTUŁ */
.main-title {
    text-align: center;
    padding: 40px 20px 20px 20px;
    z-index: 5;
    position: relative;
    background: rgba(17, 17, 17, 0.6);
    backdrop-filter: blur(3px);
    border-bottom: 1px solid rgba(255, 204, 0, 0.3);
    flex-shrink: 0;
}

    .main-title h1 {
        font-size: 28px;
        color: #fff;
        margin: 0 0 10px 0;
        text-shadow: 0 0 15px rgba(0, 0, 0, 0.9);
        letter-spacing: 0.5px;
    }

    .main-title h2 {
        font-size: 16px;
        color: #ffcc00;
        margin: 0;
        font-weight: normal;
        text-shadow: 0 0 10px rgba(0, 0, 0, 0.8);
        letter-spacing: 1px;
    }

/* TREŚĆ STRONY */
.content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    position: relative;
}

/* KONTENER TREŚCI – ZMNIEJSZONE ODSTĘPY */
.content-container {
    width: 100%;
    background: rgba(17, 17, 17, 0.85);
    border-top: 3px solid #ffcc00;
    padding: 15px 30px 25px 30px; /* było dużo więcej */
    backdrop-filter: blur(8px);
    position: relative;
    z-index: 2;
}

/* SEKCJE */
.sections-container {
    display: flex;
    flex-direction: column;
    gap: 20px; /* było 30px – kompaktowo */
    max-width: 1200px;
    margin: 0 auto;
}

/* ================================
   SEKCJA „O NAS” (KOMPAKTOWA)
================================ */

.about-section {
    width: 100%;
    margin-bottom: 5px; /* było 15 */
    padding: 10px 0; /* dodane – zmniejsza wysokość */
}

    .about-section h3 {
        font-size: 18px; /* było 20 */
        color: #ffcc00;
        margin-bottom: 8px; /* było 15 */
        text-align: left;
    }

    .about-section p {
        font-size: 14px; /* było 15 */
        line-height: 1.4; /* było 1.6 */
        color: #eee;
        text-align: left;
        max-width: 100%;
    }

/* LINIA PODZIELAJĄCA */
.divider {
    width: 100%;
    height: 1px;
    background: rgba(255, 204, 0, 0.3);
    margin: 10px 0 20px 0; /* niższa linia */
}

/* ================================
   SEKCJA „NASZE USŁUGI”
================================ */

.services-section {
    width: 100%;
}

    .services-section h3 {
        font-size: 18px; /* było 20 */
        color: #ffcc00;
        margin-bottom: 10px; /* było 25 */
        text-align: left;
    }

/* GRID USŁUG – MNIEJSZE KAFELKI */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px; /* było 20 – niżej */
    margin-top: 10px;
}

.service-tile {
    background: rgba(40, 40, 40, 0.7);
    border: 1px solid rgba(255, 204, 0, 0.3);
    border-radius: 8px;
    padding: 18px 15px; /* było 25px */
    text-align: center;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

    .service-tile:hover {
        transform: translateY(-5px);
        border-color: #ffcc00;
        background: rgba(50, 50, 50, 0.8);
    }

    .service-tile h4 {
        color: #ffcc00;
        font-size: 18px;
        margin-bottom: 10px; /* mniejszy odstęp */
    }

    .service-tile p {
        color: #ddd;
        font-size: 14px;
        line-height: 1.4; /* było 1.5 */
    }

/* STOPKA */
footer {
    background: rgba(17, 17, 17, 0.9);
    text-align: center;
    padding: 12px;
    border-top: 1px solid rgba(255, 204, 0, 0.3);
    backdrop-filter: blur(5px);
    font-size: 12px;
    z-index: 2;
}
