:root {
    --primary: #0d9488;
    --primary-light: #14b8a6;
    --primary-dark: #0f766e;
    --accent: #f59e0b;
    --accent-light: #fbbf24;
    --accent-dark: #d97706;
    --text-dark: #1e293b;
    --text-light: #475569;
    --text-muted: #64748b;
    --bg-light: #f8fafc;
    --bg-cream: #fefefe;
    --bg-warm: #fffbeb;
    --shadow: 0 2px 12px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.1);
    --shadow-lg: 0 8px 40px rgba(0,0,0,0.12);
    --radius: 16px;
    --radius-sm: 10px;
    --radius-lg: 24px;
    --font-heading: 'Space Grotesk', system-ui, sans-serif;
    --font-body: 'Inter', system-ui, -apple-system, sans-serif;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background: var(--bg-cream);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    -webkit-font-smoothing: antialiased;
}

main {
    flex: 1;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    letter-spacing: -0.02em;
}

/* ===== NAVBAR ===== */
.navbar {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%) !important;
    box-shadow: 0 2px 20px rgba(0,0,0,0.15);
    padding: 0.85rem 0;
    backdrop-filter: blur(10px);
    z-index: 1050;
    position: relative;
}

.navbar-brand {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff !important;
    letter-spacing: -0.5px;
}

.navbar-brand:hover {
    color: var(--accent-light) !important;
}

.navbar-brand .brand-text {
    font-family: var(--font-heading);
}

.navbar .nav-link {
    color: rgba(255,255,255,0.85) !important;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 1rem !important;
    border-radius: var(--radius-sm);
    transition: all 0.25s ease;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
    color: #fff !important;
    background: rgba(255,255,255,0.12);
}

.navbar .nav-link i {
    margin-right: 4px;
    font-size: 0.9em;
}

.navbar-toggler {
    border-color: rgba(255,255,255,0.3);
}

.dropdown-menu {
    border: none;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-lg);
    padding: 0.5rem;
    z-index: 1060;
}

.dropdown-item {
    border-radius: 6px;
    padding: 0.5rem 1rem;
    font-weight: 500;
    transition: all 0.2s;
}

.dropdown-item:hover {
    background: var(--bg-light);
    color: var(--primary);
}

/* ===== HERO ===== */
.hero {
    background: linear-gradient(135deg, rgba(13,148,136,0.65) 0%, rgba(15,118,110,0.7) 50%, rgba(20,184,166,0.6) 100%),
                url('/Images/lucid-origin_Ultra-wide_header_image_high-end_modern_mobile_home_static_caravan_with_a_wooden-0.jpg') center/cover no-repeat;
    color: white;
    padding: 6rem 0 5rem;
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(to top, var(--bg-cream), transparent);
    pointer-events: none;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: -1.5px;
    position: relative;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.hero .lead {
    font-size: 1.35rem;
    opacity: 0.9;
    position: relative;
    font-weight: 400;
}

.hero-search {
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(12px);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    border: 1px solid rgba(255,255,255,0.2);
}

/* ===== TRUST COUNTERS ===== */
.trust-section {
    background: white;
    padding: 2.5rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.trust-item {
    text-align: center;
    padding: 1rem;
}

.trust-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.trust-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-top: 0.25rem;
}

.trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: var(--bg-warm);
    color: var(--accent-dark);
    font-weight: 600;
    font-size: 0.85rem;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    border: 1px solid rgba(255,171,0,0.2);
}

/* ===== SECTION HEADINGS ===== */
.section-title {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
    font-weight: 400;
}

/* ===== THEMA GRID ===== */
.thema-card {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: white;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
}

.thema-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.1) 50%, rgba(0,0,0,0.5) 100%);
    z-index: 1;
    transition: all 0.3s;
}

.thema-card:hover::before {
    background: linear-gradient(135deg, rgba(27,94,32,0.5) 0%, rgba(27,94,32,0.3) 50%, rgba(27,94,32,0.6) 100%);
}

.thema-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.thema-card .thema-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.thema-card .thema-content i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.thema-card .thema-content span {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
}

