/* ===================================
   Wrongful Death Attorney Website
   Dayton, Ohio - Terry W. Posey
   ================================== */

/* CSS Variables */
:root {
    --primary-color: #1a4d70;     /* Deep blue - trust, professionalism */
    --secondary-color: #8b6f47;   /* Muted gold - dignity, respect */
    --accent-color: #c44536;      /* Muted red - urgency, justice */
    --text-dark: #2c2c2c;
    --text-light: #666666;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --border-color: #e0e0e0;
    
    --font-heading: 'Merriweather', Georgia, serif;
    --font-body: 'Open Sans', Arial, sans-serif;
    
    --transition: all 0.3s ease;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.12);
    --shadow-lg: 0 8px 24px rgba(0,0,0,0.15);
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    line-height: 1.7;
    color: var(--text-dark);
    background: var(--bg-white);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.3;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

.lead {
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--accent-color);
}

/* Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header & Navigation */
.header {
    background: var(--bg-white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.logo h1 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin: 0;
}

.logo .location {
    display: block;
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--secondary-color);
    font-family: var(--font-body);
}

.nav-menu {
    display: flex;
    gap: 2rem;
    list-style: none;
    align-items: center;
}

.nav-link {
    font-weight: 600;
    color: var(--text-dark);
    padding: 0.5rem 0;
    border-bottom: 2px solid transparent;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
    border-bottom-color: var(--accent-color);
}

.btn-contact {
    background: var(--accent-color);
    color: var(--bg-white) !important;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    font-weight: 600;
    border: none;
}

.btn-contact:hover {
    background: #a33929;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, #2a5d84 100%);
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(26, 77, 112, 0.85);
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
    text-align: center;
    color: var(--bg-white);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    margin-bottom: 2rem;
    border: 1px solid rgba(255,255,255,0.2);
}

.badge-icon {
    font-size: 1.25rem;
}

.hero-title {
    font-size: 3rem;
    color: var(--bg-white);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-title .highlight {
    color: #ffd700;
    display: block;
    margin-top: 0.5rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255,255,255,0.9);
    max-width: 700px;
    margin: 0 auto 2.5rem;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.btn-primary,
.btn-primary-large {
    background: var(--accent-color);
    color: var(--bg-white);
    padding: 1rem 2rem;
    border-radius: 4px;
    font-weight: 600;
    font-size: 1.1rem;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    display: inline-block;
}

.btn-primary:hover,
.btn-primary-large:hover {
    background: #a33929;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(196, 69, 54, 0.4);
}

.btn-phone,
.btn-phone-large {
    background: var(--bg-white);
    color: var(--primary-color);
    padding: 1rem 2rem;
    border-radius: 4px;
    font-weight: 600;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-phone:hover,
.btn-phone-large:hover {
    background: #f0f0f0;
    color: var(--accent-color);
}

.phone-icon {
    font-size: 1.25rem;
}

.hero-note {
    color: rgba(255,255,255,0.8);
    font-size: 0.95rem;
}

/* Sections */
section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 0;
}

/* Understanding Section */
.understanding-section {
    background: var(--bg-light);
}

.understanding-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.understanding-card {
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: var(--transition);
}

.understanding-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.understanding-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Why Choose Section */
.why-choose-section {
    background: var(--primary-color);
    color: var(--bg-white);
}

.why-choose-section .section-title {
    color: var(--bg-white);
}

.choose-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
}

.choose-item {
    text-align: center;
}

.item-number {
    font-size: 3.5rem;
    font-weight: 700;
    color: #ffd700;
    font-family: var(--font-heading);
    margin-bottom: 0.5rem;
}

.item-label {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--bg-white);
    margin-bottom: 0.75rem;
}

.choose-item p {
    color: rgba(255,255,255,0.9);
}

/* Cases Overview */
.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.case-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 8px;
    border: 2px solid var(--border-color);
    text-align: center;
    transition: var(--transition);
}

.case-card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

.case-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.case-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.case-link {
    display: inline-block;
    margin-top: 1rem;
    color: var(--accent-color);
    font-weight: 600;
}

.cases-cta {
    text-align: center;
    padding: 3rem;
    background: var(--bg-light);
    border-radius: 8px;
}

.cases-cta p {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
}

