/**
 * PUBLIC ROUTES STYLESHEET
 * Modern, responsive styling voor de publieke routeweergave
 * Kleurenschema: Paars accent met lichte, toegankelijke kleuren
 */

/* ============================================
   GLOBAL STYLES & VARIABLES
   ============================================ */

:root {
    /* Colors */
    --primary: #7B2CBF;
    --primary-hover: #9D4EDD;
    --secondary: #5A189A;
    --accent-light: #E0AAFF;
    --text-dark: #2B2D42;
    --text-light: #8D99AE;
    --background: #F8F9FA;
    --white: #FFFFFF;
    --border: #E5E5E5;
    --success: #10B981;
    --warning: #F59E0B;
    --danger: #EF4444;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    
    /* Typography */
    --font-base: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --font-size-base: 1rem;
    --font-size-sm: 0.875rem;
    --font-size-lg: 1.125rem;
    --line-height: 1.6;
    
    /* Borders & Radius */
    --border-radius: 0.5rem;
    --border-radius-lg: 1rem;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    
    /* Transitions */
    --transition: all 0.3s ease;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--font-base);
    font-size: var(--font-size-base);
    line-height: var(--line-height);
    color: var(--text-dark);
    background-color: var(--background);
}

h1, h2, h3, h4, h5, h6 {
    margin: 0 0 var(--spacing-sm) 0;
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-dark);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
    margin: 0 0 var(--spacing-sm) 0;
}

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

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

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

/* ============================================
   LAYOUT
   ============================================ */

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.container-fluid {
    width: 100%;
    padding: 0;
}

/* ============================================
   HERO HEADER
   ============================================ */

.hero-header {
    position: relative;
    height: 400px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: var(--white);
    padding: var(--spacing-lg);
}

.hero-content h1 {
    color: var(--white);
    font-size: 3rem;
    margin-bottom: var(--spacing-md);
    letter-spacing: -0.02em;
}

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

/* ============================================
   FILTER BAR
   ============================================ */

.filter-bar {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: var(--spacing-md) 0;
    margin-bottom: var(--spacing-xl);
    transition: var(--transition);
}

.filter-bar.sticky {
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-md);
}

.filter-form {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-md);
    align-items: end;
}

.filter-item label {
    display: block;
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: var(--spacing-xs);
}

.filter-item label i {
    color: var(--primary);
    margin-right: 0.25rem;
}

.filter-item input[type="text"],
.filter-item input[type="number"],
.filter-item select {
    width: 100%;
    padding: 0.625rem;
    border: 1px solid var(--border);
    border-radius: var(--border-radius);
    font-size: var(--font-size-base);
    transition: var(--transition);
}

.filter-item input:focus,
.filter-item select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(123, 44, 191, 0.1);
}

.distance-inputs {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.distance-inputs input {
    flex: 1;
}

.distance-inputs span {
    color: var(--text-light);
}

/* Rating filter */
.rating-select {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.rating-select input[type="radio"] {
    display: none;
}

.rating-select .star-label {
    padding: 0.5rem 0.75rem;
    border: 1px solid var(--border);
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    font-size: var(--font-size-sm);
    background: var(--white);
}

.rating-select input:checked + .star-label {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.rating-select .star-label:hover {
    border-color: var(--primary);
}

/* Filter actions */
.filter-actions {
    display: flex;
    gap: var(--spacing-sm);
}

/* ============================================
   BUTTONS
   ============================================ */

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

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

.btn-primary:hover {
    background-color: #8b5cf6;  /* Lichtere paars */
    color: #ffffff;              /* Wit blijft wit */
    transform: translateY(-2px); /* Subtiel lift effect */
    box-shadow: 0 4px 12px rgba(111, 66, 193, 0.3);
}

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

.btn-secondary:hover {
    background: var(--accent-light);
}

.btn-block {
    width: 100%;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: var(--font-size-lg);
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: var(--font-size-sm);
}

/* ============================================
   RESULTS HEADER
   ============================================ */

.results-header {
    margin-bottom: var(--spacing-lg);
}

.results-header h2 {
    color: var(--text-dark);
    margin-bottom: var(--spacing-sm);
}

.active-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
    font-size: var(--font-size-sm);
    color: var(--text-light);
}

.filter-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.25rem 0.75rem;
    background: var(--accent-light);
    color: var(--primary);
    border-radius: var(--border-radius);
    font-weight: 500;
}

.filter-tag .remove-filter {
    background: transparent;
    border: none;
    color: var(--primary);
    font-size: 1.25rem;
    cursor: pointer;
    padding: 0;
    line-height: 1;
}

/* ============================================
   ROUTES GRID
   ============================================ */

.routes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
}

