* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: #1a120a;
    line-height: 1.7;

    background-image: url('bg.png');
    
    /* OPRAVA: Využití šířky a výšky aktuálního okna prohlížeče namísto celé délky webu */
    background-size: 100vw 100vh !important; 
    background-position: center center !important;
    background-attachment: fixed !important;
    background-repeat: no-repeat !important;

    min-height: 100vh;
}

/* Jemný celkový překryv obrázku na pozadí, aby nákres krásně prosvítal */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(245, 240, 230, 0.25);
    z-index: 1;
}

.container {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

header {
    padding: 60px 0 30px 0;
    text-align: center;
}

/* Hlavní nadpis - zarovnaný, tmavý s jemným bílým zářením pro čitelnost */
header h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3rem;
    color: #1a120a;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.9), 0 0 5px rgba(255, 255, 255, 1);
    font-weight: 700;
}

main {
    padding-bottom: 60px;
}

/* Světlejší a průhlednější sekce s textem (efekt zamlženého skla) */
.card {
    background-color: rgba(255, 254, 250, 0.22);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 40px;
    border-radius: 12px;
    margin-bottom: 30px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

/* Tmavší barva pro nadpisy v sekcích */
.card h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    color: #1a120a;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(26, 18, 10, 0.15);
    padding-bottom: 10px;
}

/* Tmavší barva pro běžný text */
.card p {
    color: #1a120a;
    margin-bottom: 15px;
    font-size: 1.05rem;
}

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

/* Stylování odrážek */
.card li {
    margin-bottom: 8px;
    color: #2b1d11;
}

/* Formulář přizpůsobený pro světlé podkladové karty */
form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 25px;
}

input[type="text"],
input[type="email"],
textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid rgba(26, 18, 10, 0.2);
    background-color: rgba(255, 255, 255, 0.65);
    color: #1a120a;
    border-radius: 4px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
}

input:focus, textarea:focus {
    outline: none;
    border-color: #ba6d43;
    background-color: rgba(255, 255, 255, 0.85);
}

.checkbox-label {
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    color: #1a120a;
}

.checkbox-label a {
    color: #ba6d43;
    text-decoration: underline;
}

/* Výrazné cihlové tlačítko ladící s fasádou tržnice */
button {
    background-color: #ba6d43;
    color: white;
    border: none;
    padding: 14px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
    font-family: 'Montserrat', sans-serif;
}

button:hover {
    background-color: #a35a32;
}

button:active {
    transform: scale(0.98);
}

footer {
    text-align: center;
    padding: 40px 0;
    background-color: rgba(255, 254, 250, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-top: 1px solid rgba(26, 18, 10, 0.05);
    position: relative;
    z-index: 2;
    font-size: 0.9rem;
}

footer p {
    color: #332211;
}

footer a {
    color: #ba6d43;
    text-decoration: none;
    margin: 0 10px;
    font-weight: 500;
}

footer a:hover {
    text-decoration: underline;
}

/* Responzivita pro mobilní zařízení */
@media (max-width: 600px) {
    header h1 { font-size: 2.2rem; }
    .card { padding: 25px; }
}
