/* avokatedirektori.com - Professional Law Directory Theme */

:root {
    /* Color Palette - Professional Law Firm */
    --primary: #1e3a5f;
    --primary-dark: #0f2744;
    --primary-light: #2d5a8a;
    --secondary: #b8860b;
    --accent: #c9a227;
    --accent-light: #f4e4bc;

    /* Neutrals */
    --bg: #f8f9fa;
    --bg-alt: #ffffff;
    --card: #ffffff;
    --text: #1a1a2e;
    --text-secondary: #4a5568;
    --text-light: #718096;
    --border: #e2e8f0;
    --border-light: #f1f5f9;

    /* Effects */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.12);
    --shadow-gold: 0 4px 20px rgba(201, 162, 39, 0.2);
    --radius: 12px;
    --radius-lg: 20px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    font-size: 16px;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--secondary);
}

/* Header - Premium Look */
.header {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    color: white;
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-lg);
}

.header-content {
    max-width: 1280px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    letter-spacing: -0.5px;
}

.logo:hover {
    color: var(--accent);
    text-decoration: none;
}

.logo-icon {
    font-size: 1.75rem;
}

.nav {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav a {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 0;
    position: relative;
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: var(--transition);
}

.nav a:hover {
    color: white;
    text-decoration: none;
}

.nav a:hover::after {
    width: 100%;
}

/* Hero Section - Impressive */
.hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 50%, var(--primary) 100%);
    color: white;
    padding: 5rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
    letter-spacing: -1px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hero p {
    font-size: 1.25rem;
    opacity: 0.95;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;
}

.hero-badge {
    display: inline-block;
    background: var(--accent);
    color: var(--primary-dark);
    padding: 0.5rem 1.5rem;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-gold);
}

/* Breadcrumb */
.breadcrumb {
    background: white;
    padding: 1rem 2rem;
    border-bottom: 1px solid var(--border-light);
}

.breadcrumb-content {
    max-width: 1280px;
    margin: 0 auto;
    font-size: 0.9rem;
    color: var(--text-light);
}

.breadcrumb a {
    color: var(--primary);
    font-weight: 500;
}

.breadcrumb a:hover {
    color: var(--secondary);
}

.breadcrumb span {
    margin: 0 0.75rem;
    color: var(--border);
}

/* Main Container */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

/* Section Title */
.section-title {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    color: var(--primary);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.section-title::before {
    content: '';
    width: 4px;
    height: 28px;
    background: linear-gradient(to bottom, var(--secondary), var(--accent));
    border-radius: 2px;
}

/* Cards Grid */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

/* Card Styles */
.card {
    background: var(--card);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 1.75rem;
    transition: var(--transition);
    border: 1px solid var(--border-light);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    opacity: 0;
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.card:hover::before {
    opacity: 1;
}

.card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    color: var(--primary);
    font-weight: 700;
}

.card p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--secondary);
    font-weight: 600;
    font-size: 0.95rem;
}

.card-link:hover {
    gap: 0.75rem;
}

/* Lawyer Card - Premium */
.lawyer-card {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
    padding: 1.5rem;
}

.lawyer-card::before {
    display: none;
}

.lawyer-avatar {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.25rem;
    color: white;
    flex-shrink: 0;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.lawyer-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lawyer-info {
    flex: 1;
}

.lawyer-info h3 {
    margin-bottom: 0.25rem;
    font-size: 1.15rem;
}

.lawyer-specialty {
    font-size: 0.9rem;
    color: var(--secondary);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.lawyer-location {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.lawyer-rating {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    background: var(--accent-light);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-dark);
}

.star {
    color: var(--secondary);
}

.lawyer-contact {
    margin-top: 0.75rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.lawyer-contact a {
    color: var(--primary);
    font-weight: 500;
}

/* Stats Section */
.stats {
    display: flex;
    gap: 3rem;
    justify-content: center;
    margin: 3rem 0;
    flex-wrap: wrap;
    padding: 2rem;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.stat {
    text-align: center;
    padding: 1rem 2rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    color: var(--text-light);
    font-size: 1rem;
    font-weight: 500;
    margin-top: 0.25rem;
}

/* Individual Lawyer Page */
.lawyer-profile {
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    margin-bottom: 2rem;
}

.lawyer-profile-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    padding: 3rem 2rem;
    display: flex;
    gap: 2rem;
    align-items: center;
}

.lawyer-profile-avatar {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    flex-shrink: 0;
    overflow: hidden;
}

.lawyer-profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lawyer-profile-info h1 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.lawyer-profile-specialty {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 1rem;
}

.lawyer-profile-rating {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--accent);
    color: var(--primary-dark);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-weight: 600;
}

.lawyer-profile-body {
    padding: 2rem;
}

.lawyer-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.detail-item {
    padding: 1rem;
    background: var(--bg);
    border-radius: var(--radius);
}

.detail-item h4 {
    color: var(--text-light);
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.detail-item p {
    color: var(--text);
    font-weight: 500;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    color: white;
    padding: 3rem 2rem;
    margin-top: 4rem;
}

.footer-content {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2.5rem;
}

.footer h4 {
    margin-bottom: 1.25rem;
    font-size: 1rem;
    font-weight: 700;
    color: var(--accent);
}

.footer a {
    color: rgba(255, 255, 255, 0.8);
    display: block;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}

.footer a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 2.5rem;
    margin-top: 2.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }

    .nav {
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero {
        padding: 3rem 1.5rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .cards-grid {
        grid-template-columns: 1fr;
    }

    .stats {
        flex-direction: column;
        gap: 1.5rem;
    }

    .lawyer-profile-header {
        flex-direction: column;
        text-align: center;
    }

    .lawyer-profile-avatar {
        width: 120px;
        height: 120px;
    }
}