.route-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.route-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.route-card-image {
    position: relative;
    height: 200px;
    background-size: cover;
    background-position: center;
}

.route-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.3) 100%);
}

.rating-badge {
    position: absolute;
    top: var(--spacing-sm);
    right: var(--spacing-sm);
    background: var(--white);
    padding: 0.5rem 0.75rem;
    border-radius: var(--border-radius);
    font-size: var(--font-size-sm);
    box-shadow: var(--shadow-md);
}

.route-card-content {
    padding: var(--spacing-md);
    display: flex;
    flex-direction: column;
    flex: 1;
}

.route-card-title {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-sm);
    color: var(--text-dark);
}

.route-stats {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-sm);
    padding-bottom: var(--spacing-sm);
    border-bottom: 1px solid var(--border);
}

.route-stats .stat {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: var(--font-size-sm);
    color: var(--text-light);
}

.route-stats .stat i {
    color: var(--primary);
}

.route-card-description {
    flex: 1;
    font-size: var(--font-size-sm);
    color: var(--text-light);
    margin-bottom: var(--spacing-md);
}

/* ============================================
   EMPTY STATE
   ============================================ */

.empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: var(--spacing-xl);
}

.empty-icon {
    font-size: 4rem;
    color: var(--accent-light);
    margin-bottom: var(--spacing-md);
}

.empty-state h3 {
    color: var(--text-dark);
    margin-bottom: var(--spacing-sm);
}

.empty-state p {
    color: var(--text-light);
    margin-bottom: var(--spacing-md);
}

/* ============================================
   PAGINATION
   ============================================ */

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--spacing-sm);
    margin: var(--spacing-xl) 0;
}

.pagination-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--border-radius);
    color: var(--text-dark);
    font-weight: 500;
    transition: var(--transition);
}

.pagination-btn:hover {
    background: var(--accent-light);
    border-color: var(--primary);
    color: var(--primary);
}

.pagination-numbers {
    display: flex;
    gap: 0.5rem;
}

.page-num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border: 1px solid var(--border);
    border-radius: var(--border-radius);
    color: var(--text-dark);
    transition: var(--transition);
}

.page-num:hover {
    background: var(--accent-light);
    border-color: var(--primary);
    color: var(--primary);
}

.page-num.active {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

.pagination-ellipsis {
    display: flex;
    align-items: center;
    padding: 0 0.5rem;
    color: var(--text-light);
}

/* ============================================
   DETAIL PAGE STYLES
   ============================================ */

/* Breadcrumbs */
.breadcrumbs {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: var(--spacing-sm) 0;
    font-size: var(--font-size-sm);
}

.breadcrumbs a {
    color: var(--primary);
}

.breadcrumbs .separator {
    margin: 0 0.5rem;
    color: var(--text-light);
}

.breadcrumbs .current {
    color: var(--text-light);
}

/* Detail hero */
.detail-hero {
    background: var(--white);
    padding: var(--spacing-xl) 0;
    border-bottom: 1px solid var(--border);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: var(--spacing-lg);
    align-items: start;
}

.rating-large {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-md);
}

.rating-number {
    font-size: var(--font-size-base);
    color: var(--text-light);
    margin-left: 0.5rem;
}

.hero-summary {
    color: var(--text-light);
    font-size: var(--font-size-lg);
}

.hero-actions {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

/* Quick stats */
.quick-stats {
    padding: var(--spacing-xl) 0;
    background: var(--background);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
}

.stat-box {
    background: var(--white);
    padding: var(--spacing-md);
    border-radius: var(--border-radius-lg);
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    box-shadow: var(--shadow-sm);
}

.stat-icon {
    width: 3rem;
    height: 3rem;
    background: var(--accent-light);
    color: var(--primary);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.stat-content {
    display: flex;
    flex-direction: column;
}

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

.stat-value {
    font-size: var(--font-size-lg);
    font-weight: 700;
    color: var(--text-dark);
}

/* Map section */
.map-section {
    padding: var(--spacing-xl) 0;
}

.map-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-md);
}

.route-map {
    width: 100%;
    height: 600px;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

/* Detail grid */
.detail-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--spacing-xl);
    padding: var(--spacing-xl) 0;
}

.content-section {
    background: var(--white);
    padding: var(--spacing-lg);
    border-radius: var(--border-radius-lg);
    margin-bottom: var(--spacing-lg);
    box-shadow: var(--shadow-sm);
}

.content-section h2 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
    margin-bottom: var(--spacing-md);
}

