/* ===== RESET & VARIABLES ===== */
:root {
    --primary-green: #7cb342;
    --accent-red: #e53935;
    --dark-gray: #1a1a1a;
    --medium-gray: #333333;
}
body { font-family: Roboto, 'Segoe UI', Helvetica, Arial, sans-serif; margin:0; line-height:1.6; color:#eee; background-color:var(--dark-gray); font-weight:300; }
h1, h2, h3, strong { font-weight:700; }

/* ===== HEADER ===== */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(0,0,0,0.8);
    padding: 20px 40px;
    border-bottom: 5px solid var(--primary-green);
    color: white;
    flex-wrap: wrap;
    gap: 20px;
}
.header-left img { width: 300px; height: auto; display: block; }
.header-center { text-align: center; padding: 0 20px; flex: 1; min-width: 280px; }
.header-center p { font-size: 1.3em; color: #ccc; text-transform: uppercase; letter-spacing: 1px; margin: 0; }

.promo-banner {
    display: inline-flex;
    align-items: center;
    background: rgba(229, 57, 53, 0.2);
    border: 1px solid var(--accent-red);
    padding: 8px 20px;
    margin-top: 20px;
    border-radius: 50px;
    color: #fff;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.promo-text { margin: 0 15px; font-size: 1rem; }
.promo-arrow { color: var(--accent-red); font-size: 1.1rem; }

.header-right { text-align: right; font-size: 0.95rem; }
.header-right a { color: var(--accent-red); text-decoration: none; font-weight: bold; }
.header-right a:hover, .header-right a:focus { text-decoration: underline; }

/* ===== LAYOUT ===== */
.container { max-width: 1100px; margin: auto; padding: 60px 20px; }
h1, h2 { text-align: center; color: var(--primary-green); margin-bottom: 20px; }
h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }

/* ===== SERVICE CARDS ===== */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.service-card {
    background: var(--medium-gray);
    padding: 30px;
    border-radius: 12px;
    border-top: 4px solid var(--primary-green);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    cursor: pointer;
}
.service-card:hover, .service-card:focus-visible {
    transform: translateY(-8px);
    border-top-color: var(--accent-red);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}
.service-card:focus-visible {
    outline: 2px solid var(--primary-green);
    outline-offset: 2px;
}
.service-card h3 { color: white; margin-top: 0; font-size: 1.5em; transition: color 0.3s ease; }
.service-card:hover h3 { color: var(--accent-red); }
.service-card p { color: #bbb; margin-bottom: 0; }

/* ===== PRICE LIST ===== */
.section-divider { height: 4px; background: var(--accent-red); margin: 20px 0; border-radius: 5px; }
.service-list { list-style: none; padding: 0; margin: 0; font-size: 1.5rem; }
.service-list li {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #333;
    gap: 20px;
}
.service-list li span:last-child { text-align: right; white-space: nowrap; font-weight: bold; color: #fff; }
.service-list li:last-child { border-bottom: none; }

.sub-header-text { text-align: center; color: #888; font-style: italic; margin-bottom: 20px; font-size: 1.1rem; }
.dph-note {
    text-align: center;
    color: #fff;
    font-size: 0.95rem;
    padding: 15px 20px;
    background: var(--medium-gray);
    border-radius: 8px;
    max-width: 1100px;
    margin: 0 auto 30px;
}

/* ===== CONTACT FORM ===== */
.contact-section {
    background: #111;
    padding: 60px 20px;
    text-align: center;
    border-top: 1px solid #333;
}
.contact-section h2 { color: var(--primary-green); }
.contact-section h3 a { color: var(--primary-green); text-decoration: none; }
.contact-section h3 a:hover { text-decoration: underline; }

.contact-info { margin-bottom: 30px; }
.contact-info a { color: var(--accent-red); text-decoration: none; font-weight: bold; }
.contact-info a:hover { text-decoration: underline; }

.dotaz-sekce {
    max-width: 500px;
    margin: 30px auto;
    padding: 25px;
    background: #222;
    border: 1px solid var(--primary-green);
    border-radius: 12px;
}
.dotaz-sekce label {
    display: block;
    text-align: left;
    margin-bottom: 5px;
    font-weight: bold;
    color: #bbb;
    font-size: 0.9rem;
}
.dotaz-sekce input,
.dotaz-sekce textarea {
    width: 100%;
    padding: 18px;
    margin-bottom: 15px;
    border-radius: 5px;
    border: 1px solid #444;
    background: #333;
    color: #fff;
    box-sizing: border-box;
}
.dotaz-sekce input:focus,
.dotaz-sekce textarea:focus {
    outline: 2px solid var(--primary-green);
    outline-offset: 1px;
    border-color: var(--primary-green);
}
/* Honeypot - hidden from humans */
.dotaz-sekce .hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }
/* Math captcha */
.captcha-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}
.captcha-row .captcha-question {
    color: var(--primary-green);
    font-weight: bold;
    font-size: 1.1rem;
    white-space: nowrap;
}
.captcha-row input {
    width: 80px;
    margin-bottom: 0;
    text-align: center;
}
.dotaz-sekce button {
    background: var(--primary-green);
    color: white;
    border: none;
    padding: 18px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    width: 100%;
    transition: background 0.2s;
}
.dotaz-sekce button:hover, .dotaz-sekce button:focus {
    background: #6a9e38;
}
.dotaz-sekce button:disabled {
    background: #555;
    cursor: not-allowed;
}
.form-status {
    margin-top: 15px;
    padding: 12px;
    border-radius: 5px;
    display: none;
    font-weight: bold;
}
.form-status.success { display: block; background: rgba(124,179,66,0.2); color: var(--primary-green); border: 1px solid var(--primary-green); }
.form-status.error { display: block; background: rgba(229,57,53,0.2); color: var(--accent-red); border: 1px solid var(--accent-red); }

/* ===== MAP ===== */
#map { height: 450px; border-radius: 12px; margin-top: 20px; width: 100%; background: #222; }

/* ===== FOOTER ===== */
footer { background: #000; color: #666; text-align: center; padding: 25px 20px; font-size: 0.9em; }

/* ===== ANIMATIONS ===== */
@keyframes pulse {
    0%   { transform: scale(1);   opacity: 0.7; }
    50%  { transform: scale(1.4); opacity: 0.3; }
    100% { transform: scale(1);   opacity: 0.7; }
}
.pulse-icon { width: 20px; height: 20px; border-radius: 50%; box-shadow: 0 0 0 0 rgba(229,57,53,0.7); animation: pulse 1.5s infinite ease-out; border: 3px solid white; background: #e53935; }
.pulse-icon-start { width: 20px; height: 20px; border-radius: 50%; box-shadow: 0 0 0 0 rgba(33,150,243,0.7); animation: pulse 1.5s infinite ease-out; border: 3px solid white; background: #2196f3; }

/* ===== RESPONSIVE ===== */
@media (max-width: 960px) {
    .services { grid-template-columns: repeat(2, 1fr); }
    .service-list { font-size: 1.15rem; }
}

@media (max-width: 700px) {
    header {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 20px;
    }
    .header-left img { width: 200px; }
    .header-center { padding: 0; min-width: auto; }
    .header-center p { font-size: 1em; }
    .promo-banner { padding: 6px 14px; font-size: 0.85rem; }
    .promo-text { font-size: 0.85rem; margin: 0 8px; }
    .header-right { text-align: center; font-size: 0.9rem; }

    .services { grid-template-columns: 1fr; gap: 15px; }
    .service-card { padding: 20px; }

    h1 { font-size: 1.6rem; }
    h2 { font-size: 1.4rem; }

    .container { padding: 30px 15px; }
    .service-list { font-size: 1rem; }
    .service-list li { flex-direction: column; gap: 4px; }
    .service-list li span:last-child { text-align: left; }

    #map { height: 300px; }
}
