/*
Theme Name: Zaobzor Classic
Theme URI: https://zaobzor.sk
Author: Zaobzor o.z.
Description: Klasická téma pre Zaobzor - organizáciu a festival Počúvajte príbeh
Version: 1.0.0
Requires at least: 5.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: zaobzor-classic
*/

/* Reset a základné štýly */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    background: #fff;
}

a {
    color: #2d5a47;
    text-decoration: none;
}

a:hover {
    color: #1e3d30;
    text-decoration: underline;
}

/* Header */
.site-header {
    background: #2d5a47;
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.site-branding {
    padding: 15px 0;
}

.site-title {
    margin: 0;
    font-size: 24px;
}

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

.site-description {
    color: rgba(255,255,255,0.8);
    font-size: 14px;
    margin: 0;
}

/* Navigation */
.main-navigation {
    display: flex;
}

.main-navigation ul {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

.main-navigation li {
    position: relative;
}

.main-navigation a {
    display: block;
    padding: 20px 15px;
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.3s;
}

.main-navigation a:hover,
.main-navigation .current-menu-item a {
    background: rgba(255,255,255,0.1);
    text-decoration: none;
}

/* Submenu */
.main-navigation ul ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #2d5a47;
    min-width: 200px;
    flex-direction: column;
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
}

.main-navigation li:hover > ul {
    display: flex;
}

.main-navigation ul ul a {
    padding: 12px 20px;
}

/* Content */
.site-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    min-height: 60vh;
}

/* Footer */
.site-footer {
    background: #1e3d30;
    color: #fff;
    padding: 40px 20px;
    margin-top: 40px;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
}

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

.footer-widget h3 {
    margin-bottom: 15px;
    font-size: 18px;
}

.footer-widget a {
    color: rgba(255,255,255,0.8);
}

.footer-widget a:hover {
    color: #fff;
}

.site-info {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.2);
    color: rgba(255,255,255,0.6);
    font-size: 14px;
}

/* Page styles */
.page-header {
    margin-bottom: 30px;
}

.page-title {
    font-size: 32px;
    color: #2d5a47;
}

.entry-content {
    font-size: 18px;
    line-height: 1.8;
}

.entry-content h2 {
    margin-top: 40px;
    margin-bottom: 20px;
    color: #2d5a47;
}

.entry-content p {
    margin-bottom: 20px;
}

/* Responsive */
@media (max-width: 768px) {
    .header-inner {
        flex-direction: column;
    }

    .main-navigation ul {
        flex-wrap: wrap;
        justify-content: center;
    }

    .main-navigation a {
        padding: 10px 12px;
        font-size: 14px;
    }
}
