/* ============================
   OGÓLNE STYLE STRONY
============================ */
body {
    font-family: Arial, sans-serif;
    background: #e6efe2; /* bardzo jasna zieleń jako tło strony */
    color: #2e3b1d;       /* ciemna zieleń – kolor tekstu */
    margin: 0;
    padding: 0;
}


/* ============================
   NAGŁÓWEK STRONY (np. zdjęcie tła i tytuł)
============================ */
header {
    background: url('tło_4.jpg') no-repeat center center/cover;
    color: #f5fdf5; /* jasny tekst */
    text-align: center;
    padding: 100px 20px; /* przestrzeń wokół treści nagłówka */
}


/* ============================
   NAWIGACJA GŁÓWNA (menu górne)
============================ */
nav {
    background-color: #4a6c3d; /* tło paska nawigacyjnego */
    padding: 10px 0;
    text-align: center;
    margin: 0;
}

nav ul {
    list-style: none; /* usuwa punkty listy */
    margin: 0;
    padding: 0;
    display: flex; /* poziome rozmieszczenie */
    justify-content: center;
    flex-wrap: wrap;
}

nav a {
    color: #f0f9f0;
    text-decoration: none;
    padding: 10px 20px;
    font-size: 18px;
    font-weight: bold;
    transition: background-color 0.3s ease-in-out;
}

nav a:hover {
    background-color: #355429; /* podświetlenie przy najechaniu */
    border-radius: 5px;
}


/* ============================
   ROZWIJANE MENU (Dropdown)
============================ */
.dropdown {
    position: relative; /* kontekst dla pozycji absolutnej .dropdown-content */
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #436944; /* tło rozwijanego menu */
    border-radius: 8px;
    min-width: 160px;
    z-index: 10;
    margin-top: 10px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.25);
    padding: 5px 0;
}

.dropdown-content li {
    list-style: none;
}

.dropdown-content a {
    color: #ecf4ec;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
    font-weight: normal;
    transition: background-color 0.3s ease;
}

.dropdown-content a:hover {
    background-color: #2d472d;
    border-radius: 0 8px 8px 0;
}

.dropdown:hover .dropdown-content {
    display: block;
}


/* ============================
   KONTENERY TREŚCI
============================ */
.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 30px;
    background: rgba(234, 245, 230, 0.75); /* półprzezroczyste tło */
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
}

.containerr {
    background: transparent; /* wersja kontenera bez tła */
}


/* ============================
   OGÓLNE SEKCJE
============================ */
section {
    margin: 40px 0;
}


/* ============================
   BLOKI SZLAKÓW TURYSTYCZNYCH
============================ */
.szlak {
    background: rgba(100, 140, 100, 0.3); /* lekka zielona mgiełka */
    padding: 20px;
    margin-bottom: 30px;
    border-radius: 8px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
}

.szlak:hover {
    background: rgba(108, 146, 110, 0.35); /* podświetlenie na hover */
}

.szlak h3 {
    font-size: 1.8em;
    color: #2e3b1d;
    border-bottom: 2px solid #5b7d45;
    padding-bottom: 5px;
    margin-bottom: 15px;
}

.szlak p {
    font-size: 16px;
    background: rgba(234, 245, 230, 0.75);
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 15px;
    line-height: 1.5;
}


/* ============================
   WARIANTY KOLORÓW SZLAKÓW
============================ */
.szlak-szumow       { background-color: #d3e6f2; color: #2a3b41; } /* niebieski szlak */
.szlak-poludniowy   { background-color: #dfd590; color: #2a3b41; } /* żółty szlak */
.szlak-krawedziowy  { background-color: #e7b374; color: #2a3b41; } /* pomarańczowy */
.szlak-partyzancki  { background-color: #d0d0d0; color: #2a3b41; } /* szary */


/* ============================
   TRASY ROWEROWE / TEMATYCZNE
============================ */
.trasa {
    background: rgba(100, 140, 100, 0.3);
    padding: 20px;
    margin-bottom: 30px;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.15);
}

.trasa:hover {
    background: rgba(108, 146, 110, 0.35);
}

.trasa h3 {
    font-size: 1.6em;
    color: #2e3b1d;
    border-bottom: 2px solid #5b7d45;
    padding-bottom: 5px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.trasa h3::before {
    content: "🚴‍♀️"; /* ikona roweru przed nazwą trasy */
    font-size: 1.2em;
}

.trasa p {
    font-size: 16px;
    background: rgba(234, 245, 230, 0.75);
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 10px;
    line-height: 1.5;
}


/* Warianty tematyczne tras */
.trasa-lokalna      { background-color: #d3e6f2; }  /* lokalna trasa */
.trasa-historyczna  { background-color: #f8ecc9; }  /* historyczna trasa */
.trasa-glowna       { background-color: #e2f4df; }  /* główna trasa */
.trasa-kulturalna   { background-color: #fae3e3; }  /* kulturalna trasa */
.trasa-nasza        { background-color: #98c1cb; }  /* własna/niestandardowa */


/* Linki w trasach */
.trasa a {
    color: #2e7031;
    font-weight: bold;
    text-decoration: none;
    transition: color 0.3s ease;
}

.map-link {
    display: inline-block;
    margin-top: 5px;
    color: #6f3e1d;
    font-weight: bold;
    text-decoration: underline;
    transition: color 0.3s;
}

.map-link:hover {
    color: #2a9d8f;
}


/* ============================
   GALERIA ZDJĘĆ
============================ */
.gallery {
    margin-bottom: 40px;
    padding: 10px;
}

.gallery h3 {
    margin-bottom: 15px;
    font-size: 1.5em;
    color: #305020;
    text-align: center;
}

.media {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 kolumny */
    gap: 16px;
    margin-top: 2em;
}

.media img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    display: block;
    transition: transform 0.3s ease-in-out;
}

.media img:hover {
    transform: scale(1.1); /* powiększenie przy hover */
}


/* ============================
   STOPKA STRONY
============================ */
footer {
    background-color: #4a6c3d;
    color: #f0f9f0;
    text-align: center;
    padding: 20px;
}


/* ============================
   TYPOGRAFIA / NAGŁÓWKI
============================ */
h2, h3 {
    color: #3e5f2c;
}

h2 {
    margin-top: 30px;
    border-bottom: 2px solid #5b7d45;
    padding-bottom: 5px;
}

h1 a {
    text-decoration: none;
    color: inherit;
}

h1 a:visited {
    color: inherit;
}

h1 a:hover {
    color: #5b7d45;
}


/* ============================
   TEKST I LISTY
============================ */
p {
    font-size: 18px;
    line-height: 1.6;
    background: rgba(214, 236, 212, 0.6);
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 20px;
}

ul {
    padding-left: 30px;
    margin-bottom: 20px;
}

li {
    font-size: 17px;
    margin-bottom: 8px;
}


/* ============================
   RESPONSYWNOŚĆ
============================ */
@media (max-width: 768px) {
    .media {
        grid-template-columns: repeat(2, 1fr); /* 2 kolumny na tabletach */
    }
}

@media (max-width: 480px) {
    .media {
        grid-template-columns: 1fr; /* 1 kolumna na telefonach */
    }
}

