/* Vízszerelő Blog Styles */

/* Color Palette */
:root {
    --primary-sage: #3498db;
    --primary-forest: #2c3e50;
    --dark-forest: #1a252f;
    --light-mint: #e8f4fd;
    --accent-terra: #e74c3c;
    --warm-beige: #f5f5f5;
    --soft-cream: #fafafa;
    --text-dark: #2c3e50;
    --text-light: #666666;
    --white: #ffffff;
    --section-bg: #f8f9fa;
}

/* Reset and Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--section-bg);
}

/* Header */
.site-header {
    background: linear-gradient(135deg, #1a252f 0%, #3498db 100%);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.15);
}

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

.logo-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-icon {
    width: 50px;
    height: 50px;
}

.logo-text .logo-title {
    color: #ffffff;
    font-size: 24px;
    font-weight: 700;
    margin: 0;
}

.logo-text .logo-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    margin: 0;
}

.home-link {
    background: #e74c3c;
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 50px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.home-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(231, 76, 60, 0.3);
}

/* Blog Hero */
.blog-hero {
    background: var(--primary-forest);
    padding: 40px 20px;
    text-align: center;
    border-bottom: 3px solid var(--accent-terra);
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.blog-title {
    font-size: 36px;
    color: white;
    margin-bottom: 8px;
    font-weight: 700;
}

.blog-subtitle {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 400;
}

/* Blog Container */
.blog-container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

.blog-content {
    max-width: 900px;
    margin: 0 auto;
}

.blog-articles {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* Article Cards */
.article-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border-left: 4px solid var(--primary-sage);
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

.article-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.article-category {
    background: var(--light-mint);
    color: var(--primary-forest);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.article-date {
    color: var(--text-light);
    font-size: 14px;
}

.article-card-title {
    margin-bottom: 15px;
}

.article-card-title a {
    color: var(--text-dark);
    text-decoration: none;
    font-size: 24px;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.article-card-title a:hover {
    color: var(--primary-forest);
}

.article-card-excerpt {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 20px;
}

.article-card-footer {
    display: flex;
    justify-content: flex-end;
}

.read-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-sage);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.read-more-btn:hover {
    color: var(--primary-forest);
    gap: 12px;
}

/* Pagination */
.blog-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 50px;
}

.pagination-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--primary-sage);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.pagination-btn:hover {
    background: var(--primary-forest);
    transform: translateY(-2px);
}

.pagination-numbers {
    display: flex;
    gap: 10px;
}

.pagination-number,
.pagination-current {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-weight: 600;
    transition: all 0.3s ease;
}

.pagination-number {
    color: var(--text-dark);
    text-decoration: none;
    background: var(--warm-beige);
}

.pagination-number:hover {
    background: var(--light-mint);
    color: var(--primary-forest);
}

.pagination-current {
    background: var(--primary-forest);
    color: white;
}

.pagination-ellipsis {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: var(--text-light);
}

/* Footer */
.site-footer {
    background: var(--primary-forest);
    color: white;
    padding: 50px 0 20px;
    margin-top: 80px;
}

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

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 30px;
}

.footer-section h3,
.footer-section h4 {
    color: var(--light-mint);
    margin-bottom: 20px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.footer-logo-icon {
    width: 50px;
    height: 50px;
    filter: brightness(0) invert(1);
}

.footer-logo-text h3 {
    margin: 0;
    font-size: 24px;
}

.footer-logo-text p {
    margin: 5px 0 0;
    opacity: 0.9;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--light-mint);
    transform: translateX(5px);
    display: inline-block;
}

.footer-section p {
    margin-bottom: 10px;
    opacity: 0.9;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    opacity: 0.8;
}

/* Responsive Design */

@media (max-width: 768px) {
    /* Mobile Header */
    .site-header {
        padding: 10px 0;
    }

    .header-container {
        padding: 0 15px;
        gap: 10px;
    }

    .logo-icon {
        width: 35px;
        height: 35px;
    }

    .logo-text .logo-title {
        font-size: 18px;
    }

    .logo-text .logo-subtitle {
        font-size: 11px;
        white-space: nowrap;
    }

    .logo-section {
        flex: 1;
    }

    .home-link {
        padding: 8px 15px;
        font-size: 14px;
        flex-shrink: 0;
    }

    .home-link span {
        display: none;
    }

    .home-link svg {
        width: 18px;
        height: 18px;
    }

    /* Blog Content */
    .blog-title {
        font-size: 28px;
    }

    .blog-subtitle {
        font-size: 15px;
    }

    .blog-hero {
        padding: 30px 20px;
    }

    .article-card {
        padding: 20px;
    }

    .article-card-title a {
        font-size: 20px;
    }

    .article-card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .blog-pagination {
        flex-wrap: wrap;
    }

    .pagination-numbers {
        order: 2;
        width: 100%;
        justify-content: center;
        margin: 20px 0;
    }

    .pagination-btn.prev {
        order: 1;
    }

    .pagination-btn.next {
        order: 3;
    }
}

/* Extra small mobile - 375px and below */
@media (max-width: 375px) {
    .site-header {
        padding: 8px 0;
    }

    .header-container {
        padding: 0 10px;
    }

    .logo-icon {
        width: 30px;
        height: 30px;
    }

    .logo-text .logo-title {
        font-size: 16px;
    }

    .home-link {
        padding: 6px 10px;
        font-size: 12px;
    }

    .blog-title {
        font-size: 24px;
    }

    .blog-subtitle {
        font-size: 14px;
    }

    .blog-hero {
        padding: 25px 15px;
    }

    .blog-container {
        padding: 0 15px;
    }

    .article-card {
        padding: 15px;
        border-left-width: 3px;
    }

    .article-card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .article-category {
        font-size: 11px;
        padding: 4px 10px;
    }

    .article-date {
        font-size: 12px;
    }

    .article-card-title a {
        font-size: 18px;
    }

    .article-card-excerpt {
        font-size: 14px;
        line-height: 1.6;
    }

    .read-more-btn {
        font-size: 14px;
    }

    .blog-pagination {
        gap: 10px;
        margin-top: 30px;
    }

    .pagination-btn {
        padding: 8px 15px;
        font-size: 14px;
    }

    .pagination-numbers {
        gap: 5px;
        margin: 15px 0;
    }

    .pagination-number,
    .pagination-current {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
}