.description-text {
    line-height: 1.8;
}

.route-point {
    padding: var(--spacing-md);
    background: var(--background);
    border-radius: var(--border-radius);
    margin-bottom: var(--spacing-md);
}

.route-point h3 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: var(--font-size-lg);
    margin-bottom: var(--spacing-sm);
}

/* Sidebar */
.detail-sidebar {
    position: sticky;
    top: var(--spacing-lg);
}

.sidebar-section {
    background: var(--white);
    padding: var(--spacing-md);
    border-radius: var(--border-radius-lg);
    margin-bottom: var(--spacing-md);
    box-shadow: var(--shadow-sm);
}

.sidebar-section h3 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: var(--font-size-lg);
    color: var(--primary);
    margin-bottom: var(--spacing-md);
}

.info-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.info-list li {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border);
}

.info-list li:last-child {
    border-bottom: none;
}

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

.info-value {
    color: var(--text-light);
}

.sidebar-cta {
    background: var(--accent-light);
    border: 2px solid var(--primary);
}

.app-list {
    list-style: none;
    padding: 0;
    margin: var(--spacing-md) 0;
}

.app-list li {
    padding: 0.5rem 0;
    color: var(--text-dark);
}

.app-list i {
    color: var(--success);
    margin-right: 0.5rem;
}

.warning-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.warning-list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    font-size: var(--font-size-sm);
    color: var(--text-light);
}

.warning-list li::before {
    content: "⚠";
    position: absolute;
    left: 0;
    color: var(--warning);
}

/* Related routes */
.related-section {
    padding: var(--spacing-xl) 0;
    background: var(--background);
}

.related-section h2 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: var(--spacing-lg);
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--spacing-md);
}

.route-card-small {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.route-card-small:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.route-card-image-small {
    position: relative;
    height: 150px;
    background-size: cover;
    background-position: center;
}

.rating-badge-small {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    background: var(--white);
    padding: 0.25rem 0.5rem;
    border-radius: var(--border-radius);
    font-size: 0.75rem;
    box-shadow: var(--shadow-sm);
}

.route-card-content-small {
    padding: var(--spacing-md);
}

.route-card-content-small h4 {
    margin-bottom: var(--spacing-sm);
}

.route-stats-small {
    display: flex;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-sm);
    font-size: var(--font-size-sm);
    color: var(--text-light);
}

.route-stats-small span {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

/* ============================================
   FOOTER
   ============================================ */

.site-footer {
    background: var(--text-dark);
    color: var(--white);
    padding: var(--spacing-xl) 0 var(--spacing-md);
    margin-top: var(--spacing-xl);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.footer-section h4 {
    color: var(--white);
    margin-bottom: var(--spacing-md);
}

.footer-section p {
    color: var(--text-light);
}

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

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--text-light);
}

.footer-section a:hover {
    color: var(--white);
}

.social-links {
    display: flex;
    gap: var(--spacing-sm);
}

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

.social-links a:hover {
    background: var(--primary);
}

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-light);
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1024px) {
    .detail-grid {
        grid-template-columns: 1fr;
    }
    
    .detail-sidebar {
        position: static;
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .filter-form {
        grid-template-columns: 1fr;
    }
    
    .filter-actions {
        grid-column: 1 / -1;
    }
    
    .routes-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-actions {
        flex-direction: row;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .route-map {
        height: 400px;
    }
    
    .pagination {
        flex-wrap: wrap;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.5rem;
    }
    
    .route-map {
        height: 300px;
    }
    
    .hero-actions {
        flex-direction: column;
    }
}

/* BUTTON HOVER FIX - Nuclear Option */
.btn.btn-primary:hover,
a.btn-primary:hover,
button.btn-primary:hover,
.btn-primary:hover {
    background-color: #8b5cf6 !important;
    color: #ffffff !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(111, 66, 193, 0.3) !important;
}

/* Bochtenbank Header Styles */
.hero-header {
    position: relative;
    background: radial-gradient(circle at 30% 20%, #7c3aed 0%, #5b21b6 50%, #4c1d95 100%);
    min-height: 450px;  /* WAS 400px - NU HOGER */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;  /* WAS hidden - NU visible */
    padding: 80px 20px;  /* WAS 60px - NU MEER */
}

/* Stars/dots background */
.stars {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.star {
    position: absolute;
    width: 3px;
    height: 3px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    animation: twinkle 3s ease-in-out infinite;
}

.star:nth-child(1) { top: 10%; left: 20%; animation-delay: 0s; }
.star:nth-child(2) { top: 20%; left: 80%; animation-delay: 0.5s; }
.star:nth-child(3) { top: 70%; left: 15%; animation-delay: 1s; }
.star:nth-child(4) { top: 80%; left: 70%; animation-delay: 1.5s; }
.star:nth-child(5) { top: 40%; left: 90%; animation-delay: 2s; }
.star:nth-child(6) { top: 60%; left: 5%; animation-delay: 2.5s; }

@keyframes twinkle {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.5); }
}

/* Decorative circles */
.deco-circle {
    position: absolute;
    border-radius: 50%;
    border: 3px solid rgba(251, 191, 36, 0.3);
    animation: pulse 2s ease-in-out infinite;
}

.deco-circle-1 {
    width: 80px;
    height: 80px;
    top: 10%;
    left: 5%;
    animation-delay: 0s;
}

.deco-circle-2 {
    width: 120px;
    height: 120px;
    bottom: 15%;
    right: 8%;
    animation-delay: 0.5s;
}

.deco-circle-3 {
    width: 60px;
    height: 60px;
    top: 60%;
    left: 10%;
    animation-delay: 1s;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.3;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.6;
    }
}

/* Main container */
.hero-content {
    position: relative;
    text-align: center;
    z-index: 10;
    max-width: 900px;
}

/* SVG Road illustration */
.road-svg {
    width: 100%;
    max-width: 700px;
    height: auto;
    margin: 0 auto 30px;
    display: block;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.3));
}

