/* ==========================================
   FIETS HUREN RAALTE — STYLES
   Clean, modern, scheurbaar
   ========================================== */

:root {
    --green-dark: #1b5e20;
    --green: #2e7d32;
    --green-light: #4caf50;
    --green-50: #e8f5e9;
    --green-tint: #f1f8e9;
    --ink: #1a1a2e;
    --ink-light: #333;
    --muted: #666;
    --line: #e0e0e0;
    --bg: #fafafa;
    --bg-white: #ffffff;
    --radius: 8px;
    --radius-lg: 16px;
    --shadow: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
    --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    --font-display: 'Segoe UI', Roboto, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font);
    color: var(--ink);
    background: var(--bg-white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background: var(--bg-white);
    border-bottom: 1px solid var(--line);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.brand {
    text-decoration: none;
    color: var(--ink);
    font-weight: 800;
    font-size: 1.2rem;
    letter-spacing: -0.3px;
}

.logo-text { font-family: var(--font-display); }

.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
}

#primary-nav {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

#primary-nav a {
    text-decoration: none;
    color: var(--ink-light);
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.2s;
}

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

.nav-cta {
    background: var(--green);
    color: #fff !important;
    padding: 8px 18px;
    border-radius: var(--radius);
}

.nav-cta:hover { background: var(--green-dark); }

/* Hero */
.hero {
    background: linear-gradient(170deg, var(--green-50) 0%, var(--green-tint) 45%, #fff 100%);
    border-bottom: 1px solid var(--line);
}

.hero-inner {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
    padding: clamp(2.5rem, 6vw, 5rem) 20px;
}

.hero-copy h1 {
    font-size: clamp(2rem, 5vw, 2.8rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 0.75rem;
    color: var(--ink);
    font-family: var(--font-display);
}

.eyebrow {
    display: block;
    color: var(--green);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.lead {
    font-size: 1.15rem;
    color: var(--muted);
    max-width: 48ch;
}

.hero-cta {
    margin: 1.5rem 0 1.75rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.hero-badges {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem 1.25rem;
}

.hero-badges li {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--green-dark);
    position: relative;
    padding-left: 1.3rem;
}

.hero-badges li::before {
    content: "✓";
    position: absolute;
    left: 0;
    font-weight: 800;
    color: var(--green);
}

.hero-media { position: relative; }

.hero-image-placeholder, .hero-image {
    aspect-ratio: 4 / 3.2;
    background: linear-gradient(135deg, var(--green-50), var(--green-tint));
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-lg);
}

.placeholder-text {
    text-align: center;
    color: var(--green);
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1.5;
    padding: 2rem;
}

.hero-float {
    position: absolute;
    left: -1rem;
    bottom: 1.25rem;
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    padding: 0.85rem 1.1rem;
    border: 1px solid var(--line);
}

.hero-float strong {
    display: block;
    font-family: var(--font-display);
    font-size: 1.2rem;
    color: var(--green-dark);
}

.hero-float span {
    font-size: 0.85rem;
    color: var(--muted);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 10px 22px;
    border-radius: var(--radius);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    transition: all 0.2s;
    border: 2px solid transparent;
    cursor: pointer;
    font-family: inherit;
}

.btn-primary {
    background: var(--green);
    color: #fff;
    border-color: var(--green);
}

.btn-primary:hover {
    background: var(--green-dark);
    border-color: var(--green-dark);
}

.btn-ghost {
    background: transparent;
    color: var(--green);
    border-color: var(--green);
}

.btn-ghost:hover {
    background: var(--green);
    color: #fff;
}

.btn-lg { padding: 14px 28px; font-size: 1rem; }
.btn-sm { padding: 8px 16px; font-size: 0.9rem; }

/* Sections */
.section { padding: clamp(2.5rem, 5vw, 4rem) 0; }
.section--tint { background: var(--bg); }
.section--green { background: linear-gradient(135deg, var(--green-dark), var(--green)); color: #fff; }

.section-head {
    margin-bottom: 2rem;
    max-width: 60ch;
}

.section-head.center { text-align: center; margin-left: auto; margin-right: auto; }
.section-head.between {
    max-width: none;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.section-head h2 {
    font-size: clamp(1.4rem, 3vw, 1.9rem);
    font-family: var(--font-display);
    margin-bottom: 0.35rem;
}

/* Grid */
.grid { display: grid; gap: 1.5rem; }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }

/* Bike cards */
.bike-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--line);
    position: relative;
    transition: transform 0.2s, box-shadow 0.2s;
}

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

.bike-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: linear-gradient(135deg, #ff9800, #f57c00);
    color: #fff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    z-index: 2;
}

.bike-image-placeholder, .bike-image {
    height: 220px;
    background: linear-gradient(135deg, #e8f5e9, #c8e6c9);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.bike-image::before {
    content: "🚲";
    font-size: 4rem;
    position: absolute;
    opacity: 0.15;
}

.bike-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 85%;
    position: relative;
    z-index: 1;
}

.bike-body { padding: 1.25rem; }

.bike-body h3 {
    font-size: 1.15rem;
    margin-bottom: 0.4rem;
    font-family: var(--font-display);
}

.bike-body p {
    font-size: 0.92rem;
    color: var(--muted);
    margin-bottom: 1rem;
}

.bike-price {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--green-dark);
    margin: 0.5rem 0 1rem;
}

