/* CSS Variables - Teal/Calming Color Scheme */
:root {
    --primary: #2a7d7d;
    --primary-hover: #1f5f5f;
    --primary-light: #3a9a9a;
    --secondary: #1a2e3b;
    --accent: #d4a84b;
    --text: #2d2d2d;
    --text-light: #666;
    --text-muted: #888;
    --bg: #ffffff;
    --bg-alt: #f5f9f9;
    --bg-dark: #1a2e3b;
    --border: #e0e7e7;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --radius: 0.6em;
    --radius-sm: 0.35em;
    --transition: all 0.3s ease;
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 700;
    line-height: 1.2;
    color: var(--secondary);
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

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

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-decoration: none;
}

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

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

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

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

.btn-outline {
    background: transparent;
    color: white;
    border: 2px solid white;
}

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

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.btn-block {
    width: 100%;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

.logo-img {
    height: 50px;
    width: auto;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    color: var(--text);
    font-weight: 500;
}

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

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--text);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    padding: 10rem 0 5rem;
    background: linear-gradient(135deg, var(--secondary) 0%, #2d4a5e 100%);
    color: white;
}

.hero-content {
    max-width: 700px;
}

.hero-label {
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent);
    margin-bottom: 1rem;
}

.hero h1 {
    font-size: 3rem;
    color: white;
    margin-bottom: 1.5rem;
}

.hero h1 .highlight {
    color: var(--accent);
}