.road-path {
    fill: none;
    stroke: #1f1f1f;
    stroke-width: 60;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.road-line {
    fill: none;
    stroke: #fbbf24;
    stroke-width: 4;
    stroke-linecap: round;
    stroke-dasharray: 20 15;
    animation: dashFlow 2s linear infinite;
}

@keyframes dashFlow {
    to {
        stroke-dashoffset: -35;
    }
}

.motorcycle {
    fill: #fbbf24;
    animation: bikeMove 3s ease-in-out infinite;
    transform-origin: center;
}

@keyframes bikeMove {
    0%, 100% {
        transform: translateX(0) rotate(0deg);
    }
    25% {
        transform: translateX(5px) rotate(2deg);
    }
    75% {
        transform: translateX(-5px) rotate(-2deg);
    }
}

/* Main heading */
.hero-content h1 {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(3.5rem, 11vw, 7.5rem);
    font-weight: 800;
    color: #ffffff;
    text-transform: lowercase;
    letter-spacing: -0.03em;
    line-height: 1;
    margin: 0;
    position: relative;
    display: inline-block;
    animation: popIn 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55) both;
}

@keyframes popIn {
    0% {
        transform: scale(0.5) rotate(-5deg);
        opacity: 0;
    }
    100% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
}

/* Highlight effect on letters */
.highlight {
    color: #fbbf24;
    position: relative;
    display: inline-block;
    animation: bounce 1s ease-in-out 0.8s;
}

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

/* Underline decoration */
.underline-wrapper {
    position: relative;
    display: inline-block;
}

.underline {
    position: absolute;
    bottom: -10px;
    left: 0;
    right: 0;
    height: 12px;
    background: #fbbf24;
    opacity: 0.3;
    border-radius: 6px;
    transform: scaleX(0);
    animation: underlineGrow 0.8s ease-out 0.4s forwards;
}

@keyframes underlineGrow {
    to {
        transform: scaleX(1);
    }
}

.hero-subtitle {
    margin-top: 30px;
    font-family: 'Fredoka', sans-serif;
    font-size: clamp(0.9rem, 2vw, 1.3rem) !important;  /* Iets kleiner gemaakt */
    font-weight: 700;
    color: rgba(251, 191, 36, 0.9) !important;
    text-transform: uppercase;
    letter-spacing: 0.08em;  /* Iets minder spatiëring */
    animation: slideUp 0.8s ease-out 0.6s both;
    display: block;  /* WAS flex - NU block */
    text-align: center;
    max-width: 900px;
    padding: 0 20px;
    line-height: 1.6;  /* TOEGEVOEGD voor meer hoogte */
}

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

/* Icon before tagline */
.icon-pin {
    display: inline-block;  /* TOEGEVOEGD */
    font-size: 1.3rem;  /* Iets kleiner */
    margin-right: 8px;
    animation: ping 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes ping {
    75%, 100% {
        transform: scale(1.1);
        opacity: 0;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .deco-circle {
        display: none;
    }

    .road-svg {
        max-width: 100%;
    }

    .hero-subtitle {
        flex-direction: column;
        gap: 8px;
    }
    
    .hero-header {
        min-height: 350px;
        padding: 40px 20px;
    }
}
