/**
 * Page-specific Styles
 * 
 * @package Clevertech_Astra_Child
 * @version 1.0.0
 */

/* ===== Fix voor Header Overlap ===== */
body.page .site-header,
body.single .site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

body.page,
body.single {
    padding-top: 80px; /* Compenseer voor fixed header */
}

/* ===== Page Hero Sections (Alle varianten) ===== */
.page-hero,
.about-hero,
.service-hero,
.contact-hero {
    background: var(--gradient-primary);
    padding: var(--space-2xl) 0; /* Normale padding zonder extra top padding */
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
    margin-top: 0; /* Zorg ervoor dat er geen extra margin is */
}

.page-hero::before,
.about-hero::before,
.service-hero::before,
.contact-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 1200 600"><g fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="2"><circle cx="100" cy="100" r="50"/><circle cx="300" cy="200" r="30"/><circle cx="500" cy="150" r="40"/><circle cx="700" cy="250" r="35"/><circle cx="900" cy="100" r="45"/><circle cx="1100" cy="200" r="25"/></g></svg>') no-repeat;
    background-size: cover;
    opacity: 0.1;
    animation: float-pattern 30s linear infinite;
}

@keyframes float-pattern {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100px); }
}

.page-hero h1,
.about-hero h1,
.service-hero h1,
.contact-hero h1 {
    color: var(--white);
    margin-bottom: var(--space-md);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    font-size: var(--fs-4xl);
    font-weight: 800;
    line-height: 1.2;
    animation: fadeInUp 0.8s ease-out;
}

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

.hero-subtitle {
    font-size: var(--fs-xl);
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* ===== About Page ===== */
.mission-values {
    background: var(--background-light);
}

.mission-statement {
    text-align: center;
    max-width: 800px;
    margin: 0 auto var(--space-xl) auto;
    padding: var(--space-lg);
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-lg);
}

.value-item {
    text-align: center;
    padding: var(--space-lg);
    background: var(--white);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
}

.value-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.value-icon {
    font-size: 3rem;
    margin-bottom: var(--space-md);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-lg);
    margin-top: var(--space-xl);
}

.team-member {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
}

.team-member:hover {
    box-shadow: var(--shadow-lg);
}

.member-info {
    padding: var(--space-md);
}

.member-role {
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: var(--space-sm);
}

.member-bio {
    color: var(--text-secondary);
    margin-bottom: var(--space-md);
}

.member-linkedin {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

/* Culture Section */
.culture-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-md);
    margin-top: var(--space-lg);
}

.highlight {
    padding: var(--space-md);
    background: var(--background-light);
    border-radius: var(--radius-md);
}

/* Awards Section */
.awards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-md);
}

.award-item {
    text-align: center;
    padding: var(--space-lg);
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: var(--radius-lg);
}

.award-item h4 {
    color: var(--white);
    margin-bottom: var(--space-sm);
}

.award-item p {
    opacity: 0.9;
}

/* ===== Services Page ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--space-lg);
    margin-top: var(--space-xl);
}

.service-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    transition: all var(--transition-base);
}

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

.service-card.featured {
    border: 2px solid var(--accent-color);
    position: relative;
}

.service-card.featured::before {
    content: 'POPULAIR';
    position: absolute;
    top: -12px;
    right: 20px;
    background: var(--accent-color);
    color: var(--white);
    padding: 4px 16px;
    border-radius: var(--radius-sm);
    font-size: var(--fs-xs);
    font-weight: 700;
}

.service-icon {
    font-size: 3rem;
    margin-bottom: var(--space-md);
}

.service-features {
    list-style: none;
    padding: 0;
    margin: var(--space-md) 0;
}

.service-features li {
    padding: var(--space-xs) 0;
    padding-left: var(--space-md);
    position: relative;
}

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

.service-benefits {
    display: flex;
    gap: var(--space-md);
    margin: var(--space-md) 0;
}

.benefit {
    flex: 1;
    text-align: center;
}

.benefit-value {
    display: block;
    font-size: var(--fs-2xl);
    font-weight: 700;
    color: var(--primary-color);
}

.benefit-label {
    font-size: var(--fs-sm);
    color: var(--text-secondary);
}

/* Process Steps */
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-lg);
    margin-top: var(--space-xl);
}

