/* 1800OurLawyer.com - Professional Law Firm Stylesheet */

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

:root {
    --navy: #1a2a4a;
    --navy-light: #2a3a5a;
    --navy-dark: #0f1a30;
    --gold: #c9a84c;
    --gold-light: #d4b96a;
    --gold-dark: #a8893a;
    --white: #ffffff;
    --gray-light: #f5f5f5;
    --gray: #e0e0e0;
    --gray-dark: #666666;
    --text: #333333;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Georgia', 'Times New Roman', serif;
    line-height: 1.6;
    color: var(--text);
    background: var(--white);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Georgia', 'Times New Roman', serif;
    color: var(--navy);
    line-height: 1.3;
    margin-bottom: 0.5em;
}

p {
    font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    margin-bottom: 1em;
}

a {
    color: var(--gold-dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

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

/* Top Bar */
.top-bar {
    background: var(--navy-dark);
    color: var(--white);
    padding: 8px 0;
    font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    font-size: 0.85rem;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar a {
    color: var(--gold-light);
}

.top-bar a:hover {
    color: var(--gold);
}

/* Header */
header {
    background: var(--navy);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.header-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    color: var(--white);
    font-size: 1.5rem;
    font-weight: bold;
    text-decoration: none;
}

.logo span {
    color: var(--gold);
}

/* Navigation */
nav ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 5px;
}

nav ul li {
    position: relative;
}

nav ul li a {
    color: var(--white);
    padding: 10px 15px;
    display: block;
    font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: background 0.3s ease, color 0.3s ease;
    border-radius: 3px;
}

nav ul li a:hover,
nav ul li a.active {
    background: var(--gold);
    color: var(--navy);
}

/* Dropdown */
nav ul li .dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--navy);
    min-width: 220px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    border-top: 3px solid var(--gold);
    z-index: 1001;
    flex-direction: column;
    padding: 5px 0;
}

nav ul li:hover .dropdown {
    display: flex;
}

nav ul li .dropdown li a {
    padding: 10px 20px;
    font-size: 0.85rem;
    border-radius: 0;
    white-space: nowrap;
}

nav ul li .dropdown li a:hover {
    background: var(--navy-light);
    color: var(--gold);
}

/* Mobile Navigation */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.nav-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--white);
    margin: 5px 0;
    transition: 0.3s;
}

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

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
    color: var(--white);
    padding: 80px 0;
    text-align: center;
}

.hero h1 {
    color: var(--white);
    font-size: 2.8rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 30px;
    opacity: 0.9;
}

.hero-small {
    padding: 50px 0;
}

.hero-small h1 {
    font-size: 2.2rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 4px;
    font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-decoration: none;
}

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

.btn-primary:hover {
    background: var(--gold-light);
    color: var(--navy);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(201, 168, 76, 0.4);
}

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

.btn-secondary:hover {
    background: var(--gold);
    color: var(--navy);
}

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

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

/* Sections */
.section {
    padding: 70px 0;
}

.section-gray {
    background: var(--gray-light);
}

.section-navy {
    background: var(--navy);
    color: var(--white);
}

.section-navy h2,
.section-navy h3 {
    color: var(--white);
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
}

.section-title p {
    color: var(--gray-dark);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--gold);
    margin: 20px auto 0;
}

/* Grid Layouts */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

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

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

/* Cards */
.card {
    background: var(--white);
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--gold);
}

/* Practice Area Cards */
.practice-card {
    border-top: 4px solid var(--gold);
    text-align: center;
}

.practice-card h3 a {
    color: var(--navy);
}

.practice-card h3 a:hover {
    color: var(--gold-dark);
}

/* Attorney Cards */
.attorney-card {
    text-align: center;
}

.attorney-card .attorney-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: var(--gray);
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--navy);
}

.attorney-card h3 {
    font-size: 1.2rem;
}

