/*
Theme Name: NKDI
Description: Speciaal WordPress theme voor ZZP Hypotheek Plan - de website die ZZP'ers en ondernemers wegwijs maakt in hypotheken. Persoonlijke begeleiding en advies op maat.
Author: NKDI
Version: 1.0.0
Text Domain: nkdi
*/

:root {
    --primary-color: #24549F;
    --secondary-color: #C6F2E5;
    --bg-mint: #B8E6D3;
    --text-dark: #0E3431;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background: #fffefc;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
}

#main-content {
    flex: 1;
}

/* WordPress Admin Bar Fix - Simple solution */
body.admin-bar .navbar-custom {
    margin-top: 32px;
}

@media screen and (max-width: 782px) {
    body.admin-bar .navbar-custom {
        margin-top: 46px;
    }
}

.playfair-display {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: var(--primary-color);
}

.logo-placeholder {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: bold;
    font-size: 18px;
}

.logo-placeholder-hero {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: bold;
    font-size: 24px;
    margin-bottom: 20px;
    display: inline-block;
}

.hero-section {
    min-height: 50vh;
    display: flex;
    align-items: center;
    padding: 100px 0 80px;
}

.hero-content h1 {
    color: var(--primary-color);
}

.hero-stats {
    border-left: 4px solid var(--primary-color);
}

.min-vh-50 {
    min-height: 50vh;
}

.main-card {
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid var(--primary-color);
    border-radius: 20px;
    padding: 40px;
    max-width: 600px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(14, 52, 49, 0.1);
    backdrop-filter: blur(10px);
}

.btn-primary-custom {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white !important;
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

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

.btn-primary-custom:hover {
    background-color: #19396C;
    border-color: #1a4a45;
    color: white !important;
    transform: translateY(-2px);
}

.feature-card {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid var(--primary-color);
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(14, 52, 49, 0.15);
}

.feature-icon {
    width: 50px;
    height: 50px;
    background-color: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    color: var(--primary-color);
    font-size: 24px;
}

.navbar-custom {
    background: #F6FFFC;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(14, 52, 49, 0.1);
}

.navbar-brand {
    font-weight: bold;
    color: var(--primary-color) !important;
}

.nav-link {
    color: var(--primary-color) !important;
    font-weight: 500;
    margin: 0 5px;
    padding: 10px 15px;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.3);
    color: var(--primary-color) !important;
    transform: translateY(-2px);
}

/* Mobile Navigation styling */
@media (max-width: 991.98px) {
    .navbar-collapse .navbar-nav {
        margin-top: 20px;
    }
    
    .navbar-collapse .btn-primary-custom {
        margin-top: 20px;
        margin-bottom: 10px;
        display: block;
        text-align: center;
        width: fit-content;
        margin-left: auto;
        margin-right: auto;
    }
}

.blog-card {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid var(--primary-color);
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 30px;
    transition: transform 0.3s ease;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(14, 52, 49, 0.15);
    text-decoration: none;
    color: inherit;
}

.blog-card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 20px;
}

.blog-card-meta {
    color: #666;
    font-size: 14px;
    margin-bottom: 10px;
}

.blog-card-excerpt {
    color: #555;
    line-height: 1.6;
    margin-bottom: 20px;
}

footer {
    background-color: var(--primary-color);
    color: white;
    padding: 50px 0 15px;
}

.footer-link {
    color: #C6F2E5;
    text-decoration: none;
    display: block;
    margin-bottom: 8px;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: white;
}

.footer-blog-item {
    margin-bottom: 8px;
}

.footer-blog-title {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.3;
}

.footer-blog-link {
    color: #C6F2E5;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-blog-link:hover {
    color: white;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.contact-icon {
    width: 20px;
    margin-right: 12px;
    text-align: center;
    color: var(--secondary-color);
    font-size: 1.1rem;
}

.footer-text {
    color: #C6F2E5;
}

.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    color: white;
    border-radius: 50px;
    text-align: center;
    font-size: 28px;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    animation: pulse-whatsapp 2s infinite;
}

.whatsapp-float:hover {
    background-color: #1EBE57;
    color: white;
    text-decoration: none;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

@keyframes pulse-whatsapp {
    0% {
        box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 4px 16px rgba(37, 211, 102, 0.6), 0 0 0 8px rgba(37, 211, 102, 0.1);
    }
    100% {
        box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
    }
}

.footer-bottom-links {
    font-size: 14px;
}

.footer-bottom-links a {
    color: #C6F2E5;
    text-decoration: none;
    margin: 0 10px;
}

.footer-bottom-links a:hover {
    color: white;
}

footer h6 {
    color: white !important;
    font-size: 1.2rem;
}

.footer-logo {
    height: 95px;
    margin-bottom: 15px;
}

.hero-link {
    color: var(--text-dark);
    text-decoration: none;
    font-size: 1.25rem;
    font-weight: 500;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 4px;
    transition: all 0.3s ease;
    display: inline-block;
}

.hero-link:hover {
    color: var(--primary-color);
    transform: translateY(-2px);
}

#diensten, #over, #blog {
    margin-bottom: 100px;
}

