/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}
/* Top Contact Bar */
.top-bar {
    background: #5D4037;
    color: white;
    padding: 10px 20px;
    font-size: 14px;
    display: flex;
    justify-content: space-between; /* Równomierne rozmieszczenie */
    align-items: center;
    flex-wrap: wrap; /* Zapobiega nachodzeniu na siebie na małych ekranach */
}

/* Kontener przycisku powrotu */
.top-left {
    display: flex;
    align-items: center;
}

/* Przycisk powrotu */
.back-home {
    color: white;
    font-size: 14px;
    font-weight: bold;
    text-decoration: none;
    padding: 8px 15px;
    background: #FFC107;
    border-radius: 20px;
    transition: background 0.3s ease-in-out, transform 0.2s ease-in-out;
    display: inline-flex;
    align-items: center;
    gap: 5px; /* Odstęp między ikoną a tekstem */
}

/* Efekt hover */
.back-home:hover {
    background: #e0a800;
    transform: scale(1.05);
}

/* Sekcja kontaktowa */
.contact-info {
    display: flex;
    align-items: center;
    gap: 20px; /* Równomierne odstępy między numerami i e-mailem */
    flex-wrap: wrap; /* Dzięki temu na małych ekranach numer i e-mail przechodzą na nową linię */
}

/* Ikony kontaktowe */
.contact-info i {
    font-size: 16px;
    color: #FFC107;
    margin-right: 5px;
}

/* Numery telefonów i e-mail */
.contact-info p {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 5px; /* Odstęp między ikoną a tekstem */
}

/* Dostosowanie układu dla urządzeń mobilnych */
@media (max-width: 768px) {
    .top-bar {
        flex-direction: column;
        text-align: center;
        padding: 15px 10px;
    }

    .top-left {
        justify-content: center;
        margin-bottom: 10px;
    }

    .contact-info {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }

    .contact-info p {
        display: block; /* Numery i e-mail idą w osobnych liniach */
    }

    .back-home {
        padding: 10px 20px;
        font-size: 16px;
        display: inline-block;
    }
}

/* Navbar Section */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    padding: 15px 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.logo img {
    height: 60px;
}

.menu ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

.menu ul li {
    display: inline;
}

.menu ul li a {
    text-decoration: none;
    color: #333;
    font-size: 16px;
    font-weight: bold;
}

.menu ul li a:hover {
    color: #5D4037;
}

/* Produkt - Główna Sekcja */
.product-section {
    background-color: #f8f8f8; /* Jasne tło */
    padding: 40px 5%;
}

/* Produkt - Główny Kontener */
.product-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Lewa Kolumna - Kategorie Produktów */
.product-sidebar {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    padding: 20px;
    width: 25%;
    text-align: left;
}

/* Nagłówek Kategorii */
.product-sidebar h3 {
    text-align: center;
    font-size: 20px;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
}

