/* 🔹 Styl dla całego body */
body {
    background-color: #111827;
    color: white;
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}

/* 🔹 Nawigacja (Navbar) */
.navbar {
    background-color: #dc2626;
    background-color: #021a31;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    position: relative;
    z-index: 100;
}

.navbar-menu {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
}

.navbar-menu li {
    display: inline;
}

.navbar-menu a {
    color: white;
    text-decoration: none;
    font-size: 18px;
    padding: 10px;
    transition: color 0.3s;
}

.navbar-menu a:hover {
    color: #f39c12;
}

.navbar-toggle {
    display: none;
    font-size: 26px;
    cursor: pointer;
    background: none;
    border: none;
    color: white;
}

.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease-in-out;
    z-index: 150;
}

.menu-overlay.show {
    opacity: 1;
    visibility: visible;
}

@media screen and (max-width: 768px) {

    
    .navbar-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100%;
        background-color: #dc2626;
        background-color: #021a31;
        flex-direction: column;
        padding-top: 50px;
        transition: right 0.3s ease-in-out;
        z-index: 200;
    }

    .navbar-menu.active {
        right: 0;
    }

    .navbar-menu li {
        display: block;
        text-align: center;
        padding: 15px;
    }

    .navbar-toggle {
        display: block;
    }
}

.brand{
    font-size: 1.3rem;
}


/* 🔹 Nagłówek strony */
.hero {
    background: url('img/hero.png') center/cover no-repeat;
    /* background: linear-gradient(135deg, #1e293b, #334155); */
    color: white;
    text-align: center;
    padding: 100px 20px;
}

.hero-content {
    max-width: 800px;
    margin: auto;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 20px;
}


/* 🔹 Sekcje */
section {
    padding: 50px 20px;
    text-align: center;
}

h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}



/* 🔹 Styl sekcji usług */
.services-container {
    max-width: 72rem;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    padding: 0 16px;
}

.service-box {
    background-color: #374151;
    padding: 24px;
    border-radius: 8px;
    text-align: left;
    transition: transform 0.3s ease-in-out, background-color 0.3s ease-in-out;
    color: #ffffff;
}

.service-box:hover {
    transform: scale(1.05);
    background-color: #dc2626;
}

.service-box h3 {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 8px;
}

.service-box p {
    font-size: 1rem;
}



/* 🔹 Przycisk CTA */
.btn {
    background: #f39c12;
    color: white;
    padding: 12px 25px;
    border-radius: 5px;
    font-size: 1.2rem;
    text-decoration: none;
    display: inline-block;
    transition: 0.3s;
}

.btn:hover {
    background: white;
    color: #1e293b;
}


#komis {
    background-color: #1e293b;
    background: url('img/komis.png') center/cover no-repeat;
}


/* 🔹 Sekcja Kontakt */
#kontakt {
    /* background-color: #1e293b; */
    padding: 50px 20px;
    text-align: center;
}

.kontakt-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.kontakt-box {
    background-color: #334155;
    padding: 20px;
    border-radius: 10px;
    width: 300px;
    text-align: center;
    transition: transform 0.3s ease-in-out, background-color 0.3s ease-in-out;
}

.kontakt-box h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.kontakt-box p {
    font-size: 1.1rem;
}

.kontakt-box:hover {
    transform: scale(1.05);
    background-color: rgb(50, 61, 78);
}


#dojazd {
    background-color: #1e293b;
}

/* 🔹 Sekcja Dojazd */
#dojazd iframe {
    width: 100%;
    height: 400px;
    border: none;
    border-radius: 8px;
}


/* 🔹 Stopka */
.footer {
    background-color: #1a202c;
    color: white;
    text-align: center;
    padding: 20px 10px;
    margin-top: 20px;
}

.footer p {
    margin: 0;
    font-size: 1rem;
}


/* 🔹 Styl nowoczesnej podstrony Regulaminu */
.policy-container {
    max-width: 900px;
    margin: 50px auto;
    background: #1e293b; /* Ciemne tło pasujące do strony */
    color: #ffffff; /* Jasny tekst dla czytelności */
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.5);
    text-align: left;
}

.policy-container h1 {
    font-size: 2rem;
    color: #f39c12; /* Pomarańczowy akcent */
    border-bottom: 2px solid #f39c12;
    padding-bottom: 10px;
}

.policy-container h2 {
    font-size: 1.5rem;
    margin-top: 20px;
    color: #f39c12;
}

.policy-container p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 15px;
}


/* 🔹 Styl banera cookies */
#cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: calc(100% - 40px);
    max-width: 500px;
    background: #f8f9fa;
    color: #333;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1rem;
}

#cookie-banner a {
    color: #dc2626;
    text-decoration: underline;
}

#cookie-banner button {
    background: #dc2626;
    color: white;
    padding: 10px 15px;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    transition: 0.3s;
}

#cookie-banner button:hover {
    background: #b91c1c;
}

#back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: #f39c12;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.3);
    transition: opacity 0.3s, transform 0.3s;
    opacity: 0;
    transform: translateY(100px);
}

#back-to-top.show {
    opacity: 1;
    transform: translateY(0);
}

/* @media screen and (max-width: 768px) {
    #back-to-top {
        display: none;
    }
} */