.process-step {
    text-align: center;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: var(--gradient-cta);
    color: var(--white);
    border-radius: 50%;
    font-size: var(--fs-xl);
    font-weight: 700;
    margin-bottom: var(--space-md);
}

/* Industry Grid */
.industry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-md);
}

.industry-item {
    padding: var(--space-md);
    background: var(--background-light);
    border-radius: var(--radius-md);
    border-left: 4px solid var(--primary-color);
}

/* ===== Contact Page ===== */
.contact-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--space-xl);
}

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

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
}

.contact-card {
    background: var(--background-light);
    padding: var(--space-md);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-md);
}

.contact-item {
    margin-bottom: var(--space-md);
}

.contact-item h4 {
    margin-bottom: var(--space-xs);
}

.location {
    margin-bottom: var(--space-md);
    padding-bottom: var(--space-md);
    border-bottom: 1px solid var(--border-color);
}

.location:last-child {
    border-bottom: none;
}

.response-times {
    list-style: none;
    padding: 0;
}

.response-times li {
    padding: var(--space-xs) 0;
}

/* Consultation Section */
.consultation-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-md);
    margin: var(--space-lg) 0;
}

.consultation-benefits .benefit {
    text-align: left;
}

.benefit-icon {
    font-size: 2rem;
    margin-bottom: var(--space-sm);
}

.calendar-embed {
    text-align: center;
    padding: var(--space-xl);
    background: var(--background-light);
    border-radius: var(--radius-lg);
    margin-top: var(--space-lg);
}

.calendar-placeholder {
    font-size: var(--fs-lg);
    color: var(--text-secondary);
    margin-bottom: var(--space-md);
}

/* FAQ Section */
.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: var(--space-lg);
}

.faq-item {
    background: var(--white);
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.faq-item h3 {
    color: var(--primary-color);
    margin-bottom: var(--space-sm);
}

/* Emergency Contact */
.emergency-box {
    background: var(--gradient-cta);
    color: var(--white);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    text-align: center;
}

.emergency-box h3 {
    color: var(--white);
    margin-bottom: var(--space-sm);
}

.emergency-box p {
    margin-bottom: var(--space-md);
}

/* ===== Case Study Page ===== */
.case-study-hero {
    padding-top: calc(var(--space-xl) + 80px);
    padding-bottom: var(--space-xl);
}

.hero-meta {
    margin-bottom: var(--space-md);
}

.industry-tag,
.service-tag {
    display: inline-block;
    padding: var(--space-xs) var(--space-sm);
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: var(--radius-sm);
    font-size: var(--fs-sm);
    font-weight: 600;
    margin-right: var(--space-sm);
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: var(--space-xl);
    margin-top: var(--space-lg);
}

.hero-stats .stat {
    text-align: center;
}

.hero-stats .stat-value {
    display: block;
    font-size: var(--fs-3xl);
    font-weight: 700;
    color: var(--accent-color);
}

.hero-stats .stat-label {
    color: var(--text-secondary);
}

/* Case Study Content */
.overview-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--space-xl);
}

.overview-content h2 {
    margin-top: var(--space-lg);
}

.overview-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.client-info,
.tech-stack {
    background: var(--background-light);
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-md);
}

.client-stats {
    list-style: none;
    padding: 0;
    margin-top: var(--space-md);
}

.client-stats li {
    padding: var(--space-xs) 0;
}

/* Implementation Timeline */
.timeline {
    position: relative;
    padding-left: var(--space-xl);
}

.timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border-color);
}

.timeline-item {
    position: relative;
    margin-bottom: var(--space-lg);
}

.timeline-marker {
    position: absolute;
    left: -45px;
    top: 0;
    width: 30px;
    height: 30px;
    background: var(--gradient-cta);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: var(--fs-sm);
}