.hero-text {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-note {
    margin-top: 1.5rem;
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Trust Bar */
.trust-bar {
    background: var(--primary);
    padding: 2rem 0;
}

.trust-items {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 2rem;
}

.trust-item {
    text-align: center;
    color: white;
}

.trust-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    font-family: 'Playfair Display', serif;
}

.trust-label {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Section Styles */
.section-label {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-desc {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* About Section */
.about {
    padding: 5rem 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.about-content p {
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

.about-highlights {
    list-style: none;
    margin-top: 2rem;
}

.about-highlights li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.about-highlights svg {
    color: var(--primary);
    flex-shrink: 0;
}

.attorney-photo {
    width: 100%;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
}

/* Practice Areas */
.practice-areas {
    padding: 5rem 0;
    background: var(--bg-alt);
}

.practice-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.practice-card {
    background: white;
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.practice-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.practice-icon {
    width: 60px;
    height: 60px;
    background: var(--bg-alt);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.practice-icon svg {
    color: var(--primary);
}

.practice-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.practice-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.practice-list {
    list-style: none;
    margin-bottom: 1.5rem;
}

.practice-list li {
    padding: 0.4rem 0;
    padding-left: 1.25rem;
    position: relative;
    color: var(--text-light);
    font-size: 0.95rem;
}

.practice-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
}

/* Why Choose Us */
.why-choose {
    padding: 5rem 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.feature-card {
    text-align: center;
    padding: 2rem;
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: var(--bg-alt);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.feature-icon svg {
    color: var(--primary);
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.feature-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Service Areas */
.service-areas {
    padding: 5rem 0;
    background: var(--bg-alt);
}

.areas-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.area-group {
    background: white;
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.area-group h4 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.area-group ul {
    list-style: none;
}

.area-group li {
    padding: 0.4rem 0;
    color: var(--text-light);
}

/* Contact Section */
.contact {
    padding: 5rem 0;
}

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

.contact-info h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.contact-info > p {
    color: var(--text-light);
    margin-bottom: 2rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.contact-item svg {
    color: var(--primary);
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.contact-item strong {
    display: block;
    margin-bottom: 0.25rem;
}

.contact-item span {
    display: block;
    color: var(--text-light);
    font-size: 0.95rem;
}

.contact-item a {
    color: var(--primary);
    font-size: 1.1rem;
    font-weight: 600;
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--bg-alt);
    padding: 2rem;
    border-radius: var(--radius);
}

.contact-form h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(42, 125, 125, 0.1);
}

.form-note {
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 1rem;
}

/* Footer */
.footer {
    background: var(--bg-dark);
    color: white;
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand p {
    color: rgba(255,255,255,0.7);
    margin-top: 1rem;
}

.footer-logo-img {
    height: 45px;
    width: auto;
}

.footer h4 {
    color: white;
    font-size: 1rem;
    margin-bottom: 1rem;
}

.footer-links ul {
    list-style: none;
}

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

.footer-links a {
    color: rgba(255,255,255,0.7);
}

.footer-links a:hover {
    color: white;
}

.footer-contact p {
    color: rgba(255,255,255,0.7);
    margin-bottom: 0.5rem;
}

.footer-contact a {
    color: var(--accent);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
}

.footer-bottom p {
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.footer-bottom a {
    color: rgba(255,255,255,0.6);
}

.footer-bottom a:hover {
    color: white;
}

.disclaimer {
    font-size: 0.8rem;
    max-width: 700px;
    margin: 0.5rem auto 0;
}

/* Page Hero (for subpages) */
.page-hero {
    padding: 8rem 0 3rem;
    background: linear-gradient(135deg, var(--secondary) 0%, #2d4a5e 100%);
    color: white;
}

.page-hero h1 {
    font-size: 2.5rem;
    color: white;
    margin-bottom: 0.5rem;
}

.hero-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
}

.breadcrumb {
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.breadcrumb a {
    color: rgba(255,255,255,0.7);
}

.breadcrumb a:hover {
    color: white;
}

.breadcrumb span {
    margin: 0 0.5rem;
    color: rgba(255,255,255,0.5);
}

/* Content Pages */
.location-content {
    padding: 4rem 0;
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 3rem;
}

.main-content h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.main-content h3 {
    font-size: 1.5rem;
    margin: 2rem 0 1rem;
}

.main-content h4 {
    font-size: 1.2rem;
    margin: 1.5rem 0 0.75rem;
}

.main-content p {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.service-list {
    list-style: none;
    margin-bottom: 1.5rem;
}

.service-list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-light);
}

.service-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.9rem;
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
}

/* Sidebar */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.sidebar-cta {
    background: var(--primary);
    color: white;
    padding: 2rem;
    border-radius: var(--radius);
    text-align: center;
}

.sidebar-cta h3 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.sidebar-cta p {
    opacity: 0.9;
    margin-bottom: 1.5rem;
}

.sidebar-cta .btn {
    background: white;
    color: var(--primary);
}

.sidebar-cta .btn:hover {
    background: var(--accent);
    color: var(--secondary);
}

.cta-note {
    font-size: 0.85rem;
    margin-top: 1rem;
    opacity: 0.8;
}

.sidebar-practice,
.sidebar-areas {
    background: var(--bg-alt);
    padding: 1.5rem;
    border-radius: var(--radius);
}

.sidebar-practice h4,
.sidebar-areas h4 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.sidebar-practice ul,
.sidebar-areas ul {
    list-style: none;
}

.sidebar-practice li,
.sidebar-areas li {
    margin-bottom: 0.5rem;
}

.sidebar-practice a,
.sidebar-areas a {
    color: var(--text-light);
}

.sidebar-practice a:hover,
.sidebar-areas a:hover {
    color: var(--primary);
}

/* Highlight Boxes */
.highlight-box {
    background: var(--bg-alt);
    border-left: 4px solid var(--primary);
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 0 var(--radius) var(--radius) 0;
}

.highlight-box h4 {
    margin-bottom: 0.75rem;
    color: var(--primary);
}

.highlight-box p {
    margin-bottom: 0;
}

/* Reason Cards */
.reasons-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.reason-card {
    background: var(--bg-alt);
    padding: 1.5rem;
    border-radius: var(--radius);
}

.reason-card h4 {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.reason-card p {
    margin-bottom: 0;
    font-size: 0.95rem;
}

/* FAQ Section */
.faq-section {
    margin: 2rem 0;
}

.faq-item {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border);
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-item h4 {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.faq-item p {
    margin-bottom: 0;
}

/* Location CTA */
.location-cta {
    background: var(--primary);
    padding: 4rem 0;
    text-align: center;
    color: white;
}

.location-cta h2 {
    color: white;
    margin-bottom: 1rem;
}

.location-cta p {
    opacity: 0.9;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Mobile Responsive */
@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-image {
        order: -1;
    }

    .practice-grid {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .areas-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }

    .content-grid {
        grid-template-columns: 1fr;
    }

    .sidebar {
        order: -1;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 1rem;
        box-shadow: var(--shadow);
        gap: 0;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links a {
        display: block;
        padding: 0.75rem;
        border-bottom: 1px solid var(--border);
    }

    .mobile-menu-btn {
        display: flex;
    }

    .hero h1 {
        font-size: 2.25rem;
    }

    .hero {
        padding: 8rem 0 4rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .reasons-grid {
        grid-template-columns: 1fr;
    }

    .hero-cta {
        flex-direction: column;
    }

    .hero-cta .btn {
        width: 100%;
    }
}

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

.animate-in {
    animation: fadeInUp 0.6s ease forwards;
}
