/* Law Firm Design System - Todt & Panzetti */

:root {
    /* Background colors */
    --background: #ffffff;
    --background-dark: #1a1a1a;
    --background-clean: #e2dace;
    --background-section: #f8f9fa;
    
    /* Text colors */
    --foreground: #1a1a1a;
    --foreground-light: #ffffff;
    --text-muted: #6b7280;
    
    /* Brand colors */
    --primary: #1a1a1a;
    --primary-foreground: #ffffff;
    --gold: #d4af37;
    --gold-dark: #b8941f;
    
    /* Card colors */
    --card: #ffffff;
    --card-foreground: #1a1a1a;
    --card-dark: #2d2d2d;
    
    /* Interactive elements */
    --border: #e5e7eb;
    --input: #e5e7eb;
    --ring: #d4af37;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    
    --radius: 6px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--foreground);
    background: var(--background);
}

h1, h2, h3, h4, h5, h6 {
    line-height: 1.2;
    font-weight: 600;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header {
    background: var(--background-clean);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 15px 0;
    transition: all 0.3s ease;
}

.header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    color: var(--foreground-light);
    font-size: 24px;
    font-weight: bold;
    text-decoration: none;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    color: var(--foreground);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: var(--gold);
}

/* Button Styles */
.btn {
    padding: 12px 24px;
    border-radius: var(--radius);
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--gold);
    color: var(--background-dark);
}

.btn-primary:hover {
    background: var(--gold-dark);
    transform: translateY(-2px);
}

.btn-outline {
    border: 2px solid var(--gold);
    color: var(--gold);
    background: transparent;
}

.btn-outline:hover {
    background: var(--gold);
    color: var(--background-dark);
}

/* Hero Section */
.hero {
    background: var(--background-dark);
    color: var(--foreground-light);
    padding: 120px 0 80px;
    min-height: 600px;
    display: flex;
    align-items: center;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-text h1 {
    font-size: 48px;
    margin-bottom: 20px;
    line-height: 1.1;
}

.hero-text p {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

.hero-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: var(--radius);
}

/* Stats Section */
.stats {
    background: var(--background-section);
    padding: 60px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.stat-card {
    background: var(--card);
    padding: 40px 20px;
    text-align: center;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
}

.stat-number {
    font-size: 48px;
    font-weight: bold;
    color: var(--gold);
    margin-bottom: 10px;
}

.stat-card h3 {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 10px;
}

.stat-card p {
    color: var(--text-muted);
}

/* Services Section */
.services {
    padding: 80px 0;
}

.services-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.services-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: var(--radius);
}

.services-text h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.services-text p {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.services-list {
    margin-bottom: 30px;
}

.service-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.service-bullet {
    width: 8px;
    height: 8px;
    background: var(--gold);
    border-radius: 50%;
    margin-right: 15px;
}

/* Practice Areas */
.practice-areas {
    background: var(--background-dark);
    color: var(--foreground-light);
    padding: 80px 0;
}

.practice-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.practice-card {
    background: var(--card-dark);
    padding: 40px 30px;
    text-align: center;
    border-radius: var(--radius);
    transition: transform 0.3s ease;
}

.practice-card:hover {
    transform: translateY(-5px);
}

.practice-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.practice-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    font-weight: bold;
}

.practice-card p {
    color: var(--text-muted);
    margin-bottom: 20px;
}

.practice-card a {
    color: var(--gold);
    text-decoration: none;
    font-weight: 600;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 36px;
    margin-bottom: 15px;
}

.section-header p {
    font-size: 18px;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* About Section */
.about-section {
    padding: 80px 0;
    background: var(--background-section);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.about-text p {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.about-features {
    margin-bottom: 30px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.feature-icon {
    width: 40px;
    height: 40px;
    background: var(--gold);
    border-radius: 50%;
    margin-right: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-content h4 {
    font-weight: bold;
    margin-bottom: 5px;
}

.feature-content p {
    color: var(--text-muted);
}

.about-image img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    border-radius: var(--radius);
}

/* Case Studies */
.case-studies {
    padding: 80px 0;
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.case-card {
    background: var(--card);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease;
}

.case-card:hover {
    transform: translateY(-5px);
}

.case-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.case-content {
    padding: 30px;
}

.case-date {
    color: var(--gold);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 10px;
    display: block;
}

.case-content h3 {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
    line-height: 1.4;
}

.case-content p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.case-content a {
    color: var(--gold);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
}

/* Team Section */
.team-section {
    padding: 80px 0;
    background: var(--background-section);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.team-card {
    text-align: center;
}

.team-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: var(--radius);
    margin-bottom: 20px;
}

.team-card h3 {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 5px;
}

.team-card p {
    color: var(--gold);
    font-weight: 600;
}

/* Counter Section */
.counter-section {
    background: var(--background-dark);
    color: var(--foreground-light);
    padding: 60px 0;
}

.counter-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    text-align: center;
}

.counter-number {
    font-size: 48px;
    font-weight: bold;
    color: var(--gold);
    margin-bottom: 10px;
}

.counter-item p {
    font-size: 18px;
    font-weight: 600;
    color: var(--foreground-light);
}

/* Blog Section */
.blog-section {
    padding: 80px 0;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.blog-card {
    background: var(--card);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
}

.blog-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.blog-content {
    padding: 30px;
}

.blog-date {
    color: var(--gold);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 10px;
    display: block;
}

.blog-content h3 {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
    line-height: 1.4;
}

.blog-content p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.blog-content a {
    color: var(--gold);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
}

.blog-cta {
    text-align: center;
    margin-top: 50px;
}

/* Footer */
.footer {
    background: var(--background-dark);
    color: var(--foreground-light);
    padding: 60px 0 20px;
}

.newsletter-section {
    text-align: center;
    margin-bottom: 60px;
    padding: 60px 0;
    border-bottom: 1px solid var(--card-dark);
}

.newsletter-section h3 {
    font-size: 28px;
    margin-bottom: 15px;
}

.newsletter-section p {
    color: var(--text-muted);
    margin-bottom: 30px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.newsletter-form {
    display: flex;
    justify-content: center;
    gap: 15px;
    max-width: 400px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 20px;
    border-radius: var(--radius);
    border: 1px solid var(--card-dark);
    background: var(--card-dark);
    color: var(--foreground-light);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h3 {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
    color: var(--foreground-light);
}

.footer-column h4 {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 20px;
    color: var(--foreground-light);
}

.footer-column p {
    color: var(--text-muted);
    margin-bottom: 20px;
    line-height: 1.6;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: var(--gold);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    color: var(--gold);
    font-size: 20px;
    transition: color 0.3s ease;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.contact-icon {
    color: var(--gold);
}

.contact-item p {
    color: var(--text-muted);
    margin: 0;
}

.footer-bottom {
    border-top: 1px solid var(--card-dark);
    padding-top: 20px;
    text-align: center;
    color: var(--text-muted);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content,
    .services-content,
    .about-content {
        grid-template-columns: 1fr;
    }

    .stats-grid,
    .practice-grid,
    .blog-grid,
    .cases-grid {
        grid-template-columns: 1fr;
    }

    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .counter-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-text h1 {
        font-size: 36px;
    }

    .section-header h2 {
        font-size: 28px;
    }

    .nav-menu {
        display: none;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .hero-buttons {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero-text h1 {
        font-size: 28px;
    }

    .section-header h2 {
        font-size: 24px;
    }

    .counter-grid {
        grid-template-columns: 1fr;
    }
}