/* Navigation */
.nav {
    display: flex;
    gap: var(--spacing-md);
    align-items: center;
}

.nav-link {
    color: var(--text-color);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    padding-bottom: 4px;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-dropdown {
    position: relative;
}

.nav-dropdown > .nav-link {
    padding-right: 1.2rem;
}

.nav-dropdown > .nav-link::before {
    content: '\25BE';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.7rem;
    color: var(--text-muted);
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(9, 36, 21, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(22, 100, 50, 0.5);
    border-radius: 12px;
    padding: var(--spacing-xs) 0;
    min-width: 200px;
    z-index: 1000;
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu {
    display: block;
}

.dropdown-menu .nav-link {
    display: block;
    padding: 10px 20px;
    white-space: nowrap;
    border-bottom: 1px solid var(--border-color);
}

.dropdown-menu .nav-link:last-child {
    border-bottom: none;
}

.dropdown-menu .nav-link::after {
    display: none;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-color);
    margin: 5px 0;
    transition: var(--transition);
}

.menu-toggle.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.open span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

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

    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: rgba(17, 17, 17, 0.98);
        flex-direction: column;
        justify-content: flex-start;
        padding-top: 5rem;
        transition: right 0.3s ease;
        backdrop-filter: blur(10px);
        overflow-y: auto;
    }

    .nav.open {
        right: 0;
    }

    .dropdown-menu {
        position: static;
        transform: none;
        background: none;
        border: none;
        padding: 0;
        padding-left: var(--spacing-sm);
        display: none;
        min-width: auto;
    }

    .nav-dropdown.open .dropdown-menu {
        display: block;
    }

    .dropdown-menu .nav-link {
        padding: 8px 16px;
        font-size: 0.9rem;
    }

    .nav-dropdown > .nav-link::after {
        display: none;
    }
}

/* Buttons */
.btn {
    display: inline-block;
    background: var(--primary-color);
    color: var(--text-color);
    padding: 14px 36px;
    border-radius: 0;
    font-weight: 600;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: all var(--transition);
    text-align: center;
}

.btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    color: var(--text-color);
}

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

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

/* Hero */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-slider {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide-1 { background-image: url('../images/attorney.webp'); }
.hero-slide-2 { background-image: url('../images/lawlibrary.webp'); }
.hero-slide-3 { background-image: url('../images/notary.webp'); }

.hero-content {
    position: relative;
    z-index: 3;
    width: 100%;
    padding: var(--spacing-xl);
    text-align: center;
}



.hero-title {
    margin-bottom: var(--spacing-sm);
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-md);
    opacity: 0.9;
    color: var(--text-color);
}

/* Cards */
.card {
    background: var(--bg-card);
    border: 1px solid var(--primary-color);
    border-radius: var(--radius);
    padding: var(--spacing-md);
    transition: all var(--transition);
}

.card:hover {
    transform: translateY(-4px);
    border-color: var(--primary-color);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    margin: 0 auto var(--spacing-sm);
    font-size: 1.5rem;
    line-height: 1;
    color: var(--primary-color);
    background: linear-gradient(135deg, var(--secondary-dark) 0%, var(--secondary-color) 100%);
    border-radius: 50%;
    border: 2px solid var(--primary-color);
    flex-shrink: 0;
}

.card h3 {
    margin-bottom: var(--spacing-xs);
}

.card p {
    font-size: 0.95rem;
}

/* Team Cards */
.team-card {
    text-align: center;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: var(--spacing-md);
    transition: all var(--transition);
}

.team-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary-color);
}

.team-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto var(--spacing-sm);
    border: 3px solid var(--border-color);
}

.team-card h3 {
    margin-bottom: 4px;
}

.team-role {
    color: var(--primary-color);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
}

/* Team Grid - new section */
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
    text-align: center;
}

.team-member h3 {
    font-size: 1rem;
    margin-top: var(--spacing-sm);
    margin-bottom: 4px;
}

.team-member .team-role {
    font-size: 0.8rem;
}

.team-photo-btn {
    display: block;
    margin: 0 auto;
    padding: 0;
    border: none;
    background: none;
    cursor: pointer;
    border-radius: 50%;
    transition: transform var(--transition);
}

.team-photo-btn:hover {
    transform: scale(1.05);
}

.team-photo-btn:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 3px;
}

.koerant-btn {
    display: block;
    padding: 0;
    border: none;
    background: none;
    cursor: pointer;
}

.koerant-btn:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 3px;
}

