/* --- Podstawowe style --- */
body {
    font-family: 'Lato', sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 20px;
    background-color: #f4f7f6;
    color: #333;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    background-color: #ffffff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

/* --- Nagłówek --- */
header {
    text-align: center;
    border-bottom: 2px solid #e0e0e0;
    padding-bottom: 20px;
    margin-bottom: 30px;
}

.logo {
    max-width: 180px; /* Możesz dostosować rozmiar logo */
    margin: 0 auto 15px; /* Wyśrodkowanie i margines dolny */
}

h1 {
    color: #005f73;
    font-size: 2.5em;
    margin: 0;
}

.subtitle {
    font-size: 1.1em;
    color: #555;
    margin-top: 5px;
}

/* --- Sekcje --- */
h2 {
    color: #0a9396;
    border-bottom: 2px solid #94d2bd;
    padding-bottom: 10px;
    margin-top: 40px;
}

section p {
    color: #4a4a4a;
}

/* --- Lista funkcjonalności --- */
#features ul {
    list-style-type: none;
    padding: 0;
}

#features li {
    background-color: #e9f5f5;
    margin-bottom: 10px;
    padding: 15px;
    border-radius: 8px;
    border-left: 5px solid #0a9396;
}

/* --- Przycisk Call to Action (CTA) --- */
#cta {
    text-align: center;
    margin-top: 40px;
}

/* --- Przycisk Call to Action (CTA) --- */
#cta {
    text-align: center;
    margin-top: 40px;
}

.google-play-link {
    display: inline-block;
    /* Usunięcie domyślnego podkreślenia dla linków z obrazkami */
    text-decoration: none; 
    transition: transform 0.2s ease;
}

.google-play-link:hover {
    /* Lekkie uniesienie grafiki po najechaniu kursorem */
    transform: translateY(-3px); 
}

.google-play-badge {
    /* Ustawienie szerokości grafiki - możesz ją dostosować */
    max-width: 220px; 
    height: auto; /* Automatyczne dopasowanie wysokości dla zachowania proporcji */
}

.info {
    font-size: 0.9em;
    color: #777;
    margin-top: 10px;
}


.info {
    font-size: 0.9em;
    color: #777;
    margin-top: 10px;
}

/* --- Stopka --- */
footer {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
    font-size: 0.9em;
    color: #888;
}

.footer-links {
    margin-bottom: 15px;
}

.footer-links a {
    color: #555;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #0077b6;
    text-decoration: underline;
}

/* --- Klasa pomocnicza do ukrywania elementów --- */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* --- Style dla nagłówka podstron --- */
.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.logo-small {
    max-width: 120px;
    margin: 0;
}

.back-link {
    font-weight: bold;
    color: #0077b6;
    text-decoration: none;
    transition: color 0.3s;
}

.back-link:hover {
    color: #023e8a;
    text-decoration: underline;
}

#cookie-notice {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #2c3e50; /* Ciemny, stonowany kolor tła */
    color: #ecf0f1; /* Jasny kolor tekstu */
    text-align: center;
    padding: 20px;
    box-shadow: 0 -2px 5px rgba(0,0,0,0.2);
    z-index: 1000;
    display: none; /* Domyślnie ukryte */
}

#cookie-notice p {
    margin: 0 0 10px 0;
    font-size: 16px;
}

#cookie-accept-btn {
    background-color: #3498db; /* Kolor przycisku */
    color: white;
    border: none;
    padding: 10px 25px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s;
}

#cookie-accept-btn:hover {
    background-color: #2980b9; /* Ciemniejszy kolor po najechaniu */
}

/* --- Style Selektora Języka (Custom Dropdown) --- */

/* Kontener główny - ustawia pozycjonowanie */
#lang-switcher {
    position: relative;
    display: inline-block;
    margin: 10px 0;
    z-index: 10; /* Aby był nad innymi elementami */
}

/* Przycisk pokazujący aktualny język */
#lang-switcher .current-lang {
    background-color: #f4f7f6; /* Dopasowane do tła body */
    border: 1px solid #ccc;
    padding: 8px 16px;
    border-radius: 4px;
    font-family: 'Lato', sans-serif;
    font-size: 16px;
    color: #333;
    cursor: pointer;
    transition: background-color 0.3s;
    width: 220px; /* Stała szerokość dla ładnego wyglądu */
    text-align: left;
    display: flex;
    justify-content: space-between; /* Rozsuwa tekst i strzałkę */
    align-items: center;
}

#lang-switcher .current-lang:hover {
    background-color: #e9f5f5; /* Kolor z #features li */
}

/* Strzałka w przycisku */
#lang-switcher .current-lang .arrow {
    font-size: 0.8em;
    transform: translateY(-2px); /* Delikatne wyśrodkowanie */
    color: #555;
    transition: transform 0.2s;
}

/* Obrót strzałki, gdy lista jest aktywna */
#lang-switcher .current-lang.active .arrow {
    transform: translateY(-2px) rotate(180deg);
}

/* Lista języków (ukryta domyślnie) */
#lang-switcher .lang-list {
    display: none;
    position: absolute;
    top: 100%; /* Tuż pod przyciskiem */
    left: 0;
    background: #ffffff;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    width: 220px; /* Taka sama szerokość jak przycisk */
    max-height: 250px; /* Maksymalna wysokość, dodaje scroll */
    overflow-y: auto; /* Scroll, gdy lista się nie mieści */
}

/* Klasa .show dodawana przez JS do pokazania listy */
#lang-switcher .lang-list.show {
    display: block;
}

/* Linki w liście */
#lang-switcher .lang-list a {
    display: block;
    padding: 10px 16px;
    text-decoration: none;
    color: #333;
    font-size: 15px;
}

#lang-switcher .lang-list a:hover {
    background-color: #f5f5f5;
}

/* Opcjonalny styl dla aktywnego/wybranego języka */
#lang-switcher .lang-list a.active {
    font-weight: bold;
    color: #0a9396; /* Kolor z h2 */
    background-color: #e9f5f5; /* Kolor z #features li */
}

/* --- Pozycjonowanie selektora języka --- */

/* Ustawia główny kontener jako punkt odniesienia dla pozycjonowania */
.container {
    position: relative;
}
