/* Modern 2026 Design - Lawyer Site (SaaS Style with Left Sidebar) */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #8B4513;
    --primary-light: #A0522D;
    --accent: #D2691E;
    --dark: #0D0D0D;
    --darker: #050505;
    --light: #F5F5F5;
    --text: #FFFFFF;
    --text-muted: rgba(255, 255, 255, 0.7);
    --card-bg: rgba(255, 255, 255, 0.03);
    --border: rgba(255, 255, 255, 0.1);
    --sidebar-width: 280px;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text);
    background: var(--dark);
    overflow-x: hidden;
}

/* Elegant Background */
.bg-pattern {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.pattern-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(139, 69, 19, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(210, 105, 30, 0.05) 0%, transparent 50%);
}

/* Left Sidebar Navigation */
.sidebar {
    position: fixed;
    left: 0;
    top: 0;
    width: var(--sidebar-width);
    height: 100vh;
    background: rgba(13, 13, 13, 0.95);
    backdrop-filter: blur(20px);
    border-right: 1px solid var(--border);
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    z-index: 1000;
    transition: transform 0.3s ease;
}

.sidebar-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 60px;
}

.logo-mark {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    font-weight: 700;
    color: white;
    flex-shrink: 0;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.firm-name {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    font-weight: 700;
    line-height: 1;
}

.firm-tagline {
    font-size: 12px;
    color: var(--text-muted);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.sidebar-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.sidebar-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 500;
    font-size: 15px;
    padding: 12px 20px;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    display: block;
}

.sidebar-links a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 0;
    background: var(--primary);
    border-radius: 0 3px 3px 0;
    transition: height 0.3s ease;
}

.sidebar-links a:hover,
.sidebar-links a.active {
    color: var(--text);
    background: rgba(139, 69, 19, 0.1);
}

.sidebar-links a:hover::before,
.sidebar-links a.active::before {
    height: 60%;
}

.sidebar-cta {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--primary);
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
    margin-top: auto;
}

.sidebar-cta:hover {
    background: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(139, 69, 19, 0.4);
}

.sidebar-footer {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid var(--border);
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.8;
}

/* Main Content */
.main-content {
    margin-left: var(--sidebar-width);
    position: relative;
    z-index: 1;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 150px 0 100px;
}

.hero-editorial {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 60px;
}

.hero-text {
    margin-bottom: 60px;
}

.hero-text h1 {
    font-family: 'Playfair Display', serif;
    font-size: 88px;
    font-weight: 700;
    line-height: 1.05;
    margin-bottom: 40px;
}

.hero-text h1 em {
    font-style: italic;
    color: var(--primary);
}

.hero-lead {
    font-size: 18px;
    color: var(--text-muted);
    line-height: 1.8;
    max-width: 600px;
    margin-bottom: 50px;
}

.hero-cta-group {
    display: flex;
    gap: 20px;
}

.cta-primary {
    padding: 16px 40px;
    font-size: 16px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    background: var(--primary);
    color: white;
    transition: all 0.3s ease;
}

.cta-primary:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(139, 69, 19, 0.4);
}

.cta-secondary {
    padding: 16px 40px;
    font-size: 16px;
    border: 1px solid var(--border);
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    background: transparent;
    color: var(--text);
    transition: all 0.3s ease;
}

.cta-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
}

/* Stats Bento Grid */
.hero-stats-bento {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 60px;
}

.stat-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
}

