/*
Theme Name: MyAdmins Boekhouding
Theme URI: https://myadmins.nl
Author: MyAdmins
Author URI: https://myadmins.nl
Description: Modern one-page WordPress theme for MyAdmins bookkeeping services. Dutch primary with English support. Mobile-friendly and SEO optimized.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: myadmins
Tags: one-column, custom-menu, featured-images, translation-ready, custom-logo
*/

/* ==========================================
   CSS Variables & Root
   ========================================== */
:root {
    --primary-color: #1e3a5f;
    --primary-dark: #152a45;
    --secondary-color: #2d9cdb;
    --accent-color: #27ae60;
    --text-color: #333333;
    --text-light: #666666;
    --text-muted: #888888;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --border-color: #e0e0e0;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
    --shadow-lg: 0 8px 24px rgba(0,0,0,0.12);
    --transition: all 0.3s ease;
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-heading: 'Poppins', var(--font-primary);
    --border-radius: 8px;
    --border-radius-lg: 16px;
}

/* ==========================================
   Reset & Base
   ========================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: var(--transition);
}

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

ul, ol {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.3;
    color: var(--primary-color);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.5rem); }

p {
    margin-bottom: 1rem;
}

/* ==========================================
   Utility Classes
   ========================================== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 5rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    margin-bottom: 1rem;
}

.section-title p {
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    font-size: 1rem;
    font-weight: 500;
    border-radius: var(--border-radius);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

.btn-primary {
    background-color: var(--secondary-color);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

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

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

.btn-white:hover {
    background-color: var(--bg-light);
    color: var(--primary-color);
    transform: translateY(-2px);
}

/* ==========================================
   Header & Navigation
   ========================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.site-header.scrolled {
    box-shadow: var(--shadow-md);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

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

.site-logo img {
    height: 40px;
    width: auto;
}

.site-logo span {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.main-nav ul {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.main-nav a {
    font-weight: 500;
    color: var(--text-color);
    position: relative;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: var(--transition);
}

.main-nav a:hover::after,
.main-nav a.active::after {
    width: 100%;
}

.header-cta {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.lang-switch {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem;
    border-radius: var(--border-radius);
    background-color: var(--bg-light);
}

.lang-switch a {
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-muted);
}

.lang-switch a.active,
.lang-switch a:hover {
    background-color: white;
    color: var(--primary-color);
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

/* ==========================================
   Hero Section
   ========================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="0.5"/></svg>');
    background-size: 50px 50px;
    opacity: 0.5;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    color: white;
    margin-bottom: 1.5rem;
}

.hero-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
    margin-bottom: 2rem;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image {
    display: flex;
    justify-content: center;
}

.hero-visual {
    width: 100%;
    max-width: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.hero-visual.hero-photo {
    background: transparent;
}

.hero-visual.hero-photo::before {
    display: none;
}

.hero-img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 25px 60px rgba(0,0,0,0.4);
    animation: float 4s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.hero-visual::before {
    content: '';
    position: absolute;
    width: 80%;
    height: 80%;
    border: 2px dashed rgba(255,255,255,0.2);
    border-radius: 50%;
    animation: rotate 30s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.hero-icon {
    font-size: 8rem;
    color: rgba(255,255,255,0.9);
}

.trust-badges {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.2);
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255,255,255,0.8);
    font-size: 0.875rem;
}

.trust-badge svg {
    width: 20px;
    height: 20px;
    fill: var(--accent-color);
}

/* ==========================================
   Services Section
   ========================================== */
.services {
    background-color: var(--bg-light);
}

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

.service-card {
    background-color: white;
    padding: 2.5rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    text-align: center;
}

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

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon svg {
    width: 40px;
    height: 40px;
    fill: white;
}

.service-card h3 {
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-light);
    margin-bottom: 0;
}

/* ==========================================
   About Section
   ========================================== */
.about-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image-main {
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    aspect-ratio: 4/3;
    overflow: hidden;
}

.about-image-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.about-image:hover .about-image-main img {
    transform: scale(1.05);
}

.about-stats {
    position: absolute;
    bottom: -2rem;
    right: -2rem;
    background-color: var(--secondary-color);
    color: white;
    padding: 1.5rem 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
}

.about-stats strong {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
}

.about-content h2 {
    margin-bottom: 1.5rem;
}

.about-content p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.about-features {
    margin: 2rem 0;
}

