/*
Theme Name: Rechtavo
Author: Jouw naam
Description: Thema voor strafrechtadvocaten – exacte kopie van Rechtavo.eu
Version: 1.0
*/

/* RESET & VARIABELEN */
* { margin: 0; padding: 0; box-sizing: border-box; }
:root {
    --blauw: #0A2E5C;
    --blauw-light: #1A4B8C;
    --goud: #D4AF37;
    --grijs: #F8F9FA;
    --wit: #FFFFFF;
    --zwart: #222222;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: var(--zwart);
    background: var(--grijs);
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
h1, h2, h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

/* HEADER */
header {
    background: var(--wit);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 15px 0;
}
.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--blauw);
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 700;
}
.logo i { color: var(--goud); font-size: 1.8rem; }

.nav-links {
    display: flex;
    gap: 30px;
}
.nav-links a {
    color: var(--blauw);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    padding: 8px 0;
    position: relative;
    transition: color 0.3s;
}
.nav-links a:hover {
    color: var(--goud);
}
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--goud);
    transition: width 0.3s;
}
.nav-links a:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--blauw);
    cursor: pointer;
}

/* HERO */
.hero {
    background: linear-gradient(rgba(10,46,92,0.9), rgba(10,46,92,0.9)), url('https://images.unsplash.com/photo-1589829545856-d10d557cf95f?ixlib=rb-1.2.1&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    color: var(--wit);
    padding: 80px 0;
    text-align: center;
}
.hero h1 { font-size: 2.8rem; margin-bottom: 20px; }
.hero p { font-size: 1.2rem; max-width: 800px; margin: 0 auto 40px; }

.zoek-bak { max-width: 700px; margin: 30px auto; }
.zoek-input {
    display: flex;
    background: var(--wit);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}
.zoek-input input {
    flex: 1;
    border: none;
    padding: 20px;
    font-size: 1.1rem;
    outline: none;
}
.zoek-input button {
    background: var(--goud);
    color: var(--zwart);
    border: none;
    padding: 20px 40px;
    font-weight: 600;
    cursor: pointer;
    font-size: 1.1rem;
    transition: background 0.3s;
    white-space: nowrap;
}
.zoek-input button:hover {
    background: #e6c035;
}

.expertise-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-top: 20px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}
.expertise-filter {
    background: rgba(255,255,255,0.2);
    color: var(--wit);
    padding: 10px 20px;
    border-radius: 50px;
    cursor: pointer;
    border: 1px solid rgba(255,255,255,0.3);
    transition: all 0.3s;
    font-size: 0.9rem;
    white-space: nowrap;
}
.expertise-filter:hover {
    background: rgba(255,255,255,0.3);
    transform: translateY(-2px);
}

/* ADVOCATEN SECTIE */
.advocaten-sectie { padding: 60px 0; }
.controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 20px;
}
.sort-buttons { display: flex; gap: 10px; flex-wrap: wrap; }
.sort-btn {
    padding: 10px 20px;
    border: 1px solid #ddd;
    background: var(--wit);
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s;
}
.sort-btn:hover {
    border-color: var(--blauw);
}
.sort-btn.active {
    background: var(--blauw);
    color: var(--wit);
    border-color: var(--blauw);
}

.advocaten-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 25px;
    margin-top: 30px;
}
.advocaat-card {
    background: var(--wit);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    padding: 25px;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    display: block;
}
.advocaat-card:hover { 
    transform: translateY(-5px); 
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}
.advocaat-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}
.kantoor-naam { 
    font-size: 1.4rem; 
    color: var(--blauw);
    margin-bottom: 8px;
    font-weight: 700;
}
.stad { 
    background: var(--grijs);
    color: var(--blauw);
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
}

.pro-deo-tag {
    background: #4CAF50;
    color: white;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-top: 5px;
    display: inline-block;
}