.attorney-card .title {
    color: var(--gold-dark);
    font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

/* Testimonials */
.testimonial {
    background: var(--white);
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    position: relative;
}

.testimonial::before {
    content: '\201C';
    font-size: 4rem;
    color: var(--gold);
    position: absolute;
    top: 10px;
    left: 20px;
    opacity: 0.3;
}

.testimonial p {
    font-style: italic;
    margin-bottom: 15px;
    padding-top: 20px;
}

.testimonial .author {
    font-weight: bold;
    color: var(--navy);
    font-style: normal;
}

.testimonial .stars {
    color: var(--gold);
    margin-bottom: 10px;
}

/* Forms */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--navy);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--gray);
    border-radius: 4px;
    font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.1);
}

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

/* CTA Banner */
.cta-banner {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
    color: var(--white);
    padding: 60px 0;
    text-align: center;
}

.cta-banner h2 {
    color: var(--white);
    font-size: 2rem;
    margin-bottom: 15px;
}

.cta-banner p {
    font-size: 1.1rem;
    margin-bottom: 25px;
    opacity: 0.9;
}

/* FAQ */
.faq-item {
    border-bottom: 1px solid var(--gray);
    padding: 20px 0;
}

.faq-item h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    cursor: pointer;
    color: var(--navy);
}

.faq-item p {
    color: var(--gray-dark);
}

/* Blog */
.blog-card {
    overflow: hidden;
    border-radius: 8px;
}

.blog-card .blog-image {
    height: 200px;
    background: var(--gray);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-dark);
}

.blog-card .blog-content {
    padding: 25px;
}

.blog-card .blog-date {
    color: var(--gray-dark);
    font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    font-size: 0.85rem;
    margin-bottom: 10px;
}

/* Footer */
footer {
    background: var(--navy-dark);
    color: var(--white);
    padding: 60px 0 0;
}

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

.footer-about p {
    opacity: 0.8;
    font-size: 0.9rem;
}

.footer-about .logo {
    display: block;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

footer h4 {
    color: var(--gold);
    font-size: 1rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

footer ul {
    list-style: none;
}

footer ul li {
    margin-bottom: 10px;
}

footer ul li a {
    color: rgba(255,255,255,0.7);
    font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

footer ul li a:hover {
    color: var(--gold);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 20px 0;
    text-align: center;
    font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    font-size: 0.85rem;
    opacity: 0.7;
}

/* Feature List */
.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    padding: 8px 0 8px 25px;
    position: relative;
    font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
}

.feature-list li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    color: var(--gold);
    font-weight: bold;
}

/* Content Pages */
.content-page {
    padding: 60px 0;
}

.content-page h2 {
    font-size: 1.8rem;
    margin-top: 30px;
    margin-bottom: 15px;
}

.content-page h3 {
    font-size: 1.4rem;
    margin-top: 25px;
    margin-bottom: 12px;
}

.content-page ul,
.content-page ol {
    margin-left: 20px;
    margin-bottom: 20px;
    font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
}

.content-page li {
    margin-bottom: 8px;
}

/* Two Column Layout */
.two-col {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.sidebar {
    background: var(--gray-light);
    padding: 30px;
    border-radius: 8px;
    height: fit-content;
}

.sidebar h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.sidebar ul {
    list-style: none;
}

.sidebar ul li {
    padding: 8px 0;
    border-bottom: 1px solid var(--gray);
}

.sidebar ul li a {
    font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    font-size: 0.9rem;
}

/* Stats */
.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.stat-item h3 {
    font-size: 2.5rem;
    color: var(--gold);
    margin-bottom: 5px;
}

.stat-item p {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

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

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

    .two-col {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }

    nav ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--navy);
        padding: 20px;
        box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    }

    nav ul.active {
        display: flex;
    }

    nav ul li .dropdown {
        position: static;
        box-shadow: none;
        border-top: none;
        padding-left: 20px;
    }

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

    .hero-small h1 {
        font-size: 1.6rem;
    }

    .grid-2,
    .grid-3 {
        grid-template-columns: 1fr;
    }

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

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

    .header-main {
        padding: 10px 0;
    }

    .top-bar .container {
        flex-direction: column;
        gap: 5px;
    }

    .section {
        padding: 40px 0;
    }

    .section-title h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .btn {
        padding: 12px 24px;
        font-size: 0.9rem;
    }

    .hero {
        padding: 50px 0;
    }
}
