/* --- PODSTAWOWA KONFIGURACJA STRONY --- */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: #f4f4f9;
    color: #333;
    line-height: 1.6;
    display: flex;
    justify-content: center;
    margin: 0;
    padding: 20px;
}

.container {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    max-width: 700px;
    width: 100%;
}

h1 {
    color: #4a4a4a;
    text-align: center;
}

/* Ustawienie domyślne dla paragrafów na środek (głównie dla strony głównej) */
p {
    text-align: center;
    font-size: 1.1em;
    color: #666;
}

hr {
    border: none;
    border-top: 1px solid #eee;
    margin: 30px 0;
}

/* --- LOGO --- */
.logo-img {
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 20px;
    max-width: 180px;
    height: auto;
}

/* --- FORMULARZ --- */
form {
    margin-top: 30px;
}

label {
    font-weight: bold;
    display: block;
    margin-bottom: 5px;
    text-align: left; /* Etykiety wyrównujemy do lewej */
}

input[type="text"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box; 
    margin-bottom: 15px;
}

button {
    width: 100%;
    padding: 12px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 1em;
    cursor: pointer;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #0056b3;
}

/* --- ANIMACJA ŁADOWANIA --- */
.loader-wrapper {
    text-align: center;
    margin-top: 40px;
}

.loader {
    border: 8px solid #f3f3f3;
    border-top: 8px solid #007bff;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 1.5s linear infinite;
    margin: 20px auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* --- STYLE DLA ARTYKUŁÓW I BLOGA --- */
.article-content {
    text-align: left; /* Tekst artykułu MUSI być do lewej */
}

.article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 20px 0;
}

/* Tytuły na liście bloga - do lewej */
.article-list li {
    text-align: left;
}

/* --- CTA W ARTYKULE --- */
.cta-box {
    background-color: #eaf4ff;
    border-left: 5px solid #007bff;
    padding: 25px 30px;
    margin: 40px 0;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.cta-box h3 {
    margin-top: 0;
    color: #0056b3;
    font-size: 1.4em;
    text-align: center; /* Tytuł w CTA ma być na środku */
}

.cta-box p {
    font-size: 1.1em;
    margin-bottom: 25px;
    text-align: center; /* Tekst w CTA też */
}

.cta-button {
    display: inline-block;
    padding: 12px 25px;
    background-color: #007bff;
    color: white !important;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: background-color 0.3s, transform 0.2s;
}

.cta-button:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
    color: white !important;
}

/* --- STYLE DLA NOWEGO PLANU WYCIECZKI (Z JSON) --- */
.plan-step {
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 25px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    text-align: left; /* Cały ten blok do lewej */
}

.plan-step h3 {
    color: #007bff; /* Ten niebieski, który Ci się nie podobał - zmienimy go? */
    margin-top: 0;
    text-align: left;
}

.plan-step .location-details {
    font-size: 1.1em;
    line-height: 1.5;
    background-color: #f9f9f9;
    padding: 10px;
    border-radius: 5px;
    text-align: left;
}

.plan-step .step-description {
    text-align: left;
    font-size: 1em;
    color: #333;
}

.map-button, .site-button {
    display: inline-block;
    padding: 10px 15px;
    background-color: #28a745; /* Zielony dla mapy */
    color: white !important;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: background-color 0.3s;
    margin-right: 10px;
    margin-top: 10px;
}

.site-button {
    background-color: #6c757d; /* Szary dla strony www */
}

.map-button:hover, .site-button:hover {
    background-color: #333;
    color: white !important;
}