.btn-secondary {
    background: var(--bg-white);
    color: var(--primary-color);
    padding: 1rem 2rem;
    border: 2px solid var(--primary-color);
    border-radius: 4px;
    font-weight: 600;
    display: inline-block;
    transition: var(--transition);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--bg-white);
}

/* Compensation Section */
.compensation-section {
    background: var(--bg-light);
}

.compensation-text h2 {
    margin-bottom: 1.5rem;
}

.compensation-list {
    margin: 3rem 0;
}

.comp-item {
    display: flex;
    gap: 2rem;
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-sm);
}

.comp-icon {
    font-size: 3rem;
    flex-shrink: 0;
}

.comp-details h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.comp-details ul {
    list-style: none;
    padding-left: 0;
}

.comp-details li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.comp-details li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: 700;
}

/* Ohio Law Section */
.ohio-law-section {
    background: var(--bg-white);
}

.law-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    align-items: center;
}

.law-image {
    background: linear-gradient(135deg, var(--primary-color), #2a5d84);
    border-radius: 8px;
    padding: 3rem;
    text-align: center;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.law-badge {
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 8px;
    border: 2px solid rgba(255,255,255,0.3);
}

.law-badge .badge-icon {
    font-size: 4rem;
    display: block;
    margin-bottom: 1rem;
}

.law-badge span:last-child {
    color: var(--bg-white);
    font-weight: 600;
    font-size: 1.25rem;
}

.law-points {
    margin: 2rem 0;
}

.law-point {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: 8px;
}

.point-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
}

.law-point h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.law-point strong {
    color: var(--accent-color);
}

/* Process Section */
.process-section {
    background: var(--bg-light);
}

.process-timeline {
    max-width: 900px;
    margin: 0 auto;
}

.process-step {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    position: relative;
}

.process-step::before {
    content: "";
    position: absolute;
    left: 30px;
    top: 65px;
    bottom: -65px;
    width: 2px;
    background: var(--border-color);
}

.process-step:last-child::before {
    display: none;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: var(--bg-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    flex-shrink: 0;
    box-shadow: var(--shadow-md);
}

.step-content {
    flex: 1;
    padding: 0.5rem 0;
}

.step-content h3 {
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, #2a5d84 100%);
    color: var(--bg-white);
    text-align: center;
}

.cta-section h2 {
    color: var(--bg-white);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.cta-section p {
    font-size: 1.25rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 2.5rem;
}

.cta-buttons {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.btn-primary-large {
    padding: 1.25rem 2.5rem;
    font-size: 1.25rem;
}

.btn-phone-large {
    padding: 1.25rem 2.5rem;
    font-size: 1.25rem;
}

.cta-note {
    color: rgba(255,255,255,0.8);
    font-size: 1rem;
}

/* Footer */
.footer {
    background: #1a1a1a;
    color: #cccccc;
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer h3, .footer h4 {
    color: var(--bg-white);
    margin-bottom: 1.5rem;
}

.footer ul {
    list-style: none;
}

.footer li {
    margin-bottom: 0.75rem;
}

.footer a {
    color: #cccccc;
}

.footer a:hover {
    color: var(--bg-white);
}

.footer-badge {
    background: rgba(255,255,255,0.05);
    padding: 1rem;
    border-radius: 4px;
    margin-top: 1rem;
}

.footer-badge strong {
    color: #ffd700;
}

.footer .hours {
    color: #ffd700;
    font-weight: 600;
    margin-top: 0.5rem;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 2rem;
    text-align: center;
}

.footer-bottom p {
    margin: 0.5rem 0;
    font-size: 0.9rem;
    color: #999;
}

.disclaimer {
    font-size: 0.85rem;
    font-style: italic;
}

/* Responsive */
@media (max-width: 1024px) {
    .law-grid {
        grid-template-columns: 1fr;
    }
    
    .law-image {
        min-height: 300px;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 14px;
    }
    
    .nav-menu {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-buttons,
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .comp-item {
        flex-direction: column;
        text-align: center;
    }
    
    .comp-icon {
        font-size: 4rem;
    }
    
    .law-point {
        flex-direction: column;
        text-align: center;
    }
    
    .process-step {
        flex-direction: column;
        text-align: center;
    }
    
    .process-step::before {
        display: none;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .nav-container {
        padding: 1rem;
    }
    
    h1 { font-size: 1.75rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.25rem; }
    
    .hero-content {
        padding: 3rem 1rem;
    }
    
    section {
        padding: 3rem 0;
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }

.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }
