:root { 
    --gold: #FFD700; 
    --bg: #0a0a0a; 
    --text: #ffffff;
    --card-bg: #151515;
}

body { 
    background: var(--bg); 
    color: var(--text); 
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif; 
    margin: 0; 
    scroll-behavior: smooth; 
}

.navbar { 
    padding: 5px 5%; 
    display: flex; 
    justify-content: space-between; 
    align-items: center;
    border-bottom: 1px solid #333; 
    position: sticky; 
    top: 0; 
    z-index: 99; 
    background: rgba(10, 10, 10, 0.95); 
    backdrop-filter: blur(10px);
}
.logo { display: flex; align-items: center; }

.logo a { 
    display: flex; 
    align-items: center; 
    text-decoration: none !important; 
    transition: opacity 0.3s; 
}
.logo a:hover { opacity: 0.8; }
.logo img { height: 100px; width: auto; }

.lang-switcher a { 
    margin-left: 10px; 
    padding: 6px 12px; 
    border: 1px solid var(--gold); 
    color: var(--gold); 
    text-decoration: none; 
    border-radius: 4px; 
    transition: 0.3s; 
    font-size: 0.9rem;
}
.lang-switcher a.active, .lang-switcher a:hover { background: var(--gold); color: #000; }

/* ==========================================================================
   STYL DLA ŚRODKOWEJ SEKCJI NAVBARU (WERSJA PO PRZERÓBKACH RWD)
   ========================================================================== */
.nav-mid-container {
    display: flex;
    align-items: center;
    gap: 25px;
}

.nav-mid-socials {
    display: flex;
    gap: 15px;
    align-items: center;
}

.nav-mid-socials a {
    font-size: 1.4rem;
    color: var(--gold);
    transition: 0.3s ease;
    text-decoration: none !important;
}

.nav-mid-socials a:hover {
    color: #ffffff;
    transform: scale(1.15);
}

.btn-nav-review {
    background: var(--gold);
    color: #000000;
    padding: 8px 16px;
    border: 1px solid var(--gold);
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.85rem;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: 0.3s ease;
}

.btn-nav-review i {
    font-size: 0.9rem;
}

.btn-nav-review:hover {
    background: transparent;
    color: var(--gold);
}

/* ==========================================================================
   RESPONSYWNOŚĆ (TABLETY I TELEFONY)
   ========================================================================== */

/* Dla tabletów i mniejszych ekranów (poniżej 992px) */
@media (max-width: 992px) {
    .nav-mid-container {
        flex-direction: column; /* Ustawia sociale nad przyciskiem */
        gap: 10px;              /* Zmniejsza odstęp między nimi */
        padding: 5px 0;
    }
}

/* Dla telefonów (poniżej 680px) - zapobiega rozjechaniu się paska */
@media (max-width: 680px) {
    .navbar {
        flex-wrap: wrap;       /* Pozwala elementom przejść do nowej linii */
        justify-content: space-between;
        padding: 10px 5%;
    }

    .logo {
        order: 1;              /* Logo zostaje po lewej */
    }

    .lang-switcher {
        order: 2;              /* Języki zostają po prawej */
    }

    .nav-mid-container {
        order: 3;              /* Sociale i przycisk lądują centralnie pod logo i językami */
        width: 100%;           /* Zajmują pełną szerokość na dole navbaru */
        margin-top: 10px;
        border-top: 1px solid #222; /* Delikatna linia oddzielająca */
        padding-top: 10px;
    }
}

.hero { height: 80vh; position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; overflow: hidden; }
.carousel { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: -1; }
.slide { width: 100%; height: 100%; display: none; background-size: cover; background-position: center; filter: brightness(0.4); }
.slide.active { display: block; }

.btn-main { 
    display: inline-flex; 
    align-items: center; 
    justify-content: center; 
    padding: 20px 60px; 
    background: var(--gold); 
    color: #000; 
    border-radius: 50px; 
    font-weight: 800; 
    text-decoration: none; 
    transition: all 0.4s ease; 
    position: relative;
    min-width: 250px;
    overflow: hidden;
}
.btn-main span { transition: opacity 0.3s ease; }
.btn-main:hover span { opacity: 0; }
.btn-main:hover::before { 
    content: attr(data-text); 
    position: absolute; 
    font-weight: 900; 
    font-size: 1.2rem;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.content-section { 
    background: var(--bg); 
    padding: 80px 5%; 
    position: relative; 
    z-index: 3; 
}

.services { 
    background: #111; 
    padding: 100px 5% 80px 5%; 
    margin-top: -60px; 
    position: relative; 
    z-index: 2; 
    border-radius: 50px 50px 0 0;
}

.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; margin-top: 40px; }
.card { background: var(--card-bg); padding: 40px; border-radius: 20px; border: 1px solid #333; transition: 0.4s; }
.card:hover { border-color: var(--gold); transform: translateY(-10px); box-shadow: 0 10px 30px rgba(255,215,0,0.1); }
.card h3 { color: var(--gold); margin-top: 0; }

.cookie-ui { 
    position: fixed; 
    bottom: 20px; 
    left: 5%; 
    right: 5%; 
    background: #1a1a1a; 
    padding: 20px 30px; 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    border-radius: 15px; 
    border: 1px solid var(--gold); 
    box-shadow: 0 10px 30px rgba(0,0,0,0.5); 
    z-index: 90; 
}
.cookie-ui button { 
    background: var(--gold); 
    border: none; 
    padding: 12px 25px; 
    border-radius: 8px; 
    cursor: pointer; 
    font-weight: 800; 
    color: #000;
    transition: 0.3s;
}
.cookie-ui button:hover { background: #fff; }

.float-btn { 
    position: fixed; 
    bottom: 30px; 
    right: 30px; 
    background: var(--gold); 
    padding: 20px; 
    border-radius: 50%; 
    box-shadow: 0 0 20px rgba(255,215,0,0.4); 
    z-index: 1000; 
    font-size: 24px; 
    transition: 0.3s;
    text-decoration: none !important;
    border: none;
}
.float-btn:hover { transform: scale(1.1); }

footer { 
    position: relative; 
    text-align: center; 
    padding: 60px 5%; 
    background: #050505; 
    border-top: 1px solid #333; 
    z-index: 100; 
    margin-top: -40px; 
}
footer a { color: var(--gold); text-decoration: none; font-weight: bold; }

.social-links { 
    display: flex; 
    gap: 20px; 
    justify-content: center; 
    align-items: center;
}

.social-links a { 
    font-size: 1.8rem;
    color: var(--gold); 
    transition: 0.3s;
    text-decoration: none;
}

.social-links a:hover { 
    color: #fff; 
    transform: scale(1.1);
}

.footer-container { 
    display: flex; 
    flex-wrap: wrap; 
    justify-content: space-around; 
    align-items: center;
    max-width: 1000px; 
    margin: 0 auto; 
    gap: 20px;
}

.footer-col { 
    text-align: center; 
}

.footer-col { 
    flex: 1; 
    min-width: 250px; 
}

.footer-col h3 { 
    color: var(--gold); 
    margin-bottom: 15px; 
    font-size: 1.2rem; 
}

.footer-col p, .footer-col a { 
    color: #ccc; 
    display: block; 
    margin-bottom: 8px; 
    text-decoration: none; 
    transition: 0.3s; 
}

.footer-col a:hover { 
    color: var(--gold); 
}

.social-links { display: flex; gap: 15px; }

@media (max-width: 768px) {
    .footer-container { text-align: center; justify-content: center; }
    .social-links { justify-content: center; }
}

@media (max-width: 768px) {
    .btn-main { padding: 15px 40px; min-width: 200px; }
    .hero h1 { font-size: 1.8rem; }
    .cookie-ui { flex-direction: column; gap: 15px; text-align: center; }
}