/* ==========================================================================
   Rijschool Theo Dijk - Custom Design System
   ========================================================================== */

:root {
    --bg-primary: #0a0a0a;
    --bg-secondary: #141414;
    --bg-card: #1c1c1c;
    --bg-alt: #101010;
    
    --color-text: #f0f0f0;
    --color-text-muted: #a0a0a0;
    --color-heading: #ffffff;
    
    --primary: #ff6600;
    --primary-hover: #e55c00;
    --accent: #ffcc00;
    --accent-hover: #e6b800;
    
    --border-color: rgba(255, 255, 255, 0.08);
    --border-color-hover: rgba(255, 102, 0, 0.4);
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    
    --transition-smooth: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    --shadow-premium: 0 20px 40px rgba(0, 0, 0, 0.4);
    --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.3);
    
    --radius: 12px;
    --radius-sm: 8px;
    --radius-lg: 20px;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-primary);
    color: var(--color-text);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--color-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 3.5vw, 3rem); }
h3 { font-size: clamp(1.5rem, 2.5vw, 2rem); }

p {
    margin-bottom: 1rem;
    color: var(--color-text-muted);
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-smooth);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Skip link */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary);
    color: white;
    padding: 8px 16px;
    z-index: 100;
    transition: top 0.3s;
}
.skip-link:focus {
    top: 0;
}

/* Sticky WhatsApp Button */
.whatsapp-sticky {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: white;
    padding: 12px 20px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 999;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    transition: var(--transition-smooth);
}
.whatsapp-sticky:hover {
    background-color: #20ba5a;
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(37, 211, 102, 0.6);
}

/* Utilities */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.grid {
    display: grid;
    gap: 2rem;
}

.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }

.align-center { align-items: center; }
.text-center { text-align: center; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mt-6 { margin-top: 3rem; }
.mb-6 { margin-bottom: 3rem; }

.section {
    padding: 6rem 0;
}

.bg-dark-alt {
    background-color: var(--bg-alt);
}

.rounded-image {
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
}

.shadow-premium {
    box-shadow: var(--shadow-premium);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: var(--radius);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition-smooth);
    text-align: center;
}

.btn-primary {
    background-color: var(--primary);
    color: #ffffff;
}
.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255, 102, 0, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-heading);
    border-color: var(--border-color);
}
.btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    color: var(--color-heading);
    border-color: rgba(255, 255, 255, 0.3);
}
.btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: #ffffff;
}

.btn-accent {
    background-color: var(--accent);
    color: var(--bg-primary);
}
.btn-accent:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255, 204, 0, 0.3);
}

.btn-full { width: 100%; }
.btn-lg { padding: 16px 36px; font-size: 1.1rem; }

/* Loading Screen */
#loading-screen {
    position: fixed;
    inset: 0;
    background-color: var(--bg-primary);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}
#loading-screen.fade-out {
    opacity: 0;
    visibility: hidden;
}
.loader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}
.loader-logo {
    animation: pulseLogo 1.5s infinite alternate;
}
.loader-bar-wrapper {
    width: 200px;
    height: 4px;
    background-color: var(--bg-secondary);
    border-radius: 2px;
    overflow: hidden;
}
.loader-bar {
    width: 0%;
    height: 100%;
    background-color: var(--primary);
    transition: width 0.2s ease;
}
.loader-percentage {
    font-family: var(--font-heading);
    font-size: 0.875rem;
    color: var(--color-text-muted);
}

@keyframes pulseLogo {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(1.05); opacity: 1; }
}

/* Header & Nav (Vergroot logo) */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition-smooth);
}
.site-header.scrolled {
    background-color: rgba(10, 10, 10, 0.95);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 95px;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 14px;
}
/* Het logo in de header 
.brand-logo img {
    width: 120px;  
    height: 120px;
    object-fit: contain; 
    display: block;     
}

/* Het logo bij het custom loading screen */
.loader-logo {
    width: 300px;  
    height: 300px;
    object-fit: contain;
    animation: pulseLogo 1.5s infinite alternate;
}
.brand-text {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.35rem;
    color: var(--color-heading);
}