.stat-card:hover {
    border-color: rgba(139, 69, 19, 0.3);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.stat-number {
    font-family: 'Playfair Display', serif;
    font-size: 42px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 10px;
}

.stat-label {
    font-size: 14px;
    color: var(--text-muted);
}

/* Section Styles */
.section-header {
    margin-bottom: 80px;
    padding: 0 60px;
}

.section-tag {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(139, 69, 19, 0.1);
    border: 1px solid rgba(139, 69, 19, 0.3);
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    color: var(--primary);
    margin-bottom: 20px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.section-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 56px;
    font-weight: 700;
    margin-bottom: 20px;
}

.section-header h2 em {
    font-style: italic;
    color: var(--primary);
}

.section-header p {
    font-size: 18px;
    color: var(--text-muted);
    max-width: 600px;
}

/* Practice Areas - Bento Grid */
.practice {
    padding: 120px 0;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 0 60px;
}

.bento-item {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 40px 30px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.bento-item:hover {
    border-color: rgba(139, 69, 19, 0.3);
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.bento-item.large {
    grid-column: span 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.bento-item.wide {
    grid-column: span 2;
}

.bento-icon {
    width: 48px;
    height: 48px;
    color: var(--primary);
    margin-bottom: 20px;
    display: block;
}

.bento-icon svg {
    width: 100%;
    height: 100%;
}

.bento-item h3 {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 15px;
}

.bento-item p {
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 20px;
}

.bento-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: gap 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.bento-link:hover {
    gap: 10px;
}

.bento-bg {
    position: absolute;
    bottom: -20px;
    right: -20px;
    font-size: 120px;
    opacity: 0.05;
    pointer-events: none;
    font-family: 'Playfair Display', serif;
}

/* Attorneys Section */
.attorneys {
    padding: 120px 0;
}

.attorneys-scroll {
    display: flex;
    gap: 30px;
    padding: 0 60px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
}

.attorneys-scroll::-webkit-scrollbar {
    height: 8px;
}

.attorneys-scroll::-webkit-scrollbar-track {
    background: var(--darker);
    border-radius: 10px;
}

.attorneys-scroll::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 10px;
}

.attorney-card {
    flex: 0 0 350px;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    scroll-snap-align: start;
    transition: all 0.4s ease;
}

.attorney-card:hover {
    border-color: rgba(139, 69, 19, 0.3);
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.attorney-photo {
    width: 150px;
    height: 150px;
    margin: 0 auto 25px;
}

.photo-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    font-weight: 700;
    color: white;
}

.attorney-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 10px;
}

.attorney-card .title {
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 5px;
}

.attorney-card .credentials {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.attorney-stats {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.attorney-stats span {
    font-size: 13px;
    color: var(--text-muted);
}

/* Results/Testimonials */
.results {
    padding: 120px 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    padding: 0 60px;
}

.testimonial-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 40px;
    transition: all 0.4s ease;
}

.testimonial-card:hover {
    border-color: rgba(139, 69, 19, 0.3);
    transform: translateY(-5px);
}

.testimonial-card.featured {
    border-color: rgba(139, 69, 19, 0.3);
    background: rgba(139, 69, 19, 0.05);
}

.stars {
    color: #FFD700;
    font-size: 20px;
    margin-bottom: 20px;
    letter-spacing: 3px;
}

.testimonial-card blockquote {
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    line-height: 1.8;
    font-style: italic;
    margin-bottom: 30px;
    color: var(--text-muted);
}

.client-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.client-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.client-name {
    font-weight: 600;
    margin-bottom: 3px;
}

.case-type {
    font-size: 13px;
    color: var(--text-muted);
}

/* Contact Section */
.contact {
    padding: 120px 0;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    padding: 0 60px;
    align-items: start;
}

.contact-info .section-tag {
    margin-bottom: 20px;
}

.contact-info h2 {
    font-family: 'Playfair Display', serif;
    font-size: 56px;
    font-weight: 700;
    margin-bottom: 30px;
}

.contact-info h2 em {
    font-style: italic;
    color: var(--primary);
}

.contact-info > p {
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 50px;
}

.info-blocks {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.info-block {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 25px;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.info-block:hover {
    border-color: rgba(139, 69, 19, 0.3);
}

.info-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    color: var(--primary);
}

.info-icon svg {
    width: 100%;
    height: 100%;
}

.info-block h4 {
    font-size: 16px;
    margin-bottom: 5px;
}

.info-block p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.8;
}

.contact-form-wrapper {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 50px;
}

.contact-form h3 {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    margin-bottom: 30px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: 12px;
    color: white;
    font-size: 15px;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
    margin-bottom: 20px;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.05);
}

.contact-form select option {
    background: var(--darker);
    color: white;
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

.full-width {
    width: 100%;
}

/* Footer */
.footer {
    padding: 80px 0 40px;
    border-top: 1px solid var(--border);
    margin-left: var(--sidebar-width);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
    padding: 0 60px;
}

.footer-brand p {
    color: var(--text-muted);
    margin-top: 20px;
    line-height: 1.8;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.logo-mark.small {
    width: 40px;
    height: 40px;
    font-size: 22px;
}

.footer-links h4,
.footer-contact h4 {
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    margin-bottom: 20px;
}

.footer-links a {
    display: block;
    color: var(--text-muted);
    text-decoration: none;
    padding: 8px 0;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-contact p {
    color: var(--text-muted);
    padding: 5px 0;
}

.social-links {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

.social-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 14px;
    padding: 40px 60px 0;
}

.footer-bottom a {
    color: var(--text-muted);
    text-decoration: none;
}

.footer-bottom a:hover {
    color: var(--primary);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 1400px) {
    .hero-stats-bento {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 1024px) {
    .sidebar {
        transform: translateX(-100%);
    }
    
    .main-content {
        margin-left: 0;
    }
    
    .footer {
        margin-left: 0;
    }
    
    .hero-editorial {
        padding: 0 40px;
    }
    
    .hero-text h1 {
        font-size: 64px;
    }
    
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
        padding: 0 40px;
    }
    
    .bento-item.large {
        grid-column: span 2;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
        padding: 0 40px;
    }
    
    .contact-layout {
        grid-template-columns: 1fr;
        padding: 0 40px;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        padding: 0 40px;
    }
}

@media (max-width: 768px) {
    .hero-text h1 {
        font-size: 48px;
    }
    
    .hero-cta-group {
        flex-direction: column;
    }
    
    .hero-stats-bento {
        grid-template-columns: 1fr;
    }
    
    .bento-grid {
        grid-template-columns: 1fr;
        padding: 0 20px;
    }
    
    .bento-item.large,
    .bento-item.wide {
        grid-column: span 1;
    }
    
    .attorneys-scroll {
        padding: 0 20px;
    }
    
    .attorney-card {
        flex: 0 0 auto;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 0 20px;
    }
}