.team-circle {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-color);
    display: block;
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.9);
    align-items: center;
    justify-content: center;
}

.lightbox.open {
    display: flex;
}

.lightbox-content {
    text-align: center;
    max-width: 500px;
    padding: var(--spacing-md);
}

.lightbox-image {
    max-width: 90vw;
    max-height: 70vh;
    border-radius: 4px;
    object-fit: contain;
    margin: 0 auto var(--spacing-md);
}

.lightbox-image--round {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--primary-color);
}

.lightbox-name {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--text-color);
    margin-bottom: 4px;
}

.lightbox-role {
    color: var(--primary-color);
    font-size: 0.95rem;
}

.lightbox-close {
    position: absolute;
    top: 1.5rem;
    right: 2rem;
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 2.5rem;
    cursor: pointer;
    line-height: 1;
    padding: 4px 8px;
    transition: opacity var(--transition);
}

.lightbox-close:hover {
    opacity: 0.7;
}

/* Form Styles */
.form-group {
    margin-bottom: var(--spacing-sm);
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-color);
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: border-color var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

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

/* Parallax Section */
.parallax-section {
    position: relative;
    min-height: 80vh;
    padding: var(--spacing-xl) 0;
    overflow: hidden;
}

.parallax-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index: 1;
}

.parallax-section .content-box {
    position: relative;
    z-index: 2;
    background: var(--bg-overlay);
    padding: var(--spacing-xl);
    border-radius: var(--radius);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    max-width: 800px;
}

@media (max-width: 767px) {
    .hero-box {
        padding: var(--spacing-md);
        margin: 0 16px;
    }

    .hero-subtitle {
        font-size: 1.05rem;
    }

    .parallax-section .content-box {
        padding: var(--spacing-md);
        margin: 0 16px;
    }

    .parallax-bg {
        background-attachment: scroll;
    }

    .team-photo {
        width: 100px;
        height: 100px;
    }

    .team-circle {
        width: 100px;
        height: 100px;
    }

    .lightbox-image {
        max-width: 90vw;
        max-height: 80vh;
        width: auto;
        height: auto;
    }

    .lightbox-image--round {
        width: min(70vw, 250px);
        height: min(70vw, 250px);
    }

    .lightbox-content {
        padding: var(--spacing-sm);
    }

    .team-grid {
        gap: var(--spacing-md);
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 1023px) and (min-width: 768px) {
    .hero-box {
        padding: var(--spacing-lg);
    }

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

.card-list {
    list-style: disc;
    padding-left: 1.25rem;
    margin: var(--spacing-sm) 0;
    font-size: 0.95rem;
    color: var(--text-muted);
    text-align: left;
}

.card-list li {
    margin-bottom: 6px;
}

.cta-group {
    display: flex;
    gap: var(--spacing-sm);
    justify-content: center;
    flex-wrap: wrap;
}

.text-center { text-align: center; }
.mt-sm { margin-top: var(--spacing-sm); }
.mt-md { margin-top: var(--spacing-md); }
.mb-sm { margin-bottom: var(--spacing-sm); }
.mb-md { margin-bottom: var(--spacing-md); }
.mx-auto { margin-left: auto; margin-right: auto; }
.max-w-sm { max-width: 600px; }

.social-icons {
    display: flex;
    justify-content: center;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(9, 36, 21, 0.7);
    border: 1px solid rgba(22, 100, 50, 0.5);
    color: var(--primary-color);
    font-size: 1.2rem;
    transition: background var(--transition), color var(--transition), transform var(--transition);
}

.social-icons a:hover,
.social-icons a:focus-visible {
    background: var(--primary-color);
    color: var(--bg-color);
    transform: translateY(-2px);
    outline: none;
}

.lang-switch {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    margin-left: var(--spacing-sm);
    font-size: 0.85rem;
    white-space: nowrap;
}

.lang-switch a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 2px 8px;
    border: 1px solid rgba(22, 100, 50, 0.5);
    border-radius: 4px;
    color: var(--text-color);
    text-decoration: none;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    transition: background var(--transition), color var(--transition);
}

.lang-switch a:hover,
.lang-switch a:focus-visible {
    background: var(--primary-color);
    color: var(--bg-color);
    outline: none;
}

.lang-switch a.active {
    background: rgba(9, 36, 21, 0.7);
    color: var(--primary-color);
    cursor: default;
    pointer-events: none;
}
.max-w-sm { max-width: 600px; }
.text-muted-small { font-size: 0.85rem; opacity: 0.6; }
