/*
Theme Name: Žaliųjų Ežerų Bendruomenė
Theme URI: https://zaliejiezerai.lt
Author: Bendruomenės kūrėjas
Author URI: https://zaliejiezerai.lt
Description: WordPress tema sukurta specialiai Žaliųjų ežerų bendruomenei
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: zaliuju-ezeru-tema
Tags: custom, responsive, community
*/

:root {
    --primary-green: #388e3c;
    --secondary-green: #66bb6a;
    --background: #f6f7f9;
    --white: #fff;
    --gray: #2e3d30;
    --accent: #a5d6a7;
    --shadow: 0 4px 20px 0 rgba(56,142,60,0.06);
    --radius: 16px;
    --header-blur: blur(10px);
    --glass: rgba(255, 255, 255, 0.95);
    --border-color: #ddd;
    --hover-color: #1e6122;
    --light-gray: #eaeaea;
}

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

body {
    font-family: 'Lato', sans-serif;
    line-height: 1.6;
    color: var(--gray);
    background-color: var(--background);
    font-size: 16px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
}

a {
    text-decoration: none;
    color: var(--primary-green);
    transition: color 0.2s ease;
}

a:hover {
    color: var(--hover-color);
}

.container {
    width: 92%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 15px;
}

.btn {
    display: inline-block;
    background-color: var(--primary-green);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background-color: var(--hover-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(56,142,60,0.2);
}

.btn-outline {
    background-color: transparent;
    border: 1px solid var(--primary-green);
    color: var(--primary-green);
}

.btn-outline:hover {
    background-color: var(--primary-green);
    color: var(--white);
}

/* Header */
header {
    position: sticky;
    top: 0;
    z-index: 10;
    background: var(--glass);
    box-shadow: var(--shadow);
    backdrop-filter: var(--header-blur);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 3vw;
    border-bottom-left-radius: var(--radius);
    border-bottom-right-radius: var(--radius);
    margin-bottom: 2.5rem;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.logo {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--secondary-green) 30%, var(--primary-green) 100%);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 24px 0 rgba(56,142,60,0.18);
    border: 4px solid #fff;
    overflow: hidden;
}

.logo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.logo-text {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary-green);
    font-family: 'Playfair Display', serif;
}

nav {
    display: flex;
    gap: 2.5rem;
}

nav a {
    color: var(--primary-green);
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    padding: 0.5rem 1.2rem;
    border-radius: 8px;
    transition: background 0.18s, color 0.18s;
}

nav a:hover {
    background: #e0ffe7;
    color: var(--primary-green);
}

/* Hero section */
.hero {
    background-color: var(--accent);
    background: linear-gradient(to right, rgba(165, 214, 167, 0.7), rgba(102, 187, 106, 0.3)), 
                url('https://images.unsplash.com/photo-1545641203-7d072a14e3b2?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1770&q=80');
    background-size: cover;
    background-position: center;
    padding: 80px 0;
    margin-bottom: 40px;
    text-align: center;
    border-radius: 16px;
}

.hero h1 {
    font-size: 42px;
    color: var(--primary-green);
    margin-bottom: 15px;
    text-shadow: 0 2px 4px rgba(255, 255, 255, 0.3);
}

.hero p {
    font-size: 20px;
    max-width: 700px;
    margin: 0 auto 25px;
    color: var(--gray);
}

/* Content section */
.section {
    padding: 30px 0;
}

.section-title {
    font-size: 28px;
    color: var(--primary-green);
    margin-bottom: 25px;
    text-align: center;
}

.card {
    background-color: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 25px;
    margin-bottom: 25px;
    border: 1px solid var(--border-color);
    transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(56,142,60,0.15);
}

/* Tax support section */
.tax-support {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.tax-support-flex {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-top: 15px;
    gap: 30px;
}

.tax-info {
    text-align: left;
}

.tax-badge {
    background-color: var(--primary-green);
    color: white;
    font-size: 24px;
    font-weight: bold;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.highlight {
    font-weight: 600;
    color: var(--primary-green);
}

/* Municipality support section */
.municipality-support p {
    margin-bottom: 15px;
}

.two-column {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 30px;
}

.column {
    flex: 1;
    min-width: 250px;
}

.info-list2 {
    list-style: none;
    margin: 0;
    padding: 0;
}

.info-list2 li {
    padding: 10px 0;
    display: flex;
    align-items: center;
}

.button-container {
    margin-top: 0;
    display: flex;
    justify-content: flex-end;
}

.eds-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-green);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(56,142,60,0.25);
    white-space: nowrap;
}

.eds-btn:hover {
    background-color: #2d7430;
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(56,142,60,0.35);
}

.info-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.info-list li {
    padding: 10px 0;
    border-bottom: 1px solid var(--light-gray);
    display: flex;
    align-items: center;
}

.info-list li:before {
    content: "•";
    color: var(--secondary-green);
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: 0.5em;
}

/* Grid layout for responsive sections */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 30px;
}

/* Activities section */
.activity-card {
    border-radius: var(--radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    border: none;
    box-shadow: var(--shadow);
    background-color: var(--white);
}

.activity-image {
    height: 180px;
    background-color: var(--secondary-green);
    position: relative;
}

.activity-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.activity-date {
    color: var(--secondary-green);
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 10px;
}

.activity-title {
    font-size: 22px;
    margin-bottom: 12px;
    color: var(--primary-green);
}

.activity-text {
    margin-bottom: 20px;
    font-size: 15px;
    flex-grow: 1;
}

.activity-footer {
    margin-top: auto;
}

/* Join section */
.join-community {
    background-color: var(--accent);
    padding: 30px;
    text-align: center;
    border-radius: var(--radius);
    margin-bottom: 25px;
}

.join-community h2 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--gray);
}