.cta-with-image {
    margin-bottom: 150px !important;
}

.cta-with-image {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--primary-color);
    border-radius: 20px;
    overflow: hidden;
    margin: 60px 0;
    box-shadow: 0 10px 30px rgba(14, 52, 49, 0.1);
}

.cta-image {
    width: 100%;
    height: 100%;
    min-height: 300px;
    object-fit: cover;
}

.cta-content {
    padding: 30px;
}

.cta-content h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.cta-options {
    margin: 30px 0;
}

.cta-option {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    padding: 15px;
    background: linear-gradient(135deg, rgba(198, 242, 229, 0.3) 0%, rgba(184, 230, 211, 0.3) 100%);
    border-radius: 10px;
    border: 1px solid rgba(14, 52, 49, 0.1);
}

.cta-option i {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-right: 15px;
    width: 20px;
    text-align: center;
}

.cta-option-text {
    flex: 1;
}

.cta-option-title {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.cta-option-desc {
    color: #666;
    font-size: 0.9rem;
    margin: 0;
}

.blog-card-link {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
}

.blog-card-link:hover {
    color: #1a4a45;
}

.blog-card-title {
    font-size: 1.4rem;
}

/* Blog Single Page Styles from blog-single.html */
.blog-content {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid var(--primary-color);
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 20px;
    margin-top: 120px;
}

.blog-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 20px;
}

.blog-meta {
    color: #666;
    font-size: 14px;
    margin-bottom: 20px;
}

.blog-meta a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-meta a:hover {
    color: var(--primary-color);
}

.blog-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.sidebar {
    position: sticky;
    top: 140px;
    height: fit-content;
    margin-top: 120px;
}

.sidebar-card {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid var(--primary-color);
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 20px;
}

.blog-main-column {
    margin-top: 20px;
}

.blog-content h2 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1.7;
}

.blog-content p {
    line-height: 1.7;
}

.blog-text a,
.blog-content a,
.page-content a,
#main-content p a,
#main-content .entry-content a {
    color: var(--primary-color) !important;
    text-decoration: none !important;
    font-weight: 600;
    border-bottom: 1px solid var(--primary-color);
    transition: all 0.3s ease;
}

.blog-text a:hover,
.blog-content a:hover,
.page-content a:hover,
#main-content p a:hover,
#main-content .entry-content a:hover {
    color: #1a4a45 !important;
    border-bottom-color: #1a4a45;
    transform: translateY(-1px);
}

.blog-text blockquote,
.blog-content blockquote {
    background-color: var(--secondary-color) !important;
    border-left: 4px solid var(--primary-color) !important;
    border-radius: 10px;
    padding: 40px 30px 30px 30px !important;
    margin: 30px 0 !important;
    font-style: italic;
    position: relative;
}

.blog-text blockquote p,
.blog-content blockquote p {
    margin-bottom: 0;
    font-size: 1.1rem;
    color: var(--text-dark);
}

.blog-text blockquote::before,
.blog-content blockquote::before {
    content: '"';
    font-size: 4rem;
    color: var(--primary-color);
    position: absolute;
    top: -10px;
    left: 15px;
    font-family: serif;
    opacity: 0.3;
}

.blog-quote {
    background-color: var(--secondary-color);
    border-radius: 10px;
    padding: 30px;
}

.blog-quote .blockquote-footer {
    font-size: 0.9rem;
    color: #666;
    font-weight: normal;
}

.category-list {
    list-style: none;
    padding: 0;
}

.category-list li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

.category-list li:last-child {
    border-bottom: none;
}

.category-list a {
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

.category-list a:hover {
    color: var(--primary-color);
}

/* Blog Archive Pages Styling */
.blog-header {
    padding: 160px 0 60px;
    text-align: center;
}

.blog-header h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.blog-grid {
    margin-bottom: 80px;
}

/* WordPress Pagination Styling */
.pagination {
    margin: 60px 0;
}

.page-link {
    color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 12px 20px;
    margin: 0 5px;
    border-radius: 10px;
}

.page-link:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.page-item.active .page-link {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

/* 404 Error Page Styling */
.error-section {
    min-height: 70vh;
    display: flex;
    align-items: center;
    padding: 120px 0;
}

.error-content {
    text-align: center;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid var(--primary-color);
    border-radius: 15px;
    padding: 60px 40px;
    max-width: 600px;
    margin: 0 auto;
}

.error-number {
    font-size: 8rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 20px;
}

.error-title {
    font-size: 2rem;
    margin-bottom: 20px;
}

.error-message {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #666;
    margin-bottom: 40px;
}

.partners-section {
    background: #f9fafb;
    padding-bottom: 100px !important;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.partner-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--primary-color);
}

.partner-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.12);
}

.partner-logo {
    width: 100%;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f9fafb;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    padding: 1rem;
}

.partner-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(50%);
    transition: filter 0.3s;
}

.partner-card:hover .partner-logo img {
    filter: grayscale(0%);
}

.partner-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 1rem;
}

.partner-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.partners-title {
    margin-bottom: 1.5rem !important;
}
