/*
Theme Name: Vceli Poradna
Description: Single-page theme for vceliporadna.cz
Version: 1.2
*/

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

body {
    font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    color: #2c2c2c;
    background: #FFFDF7;
    font-size: 20.8px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

a {
    color: #C8860A;
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: #9B6800;
    text-decoration: underline;
}

/* NAV BAR */
.site-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 28px;
    background: #fff;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-brand {
    font-size: 20px;
    font-weight: 700;
    color: #2E5D0A;
    text-decoration: none;
}

.nav-brand:hover {
    color: #1E4A00;
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 24px;
}

.nav-links a {
    color: #555;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    padding: 6px 12px;
    border-radius: 6px;
    transition: background 0.2s, color 0.2s;
}

.nav-links a:hover {
    background: #F5F9F0;
    color: #2E5D0A;
    text-decoration: none;
}

.nav-links a.active {
    background: #2E5D0A;
    color: #fff;
}

/* HERO */
.hero {
    background: linear-gradient(135deg, #2E5D0A 0%, #4A7C1F 40%, #3A6B12 100%);
    color: #fff;
    text-align: center;
    padding: 80px 24px 70px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(ellipse at 30% 50%, rgba(255,220,80,0.08) 0%, transparent 60%);
    pointer-events: none;
}

.hero-bee {
    font-size: 68px;
    margin-bottom: 16px;
    display: block;
}

.hero h1 {
    font-size: 49px;
    font-weight: 700;
    letter-spacing: 3px;
    margin-bottom: 8px;
    text-transform: uppercase;
    text-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.hero .subtitle {
    font-size: 21px;
    opacity: 0.9;
    letter-spacing: 1px;
    font-weight: 300;
}

/* PROFILE CARD */
.profile {
    max-width: 900px;
    margin: -40px auto 0;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    padding: 44px 40px;
    position: relative;
    z-index: 2;
}

.profile h2 {
    font-size: 29px;
    color: #2E5D0A;
    margin-bottom: 4px;
}

.profile .credentials {
    color: #666;
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid #eee;
}

/* SERVICES */
.services {
    max-width: 900px;
    margin: 40px auto 0;
    padding: 0 24px;
}

.services h3 {
    font-size: 26px;
    color: #2E5D0A;
    margin-bottom: 18px;
    text-align: center;
}

.services-list {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 20px;
}

.services-list li {
    padding: 12px 16px;
    background: #F5F9F0;
    border-radius: 8px;
    font-size: 19px;
    border-left: 3px solid #4A7C1F;
}

.services-note {
    margin-top: 20px;
    font-size: 17px;
    color: #777;
    text-align: center;
    font-style: italic;
}

/* CTA */
.cta {
    max-width: 900px;
    margin: 44px auto 0;
    background: linear-gradient(135deg, #FFF8E1, #FFF3CC);
    border: 2px solid #F7C948;
    border-radius: 12px;
    padding: 36px 40px;
    text-align: center;
}

.cta h3 {
    font-size: 23px;
    color: #7A5D00;
    margin-bottom: 24px;
    line-height: 1.5;
}

.contact-item {
    margin: 18px 0;
}

.contact-item .label {
    display: block;
    font-size: 17px;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.contact-item .value {
    font-size: 28px;
    font-weight: 700;
    color: #2E5D0A;
}

.contact-item .value a {
    color: #2E5D0A;
}

.contact-item .hours {
    font-size: 17px;
    color: #888;
    margin-top: 2px;
}

/* PHONE REVEAL BUTTON */
.phone-reveal {
    display: inline-block;
    background: #2E5D0A;
    color: #fff;
    border: none;
    padding: 10px 28px;
    border-radius: 6px;
    font-size: 20px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    font-family: inherit;
}

.phone-reveal:hover {
    background: #1E4A00;
}

/* ANNOUNCEMENT BANNER */
.announcement {
    max-width: 900px;
    margin: 44px auto 0;
    background: #FFF0EE;
    border-left: 5px solid #E8533E;
    border-radius: 8px;
    padding: 20px 28px;
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.announcement-icon {
    font-size: 26px;
    flex-shrink: 0;
    line-height: 1.4;
}

.announcement-content {
    flex: 1;
}

.announcement-content p {
    color: #5a2d2d;
    margin: 0;
    line-height: 1.6;
}

.announcement-content a {
    color: #C0392B;
    font-weight: 600;
}

.announcement-content a:hover {
    color: #922B21;
}

/* CATEGORY FILTER */
.category-filter {
    max-width: 900px;
    margin: 24px auto 0;
    padding: 0 24px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.cat-btn {
    display: inline-block;
    padding: 7px 18px;
    border-radius: 20px;
    font-size: 15px;
    font-weight: 500;
    color: #555;
    background: #f0f0f0;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
    border: 1px solid transparent;
}

.cat-btn:hover {
    background: #F5F9F0;
    color: #2E5D0A;
    border-color: #4A7C1F;
    text-decoration: none;
}

.cat-btn.active {
    background: #2E5D0A;
    color: #fff;
    border-color: #2E5D0A;
}

/* ARTICLE CARD META */
.article-card-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
}

.article-card-cat {
    font-size: 13px;
    color: #2E5D0A;
    background: #F5F9F0;
    padding: 2px 10px;
    border-radius: 12px;
    font-weight: 500;
}

/* ARTICLES SECTION */
.articles-section {
    max-width: 900px;
    margin: 50px auto 0;
    padding: 0 24px;
}

.articles-section h3 {
    font-size: 26px;
    color: #2E5D0A;
    margin-bottom: 22px;
    text-align: center;
}

.article-cards {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.article-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    padding: 28px 32px;
    border: 1px solid #eee;
    transition: box-shadow 0.2s, transform 0.2s;
}

.article-card:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.article-card-date {
    font-size: 14px;
    color: #aaa;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.article-card h4 {
    font-size: 22px;
    color: #2E5D0A;
    margin-bottom: 8px;
    line-height: 1.4;
}

.article-card h4 a {
    color: #2E5D0A;
    text-decoration: none;
}

.article-card h4 a:hover {
    color: #1E4A00;
    text-decoration: underline;
}

.article-card p {
    color: #555;
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 12px;
}

.article-card .read-more {
    font-size: 16px;
    font-weight: 600;
    color: #C8860A;
}

.article-card .read-more:hover {
    color: #9B6800;
}

.articles-all {
    text-align: center;
    margin-top: 24px;
}

.articles-all a {
    display: inline-block;
    background: #2E5D0A;
    color: #fff;
    padding: 12px 32px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 18px;
    transition: background 0.2s;
}

.articles-all a:hover {
    background: #1E4A00;
    text-decoration: none;
}

/* ARTICLE HERO (single.php) */
.article-hero {
    background: linear-gradient(135deg, #2E5D0A 0%, #4A7C1F 40%, #3A6B12 100%);
    color: #fff;
    padding: 60px 24px 50px;
    position: relative;
    overflow: hidden;
}

.article-hero::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(ellipse, rgba(255,220,80,0.06) 0%, transparent 70%);
    pointer-events: none;
}

.article-hero-inner {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.article-hero-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    font-size: 15px;
    opacity: 0.85;
}

.article-hero-date {
    background: rgba(255,255,255,0.15);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 14px;
}

.article-hero-cat {
    background: rgba(255,220,80,0.2);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 14px;
}

.article-hero-sep {
    opacity: 0.5;
}

.article-hero-title {
    font-size: 36px;
    font-weight: 700;
    line-height: 1.3;
    margin: 0;
    text-shadow: 0 2px 8px rgba(0,0,0,0.15);
    letter-spacing: 0.5px;
}

.article-hero-excerpt {
    font-size: 19px;
    opacity: 0.9;
    margin-top: 14px;
    line-height: 1.6;
    font-weight: 300;
}

.article-hero-decoration {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, #F7C948, #C8860A, #F7C948);
}

/* ARTICLE BODY (single.php) */
.article-body {
    max-width: 900px;
    margin: 0 auto;
    background: #fff;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    padding: 48px 52px;
}

.article-body h2 {
    font-size: 26px;
    color: #2E5D0A;
    margin: 32px 0 16px;
}

.article-body h3 {
    font-size: 22px;
    color: #2E5D0A;
    margin: 28px 0 12px;
}

.article-body p {
    color: #444;
    margin-bottom: 18px;
    line-height: 1.8;
}

.article-body img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 16px 0;
}

.article-body ul, .article-body ol {
    margin: 16px 0;
    padding-left: 24px;
    color: #444;
}

.article-body li {
    margin-bottom: 8px;
    line-height: 1.7;
}

.article-body blockquote {
    border-left: 4px solid #4A7C1F;
    margin: 20px 0;
    padding: 12px 24px;
    background: #F5F9F0;
    border-radius: 0 8px 8px 0;
    color: #333;
}

.article-nav {
    max-width: 900px;
    margin: 28px auto 0;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.article-nav a {
    font-size: 16px;
    font-weight: 600;
    color: #C8860A;
}

/* FOOTER */
.footer {
    text-align: center;
    padding: 44px 24px 34px;
    color: #aaa;
    font-size: 16px;
    margin-top: 44px;
}

.footer p {
    margin: 4px 0;
}

.footer-gdpr a {
    color: #999;
    font-size: 14px;
    text-decoration: underline;
}

.footer-gdpr a:hover {
    color: #666;
}

/* GDPR POPUP */
.gdpr-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.gdpr-popup.active {
    display: flex;
}

.gdpr-content {
    background: #fff;
    border-radius: 12px;
    padding: 36px 32px;
    max-width: 550px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 8px 32px rgba(0,0,0,0.2);
}

.gdpr-content h3 {
    font-size: 22px;
    color: #2E5D0A;
    margin-bottom: 16px;
}

.gdpr-content p {
    color: #444;
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 12px;
}

.gdpr-close {
    display: block;
    margin: 20px auto 0;
    background: #2E5D0A;
    color: #fff;
    border: none;
    padding: 10px 32px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.2s;
}

.gdpr-close:hover {
    background: #1E4A00;
}

/* RESPONSIVE */
@media (max-width: 600px) {
    body { font-size: 18px; }
    .hero { padding: 55px 20px 50px; }
    .hero-bee { font-size: 52px; }
    .hero h1 { font-size: 34px; letter-spacing: 2px; }
    .hero .subtitle { font-size: 18px; }
    .profile { margin: -30px 16px 0; padding: 28px 24px; }
    .profile h2 { font-size: 24px; }
    .services { padding: 0 16px; }
    .services-list { grid-template-columns: 1fr; }
    .cta { margin: 30px 16px 0; padding: 28px 20px; }
    .contact-item .value { font-size: 22px; }
    .announcement { margin: 30px 16px 0; padding: 16px 18px; }
    .category-filter { padding: 0 16px; }
    .cat-btn { font-size: 14px; padding: 6px 14px; }
    .articles-section { padding: 0 16px; margin-top: 36px; }
    .article-card { padding: 22px 20px; }
    .article-card h4 { font-size: 20px; }
    .article-hero { padding: 40px 20px 35px; }
    .article-hero-title { font-size: 26px; }
    .article-hero-excerpt { font-size: 17px; }
    .article-body { padding: 28px 20px; }
    .article-nav { padding: 0 16px; flex-direction: column; gap: 12px; }
    .site-nav { padding: 12px 16px; }
    .nav-brand { font-size: 18px; }
    .nav-links { gap: 12px; }
    .nav-links a { font-size: 14px; padding: 6px 10px; }
}