.bike-price span {
    font-size: 0.85rem;
    color: var(--muted);
    font-weight: 600;
}

/* Route cards */
.route-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--line);
}

.route-header {
    padding: 1.25rem;
    color: #fff;
}

.route-header h3 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    margin-bottom: 0.25rem;
}

.route-distance {
    font-size: 0.85rem;
    opacity: 0.9;
    background: rgba(255,255,255,0.2);
    padding: 2px 10px;
    border-radius: 20px;
}

.route-body {
    padding: 1.25rem;
}

.route-body p {
    font-size: 0.92rem;
    color: var(--muted);
    margin-bottom: 0.75rem;
}

.route-tag {
    display: inline-block;
    background: var(--green-50);
    color: var(--green-dark);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* CTA Banner */
.cta-banner { padding-block: clamp(2.5rem, 5vw, 4rem); }

.cta-inner {
    background: linear-gradient(135deg, var(--green-dark), var(--green));
    color: #fff;
    border-radius: var(--radius-lg);
    padding: clamp(1.75rem, 4vw, 3rem);
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem 2rem;
    align-items: center;
    justify-content: space-between;
    box-shadow: var(--shadow-lg);
}

.cta-inner h2 {
    color: #fff;
    margin-bottom: 0.35rem;
    font-family: var(--font-display);
}

.cta-inner p {
    margin: 0;
    max-width: 46ch;
    color: rgba(255,255,255,0.92);
}

.cta-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.cta-inner .btn-ghost {
    background: rgba(255,255,255,0.12);
    color: #fff;
    border-color: rgba(255,255,255,0.4);
}

.cta-inner .btn-ghost:hover {
    background: #fff;
    color: var(--green-dark);
}

/* Footer */
.site-footer {
    background: var(--ink);
    color: rgba(255,255,255,0.7);
    padding: 3rem 0 1.5rem;
    margin-top: 0;
}

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

.footer-brand .logo-text {
    display: block;
    color: #fff;
    font-weight: 800;
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
}

.footer-brand p {
    font-size: 0.92rem;
    line-height: 1.6;
    max-width: 32ch;
}

.footer-title {
    color: #fff;
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-list { list-style: none; }

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

.footer-list a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-list a:hover { color: var(--green-light); }

.footer-list.plain li { font-size: 0.92rem; }

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

.footer-legal { display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; }

.footer-legal a {
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    font-size: 0.85rem;
}

.footer-legal span {
    color: rgba(255,255,255,0.4);
    font-size: 0.85rem;
}

/* Forms */
.form-group { margin-bottom: 1.25rem; }

.form-group label {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.4rem;
    color: var(--ink);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.2s, box-shadow 0.2s;
    background: var(--bg-white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--green);
    box-shadow: 0 0 0 3px rgba(76,175,80,0.15);
}

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

.form-hint {
    font-size: 0.82rem;
    color: var(--muted);
    margin-top: 0.3rem;
}

.form-error {
    color: #c62828;
    font-size: 0.85rem;
    margin-top: 0.3rem;
    display: none;
}

.form-group.has-error input,
.form-group.has-error select {
    border-color: #c62828;
}

.form-group.has-error .form-error { display: block; }

/* Price table */
.price-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    margin: 1.5rem 0;
}

.price-table thead {
    background: linear-gradient(135deg, var(--green-dark), var(--green));
    color: #fff;
}

.price-table th,
.price-table td {
    padding: 14px 18px;
    text-align: left;
}

.price-table tbody tr {
    border-bottom: 1px solid var(--line);
    transition: background 0.15s;
}

.price-table tbody tr:hover { background: var(--green-50); }

.price-table tbody tr:last-child { border-bottom: none; }

.price-table .price { 
    font-weight: 800; 
    color: var(--green-dark); 
    font-size: 1.3rem;
    white-space: nowrap;
}

.price-table .price .euro { 
    font-size: 0.9rem; 
    font-weight: 600; 
    margin-right: 2px;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-toggle { display: block; }
    
    #primary-nav {
        display: none;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: var(--bg-white);
        border-bottom: 1px solid var(--line);
        flex-direction: column;
        padding: 1rem 20px;
        gap: 0.75rem;
    }
    
    #primary-nav.open { display: flex; }
    
    .hero-inner { grid-template-columns: 1fr; }
    .hero-media { order: -1; }
    .hero-image-placeholder { max-height: 280px; }
    
    .grid-3,
    .grid-2 { grid-template-columns: 1fr; }
    
    .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }
    
    .form-row { grid-template-columns: 1fr; }
    
    .cta-inner { flex-direction: column; text-align: center; }
    .cta-actions { justify-content: center; }
}
