/* 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: flex-end; /* WYRĂWNANIE DO PRAWEJ na desktopie */
    align-items: center;
}

/* Sekcja kontaktowa */
.contact-info {
    display: flex;
    align-items: center;
    gap: 30px; /* OdstÄpy miÄdzy numerami i e-mailem */
    flex-wrap: nowrap; /* Zapobiega zawijaniu */
}

/* Ikony kontaktowe */
.contact-info i {
    font-size: 20px;
    color: #FFC107; /* ZĹoty kolor ikon */
}

/* Kontener dla telefonu i e-maila */
.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
}

/* Ikony kontaktowe */
.contact-item i {
    font-size: 20px;
    color: #FFC107; /* ZĹoty kolor ikon */
}

/* đĽ WERSJA NA TELEFONY â Ikony nad tekstem, wszystko wyĹrodkowane */
@media (max-width: 768px) {
    .top-bar {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .contact-info {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }

    .contact-item {
        flex-direction: column; /* Ikona nad tekstem */
        text-align: center;
    }

    .contact-item i {
        font-size: 24px; /* WiÄksze ikony */
        margin-bottom: 5px;
    }
}



/* 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;
}

/* Podstawowy styl na duĹźe ekrany - menu widoczne */
.menu {
    display: flex;
}

.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;
}

/* Ikona hamburgera - ukryta na duĹźych ekranach */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #333;
}

/* Dla telefonĂłw: ukrywamy menu i pokazujemy ikonÄ */
@media (max-width: 768px) {
    .menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background: white;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        text-align: center;
        padding: 10px 0;
    }

    .menu ul {
        flex-direction: column;
        gap: 10px;
    }

    .menu ul li {
        display: block;
        padding: 10px;
    }

    .menu-toggle {
        display: block;
    }

    /* Klasa aktywna - gdy menu jest rozwiniÄte */
    .menu.active {
        display: flex;
    }
}

/* Hero Section */
/* UkĹad na duĹźe ekrany (desktop) */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 50px 10%;
    background: #F5F5F5;
}

.hero-text {
    flex: 1;
    text-align: center;
}

.hero-text h2 {
    font-size: 32px;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
    text-align: center;
}

.hero-text p {
    font-size: 18px;
    color: #555;
    margin-bottom: 20px;
    text-align: center;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image img {
    width: 100%; 
    max-height: 400px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: opacity 0.5s ease-in-out; 
    opacity: 1;
}

/* Poprawiony ukĹad na telefony */
@media (max-width: 768px) {
    .hero {
        flex-direction: column; /* Opis, zdjÄcie i kategorie jeden pod drugim */
        text-align: center;
        padding: 20px 0; /* Zmniejszenie paddingu */
    }

    .hero-text {
        max-width: 100%;
        order: 1; /* Opis na gĂłrze */
        padding: 0 5%; /* Dodanie minimalnych marginesĂłw */
    }

    .hero-image {
        order: 2; /* ZdjÄcie pod opisem */
        width: 100%; /* đš ZdjÄcie na caĹÄ szerokoĹÄ */
        max-width: 100%;
    }

    .hero-image img {
        width: 100%; /* đĽ Obraz rozciÄga siÄ na caĹÄ szerokoĹÄ */
        height: auto; /* Zachowanie proporcji */
        border-radius: 0; /* Brak zaokrÄgleĹ na krawÄdziach dla peĹnej szerokoĹci */
    }

    .product-container {
        order: 3; /* Kategorie produktĂłw na koĹcu */
        width: 100%; /* đš Kontener zajmuje peĹnÄ szerokoĹÄ */
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .product-sidebar {
        width: 100% !important; /* đĽ Kategorie produktĂłw zajmujÄ caĹÄ szerokoĹÄ */
        max-width: 100% !important;
        padding: 0; /* UsuniÄcie paddingu bocznego */
    }

    .product-sidebar h3 {
        padding: 15px; /* Zachowanie odstÄpĂłw dla nagĹĂłwka */
    }

    .accordion {
        width: 100% !important; /* đĽ PeĹna szerokoĹÄ listy kategorii */
        max-width: 100% !important;
    }
}

.guarantee {
    margin-top: 10px;
    font-weight: bold;
    color: #5D4037;
}

/* 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;
}

/* Podsekcje: Drzewo Tartaczne Mokre, KantĂłwki */
.subheading {
    font-size: 28px;
    font-weight: bold;
    margin-top: 40px;
    margin-bottom: 10px;
    color: #555;
}

/* Kategoria Deska & KantĂłwki */
.category-title {
    font-size: 24px;
    font-weight: bold;
    color: #8B4513; 
    text-align: left;
    margin-left: 10%;
    margin-top: 30px;
}

/* 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);
    }
}

/* Animacja fade-in */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.show {
    opacity: 1;
    transform: translateY(0);
}

/* Sekcja Trzech Kolumn */
.info-section {
    background-color: #f8f8f8; /* Jasne tĹo */
    padding: 35px 10%;
    text-align: center;
}

/* Kontener trzymajÄcy kolumny */
.info-container {
    display: flex;
    justify-content: center; 
    gap: 70px; 
    max-width: 900px; 
    margin: 0 auto; 
    flex-wrap: wrap;
}

/* Pojedyncza kolumna */
.info-box {
    flex: 1;
    min-width: 250px;
    max-width: 300px;
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
}

/* Ikona w pomaraĹczowym okrÄgu */
.info-icon {
    width: 60px;
    height: 60px;
    background-color: #e67e22; 
    color: white;
    font-size: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    margin: 0 auto 15px;
}

/* NagĹĂłwki */
.info-box h3 {
    font-size: 18px;
    font-weight: bold;
    color: #333;
}

/* Opis */
.info-box p {
    font-size: 14px;
    color: #666;
}

/* ResponsywnoĹÄ */
@media (max-width: 900px) {
    .info-container {
        flex-direction: column;
        align-items: center;
    }
}

/* Sekcja Kontakt i Informacje */
.contact-section {
    background-color: #5D4037; 
    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; 
    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; 
    margin-right: 8px;
}

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

/* Sekcja SEO */
.seo-section {
    background-color: #f0f0f0; 
    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; 
    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; 
    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; 
    margin-bottom: 15px;
}

/* Opis w stylizowanym bloku */
.hds-description {
    background: #e0e0e0;
    padding: 20px;
    border-radius: 10px; 
    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%;
    }
}

/* Przycisk "wiÄcej" */
.btn-wiecej {
    display: block;
    text-align: center;
    background-color: #FFC107; 
    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);
}
/* Center-align category list */
.product-categories {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    padding: 20px;
    max-width: 400px;
    margin: 0 auto; 
    text-align: left; 
}