/* ===== LANDEN ===== */
.land-card {
    background: white;
    border-radius: var(--radius);
    padding: 1.5rem;
    text-align: center;
    text-decoration: none;
    color: var(--text-dark);
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.land-card:hover {
    border-color: var(--primary-light);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    color: var(--primary);
}

.land-card .land-icon {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
}

.land-card .land-name {
    font-weight: 600;
    font-size: 1rem;
}

/* ===== PROVINCIES TAGS ===== */
.provincie-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    background: white;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.9rem;
    padding: 0.55rem 1.1rem;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: var(--shadow);
    transition: all 0.2s;
    border: 1px solid rgba(0,0,0,0.06);
}

.provincie-tag:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* ===== CARDS ===== */
.card {
    border: none;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.card-img-top {
    height: 220px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.card:hover .card-img-top {
    transform: scale(1.06);
}

.card-title {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--text-dark);
}

.card .location {
    color: var(--text-muted);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

/* ===== NIEUWSTE ADVERTENTIES ===== */
.advertentie-card {
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.advertentie-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.advertentie-card img {
    height: 200px;
    object-fit: cover;
    width: 100%;
}

.advertentie-card .card-body {
    padding: 1.25rem;
}

.advertentie-card .price {
    font-weight: 700;
    color: var(--primary);
    font-size: 1.1rem;
}

/* ===== USP SECTION ===== */
.usp-card {
    background: white;
    border-radius: var(--radius);
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s;
    height: 100%;
}

.usp-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.usp-card .usp-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.usp-card h5 {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.usp-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 0;
}

/* ===== TESTIMONIALS ===== */
.testimonial-card {
    background: white;
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow);
    position: relative;
    height: 100%;
}

.testimonial-card::before {
    content: '"';
    font-family: var(--font-heading);
    font-size: 4rem;
    color: var(--primary-light);
    opacity: 0.2;
    position: absolute;
    top: 0.5rem;
    left: 1.5rem;
    line-height: 1;
}

.testimonial-stars {
    color: var(--accent);
    margin-bottom: 1rem;
}

.testimonial-text {
    font-style: italic;
    color: var(--text-light);
    line-height: 1.7;
}

.testimonial-author {
    font-weight: 600;
    color: var(--text-dark);
    margin-top: 1rem;
}

/* ===== FAQ ===== */
.faq-item {
    background: white;
    border-radius: var(--radius-sm);
    margin-bottom: 0.75rem;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.faq-question {
    padding: 1.25rem 1.5rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    font-size: 1rem;
    color: var(--text-dark);
}

.faq-question:hover {
    color: var(--primary);
}

.faq-question i {
    transition: transform 0.3s;
}

.faq-item.open .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 1.5rem 1.25rem;
    color: var(--text-light);
    line-height: 1.6;
    display: none;
}

.faq-item.open .faq-answer {
    display: block;
}

/* ===== POPULAR SEARCH ===== */
.popular-search {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: var(--bg-warm);
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.2s;
}

.popular-search:hover {
    background: var(--accent);
    color: white;
}

/* ===== BADGES ===== */
.badge {
    font-weight: 600;
    padding: 0.4em 0.85em;
    border-radius: 50px;
    font-size: 0.8rem;
}

.badge-success { background: #d4edda; color: #155724; }
.badge-warning { background: #fff3cd; color: #856404; }
.badge-secondary { background: #e2e3e5; color: #383d41; }
.badge-danger { background: #f8d7da; color: #721c24; }
.badge-primary { background: #cce5ff; color: #004085; }

/* ===== BUTTONS ===== */
.btn {
    border-radius: var(--radius-sm);
    font-weight: 600;
    padding: 0.65rem 1.5rem;
    transition: all 0.25s ease;
    font-family: var(--font-body);
}

.btn-primary {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(27,94,32,0.3);
}

.btn-accent {
    background: var(--accent);
    border-color: var(--accent);
    color: #1a1a2e;
}

.btn-accent:hover {
    background: var(--accent-light);
    border-color: var(--accent-light);
    color: #1a1a2e;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255,171,0,0.3);
}

.btn-outline-primary {
    border-color: var(--primary);
    color: var(--primary);
}

.btn-outline-primary:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-1px);
}

.btn-lg {
    padding: 0.85rem 2rem;
    font-size: 1.05rem;
}

.btn i {
    margin-right: 0.3rem;
}

/* ===== FORMS ===== */
.form-control, .form-select {
    border-radius: var(--radius-sm);
    border: 1.5px solid #e0e4e8;
    padding: 0.8rem 1.1rem;
    font-family: var(--font-body);
    transition: all 0.2s;
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary-light);
    box-shadow: 0 0 0 3px rgba(27,94,32,0.1);
}

/* ===== DASHBOARD ===== */
.dashboard-card {
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 1.5rem;
    margin-bottom: 1rem;
    transition: all 0.3s;
}

.dashboard-card:hover {
    box-shadow: var(--shadow-md);
}

.dashboard-card h5 {
    color: var(--primary);
    font-weight: 700;
}

.stats-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
}

/* ===== ALERTS ===== */
.alert {
    border-radius: var(--radius-sm);
    border: none;
    padding: 1rem 1.5rem;
}

/* ===== FOOTER ===== */
.footer {
    background: linear-gradient(135deg, var(--primary-dark) 0%, #134e4a 100%);
    color: rgba(255,255,255,0.75);
    padding: 3rem 0 1.5rem;
    margin-top: auto;
}

.footer h5 {
    color: white;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin-bottom: 1.25rem;
}

.footer a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: color 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.footer a:hover {
    color: var(--accent-light);
}

.footer .footer-links li {
    margin-bottom: 0.5rem;
}

.footer .footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 1.5rem;
    margin-top: 2rem;
}

.footer .newsletter-input {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: white;
    border-radius: var(--radius-sm);
    padding: 0.7rem 1rem;
}

.footer .newsletter-input::placeholder {
    color: rgba(255,255,255,0.5);
}

.footer .newsletter-input:focus {
    background: rgba(255,255,255,0.15);
    border-color: var(--accent);
    box-shadow: none;
    color: white;
}

/* ===== CAROUSEL ===== */
.carousel-item img {
    border-radius: var(--radius);
}

.carousel-control-prev,
.carousel-control-next {
    width: 5%;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeInUp 0.6s ease-out;
}

.animate-fade-in-delay-1 { animation-delay: 0.1s; }
.animate-fade-in-delay-2 { animation-delay: 0.2s; }
.animate-fade-in-delay-3 { animation-delay: 0.3s; }

/* ===== SECTION SPACING ===== */
.section-py {
    padding: 4rem 0;
}

.section-py-sm {
    padding: 2.5rem 0;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .hero { padding: 4rem 0 3rem; }
    .hero h1 { font-size: 2.2rem; }
    .hero .lead { font-size: 1.1rem; }
    .section-title { font-size: 1.8rem; }
    .trust-number { font-size: 2rem; }
    .thema-card { height: 140px; }
}

/* ===== UTILITIES ===== */
.text-primary { color: var(--primary) !important; }
.text-accent { color: var(--accent) !important; }
.bg-primary-light { background: rgba(27,94,32,0.04) !important; }
.bg-warm { background: var(--bg-warm) !important; }

.htmx-indicator { display: none; }
.htmx-request .htmx-indicator { display: inline; }
.htmx-request.htmx-indicator { display: inline; }

/* ===== DETAIL PAGE ===== */
.detail-price {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
}

.detail-section {
    background: white;
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow);
    margin-bottom: 1.5rem;
}

.detail-section h3 {
    margin-bottom: 1.25rem;
    color: var(--text-dark);
}

.optie-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.4rem 0.8rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    margin: 0.2rem;
}

.optie-badge.yes {
    background: #e8f5e9;
    color: #2e7d32;
}

.optie-badge.no {
    background: #f5f5f5;
    color: #9e9e9e;
}

.contact-card {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: var(--radius);
    padding: 2rem;
    color: white;
    box-shadow: var(--shadow-md);
}

.contact-card h3 {
    color: white;
}

.contact-card .btn-accent {
    width: 100%;
}