.main-nav .nav-list {
    display: flex;
    gap: 2.5rem;
}

.nav-link {
    font-weight: 500;
    color: var(--color-text-muted);
    position: relative;
    padding: 6px 0;
}
.nav-link:hover, .nav-link.active {
    color: var(--color-heading);
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: var(--transition-smooth);
}
.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.phone-btn {
    display: flex;
    padding: 10px 18px;
    font-size: 0.9rem;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 32px;
    height: 24px;
    flex-direction: column;
    justify-content: space-between;
    z-index: 1001;
}
.hamburger-line {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--color-heading);
    transition: var(--transition-smooth);
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 85vh;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    padding-top: 95px;
}
.page-hero {
    min-height: 55vh;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10,10,10,0.65) 0%, rgba(10,10,10,0.92) 100%);
}
.hero-container-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 4rem 24px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    padding: 8px 18px;
    border-radius: 50px;
    margin-bottom: 2rem;
}
.google-logo-icon {
    display: inline-block;
    vertical-align: middle;
}
.rating-stars {
    color: var(--accent);
    letter-spacing: 2px;
}
.rating-text {
    font-size: 0.9rem;
    color: var(--color-text);
}

.hero-title {
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--color-text-muted);
    margin-bottom: 2.5rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.hero-location {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    color: var(--color-text-muted);
}
.hero-location svg {
    color: var(--primary);
}

/* Trust Bar */
.trust-bar {
    background-color: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 2.5rem 0;
}
.trust-container {
    display: flex;
    justify-content: center;
    gap: 2rem;
}
.trust-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}
.trust-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}
.trust-details {
    display: flex;
    flex-direction: column;
}
.trust-details .stars {
    color: var(--accent);
    font-size: 1.1rem;
}
.trust-details .title-sub {
    font-weight: 700;
    color: var(--color-heading);
}
.trust-details .label {
    font-size: 0.875rem;
    color: var(--color-text-muted);
}

/* Intro Section */
.lead-text {
    font-size: 1.2rem;
    color: var(--color-heading);
    font-weight: 500;
}
.section-tag {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--primary);
    margin-bottom: 0.75rem;
    font-weight: 700;
}
.inline-review-header {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 0.5rem;
}
.accent-tag { color: var(--accent); }