/* Centering Category Title */
.product-categories h3 {
    text-align: center;
    font-size: 22px;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
}

/* Lista kategorii */
.product-categories ul {
    list-style: none;
    padding: 0;
}

/* NagĹĂłwki gĹĂłwnych kategorii */
.product-categories ul > li {
    font-size: 18px;
    font-weight: bold;
    margin: 10px 0;
    color: #5D4037;
}

/* Podkategorie */
.product-categories ul ul {
    padding-left: 20px;
    margin-top: 5px;
}

/* Linki */
.product-categories a {
    text-decoration: none;
    color: #e67e22;
    font-size: 16px;
    display: block;
    padding: 5px 0;
    transition: color 0.3s ease-in-out;
}

/* Efekt hover */
.product-categories a:hover {
    color: #d35400;
}

/* Sekcja Drewno OpaĹowe */
.firewood-section {
    background-color: #f8f8f8; 
    padding: 40px 10%;
}

/* Kontener z obrazem i opisem */
.firewood-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px; 
    max-width: 1300px; 
    margin: 0 auto;
}

/* Lewa kolumna: PowiÄkszony obraz */
.firewood-image {
    flex: 1.3; 
    display: flex;
    justify-content: center;
}

.firewood-image img {
    width: 100%;
    max-width: 400px; 
    border-radius: 15px; 
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

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

/* NagĹĂłwek */
.firewood-text h2 {
    font-size: 28px; 
    font-weight: bold;
    color: #5D4037; 
    margin-bottom: 15px;
}

/* Opis w stylizowanym bloku */
.firewood-description {
    background: #e0e0e0; 
    padding: 10px 15px; 
    border-radius: 10px; 
    font-size: 16px;
    line-height: 1.4;
    max-width: 600px; 
}

/* Lista punktowana */
.firewood-description p {
    margin: 5px 0; 
    font-weight: bold;
}

/* Sekcja dostÄpnoĹci */
.availability {
    font-size: 18px;
    font-weight: bold;
    color: #008000; 
    margin-top: 10px;
}

/* Sekcja Opisu Produktu */
.firewood-details {
    text-align: center;
    margin-top: 30px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* NagĹĂłwek */
.firewood-details h3 {
    font-size: 22px;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
}

/* Opis */
.firewood-details p {
    font-size: 16px;
    color: #555;
    line-height: 1.6;
}

/* ResponsywnoĹÄ */
@media (max-width: 900px) {
    .firewood-container {
        flex-direction: column;
        text-align: center;
    }

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

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

/* Sekcja Galeria */
.gallery-section {
    background-color: #f3f3f3; 
    padding: 40px 10%;
}

/* TytuĹ Galerii */
.gallery-section h2 {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    text-align: center;
    margin-bottom: 20px;
}

/* Kontener na zdjÄcia */
.gallery-container {
    display: flex;
    justify-content: center;
    gap: 15px; 
    flex-wrap: wrap;
}

/* KaĹźde zdjÄcie */
.gallery-item img {
    width: 180px;
    height: 120px; 
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.3s ease-in-out;
}

/* Efekt powiÄkszenia na hover */
.gallery-item img:hover {
    transform: scale(1.05);
}

/* Akordeon - GĹĂłwne Kategorie */
.accordion, .accordion-content, .accordion-content li {
    list-style: none !important;
    list-style-type: none !important;
    padding: 0;
    margin: 0;
}

/* Stylizacja przyciskĂłw kategorii */
.accordion-btn {
    width: calc(100% - 20px); 
    margin: 5px auto; 
    background: #5D4037; 
    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: block;
}

/* Efekt hover na kategorie */
.accordion-btn:hover {
    background: #6E4C41;
    transform: scale(1.02);
}

/* Stylizacja rozwiniÄtych podkategorii */
.accordion-content {
    list-style: none;
    padding: 0;
    margin: 0;
    display: none;
    background: #E7D3C3;
    border-radius: 5px;
    padding: 10px;
}

.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;
    text-decoration: underline;
}

.product-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px; 
    max-width: 1200px;
    margin: 0 auto;
}

.product-sidebar {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    padding: 20px;
    width: 70%; 
    max-width: 500px; 
    margin: 0 auto; 
    text-align: left;
}

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

@media (max-width: 768px) {
    .product-sidebar {
        width: 90%; 
    }
}


@media (max-width: 1024px) {
    .product-sidebar {
        width: 70%; 
    }
}

