/*
Theme Name: PubQuiz.pro Theme
Theme URI: https://pubquiz.pro
Author: PubQuiz.pro
Author URI: https://pubquiz.pro
Description: Custom WordPress theme voor PubQuiz.pro met matching styling
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: pubquiz-pro
*/

/* Global Styling */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #333;
    line-height: 1.6;
    min-height: 100vh;
}

/* Navigation Styles */
.site-header {
    position: sticky;
    top: 0;
    background: #0f172a;
    border-bottom: 3px solid #fbbf24;
    z-index: 1000;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.site-branding a {
    font-size: 1.5em;
    font-weight: 800;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
}

.main-navigation {
    display: flex;
}

.main-navigation ul {
    display: flex;
    list-style: none;
    gap: 40px;
    align-items: center;
    margin: 0;
    padding: 0;
}

.main-navigation a {
    color: #cbd5e1;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 1em;
}

.main-navigation a:hover,
.main-navigation .current-menu-item a {
    color: #fbbf24;
}

.nav-cta {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: #0f172a !important;
    padding: 10px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    font-size: 0.95em;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(251,191,36,0.4);
}

/* Container */
.site-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* Blog Header */
.page-header {
    text-align: center;
    padding: 80px 20px 60px;
    color: white;
}

.page-header h1 {
    font-size: 3.5em;
    margin-bottom: 20px;
    font-weight: 800;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-header p {
    font-size: 1.3em;
    color: #cbd5e1;
}

/* Main Content Area */
.content-area {
    background: white;
    border-radius: 24px;
    padding: 60px;
    margin-bottom: 30px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
}

/* Blog Grid */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 35px;
    margin: 40px 0;
}

/* Blog Card Styling */
article.post,
.blog-card {
    background: #f8fafc;
    border-radius: 16px;
    overflow: hidden;
    border: 2px solid #e2e8f0;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

article.post:hover,
.blog-card:hover {
    transform: translateY(-10px);
    border-color: #fbbf24;
    box-shadow: 0 20px 40px rgba(251,191,36,0.2);
}

.post-thumbnail {
    width: 100%;
    height: 250px;
    overflow: hidden;
    background: #e2e8f0;
    position: relative;
}

.post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    display: block;
}

article.post:hover .post-thumbnail img {
    transform: scale(1.05);
}

/* Placeholder for posts without featured image */
.post-thumbnail.no-image {
    background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.placeholder-image {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-size: 4em;
    opacity: 0.3;
}

/* Single post featured image */
.single-featured {
    height: auto;
    max-height: 500px;
    margin-bottom: 30px;
    border-radius: 12px;
}

.entry-header,
.entry-content,
.entry-footer {
    padding: 25px;
}

.entry-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    font-size: 0.85em;
    color: #94a3b8;
    flex-wrap: wrap;
    gap: 10px;
}

.posted-on {
    background: #e2e8f0;
    color: #0f172a;
    padding: 4px 10px;
    border-radius: 6px;
    font-weight: 600;
}

.cat-links a {
    background: #fbbf24;
    color: #0f172a;
    padding: 4px 10px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.9em;
    text-decoration: none;
}

.entry-title {
    color: #0f172a;
    font-size: 1.8em;
    margin-bottom: 15px;
    font-weight: 700;
    line-height: 1.4;
}

.entry-title a {
    color: #0f172a;
    text-decoration: none;
    transition: color 0.3s ease;
}

.entry-title a:hover {
    color: #fbbf24;
}

.entry-summary,
.entry-content p {
    color: #64748b;
    font-size: 1em;
    line-height: 1.8;
    margin-bottom: 20px;
}

.more-link,
.read-more {
    display: inline-block;
    color: #fbbf24;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
}

.more-link:hover,
.read-more:hover {
    transform: translateX(5px);
}

/* Single Post Styling */
.single .entry-header {
    text-align: center;
    margin-bottom: 40px;
}

.single .entry-title {
    font-size: 2.5em;
    margin-bottom: 20px;
}

.single .entry-content {
    font-size: 1.1em;
    line-height: 1.8;
}

.single .entry-content h2 {
    color: #0f172a;
    font-size: 2em;
    margin: 40px 0 20px;
    font-weight: 700;
    border-bottom: 3px solid #fbbf24;
    padding-bottom: 10px;
}

.single .entry-content h3 {
    color: #0f172a;
    font-size: 1.6em;
    margin: 30px 0 15px;
    font-weight: 700;
}

.single .entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 30px 0;
}

.single .entry-content blockquote {
    background: #f8fafc;
    border-left: 4px solid #fbbf24;
    padding: 20px 30px;
    margin: 30px 0;
    font-style: italic;
    color: #475569;
}

/* Sidebar */
.widget-area {
    background: white;
    border-radius: 16px;
    padding: 30px;
    margin-top: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.widget {
    margin-bottom: 40px;
}

.widget-title {
    color: #0f172a;
    font-size: 1.4em;
    margin-bottom: 20px;
    font-weight: 700;
    border-bottom: 3px solid #fbbf24;
    padding-bottom: 10px;
}

.widget ul {
    list-style: none;
}

.widget ul li {
    padding: 8px 0;
    border-bottom: 1px solid #e2e8f0;
}

.widget ul li a {
    color: #64748b;
    text-decoration: none;
    transition: color 0.3s ease;
}

.widget ul li a:hover {
    color: #fbbf24;
}

/* Footer */
.site-footer {
    background: #0f172a;
    color: #cbd5e1;
    padding: 60px 20px 30px;
    border-top: 3px solid #fbbf24;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-widget h3 {
    color: #fbbf24;
    font-size: 1.2em;
    margin-bottom: 20px;
    font-weight: 700;
}

.footer-widget ul {
    list-style: none;
}

.footer-widget ul li {
    margin-bottom: 10px;
}

.footer-widget a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-widget a:hover {
    color: #fbbf24;
}

.site-info {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #1e293b;
    color: #94a3b8;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 40px 0;
}

.pagination a,
.pagination span {
    background: #f8fafc;
    color: #0f172a;
    padding: 10px 18px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid #e2e8f0;
}

.pagination a:hover,
.pagination .current {
    background: #fbbf24;
    border-color: #fbbf24;
    color: #0f172a;
    transform: translateY(-2px);
}

/* Comments */
.comments-area {
    background: #f8fafc;
    padding: 40px;
    border-radius: 16px;
    margin-top: 60px;
}

.comments-title {
    color: #0f172a;
    font-size: 2em;
    margin-bottom: 30px;
    font-weight: 700;
}

.comment-list {
    list-style: none;
}

.comment {
    background: white;
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 20px;
    border: 2px solid #e2e8f0;
}

.comment-author {
    font-weight: 700;
    color: #0f172a;
}

.comment-meta {
    font-size: 0.85em;
    color: #94a3b8;
    margin: 5px 0 15px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-container {
        flex-wrap: wrap;
    }

    .main-navigation ul {
        gap: 20px;
        font-size: 0.95em;
    }

    .page-header h1 {
        font-size: 2.5em;
    }

    .content-area {
        padding: 30px 20px;
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .page-header h1 {
        font-size: 2em;
    }

    .entry-title {
        font-size: 1.5em;
    }

    .single .entry-title {
        font-size: 2em;
    }
}