.about-feature {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.about-feature svg {
    width: 24px;
    height: 24px;
    fill: var(--accent-color);
    flex-shrink: 0;
    margin-top: 2px;
}

.about-feature span {
    font-weight: 500;
}

/* ==========================================
   Pricing Section
   ========================================== */
.pricing {
    background-color: var(--bg-light);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.pricing-card {
    background-color: white;
    border-radius: var(--border-radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.pricing-card.featured {
    border: 2px solid var(--secondary-color);
    transform: scale(1.05);
}

.pricing-card.featured::before {
    content: 'Populair';
    position: absolute;
    top: 1rem;
    right: -2rem;
    background-color: var(--secondary-color);
    color: white;
    padding: 0.25rem 2.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    transform: rotate(45deg);
}

.pricing-card:hover {
    box-shadow: var(--shadow-lg);
}

.pricing-header {
    text-align: center;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 1.5rem;
}

.pricing-header h3 {
    margin-bottom: 0.5rem;
}

.pricing-header p {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.pricing-price {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
}

.pricing-price span {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-muted);
}

.pricing-features {
    margin-bottom: 2rem;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features svg {
    width: 20px;
    height: 20px;
    fill: var(--accent-color);
    flex-shrink: 0;
}

.pricing-card .btn {
    width: 100%;
}

/* ==========================================
   Testimonials Section
   ========================================== */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background-color: var(--bg-light);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    font-family: Georgia, serif;
    font-size: 4rem;
    color: var(--secondary-color);
    opacity: 0.3;
    position: absolute;
    top: 0.5rem;
    left: 1.5rem;
    line-height: 1;
}

.testimonial-content {
    margin-bottom: 1.5rem;
    padding-top: 1rem;
}

.testimonial-content p {
    color: var(--text-light);
    font-style: italic;
    margin-bottom: 0;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 1.25rem;
}

.testimonial-info strong {
    display: block;
    color: var(--primary-color);
}

.testimonial-info span {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.testimonial-rating {
    display: flex;
    gap: 0.25rem;
    margin-top: 0.5rem;
}

.testimonial-rating svg {
    width: 16px;
    height: 16px;
    fill: #ffc107;
}

/* ==========================================
   CTA Section
   ========================================== */
.cta {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    text-align: center;
}

.cta h2 {
    color: white;
    margin-bottom: 1rem;
}

.cta p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto 2rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* ==========================================
   Contact Section
   ========================================== */
.contact {
    background-color: var(--bg-light);
}

.contact-inner {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
}

.contact-info h2 {
    margin-bottom: 1.5rem;
}

.contact-info > p {
    color: var(--text-light);
    margin-bottom: 2rem;
}

.contact-methods {
    margin-bottom: 2rem;
}

.contact-method {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-method-icon {
    width: 48px;
    height: 48px;
    background-color: white;
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
    flex-shrink: 0;
}

.contact-method-icon svg {
    width: 24px;
    height: 24px;
    fill: var(--secondary-color);
}

.contact-method-text strong {
    display: block;
    margin-bottom: 0.25rem;
}

.contact-method-text span,
.contact-method-text a {
    color: var(--text-light);
}

.contact-form-wrapper {
    background-color: white;
    padding: 2.5rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
}

.contact-form {
    display: grid;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.875rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(45, 156, 219, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form .btn {
    justify-self: start;
}

/* ==========================================
   Footer
   ========================================== */
.site-footer {
    background-color: var(--primary-dark);
    color: white;
    padding: 4rem 0 2rem;
}

.footer-inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand .site-logo span {
    color: white;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    margin: 1rem 0;
    max-width: 300px;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.footer-social a:hover {
    background-color: var(--secondary-color);
}

.footer-social svg {
    width: 20px;
    height: 20px;
    fill: white;
}

.footer-column h4 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.footer-column ul li {
    margin-bottom: 0.75rem;
}

.footer-column a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-column a:hover {
    color: white;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
    margin: 0;
}

.footer-legal {
    display: flex;
    gap: 2rem;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
}

.footer-legal a:hover {
    color: white;
}

/* ==========================================
   Mobile Navigation
   ========================================== */
@media (max-width: 992px) {
    .mobile-toggle {
        display: flex;
    }

    .main-nav {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background-color: white;
        padding: 2rem;
        box-shadow: var(--shadow-lg);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
    }

    .main-nav.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 1rem;
    }

    .main-nav a {
        display: block;
        padding: 0.75rem 0;
        font-size: 1.125rem;
    }

    .header-cta .btn {
        display: none;
    }
}

/* ==========================================
   Responsive Design
   ========================================== */
@media (max-width: 1024px) {
    .hero-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-image {
        display: none;
    }

    .trust-badges {
        justify-content: center;
    }

    .about-inner {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-stats {
        right: 1rem;
        bottom: -1rem;
    }

    .contact-inner {
        grid-template-columns: 1fr;
    }

    .footer-inner {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 3.5rem 0;
    }

    .pricing-card.featured {
        transform: none;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-brand p {
        margin-left: auto;
        margin-right: auto;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .hero {
        min-height: auto;
        padding: 6rem 0 4rem;
    }

    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9375rem;
    }

    .trust-badges {
        flex-direction: column;
        gap: 1rem;
    }

    .service-card {
        padding: 1.5rem;
    }

    .pricing-card {
        padding: 1.5rem;
    }

    .contact-form-wrapper {
        padding: 1.5rem;
    }
}

/* ==========================================
   Accessibility
   ========================================== */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

:focus-visible {
    outline: 2px solid var(--secondary-color);
    outline-offset: 2px;
}

/* ==========================================
   Print Styles
   ========================================== */
@media print {
    .site-header,
    .hero-visual,
    .cta,
    .contact-form-wrapper {
        display: none;
    }

    body {
        font-size: 12pt;
        color: black;
    }

    .section {
        padding: 1rem 0;
    }
}