/* Akordeon - Główne Kategorie */
.accordion {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Stylizacja przycisków kategorii */
.accordion-btn {
    width: 100%;
    background: #5D4037; /* Ciemny brąz */
    color: white;
    font-size: 18px;
    font-weight: bold;
    text-align: left;
    padding: 12px;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    transition: background 0.3s ease, transform 0.1s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 5px; /* 🔹 Subtle spacing between categories */
}


/* Efekt hover na kategorie */
.accordion-btn:hover {
    background: #6E4C41; /* Jaśniejszy brąz */
    transform: scale(1.02); /* 🔹 Slight zoom effect on hover */
}

/* Stylizacja rozwiniętych podkategorii */
.accordion-content {
    list-style: none;
    padding: 0;
    margin: 0;
    display: none;
    background: #E7D3C3; /* Jaśniejszy brąz */
    border-radius: 5px;
}

.accordion-content li {
    padding: 10px;
}

.accordion-content a {
    text-decoration: none;
    color: #5D4037;
    font-size: 16px;
    display: block;
    transition: color 0.3s ease-in-out;
}

.accordion-content a:hover {
    color: #8B5A2B;
}

/* Środkowa Kolumna - Obraz Produktu */
.product-image {
    width: 30%;
    display: flex;
    justify-content: center;
}

.product-image img {
    width: 100%;
    max-width: 450px; /* Utrzymanie proporcji */
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Prawa Kolumna - Opis Produktu */
.product-description {
    width: 40%;
}

/* Nagłówek Opisu */
.product-description h2 {
    font-size: 26px;
    font-weight: bold;
    color: #5D4037;
    margin-bottom: 15px;
}

/* Stylizowane Pole Opisu */
.description-box {
    background: #d9d9d9; /* Ciemniejszy odcień */
    padding: 15px;
    border-radius: 10px;
    font-size: 16px;
    line-height: 1.6;
}

/* Ikony i Opis */
.description-box p {
    margin: 6px 0;
    font-weight: bold;
}

/* Sekcja dostępności */
.availability {
    font-size: 18px;
    font-weight: bold;
    color: #008000; /* Zielony dla dostępności */
    margin-top: 10px;
}

/* Responsywność */
@media (max-width: 1024px) {
    .product-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .product-sidebar, .product-image, .product-description {
        width: 90%;
        margin-bottom: 20px;
    }

    .product-sidebar {
        order: -1;
    }
}

/* Sekcja Kontakt i Informacje */
.contact-section {
    background-color: #5D4037; /* Ciemny brąz */
    padding: 30px 10%;
    color: white;
}

/* Kontener trzymający kolumny */
.contact-container {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
    max-width: 1100px;
    margin: 0 auto;
}

/* Pojedyncza kolumna */
.contact-box {
    flex: 1;
    min-width: 250px;
    max-width: 300px;
}

/* Nagłówki */
.contact-box h3 {
    font-size: 20px;
    font-weight: bold;
    color: #FFC107; /* Żółty nagłówek */
    margin-bottom: 15px;
}

/* Dane kontaktowe i opisy */
.contact-box p {
    font-size: 16px;
    color: white;
    line-height: 1.5;
}

/* Ikony w pomarańczowym kolorze */
.contact-box i {
    color: #e67e22; /* Pomarańczowe ikony */
    margin-right: 8px;
}

/* Responsywność */
@media (max-width: 768px) {
    .contact-container {
        flex-direction: column;
        gap: 20px;
    }
}

/* Sekcja SEO */
.seo-section {
    background-color: #f0f0f0; /* Jasnoszare tło */
    padding: 20px 5%;
    text-align: center;
}

/* Słowa kluczowe */
.seo-keywords {
    font-size: 14px;
    color: #e67e22; /* Pomarańczowy tekst */
    margin-bottom: 10px;
    font-weight: bold;
}

/* Linki SEO */
.seo-links a {
    font-size: 14px;
    color: #e67e22; /* Pomarańczowy */
    text-decoration: underline;
    font-weight: bold;
    margin: 0 5px;
}

/* Responsywność */
@media (max-width: 768px) {
    .seo-keywords, .seo-links {
        font-size: 12px;
    }
}

/* Sekcja Wynajem Samochodu HDS */
.hds-section {
    background-color: #f8f8f8; /* Jasne tło */
    padding: 50px 10%;
}

.hds-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    max-width: 1100px;
    margin: 0 auto;
}

/* Lewa kolumna: Obraz */
.hds-image img {
    width: 100%;
    max-width: 500px;
    border-radius: 15px; /* Zaokrąglone rogi */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Prawa kolumna: Opis */
.hds-text {
    flex: 1;
    text-align: left;
}

/* Nagłówek */
.hds-text h2 {
    font-size: 24px;
    font-weight: bold;
    color: #008000; /* Zielony kolor */
    margin-bottom: 15px;
}

/* Opis w stylizowanym bloku */
.hds-description {
    background: #e0e0e0; /* Szare tło */
    padding: 20px;
    border-radius: 10px; /* Zaokrąglone rogi */
    font-size: 16px;
    line-height: 1.6;
}

/* Ikony kolorowe */
.hds-description p {
    margin: 8px 0;
    font-weight: bold;
}

/* Responsywność */
@media (max-width: 900px) {
    .hds-container {
        flex-direction: column;
        text-align: center;
    }

    .hds-text {
        text-align: center;
    }

    .hds-image img {
        max-width: 100%;
    }
}

/* Sekcja Nasza Oferta */
.oferta {
    padding: 60px 10%;
    background-color: #ffffff;
    text-align: center;
}

/* Główny nagłówek sekcji */
.oferta h2 {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 30px;
    color: #333;
}

/* Separator */
.separator {
    width: 60%;
    height: 3px;
    background-color: #ccc;
    margin: 15px auto;
    border-radius: 5px;
}

/* Siatka produktowa */
.oferta-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    justify-content: center;
    margin-top: 20px;
}

/* Karta produktu */
.oferta-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    padding: 15px;
    text-align: center;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

/* Efekt hover tylko na obraz */
.oferta-card img {
    width: 100%;
    border-radius: 8px;
    transition: transform 0.3s ease-in-out;
}

.oferta-card:hover img {
    transform: scale(1.05);
}

/* Nagłówek karty */
.oferta-card h3 {
    font-size: 20px;
    font-weight: bold;
    margin-top: 10px;
    color: #333;
}

/* Cena */
.price {
    font-size: 18px;
    font-weight: bold;
    color: #5D4037;
    margin-top: 5px;
}

/* RWD - 2 kolumny na mobile */
@media (max-width: 768px) {
    .oferta-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
}

/* RWD - 1 kolumna na bardzo małych ekranach */
@media (max-width: 480px) {
    .oferta-grid {
        grid-template-columns: repeat(1, 1fr);
    }
}

/* Przycisk "więcej" */
.btn-wiecej {
    display: block;
    text-align: center;
    background-color: #FFC107; /* Żółty przycisk */
    color: black;
    font-weight: bold;
    text-decoration: none;
    padding: 10px 15px;
    border-radius: 20px;
    margin: 10px auto;
    width: 100px;
    transition: background 0.3s ease-in-out, transform 0.2s ease-in-out;
}

/* Efekt hover */
.btn-wiecej:hover {
    background-color: #e0a800;
    transform: scale(1.05);
}
