/* CSS STYLY VLOŽENÉ PŘÍMO DO HTML */

/* ZÁKLADNÍ NASTAVENÍ A FONT */
:root {
    --primary: #38761d;
    --primary-dark: #295a14;
    --accent: #ff9900;
    --accent-dark: #cc7a00;
    --disabled: #ccc;
    --disabled-dark: #bbb;
    --emphasize: #840dd3ff;
    --emphasize-blue: #1a0dd3ff;
    --emphasize-brown: #af7b0cff;
    --ok: #16a34a;
    --err: #dc2626;
    --muted: #64748b;
    --shadow: rgba(0, 0, 0, 0.3);
    --border: rgba(0, 0, 0, 0.2);
    --light-bg: #f5f5f5;
    --dark-text: #333;
    --font-family: 'Roboto', Arial, sans-serif;

}

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

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--dark-text);
    background-color: white;
    scroll-behavior: smooth;
}

/* POMOCNÉ TŘÍDY */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 0;
}

.tiny-text {
    font-size: 0.75em;
}

.section {
    padding: 60px 0;
    text-align: center;
}

.section h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: var(--primary);
}

/* NAVIGACE */
.main-nav {
    background-color: white;
    box-shadow: 0 2px 5px var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
}

.main-nav .container {
    display: flex;
    justify-content: center;
    padding: 15px 0;
}

.main-nav a {
    text-decoration: none;
    color: var(--dark-text);
    font-size: 1.3em;
    font-weight: bold;
    margin: 0 15px;
    padding: 5px 10px;
    transition: color 0.3s;
}

.main-nav a:hover {
    color: var(--accent);
}

/* 1. HERO SEKCE */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('hero-bg.jpg') no-repeat center center/cover;
    color: white;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5);
    padding: 150px 0;
    min-height: 450px;
    display: flex;
    align-items: center;
}

.hero h1 {
    font-size: 3.5em;
    margin-bottom: 15px;
}

.hero p {
    font-size: 1.5em;
    margin-bottom: 30px;
}

/* CTA TLAČÍTKO */
.cta-button {
    display: inline-block;
    background-color: var(--accent);
    color: white;
    text-decoration: none;
    padding: 15px 30px;
    border-radius: 5px;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s;
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    background-color: var(--accent-dark);
}

.cta-button:disabled {
    background-color: var(--disabled)
}

.cta-button:disabled:hover {
    background-color: var(--disabled-dark)
}


/* 2. O MNĚ */
.omne {
    background-color: var(--light-bg);
}

.omne-content {
    display: flex;
    align-items: center;
    text-align: left;
    gap: 40px;
    padding-top: 20px;
}

.poradce-foto {
    width: 300px;
    height: 300px;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: 0 5px 15px var(--shadow);
    flex-shrink: 0;
}

.usp-list {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

.usp-list li {
    margin-bottom: 10px;
    font-weight: bold;
    color: var(--primary);
}

.usp-list i {
    margin-right: 10px;
    color: var(--accent);
}

/* 3. SLUŽBY */
.services {
    background-color: white;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.service-card {
    padding: 30px;
    border: 1px solid var(--border);
    border-radius: 8px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px var(--shadow);
}

.service-card i {
    font-size: 3em;
    color: var(--accent);
    margin-bottom: 15px;
}

.service-card h3 {
    color: var(--primary);
    margin-bottom: 10px;
}

.service-card > section > h4 {
    margin-top: 1rem;
    text-align: left;
}

.service-card > section > p {
    text-align: left;
    margin-top: 0.5rem;
}

/* 4. REFERENCE */
.references {
    background-color: var(--light-bg);
}

.quote {
    max-width: 700px;
    margin: 30px auto;
    font-style: italic;
    padding: 20px;
    border-left: 5px solid var(--primary);
    text-align: left;
}

.quote span {
    display: block;
    margin-top: 10px;
    font-weight: bold;
    color: var(--dark-text);
}

/* 5. KONTAKT */
.contact {
    background-color: var(--light-bg);
}

.cta-text {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: var(--primary);
}

.contact-form {
    max-width: 600px;
    margin: 1rem auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form textarea {
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: 4px;
    font-size: 1em;
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form .hp-field {
    position: absolute;
    left: -9999px;
    top: -9999px;
    z-index: -9999;
}

.contact-info {
    margin-top: 30px;
    font-size: 1.1em;
}

.contact-info i {
    color: var(--primary);
    margin-right: 10px;
}

.emphasize {
    font-size: 1.25em;
    font-weight: bold;
    text-transform: uppercase;
    color: var(--emphasize);
}

.emphasize.blue {
    color: var(--emphasize-blue);
}

.emphasize.brown {
    color: var(--emphasize-brown);
}

/* ZÁPATÍ */
footer {
    background-color: var(--primary);
    color: white;
    padding: 20px 0;
    text-align: center;
    font-size: 0.9em;
}

footer a {
    color: white;
    text-decoration: none;
    margin-left: 10px;
}

.card {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1rem;
}

.msg {
    border-radius: 12px;
    padding: 1rem;
}

.msg.ok {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: var(--ok);
}

.msg.err {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: var(--err);
}

.muted {
    color: var(--muted);
    font-size: .9rem;
}

.hidden {
    display: none !important;
}

/* RESPONSIVNÍ DESIGN */
@media(max-width: 768px) {

    .main-nav a {
        font-size: 1.0em;
    }

    .hero {
        padding: 80px 0;
    }

    .hero h1 {
        font-size: 2em;
    }

    .hero p {
        font-size: 1.2em;
    }

    .omne-content {
        flex-direction: column;
        text-align: center;
    }

    .poradce-foto {
        width: 180px;
        height: 180px;
    }

    .service-grid {
        grid-template-columns: 1fr;
    }
}