/* Services Section */
.service-grid {
    margin-top: 3rem;
}
.service-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition-smooth);
}
.service-card:hover {
    border-color: var(--border-color-hover);
    transform: translateY(-5px);
    box-shadow: var(--shadow-card);
}
.service-img-wrapper img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.service-card:hover .service-img-wrapper img {
    transform: scale(1.03);
}
.service-body {
    padding: 2.5rem;
}
.service-list {
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.service-list li {
    position: relative;
    padding-left: 24px;
    color: var(--color-text-muted);
    font-size: 0.95rem;
}
.service-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

/* Reviews Section */
.section-sub {
    color: var(--color-text-muted);
    font-size: 1.1rem;
}
.reviews-grid {
    margin-top: 3rem;
}
.review-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.review-top-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
}
.review-stars {
    color: var(--accent);
    font-size: 1.1rem;
}
.review-text {
    font-style: italic;
    color: var(--color-text);
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}
.reviewer-info strong {
    display: block;
    color: var(--color-heading);
    font-family: var(--font-heading);
}
.reviewer-info span {
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

/* CTA Banner */
.cta-banner-section {
    padding: 4rem 0 6rem 0;
}
.cta-banner-container {
    background: linear-gradient(135deg, #1c1c1c 0%, #101010 100%);
    border: 1px solid var(--border-color-hover);
    border-radius: var(--radius-lg);
    padding: 4rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    box-shadow: var(--shadow-premium);
}
.cta-banner-content h2 { margin-bottom: 0.5rem; }
.cta-banner-content p { margin-bottom: 0; }

/* Contact Page Styles */
.contact-grid {
    margin-top: 3rem;
    align-items: start;
}
.contact-info-box, .contact-form-box {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 3rem;
}
.contact-details-list {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.contact-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}
.contact-icon {
    background-color: rgba(255, 102, 0, 0.1);
    color: var(--primary);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.contact-item strong {
    color: var(--color-heading);
    font-family: var(--font-heading);
}

.map-wrapper {
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border-color);
}

/* Form Styles */
.secure-form { margin-top: 2rem; }
.form-group { margin-bottom: 1.5rem; }
.form-group label {
    display: block;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    color: var(--color-heading);
}
.required { color: var(--primary); }
.form-input {
    width: 100%;
    padding: 14px 18px;
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    color: var(--color-heading);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition-smooth);
}
.form-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(255, 102, 0, 0.15);
}
textarea.form-input { resize: vertical; }
.error-message {
    display: block;
    color: #ff4d4d;
    font-size: 0.85rem;
    margin-top: 0.375rem;
    display: none;
}
.form-input.error { border-color: #ff4d4d; }
.form-input.error + .error-message { display: block; }
.form-success-msg {
    margin-top: 1rem;
    padding: 1rem;
    background-color: rgba(40, 167, 69, 0.1);
    border: 1px solid #28a745;
    color: #28a745;
    border-radius: var(--radius);
    text-align: center;
    font-weight: 600;
}
.form-error-msg {
    margin-top: 1rem;
    padding: 1rem;
    background-color: rgba(255, 77, 77, 0.1);
    border: 1px solid #ff4d4d;
    color: #ff4d4d;
    border-radius: var(--radius);
    text-align: center;
    font-weight: 600;
}

/* Footer */
.site-footer {
    background-color: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: 5rem 0 2rem 0;
}
.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 3rem;
    margin-bottom: 4rem;
}
.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--color-heading);
    margin-bottom: 1rem;
}
.footer-rating {
    margin-top: 1.5rem;
    font-size: 0.9rem;
}
.footer-rating .stars { color: var(--accent); }
.footer-col h4 {
    font-size: 1.1rem;
    margin-bottom: 1.25rem;
}
.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.footer-links a { color: var(--color-text-muted); }
.footer-links a:hover { color: var(--primary); }
.footer-address p { margin-bottom: 0.25rem; }
.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
}
.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.9rem;
    color: var(--color-text-muted);
}
.agency-credit { color: var(--color-text); }

/* Animations Scroll Reveal */
[data-reveal] {
    opacity: 0;
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}
[data-reveal="fade-up"] { transform: translateY(30px); }
[data-reveal="fade-down"] { transform: translateY(-30px); }
[data-reveal="fade-right"] { transform: translateX(-30px); }
[data-reveal="fade-left"] { transform: translateX(30px); }
[data-reveal="zoom-in"] { transform: scale(0.95); }

[data-reveal].revealed {
    opacity: 1;
    transform: translate(0) scale(1);
}

@media (prefers-reduced-motion: reduce) {
    [data-reveal] {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
    html { scroll-behavior: auto; }
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .main-nav {
        position: fixed;
        top: 95px;
        left: 0;
        width: 100%;
        background-color: var(--bg-secondary);
        border-bottom: 1px solid var(--border-color);
        padding: 2rem;
        transform: translateY(-150%);
        transition: var(--transition-smooth);
        box-shadow: var(--shadow-premium);
    }
    .main-nav.open { transform: translateY(0); }
    .main-nav .nav-list {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }
    .menu-toggle { display: flex; }
    .phone-btn { display: none; }
}

@media (max-width: 768px) {
    .cta-banner-container {
        flex-direction: column;
        text-align: center;
        padding: 2.5rem 1.5rem;
    }
    .section { padding: 4rem 0; }
    .whatsapp-sticky {
        bottom: 20px;
        right: 20px;
        padding: 10px 16px;
        font-size: 0.85rem;
    }
}

