/* Reset and Base Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    line-height: 1.15;
    -webkit-text-size-adjust: 100%;
    color: #313131;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    scroll-behavior: smooth;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-color: #ffffff;
    color: #313131;
    line-height: 1.6;
}

/* Accessibility: Skip Link */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: #313131;
    color: #ffffff;
    padding: 8px;
    text-decoration: none;
    border-radius: 4px;
    z-index: 10000;
    transition: top 0.3s ease;
}

.skip-link:focus {
    top: 6px;
    outline: 2px solid #ffffff;
    outline-offset: 2px;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header and Navigation */
.header {
    background-color: #ffffff;
    border-bottom: 1px solid #e5e5e5;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo h1 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #313131;
    text-decoration: none;
}

.logo h1 a {
    color: #313131;
    text-decoration: none;
    transition: color 0.3s ease;
}

.logo h1 a:hover,
.logo h1 a:focus {
    color: #000000;
    outline: 2px solid #313131;
    outline-offset: 2px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: #313131;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 8px 12px;
    border-radius: 4px;
}

.nav-menu a:hover,
.nav-menu a:focus {
    color: #000000;
    background-color: #f5f5f5;
    outline: 2px solid #313131;
    outline-offset: 2px;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    background: none;
    border: none;
    padding: 8px;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.nav-toggle:hover,
.nav-toggle:focus {
    background-color: #f5f5f5;
    outline: 2px solid #313131;
    outline-offset: 2px;
}

.nav-toggle .hamburger-line {
    width: 25px;
    height: 3px;
    background-color: #313131;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    height: 120vh;
    padding: 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.hero h2 {
    font-size: 3rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero p {
    font-size: 1.25rem;
    color: #ffffff;
    margin-bottom: 2rem;
    line-height: 1.6;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.cta-button {
    display: inline-block;
    background-color: #313131;
    color: #ffffff;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
    transition: background-color 0.3s ease;
    border: 2px solid transparent;
}

.cta-button:hover,
.cta-button:focus {
    background-color: #000000;
    outline: 2px solid #ffffff;
    outline-offset: 2px;
}

/* Section Styles */
section {
    padding: 80px 0;
}

section h2 {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 3rem;
    text-align: center;
    color: #313131;
}

/* About Section */
.about {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, #e5e5e5 50%, transparent 100%);
}

.about-content {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.about-content h2 {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.about-main {
    background: rgba(255, 255, 255, 0.8);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-main:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.about-main h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #313131;
    position: relative;
    padding-bottom: 0.5rem;
}

.about-main h3::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #313131, #666666);
    border-radius: 2px;
}

.about-main p {
    margin-bottom: 1rem;
    line-height: 1.7;
    color: #555555;
}

.about-main p:last-child {
    margin-bottom: 0;
}

.about-services {
    background: rgba(255, 255, 255, 0.8);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-services:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.about-services h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #313131;
    position: relative;
    padding-bottom: 0.5rem;
}

.about-services h3::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #313131, #666666);
    border-radius: 2px;
}

.about-services ul {
    list-style: none;
    padding: 0;
}

.about-services li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.3s ease;
    position: relative;
    padding-left: 1.5rem;
}

.about-services li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #313131;
    font-weight: bold;
}

.about-services li:hover {
    color: #000000;
    transform: translateX(5px);
}

.about-services li:last-child {
    border-bottom: none;
}

.about-outreach {
    background: rgba(255, 255, 255, 0.8);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-outreach:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.about-outreach h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #313131;
    position: relative;
    padding-bottom: 0.5rem;
}

.about-outreach h3::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #313131, #666666);
    border-radius: 2px;
}

.about-outreach p {
    line-height: 1.7;
    color: #555555;
}

.practice-areas {
    background-color: #ffffff;
}

.practice-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.practice-card {
    background: #ffffff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e5e5;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.practice-card:hover,
.practice-card:focus-within {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.practice-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #313131;
}

.practice-card p,
.practice-card ul {
    color: #555555;
    line-height: 1.7;
}

.practice-card ul {
    list-style: none;
    padding: 0;
}

.practice-card li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #f0f0f0;
    position: relative;
    padding-left: 1.5rem;
}

.practice-card li:before {
    content: '•';
    position: absolute;
    left: 0;
    color: #313131;
    font-weight: bold;
    font-size: 1.2em;
}

.practice-card li:last-child {
    border-bottom: none;
}

.attorneys {
    background-color: #f8f9fa;
}

.attorneys-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.attorney-card {
    background: #ffffff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.attorney-card:hover {
    transform: translateY(-5px);
}

.attorney-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    overflow: hidden;
}

.photo-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f0f0f0, #e0e0e0);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #999999;
}

.attorney-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #313131;
}

.attorney-title {
    color: #666666;
    margin-bottom: 1rem;
}

.attorney-card p:last-child {
    color: #555555;
    line-height: 1.7;
}

.news {
    background-color: #ffffff;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.news-item {
    background: #ffffff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e5e5;
    transition: transform 0.3s ease;
}

.news-item h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #313131;
}

.news-date {
    color: #666666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.news-item p:last-child {
    color: #555555;
    line-height: 1.7;
}

.contact {
    background-color: #f8f9fa;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 2rem;
}

.contact-info h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #313131;
}

.contact-info p {
    margin-bottom: 1rem;
    line-height: 1.7;
    color: #555555;
}