/* Results Grid */
.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-md);
    margin: var(--space-lg) 0;
}

.result-card {
    background: var(--white);
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    text-align: center;
}

.result-card.primary {
    grid-column: span 2;
    background: var(--gradient-primary);
    color: var(--white);
}

.result-card.primary h3 {
    color: var(--white);
}

.result-value {
    font-size: var(--fs-3xl);
    font-weight: 700;
    color: var(--primary-color);
    margin: var(--space-sm) 0;
}

.result-card.primary .result-value {
    color: var(--white);
}

.roi-highlight {
    background: var(--accent-color);
    color: var(--white);
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    text-align: center;
    margin-top: var(--space-lg);
}

.roi-highlight h3 {
    color: var(--white);
    margin-bottom: var(--space-sm);
}

/* Testimonial Section */
.testimonial-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.testimonial-content blockquote {
    font-size: var(--fs-xl);
    line-height: 1.6;
    font-style: italic;
    margin: 0;
    padding: 0;
}

.testimonial-author {
    margin-top: var(--space-lg);
}

.testimonial-author h4 {
    margin-bottom: 0;
}

.testimonial-author p {
    color: var(--text-secondary);
}

/* Key Takeaways */
.takeaways-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-md);
}

.takeaway {
    background: var(--background-light);
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
}

.takeaway h3 {
    margin-bottom: var(--space-sm);
}

/* ===== Blog Post Styles ===== */
.post-intro {
    font-size: var(--fs-lg);
    line-height: 1.8;
    margin-bottom: var(--space-xl);
    color: var(--text-secondary);
}

.wp-block-quote {
    border-left: 4px solid var(--accent-color);
    padding-left: var(--space-lg);
    margin: var(--space-lg) 0;
    font-style: italic;
}

.wp-block-quote cite {
    display: block;
    margin-top: var(--space-sm);
    font-size: var(--fs-sm);
    color: var(--text-secondary);
    font-style: normal;
}

.post-cta {
    background: var(--gradient-primary);
    color: var(--white);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    text-align: center;
    margin: var(--space-xl) 0;
}

.post-cta h3 {
    color: var(--white);
    margin-bottom: var(--space-sm);
}

.post-cta p {
    margin-bottom: var(--space-md);
}

/* ===== Resource Page ===== */
.resource-hero {
    text-align: center;
    padding: calc(var(--space-2xl) + 80px) 0 var(--space-xl) 0;
}

.resource-type {
    color: var(--accent-color);
    font-weight: 700;
    margin-bottom: var(--space-md);
}

.resource-meta {
    display: flex;
    justify-content: center;
    gap: var(--space-lg);
    margin-top: var(--space-lg);
    color: var(--text-secondary);
}

.content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--space-xl);
}

.topic-list {
    margin: var(--space-lg) 0;
}

.topic-item {
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-lg);
    border-bottom: 1px solid var(--border-color);
}

.topic-item:last-child {
    border-bottom: none;
}

.topic-item h4 {
    color: var(--primary-color);
    margin-bottom: var(--space-sm);
}

.report-preview {
    background: var(--background-light);
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    margin: var(--space-xl) 0;
}

/* Download Form Card */
.download-form-card {
    background: var(--white);
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    position: sticky;
    top: 100px;
}

.btn-block {
    width: 100%;
}

.report-stats {
    margin-top: var(--space-lg);
    text-align: center;
}

.report-stats .stat {
    margin-bottom: var(--space-md);
}

.stat-number {
    display: block;
    font-size: var(--fs-2xl);
    font-weight: 700;
    color: var(--primary-color);
}

.stat-label {
    color: var(--text-secondary);
    font-size: var(--fs-sm);
}

/* Author Info */
.author-info {
    background: var(--background-light);
    padding: var(--space-md);
    border-radius: var(--radius-md);
    margin-top: var(--space-lg);
}

/* Testimonials Grid */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--space-md);
}

