/*
Theme Name: Reditt AI Optimization
Theme URI: https://redittaioptimization.nl
Author: Reditt AI Optimization
Author URI: https://redittaioptimization.nl
Description: Professioneel WordPress-thema voor Reditt AI Optimization — Reddit Marketing Bureau in Amsterdam. Gespecialiseerd in Reddit Ads, Content, SEO en AI-gestuurde optimalisatie sinds 2024.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: reditt-ai
Tags: one-column, custom-menu, featured-images, translation-ready, blog

Reditt AI Optimization — Reddit Marketing Since 2024
*/

/* ============================================
   CSS RESET & BASE
   ============================================ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    line-height: 1.7;
    color: #1a2332;
    background-color: #ffffff;
    overflow-x: hidden;
}

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

a {
    color: #e63a2e;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover, a:focus {
    color: #c02a20;
    outline: 2px solid #e63a2e;
    outline-offset: 2px;
}

a:focus-visible {
    outline: 2px solid #e63a2e;
    outline-offset: 2px;
}

ul, ol {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    color: #1a2332;
}

h1 { font-size: 2.75rem; }
h2 { font-size: 2.1rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: 1rem;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Skip to content - accessibility */
.skip-link {
    position: absolute;
    top: -100%;
    left: 0;
    background: #e63a2e;
    color: #fff;
    padding: 0.75rem 1.5rem;
    z-index: 10000;
    font-weight: 600;
}