.uitgelicht-badge {
    background: var(--goud);
    color: var(--zwart);
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-left: 8px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.uitgelicht-badge i {
    font-size: 0.8rem;
}

.expertises {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 15px 0;
}
.expertise-tag {
    background: var(--grijs);
    color: var(--blauw);
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
}

.contact-info {
    border-top: 1px solid #eee;
    padding-top: 15px;
    margin-top: 15px;
}
.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 8px 0;
    color: #555;
    font-size: 0.9rem;
}
.contact-item i { color: var(--blauw); width: 20px; }

.paginatie {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 50px;
    flex-wrap: wrap;
}
.page-btn {
    width: 40px;
    height: 40px;
    border: 1px solid #ddd;
    background: var(--wit);
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s;
}
.page-btn:hover {
    border-color: var(--blauw);
}
.page-btn.active {
    background: var(--blauw);
    color: var(--wit);
    border-color: var(--blauw);
}

.counter {
    color: var(--blauw);
    font-weight: 600;
    background: var(--grijs);
    padding: 10px 20px;
    border-radius: 50px;
}

/* PROFIEL */
.profiel-container {
    max-width: 900px;
    margin: 40px auto;
    background: var(--wit);
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    overflow: hidden;
}
.profiel-header {
    background: var(--blauw);
    color: var(--wit);
    padding: 40px;
    position: relative;
    text-align: center;
}
.terug-link {
    color: var(--goud);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    cursor: pointer;
    position: absolute;
    top: 20px;
    left: 20px;
}
.terug-link:hover {
    text-decoration: underline;
}
.profiel-header h1 {
    font-size: 2.2rem;
    margin-bottom: 10px;
}
.profiel-header .stad {
    background: rgba(255,255,255,0.2);
    color: var(--wit);
}

.profielfoto {
    width: 120px;
    height: 120px;
    background: var(--wit);
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid var(--goud);
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}
.profielfoto i {
    font-size: 4rem;
    color: var(--blauw);
}
.profielfoto img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: var(--wit);
}

.profiel-content {
    padding: 40px;
}
.profiel-section {
    margin-bottom: 30px;
}
.profiel-section h2 {
    color: var(--blauw);
    border-bottom: 2px solid var(--grijs);
    padding-bottom: 10px;
    margin-bottom: 20px;
}
.profiel-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}
.info-item {
    display: flex;
    gap: 15px;
}
.info-item i {
    color: var(--goud);
    font-size: 1.2rem;
    margin-top: 3px;
}
.over-mij {
    line-height: 1.8;
    color: #555;
}

.pro-deo-checkbox {
    margin-top: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #555;
    font-size: 0.9rem;
}
.pro-deo-checkbox input {
    width: 18px;
    height: 18px;
}

/* FOOTER */
footer {
    background: var(--blauw);
    color: var(--wit);
    padding: 60px 0 30px;
    margin-top: 80px;
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}
.footer-column h3 {
    color: var(--goud);
    margin-bottom: 20px;
}
.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.6);
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .advocaten-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    .hero h1 { font-size: 2rem; }
    .hero p { font-size: 1rem; }
    .zoek-input { flex-direction: column; }
    .zoek-input input, .zoek-input button { 
        width: 100%; 
        padding: 15px;
    }
    .advocaten-grid { 
        grid-template-columns: 1fr; 
    }
    .controls { 
        flex-direction: column; 
        align-items: stretch; 
    }
    .nav-links { 
        display: none; 
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--wit);
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
        gap: 15px;
    }
    .nav-links.active {
        display: flex;
    }
    .mobile-menu-btn {
        display: block;
    }
    .profiel-header { 
        padding: 25px; 
    }
    .profiel-content { 
        padding: 25px; 
    }
    .profiel-header h1 {
        font-size: 1.8rem;
    }
    .profielfoto {
        width: 100px;
        height: 100px;
    }
    .terug-link {
        position: static;
        margin-bottom: 15px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 50px 0;
    }
    .expertise-filter {
        padding: 6px 12px;
        font-size: 0.75rem;
    }
    .sort-btn {
        padding: 8px 16px;
        font-size: 0.9rem;
    }
}