.contact-details p {
    font-weight: 500;
    color: #313131;
}

.contact-form {
    background: #ffffff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #313131;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e5e5e5;
    border-radius: 4px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    background-color: #ffffff;
    color: #313131;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #313131;
    box-shadow: 0 0 0 3px rgba(49, 49, 49, 0.1);
}

.form-group input:invalid,
.form-group textarea:invalid {
    border-color: #dc3545;
}

.required {
    color: #dc3545;
    font-weight: bold;
}

.error-message {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    min-height: 1.25rem;
}

.submit-button {
    background-color: #313131;
    color: #ffffff;
    padding: 1rem 2rem;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: 100%;
}

.submit-button:hover,
.submit-button:focus {
    background-color: #000000;
    outline: 2px solid #ffffff;
    outline-offset: 2px;
}

.footer {
    background-color: #313131;
    color: #ffffff;
    padding: 2rem 0;
    margin-top: auto;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: #ffffff;
}

.footer-section p {
    margin-bottom: 0.5rem;
    color: #cccccc;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #cccccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover,
.footer-section ul li a:focus {
    color: #ffffff;
    outline: 1px solid #ffffff;
    outline-offset: 2px;
}

.footer-bottom {
    border-top: 1px solid #555555;
    padding-top: 1rem;
    text-align: center;
}

.footer-bottom p {
    color: #cccccc;
    margin: 0;
}

.privacy-link {
    color: #cccccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.privacy-link:hover,
.privacy-link:focus {
    color: #ffffff;
    outline: 1px solid #ffffff;
    outline-offset: 2px;
}

.accessibility-link {
    color: #cccccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.accessibility-link:hover,
.accessibility-link:focus {
    color: #ffffff;
    outline: 1px solid #ffffff;
    outline-offset: 2px;
}

.terms-link {
    color: #cccccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.terms-link:hover,
.terms-link:focus {
    color: #ffffff;
    outline: 1px solid #ffffff;
    outline-offset: 2px;
}

.privacy-hero,
.accessibility-hero,
.terms-hero {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 120px 0 80px;
    text-align: center;
}

.privacy-hero h1,
.accessibility-hero h1,
.terms-hero h1 {
    font-size: 3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #313131;
}

.privacy-hero p,
.accessibility-hero p,
.terms-hero p {
    font-size: 1.1rem;
    color: #666666;
}

.privacy-content,
.accessibility-content,
.terms-content {
    padding: 80px 0;
    background-color: #ffffff;
}

.privacy-section,
.accessibility-section,
.terms-section {
    margin-bottom: 3rem;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #313131;
}

.privacy-section h2,
.accessibility-section h2,
.terms-section h2 {
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #313131;
    text-align: left;
}

.privacy-section h3,
.accessibility-section h3,
.terms-section h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 1.5rem 0 1rem;
    color: #313131;
}

.privacy-section p,
.accessibility-section p,
.terms-section p {
    margin-bottom: 1rem;
    line-height: 1.7;
    color: #555555;
}

.privacy-section ul,
.accessibility-section ul,
.terms-section ul {
    margin: 1rem 0;
    padding-left: 2rem;
}

.privacy-section li,
.accessibility-section li,
.terms-section li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
    color: #555555;
}

.privacy-section strong,
.accessibility-section strong,
.terms-section strong {
    color: #313131;
    font-weight: 600;
}

.contact-info {
    background: #ffffff;
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid #e5e5e5;
    margin-top: 1rem;
}

.contact-info p {
    margin-bottom: 0.5rem;
    color: #313131;
}

.contact-info p:last-child {
    margin-bottom: 0;
}

.logo h1 a {
    color: #313131;
    text-decoration: none;
    transition: color 0.3s ease;
}

.logo h1 a:hover,
.logo h1 a:focus {
    color: #000000;
    outline: 2px solid #313131;
    outline-offset: 2px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .hero h2 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    section h2 {
        font-size: 2rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .container {
        padding: 0 1rem;
    }

    .nav-container {
        padding: 0 1rem;
    }

    .hero-content {
        padding: 0 1rem;
    }
}

@media (max-width: 480px) {
    .hero {
        height: 100vh;
    }

    section {
        padding: 60px 0;
    }

    .practice-grid,
    .attorneys-grid,
    .news-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .hero h2 {
        font-size: 1.75rem;
    }

    section h2 {
        font-size: 1.75rem;
    }
}

/* Accessibility: Focus Management */
html {
    scroll-behavior: smooth;
}

a:focus,
button:focus,
input:focus,
textarea:focus,
select:focus {
    outline: 2px solid #313131;
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .hero::before {
        background-color: rgba(0, 0, 0, 0.5);
    }
    
    .cta-button {
        border: 2px solid #ffffff;
    }
    
    .nav-menu a:hover,
    .nav-menu a:focus {
        background-color: #000000;
        color: #ffffff;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* Print styles */
@media print {
    .header,
    .footer,
    .nav-toggle,
    .skip-link {
        display: none;
    }
    
    .hero {
        height: auto;
        padding: 2rem 0;
    }
    
    .hero::before {
        display: none;
    }
    
    .hero h2,
    .hero p {
        color: #000000;
        text-shadow: none;
    }
    
    .cta-button {
        background-color: #000000;
        color: #ffffff;
        border: 1px solid #000000;
    }
} 