.skip-link:focus {
    top: 0;
    outline: none;
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */
.site-header {
    background: linear-gradient(135deg, #1a2332 0%, #2d3748 100%);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.15);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

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

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

.site-logo-text {
    color: #ffffff;
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.site-logo-text span {
    color: #e63a2e;
}

/* Hamburger menu */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.menu-toggle span {
    display: block;
    width: 28px;
    height: 3px;
    background: #fff;
    margin: 5px 0;
    border-radius: 2px;
    transition: 0.3s ease;
}

.main-navigation ul {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.main-navigation a {
    color: #c7cdd4;
    padding: 0.5rem 1rem;
    font-size: 0.95rem;
    font-weight: 500;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.main-navigation a:hover,
.main-navigation a:focus,
.main-navigation .current-menu-item a {
    color: #ffffff;
    background: rgba(230, 58, 46, 0.15);
    outline: none;
}

.main-navigation .menu-item-has-children {
    position: relative;
}

.main-navigation .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #1a2332;
    border-radius: 8px;
    min-width: 260px;
    padding: 0.5rem 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    flex-direction: column;
    z-index: 100;
}

.main-navigation .menu-item-has-children:hover > .sub-menu,
.main-navigation .menu-item-has-children:focus-within > .sub-menu {
    display: flex;
}

.main-navigation .sub-menu a {
    padding: 0.6rem 1.25rem;
    font-size: 0.9rem;
    border-radius: 0;
}

.nav-cta a {
    background: #e63a2e !important;
    color: #fff !important;
    padding: 0.6rem 1.5rem !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    transition: background 0.3s ease !important;
}

.nav-cta a:hover {
    background: #c02a20 !important;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    background: linear-gradient(135deg, #1a2332 0%, #2d3748 50%, #1a2332 100%);
    padding: 6rem 0 5rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(230, 58, 46, 0.12) 0%, transparent 70%);
    border-radius: 50%;
}

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

.hero-content {
    flex: 1;
}

.hero-badge {
    display: inline-block;
    background: rgba(230, 58, 46, 0.15);
    color: #e63a2e;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(230, 58, 46, 0.3);
}

.hero h1 {
    color: #ffffff;
    font-size: 3rem;
    margin-bottom: 1.25rem;
    letter-spacing: -0.02em;
}

.hero h1 span {
    color: #e63a2e;
}

.hero p {
    color: #a0aec0;
    font-size: 1.15rem;
    margin-bottom: 2rem;
    max-width: 540px;
}

.hero-image {
    flex: 0 0 auto;
}

.hero-image img {
    max-width: 320px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 2rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-primary {
    background: #e63a2e;
    color: #fff;
    box-shadow: 0 4px 15px rgba(230, 58, 46, 0.35);
}

.btn-primary:hover,
.btn-primary:focus {
    background: #c02a20;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(230, 58, 46, 0.45);
}

.btn-outline {
    background: transparent;
    color: #ffffff;
    border: 2px solid rgba(255,255,255,0.3);
}

.btn-outline:hover,
.btn-outline:focus {
    border-color: #e63a2e;
    color: #e63a2e;
}

/* ============================================
   STATS BAR
   ============================================ */
.stats-bar {
    background: #ffffff;
    padding: 2.5rem 0;
    border-bottom: 1px solid #e2e8f0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

.stat-item h3 {
    font-size: 2.25rem;
    color: #e63a2e;
    margin-bottom: 0.3rem;
}

.stat-item p {
    color: #64748b;
    font-size: 0.95rem;
    margin: 0;
}

/* ============================================
   SERVICES GRID (HOME)
   ============================================ */
.section {
    padding: 5rem 0;
}

.section-alt {
    background: #f7f8fa;
}

.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

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

.section-header p {
    color: #64748b;
    font-size: 1.1rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.service-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: #e63a2e;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.08);
    border-color: transparent;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 56px;
    height: 56px;
    background: rgba(230, 58, 46, 0.1);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
    color: #e63a2e;
}

.service-card h3 {
    margin-bottom: 0.75rem;
    font-size: 1.2rem;
}

.service-card p {
    color: #64748b;
    font-size: 0.95rem;
    margin-bottom: 1.25rem;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: #e63a2e;
    font-weight: 600;
    font-size: 0.95rem;
}

.service-link:hover {
    gap: 0.7rem;
}

/* ============================================
   WHY CHOOSE US
   ============================================ */
.why-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.why-item {
    display: flex;
    gap: 1.25rem;
    padding: 1.5rem;
    border-radius: 12px;
    background: #fff;
    border: 1px solid #e2e8f0;
}

.why-number {
    flex: 0 0 auto;
    width: 48px;
    height: 48px;
    background: #e63a2e;
    color: #fff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
}

.why-item h4 {
    margin-bottom: 0.4rem;
}

.why-item p {
    color: #64748b;
    font-size: 0.95rem;
    margin: 0;
}

/* ============================================
   TESTIMONIALS / REVIEWS
   ============================================ */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.review-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 2rem;
    position: relative;
}

.review-stars {
    color: #f59e0b;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.review-card blockquote {
    color: #475569;
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.review-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #e63a2e, #f59e0b);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 1.1rem;
}

.review-author-info strong {
    display: block;
    font-size: 0.95rem;
}

.review-author-info span {
    color: #64748b;
    font-size: 0.85rem;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
    background: linear-gradient(135deg, #1a2332 0%, #2d3748 100%);
    padding: 5rem 0;
    text-align: center;
}

.cta-section h2 {
    color: #fff;
    margin-bottom: 1rem;
    font-size: 2.25rem;
}

.cta-section p {
    color: #a0aec0;
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ============================================
   SERVICE PAGE TEMPLATE
   ============================================ */
.page-hero {
    background: linear-gradient(135deg, #1a2332 0%, #2d3748 100%);
    padding: 4rem 0 3rem;
    text-align: center;
}

.page-hero h1 {
    color: #fff;
    margin-bottom: 1rem;
}

.page-hero p {
    color: #a0aec0;
    font-size: 1.15rem;
    max-width: 650px;
    margin: 0 auto 1.5rem;
}

.breadcrumbs {
    color: #64748b;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.breadcrumbs a {
    color: #a0aec0;
}

.breadcrumbs a:hover {
    color: #e63a2e;
}

.page-content {
    padding: 4rem 0;
}

.page-content h2 {
    margin-bottom: 1rem;
    margin-top: 2.5rem;
}

.page-content h2:first-child {
    margin-top: 0;
}

.page-content ul {
    margin: 1rem 0 1.5rem 1.5rem;
}

.page-content ul li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    color: #475569;
}

.page-content ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.6rem;
    width: 8px;
    height: 8px;
    background: #e63a2e;
    border-radius: 50%;
}

.feature-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin: 2rem 0;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem;
    background: #f7f8fa;
    border-radius: 10px;
}

.feature-check {
    color: #e63a2e;
    font-size: 1.2rem;
    flex-shrink: 0;
    margin-top: 0.15rem;
}

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info-card {
    display: flex;
    gap: 1rem;
    padding: 1.25rem;
    background: #f7f8fa;
    border-radius: 12px;
    margin-bottom: 1rem;
    align-items: flex-start;
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: rgba(230, 58, 46, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #e63a2e;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.contact-form label {
    display: block;
    margin-bottom: 0.4rem;
    font-weight: 600;
    font-size: 0.95rem;
    color: #1a2332;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    margin-bottom: 1.25rem;
    transition: border-color 0.3s ease;
    background: #fff;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    border-color: #e63a2e;
    outline: none;
    box-shadow: 0 0 0 3px rgba(230, 58, 46, 0.1);
}

.contact-form textarea {
    min-height: 140px;
    resize: vertical;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    background: #1a2332;
    color: #a0aec0;
    padding: 4rem 0 0;
}

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

.footer-about p {
    font-size: 0.95rem;
    line-height: 1.7;
    margin: 1rem 0;
}

.footer-col h4 {
    color: #fff;
    font-size: 1rem;
    margin-bottom: 1.25rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 3px;
    background: #e63a2e;
    border-radius: 2px;
}

.footer-col ul li {
    margin-bottom: 0.6rem;
}

.footer-col ul a {
    color: #a0aec0;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-col ul a:hover {
    color: #e63a2e;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.6rem;
    font-size: 0.9rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 1.5rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
}

/* ============================================
   ABOUT PAGE
   ============================================ */
.about-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.team-card {
    text-align: center;
    padding: 2rem;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
}

.team-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #e63a2e, #f59e0b);
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 2rem;
    font-weight: 700;
}

/* ============================================
   SCHEMA/STRUCTURED DATA STYLES
   ============================================ */
.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;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1024px) {
    .hero h1 { font-size: 2.5rem; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .about-intro { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .menu-toggle { display: block; }

    .main-navigation {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #1a2332;
        padding: 1rem;
        box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    }

    .main-navigation.is-active {
        display: block;
    }

    .main-navigation ul {
        flex-direction: column;
    }

    .main-navigation .sub-menu {
        position: static;
        box-shadow: none;
        padding-left: 1rem;
    }

    .main-navigation .menu-item-has-children:hover > .sub-menu {
        display: flex;
    }

    .hero-inner { flex-direction: column; text-align: center; }
    .hero h1 { font-size: 2rem; }
    .hero p { margin-left: auto; margin-right: auto; }
    .hero-buttons { justify-content: center; }
    .hero-image img { max-width: 220px; margin: 0 auto; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .services-grid { grid-template-columns: 1fr; }
    .reviews-grid { grid-template-columns: 1fr; }
    .why-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .feature-list { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
    .team-grid { grid-template-columns: 1fr; }
    h1 { font-size: 2rem; }
    h2 { font-size: 1.6rem; }
}

@media (max-width: 480px) {
    .hero { padding: 3.5rem 0 3rem; }
    .hero h1 { font-size: 1.75rem; }
    .stats-grid { grid-template-columns: 1fr 1fr; gap: 1rem; }
    .section { padding: 3rem 0; }
    .btn { padding: 0.75rem 1.5rem; font-size: 0.95rem; }
}

/* ============================================
   ANIMATIONS
   ============================================ */
@media (prefers-reduced-motion: no-preference) {
    .service-card,
    .review-card,
    .why-item {
        opacity: 0;
        transform: translateY(20px);
        animation: fadeInUp 0.5s ease forwards;
    }

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

    .services-grid .service-card:nth-child(1) { animation-delay: 0.1s; }
    .services-grid .service-card:nth-child(2) { animation-delay: 0.2s; }
    .services-grid .service-card:nth-child(3) { animation-delay: 0.3s; }
    .services-grid .service-card:nth-child(4) { animation-delay: 0.4s; }
    .services-grid .service-card:nth-child(5) { animation-delay: 0.5s; }
    .services-grid .service-card:nth-child(6) { animation-delay: 0.6s; }
    .services-grid .service-card:nth-child(7) { animation-delay: 0.7s; }
    .services-grid .service-card:nth-child(8) { animation-delay: 0.8s; }
    .services-grid .service-card:nth-child(9) { animation-delay: 0.9s; }
}

/* Print Styles */
@media print {
    .site-header, .site-footer, .cta-section, .menu-toggle { display: none; }
    body { color: #000; background: #fff; }
    .hero { background: #fff; color: #000; padding: 2rem 0; }
    .hero h1, .hero p { color: #000; }
}