.join-community p {
    margin-bottom: 20px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Footer */
footer {
    background-color: var(--gray);
    color: var(--white);
    padding: 30px 0;
    font-size: 14px;
    border-top-left-radius: var(--radius);
    border-top-right-radius: var(--radius);
    margin-top: 40px;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.footer-content h3 {
    font-size: 16px;
    margin-bottom: 15px;
    color: var(--white);
}

.footer-content p {
    margin-bottom: 8px;
}

.footer-link {
    color: var(--white);
    transition: color 0.2s ease, opacity 0.2s ease;
    display: inline-block;
}

.footer-link:hover {
    color: var(--accent);
    opacity: 0.9;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-links a {
    color: var(--white);
    transition: color 0.2s ease;
}

.social-links a:hover {
    color: var(--white);
}

.copyright {
    margin-top: 20px;
    text-align: center;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 13px;
}

/* Responsive */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        padding: 1rem 3vw;
    }
    
    .logo-area {
        margin-bottom: 15px;
    }
    
    nav {
        justify-content: center;
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .hero h1 {
        font-size: 28px;
    }
    
    .hero p {
        font-size: 16px;
    }

    .section {
        padding: 25px 0;
    }
    
    .two-column {
        flex-direction: column;
        gap: 20px;
    }
}

@media (max-width: 576px) {
    .grid {
        grid-template-columns: 1fr;
    }
    
    .card {
        padding: 20px;
    }
    
    .logo {
        width: 50px;
        height: 50px;
    }
    
    .logo svg {
        width: 28px;
        height: 28px;
    }
    
    nav {
        gap: 0.5rem;
    }
    
    nav a {
        font-size: 0.9rem;
        padding: 0.4rem 0.8rem;
    }
    
    .tax-support-flex {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    
    .button-container {
        width: 100%;
        justify-content: center;
    }
}

/* Post meta and navigation */
.post-meta {
    margin-bottom: 15px;
    font-size: 14px;
    color: #777;
}

.post-categories {
    margin-left: 10px;
}

.post-tags {
    margin-top: 20px;
    font-size: 14px;
}

.post-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--light-gray);
}

.post-nav-prev,
.post-nav-next {
    max-width: 45%;
}

/* Search form */
.search-form {
    display: flex;
    margin-bottom: 20px;
}

.search-form label {
    flex-grow: 1;
    margin-right: 10px;
}

.search-form .search-field {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-size: 16px;
}

.search-form .search-submit {
    background-color: var(--primary-green);
    color: white;
    border: none;
    padding: 0 20px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 500;
    transition: background-color 0.3s;
}

.search-form .search-submit:hover {
    background-color: var(--hover-color);
}

/* 404 page */
.error-404 {
    text-align: center;
    padding: 20px 0;
}

.error-code {
    font-size: 120px;
    font-weight: 700;
    color: var(--primary-green);
    margin-bottom: 20px;
    line-height: 1;
}

.back-home {
    margin-top: 30px;
}

/* Pagination */
.pagination {
    margin-top: 30px;
    text-align: center;
}

.pagination .nav-links {
    display: inline-block;
}

.pagination .page-numbers {
    display: inline-block;
    padding: 5px 12px;
    margin: 0 3px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    background-color: white;
    color: var(--primary-green);
    text-decoration: none;
}

.pagination .page-numbers.current {
    background-color: var(--primary-green);
    color: white;
    border-color: var(--primary-green);
}

.pagination .page-numbers:hover {
    background-color: #f5f5f5;
    border-color: var(--primary-green);
}

.pagination .page-numbers.next,
.pagination .page-numbers.prev {
    padding: 5px 15px;
}

/* Featured image */
.featured-image {
    width: 100%;
    height: auto;
    margin-bottom: 20px;
    border-radius: 8px;
}

/* Archive and search headers */
.archive-header,
.search-header {
    margin-bottom: 25px;
}

.archive-description {
    margin-top: 10px;
    font-size: 16px;
}

/* Comments */
.comments-area {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid var(--light-gray);
}

.comments-title {
    margin-bottom: 20px;
    font-size: 22px;
    color: var(--primary-green);
}

.comment-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.comment-list .children {
    list-style: none;
    margin-left: 20px;
    padding-left: 20px;
    border-left: 2px solid var(--light-gray);
}

.comment-body {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--light-gray);
}

.comment-meta {
    margin-bottom: 10px;
}

.comment-author {
    display: flex;
    align-items: center;
    font-weight: bold;
}

.comment-author .avatar {
    margin-right: 10px;
    border-radius: 50%;
}

.comment-metadata {
    font-size: 12px;
    margin-top: 5px;
    color: #777;
}

.comment-content {
    margin-bottom: 10px;
}

.comment-content p {
    margin-bottom: 10px;
}

.reply {
    text-align: right;
}

.comment-reply-link {
    font-size: 14px;
    color: var(--primary-green);
}

.comment-respond {
    margin-top: 30px;
}

.comment-form {
    margin-top: 20px;
}

.comment-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-size: 16px;
    margin-bottom: 15px;
}

.comment-form input[type="submit"] {
    background-color: var(--primary-green);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 500;
    transition: background-color 0.3s;
}

.comment-form input[type="submit"]:hover {
    background-color: var(--hover-color);
}

.comment-navigation {
    display: flex;
    justify-content: space-between;
    margin: 20px 0;
}

.no-comments {
    margin-top: 20px;
    font-style: italic;
} 