/* ===============================
   GLOBAL
================================ */
html, body {
    margin: 0;
    min-height: 100%;
    background: #fff;
}

.container {
    max-width: 1200px;
    margin: auto;
    padding: 20px;
}

/* ODKAZY V OBSAHU – BEZ PODTRŽENÍ (např. Kontakt) */
.content a,
.content a:visited,
.content a:hover,
.content a:active {
    text-decoration: none;
}


/* ===============================
   HEADER
================================ */
.site-header {
    background: #111;
    padding: 15px 0;
    position: relative;
    z-index: 1000;
}

.site-header a {
    color: #fff;
    text-decoration: none;
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* ===============================
   MENU – ZÁKLAD
================================ */
.main-nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
    padding: 0;
    margin: 0;
}

/* PŘIPRAVA PRO ANIMACI PODTRŽENÍ */
.main-nav a {
    position: relative;
	
}


/* ANIMOVANÁ ZELENÁ ČÁRA */
.main-nav a::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -6px;
    transform: translateX(-50%) scaleX(0);
    transform-origin: center;
    width: 100%;
    height: 2px;
    background: #2ecc71;
        transition: transform 0.35s cubic-bezier(.4, 0, .2, 1);
}

/* HOVER */
.main-nav a:hover::after {
    transform: translateX(-50%) scaleX(1);
	
}

/* AKTIVNÍ POLOŽKA */
.main-nav li.current-menu-item > a,
.main-nav li.current_page_item > a {
    color: #2ecc71;
}

.main-nav li.current-menu-item > a::after,
.main-nav li.current_page_item > a::after {
    transform: translateX(-50%) scaleX(1);
}

.main-nav li.current-menu-item > a::after,
.main-nav li.current_page_item > a::after {
    box-shadow: 0 0 6px rgba(46, 204, 113, 0.6);
}


/* ===============================
   LOGO
================================ */
.logo img {
    height: 140px;
    width: auto;
    display: block;
}


/* ===============================
   HERO
================================ */
.hero {
    background: #111;
    color: #fff;
    padding: 100px 0;
}

.hero h1 {
    font-size: 42px;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero p {
    font-size: 18px;
    margin-bottom: 30px;
    color: #ccc;
}


/* ===============================
   BUTTONS
================================ */
.btn {
    display: inline-block;
    background: #2ecc71;
    color: #000;
    padding: 14px 28px;
    text-decoration: none;
    font-weight: 600;
    border-radius: 4px;
}

.btn-big {
    font-size: 18px;
    padding: 16px 32px;
}

.btn-outline {
    background: transparent;
    border: 2px solid #2ecc71;
    color: #2ecc71;
}


/* ===============================
   SERVICES
================================ */
.services {
    background: #fff;
    padding: 80px 0;
}

.services h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 32px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-box {
    background: #f5f5f5;
    padding: 30px;
    border-radius: 6px;
}


/* ===============================
   SERVICES NOTE
================================ */
.services-note {
    background: #f9f9f9;
    padding: 30px 0;
    text-align: center;
}

.services-note p {
    margin: 0;
    font-size: 16px;
    color: #555;
}


/* ===============================
   CTA
================================ */
.cta {
    background: #111;
    color: #fff;
    padding: 30px 0;
    text-align: center;
}

.cta h2 {
    font-size: 32px;
    margin-bottom: 15px;
}

.cta p {
    color: #ccc;
    margin-bottom: 20px;
}

.cta-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}


/* ===============================
   PAGE CONTENT
================================ */
main {
    padding-bottom: 30px;
}

.page-content {
    background: #fff;
    padding: 60px 0;
}

.content {
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.7;
    color: #111;
}

.content h1 {
    font-size: 36px;
    margin-bottom: 30px;
}

.content h2 {
    margin-top: 50px;
    margin-bottom: 15px;
    font-size: 26px;
    border-left: 4px solid #2ecc71;
    padding-left: 15px;
}

.content p {
    margin-bottom: 15px;
    color: #333;
}


/* ===============================
   FOOTER
================================ */
.site-footer {
    background: #111;
    color: #aaa;
    padding: 30px 0;
}

.site-footer p {
    margin: 5px 0;
    font-size: 14px;
}

.site-footer a {
    color: #2ecc71;
    text-decoration: none;
}

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


/* ===============================
   MOBILE MENU
================================ */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #2ecc71;
    font-size: 28px;
    cursor: pointer;
    margin-left: auto;
}

@media (max-width: 768px) {

    .menu-toggle {
        display: block;
        z-index: 2000;
    }

    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        width: 100vw;
        background: #111;
        z-index: 1500;
    }

    .main-nav.active {
        display: block;
        padding: 20px 0 50px;
        border-bottom: 1px solid rgba(255,255,255,0.15);
    }

    .main-nav ul {
        flex-direction: column;
        gap: 18px;
        align-items: center;
    }

    .main-nav a {
        text-align: center;
        padding: 10px 0;
        font-size: 16px;
    }

    /* kratší čára na mobilu */
    .main-nav a::after {
        width: 40%;
        bottom: -4px;
    }

    .logo img {
        height: 80px;
    }

    .content {
        padding: 40px 25px;
        margin: 40px 15px;
    }
}
