/*
Theme Name: Spijkernisse Senior Service
Theme URI: https://www.spijkernisse.nl
Author: Prosperbiz B.V.
Author URI: https://www.prosperbiz-websites.nl
Description: WordPress theme voor Senioren Service Spijkernisse - Klushulp voor ouderen
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: spijkernisse
*/

/* Root Variables - Modern Color Palette */
:root {
    --primary-color: #1e5a9e;
    --primary-dark: #164576;
    --secondary-color: #ff9500;
    --accent-color: #34c759;
    --text-dark: #1d1d1f;
    --text-medium: #424245;
    --text-light: #6e6e73;
    --bg-light: #f5f5f7;
    --bg-white: #ffffff;
    --border-light: #d2d2d7;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.12);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.16);
}

/* Base Typography - Optimized for Seniors */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 18px;
    line-height: 1.7;
    color: var(--text-dark);
    background-color: var(--bg-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

h1 { font-size: 3rem; letter-spacing: -0.02em; }
h2 { font-size: 2.5rem; letter-spacing: -0.015em; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }

p { 
    margin-bottom: 1.5rem;
    color: var(--text-medium);
}

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

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

/* Modern Button Styles */
.btn {
    display: inline-block;
    font-weight: 600;
    font-size: 1.1rem;
    padding: 16px 32px;
    border-radius: 50px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    text-align: center;
    letter-spacing: 0.02em;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(30, 90, 158, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(30, 90, 158, 0.4);
    color: white;
}

.btn-secondary {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #e68900 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(255, 149, 0, 0.3);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 149, 0, 0.4);
    color: white;
}

.btn-lg {
    padding: 20px 40px;
    font-size: 1.2rem;
}

/* Header - Modern Floating Design */
.site-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    border-bottom: 1px solid var(--border-light);
}

.site-logo img {
    max-height: 70px;
    transition: transform 0.3s ease;
}

.site-logo:hover img {
    transform: scale(1.05);
}

.site-logo h1 {
    font-size: 1.8rem;
    margin: 0;
    color: var(--primary-color);
}

/* Navigation - Clean & Modern */
.navbar {
    padding: 0;
}

.navbar-toggler {
    border: 2px solid var(--primary-color);
    padding: 12px 16px;
    border-radius: 12px;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 3px rgba(30, 90, 158, 0.2);
}

.main-navigation {
    gap: 8px;
}

.main-navigation li {
    list-style: none;
    margin: 0;
}

.main-navigation a {
    color: var(--text-dark);
    font-weight: 600;
    font-size: 1.05rem;
    padding: 12px 20px;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.main-navigation a:hover,
.main-navigation .current-menu-item a {
    background: var(--bg-light);
    color: var(--primary-color);
}

/* Hero Section - Modern Gradient */
.hero-section {
    background: linear-gradient(135deg, #1e5a9e 0%, #2d7dd2 100%);
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(255,255,255,0.1) 0%, transparent 50%);
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-section h1 {
    color: white;
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.hero-section .lead {
    color: rgba(255,255,255,0.95);
    font-size: 1.5rem;
    margin-bottom: 2rem;
    font-weight: 400;
}

/* Service Cards - Modern Card Design */
.service-card {
    background: var(--bg-white);
    border-radius: 24px;
    padding: 40px;
    height: 100%;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--border-light);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.service-icon {
    font-size: 3.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 24px;
    display: block;
}

.service-card h3 {
    font-size: 1.75rem;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.service-card ul {
    list-style: none;
    padding: 0;
    margin-bottom: 24px;
}

.service-card ul li {
    padding: 12px 0;
    padding-left: 32px;
    position: relative;
    color: var(--text-medium);
    font-size: 1.05rem;
}

.service-card ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
    font-size: 1.3rem;
}

/* USP Section - Modern Design */
.usp-item {
    padding: 40px 20px;
    transition: transform 0.3s ease;
}

.usp-item:hover {
    transform: translateY(-5px);
}

.usp-icon {
    font-size: 3.5rem;
    background: linear-gradient(135deg, var(--accent-color), #28a745);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
}

.usp-item h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.usp-item p {
    font-size: 1.1rem;
    color: var(--text-light);
}

/* Contact Section */
.contact-info {
    background: var(--bg-light);
    padding: 40px;
    border-radius: 24px;
    height: 100%;
}

.contact-info h4 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
}

.contact-info h4 i {
    margin-right: 12px;
    font-size: 1.5rem;
}

.contact-info p {
    font-size: 1.15rem;
    margin-bottom: 32px;
}

.contact-info a {
    color: var(--text-dark);
    font-weight: 600;
}

.contact-info a:hover {
    color: var(--primary-color);
}

/* Forms - Modern Input Design */
.form-label {
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.form-control {
    font-size: 1.1rem;
    padding: 16px 20px;
    border: 2px solid var(--border-light);
    border-radius: 16px;
    transition: all 0.3s ease;
    background: var(--bg-white);
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(30, 90, 158, 0.1);
    outline: none;
}

/* Footer - Modern Design */
.site-footer {
    background: linear-gradient(180deg, var(--text-dark) 0%, #000 100%);
    color: rgba(255,255,255,0.8);
    padding: 80px 0 40px;
    margin-top: 100px;
}

.footer-widget h4 {
    color: white;
    margin-bottom: 24px;
    font-size: 1.4rem;
}

.footer-widget p {
    color: rgba(255,255,255,0.7);
    line-height: 1.8;
}

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

.footer-widget ul li {
    margin-bottom: 12px;
}

.footer-widget a {
    color: rgba(255,255,255,0.7);
    transition: all 0.3s ease;
    font-size: 1.05rem;
}

.footer-widget a:hover {
    color: white;
    padding-left: 8px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    margin-right: 12px;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

/* WhatsApp Float Button - Modern */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

.whatsapp-float a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    border-radius: 50%;
    color: white;
    font-size: 35px;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.whatsapp-float a:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 32px rgba(37, 211, 102, 0.5);
}

/* Section Spacing */
section {
    padding: 80px 0;
}

.bg-light {
    background: var(--bg-light) !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    body { font-size: 16px; }
    
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    h3 { font-size: 1.5rem; }
    
    .hero-section {
        padding: 80px 0;
    }
    
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .hero-section .lead {
        font-size: 1.25rem;
    }
    
    .btn {
        font-size: 1rem;
        padding: 14px 28px;
    }
    
    .btn-lg {
        font-size: 1.1rem;
        padding: 16px 32px;
    }
    
    section {
        padding: 60px 0;
    }
    
    .service-card {
        padding: 30px;
    }
    
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
    }
    
    .whatsapp-float a {
        width: 60px;
        height: 60px;
        font-size: 30px;
    }
}

@media (max-width: 576px) {
    .btn {
        width: 100%;
        margin-bottom: 12px;
    }
    
    .hero-section .btn {
        width: 100%;
    }
}

/* Accessibility - Focus States */
*:focus {
    outline: 3px solid var(--primary-color);
    outline-offset: 2px;
}

button:focus,
.btn:focus,
a:focus {
    outline: 3px solid var(--primary-color);
    outline-offset: 3px;
}

/* Loading Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-card,
.usp-item {
    animation: fadeInUp 0.6s ease-out;
}

/* Print Styles */
@media print {
    .site-header,
    .whatsapp-float,
    .site-footer {
        display: none;
    }
    
    body {
        font-size: 12pt;
        color: black;
    }
}

/* Header - Modern Floating Design */
.site-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    border-bottom: 1px solid var(--border-light);
}

.site-logo {
    display: flex;
    align-items: center;
}

.site-logo a {
    display: inline-block;
    line-height: 1;
}

.site-logo img {
    max-height: 50px;
    width: auto;
    height: auto;
    transition: transform 0.3s ease;
}

.site-logo:hover img {
    transform: scale(1.05);
}

.site-logo h1 {
    font-size: 1.5rem;
    margin: 0;
    color: var(--primary-color);
    line-height: 1;
}

/* Custom logo class from WordPress */
.custom-logo {
    max-height: 50px;
    width: auto;
    height: auto;
}

.custom-logo-link {
    display: inline-block;
    line-height: 1;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .site-header {
        padding: 12px 0;
    }
    
    .site-logo img,
    .custom-logo {
        max-height: 40px;
    }
    
    .site-logo h1 {
        font-size: 1.3rem;
    }
}
/* Print Styles for Legal Pages */
@media print {
    .site-header,
    .site-footer,
    .whatsapp-float,
    .btn,
    button {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        color: #000;
        background: #fff;
    }
    
    .container {
        width: 100%;
        max-width: 100%;
    }
    
    h1, h2, h3 {
        page-break-after: avoid;
    }
    
    article {
        page-break-inside: avoid;
    }
}

.form-check-input { margin-left: 0.5rem; }
.form-check { display: flex; }
.form-check-input { flex-shrink: 0; }