.testimonial-card {
    background: var(--white);
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: var(--space-md);
}

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

.testimonial-author span {
    color: var(--text-secondary);
    font-size: var(--fs-sm);
}

/* Related Resources */
.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-md);
}

.resource-card {
    background: var(--white);
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    transition: all var(--transition-base);
}

.resource-card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

.resource-card .resource-type {
    display: inline-block;
    padding: 4px 12px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: var(--radius-sm);
    font-size: var(--fs-xs);
    font-weight: 700;
    margin-bottom: var(--space-sm);
}

.btn-text {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: all var(--transition-base);
}

.btn-text:hover {
    color: var(--accent-color);
}

/* ===== Success Metrics ===== */
.success-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-md);
    margin: var(--space-xl) 0;
    text-align: center;
}

.metric {
    padding: var(--space-lg);
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.metric-value {
    display: block;
    font-size: var(--fs-3xl);
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: var(--space-xs);
}

.metric-label {
    color: var(--text-secondary);
}

/* ===== About Stats ===== */
.about-stats {
    display: flex;
    justify-content: center;
    gap: var(--space-xl);
    margin: var(--space-lg) 0;
}

.about-stats .stat {
    text-align: center;
}

.about-stats h3 {
    font-size: var(--fs-3xl);
    color: var(--accent-color);
    margin-bottom: 0;
}

.about-stats p {
    color: var(--text-secondary);
}

/* ===== Certifications Grid ===== */
.cert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-md);
}

.cert-item {
    background: var(--white);
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.cert-item h4 {
    color: var(--primary-color);
    margin-bottom: var(--space-xs);
}

.cert-item p {
    color: var(--text-secondary);
    font-size: var(--fs-sm);
}

/* ===== CTA Sections ===== */
.cta-section {
    background: var(--gradient-primary);
    color: var(--white);
    padding: var(--space-2xl) 0;
    text-align: center;
}

.cta-section h2 {
    color: var(--white);
    margin-bottom: var(--space-md);
}

.cta-section p {
    font-size: var(--fs-lg);
    margin-bottom: var(--space-lg);
}

.cta-buttons,
.cta-actions {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    flex-wrap: wrap;
}

.next-steps {
    background: var(--background-light);
    text-align: center;
}

/* ===== Responsive Design ===== */
@media (max-width: 1024px) {
    .content-grid,
    .overview-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .overview-sidebar,
    .download-form-card {
        position: static;
    }
    
    .hero-stats {
        flex-wrap: wrap;
        gap: var(--space-md);
    }
    
    .result-card.primary {
        grid-column: span 1;
    }
}

@media (max-width: 768px) {
    .page-hero {
        padding: calc(var(--space-xl) + 60px) var(--space-md) var(--space-xl) var(--space-md);
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .services-grid,
    .faq-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .about-stats {
        flex-direction: column;
        gap: var(--space-md);
    }
    
    .process-steps {
        grid-template-columns: 1fr;
    }
    
    .timeline {
        padding-left: var(--space-md);
    }
    
    .timeline-marker {
        left: -25px;
    }
    
    .resource-meta {
        flex-direction: column;
        gap: var(--space-sm);
    }
}

@media (max-width: 480px) {
    .values-grid,
    .team-grid,
    .results-grid,
    .takeaways-grid,
    .resources-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-stats .stat-value {
        font-size: var(--fs-2xl);
    }
    
    .metric-value {
        font-size: var(--fs-2xl);
    }
    
    .cta-buttons,
    .cta-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .cta-buttons .btn,
    .cta-actions .btn {
        width: 100%;
    }
}

/* ===== Print Styles ===== */
@media print {
    .site-header,
    .site-footer,
    .back-to-top,
    .download-form-card,
    .cta-section,
    .post-cta {
        display: none;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.5;
        color: #000;
    }
    
    a {
        color: #000;
        text-decoration: underline;
    }
    
    .page-hero {
        background: none;
        color: #000;
        padding: 20px 0;
    }
    
    .page-hero h1 {
        color: #000;
    }
}
