﻿/* ===== BASE RESET & TYPOGRAPHY ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --primary: #1a2a3a;
    --primary-light: #2c3e50;
    --accent: #8b6914;
    --accent-light: #a07d1e;
    --text: #333;
    --text-light: #555;
    --bg: #fff;
    --bg-alt: #f8f7f5;
    --bg-dark: #1a2a3a;
    --border: #e0ddd8;
    --max-width: 900px;
}

html { font-size: 17px; scroll-behavior: smooth; }

body {
    font-family: 'Georgia', 'Times New Roman', serif;
    color: var(--text);
    line-height: 1.75;
    background: var(--bg);
}

h1, h2, h3, h4 {
    font-family: 'Georgia', serif;
    color: var(--primary);
    line-height: 1.3;
    font-weight: normal;
}

h1 { font-size: 2rem; margin-bottom: 1.5rem; }
h2 { font-size: 1.5rem; margin: 2.5rem 0 1rem; }
h3 { font-size: 1.2rem; margin: 2rem 0 0.75rem; }

p { margin-bottom: 1rem; }

a { color: var(--accent); text-decoration: underline; }
a:hover { color: var(--accent-light); }

/* Nav/header/footer links: no underline */
header a, nav a, footer a, .sidebar a, .breadcrumb a { text-decoration: none; }
header a:hover, nav a:hover, footer a:hover, .sidebar a:hover { text-decoration: none; }

/* ===== HEADER & NAV ===== */
header {
    background: var(--bg-dark);
    border-bottom: 3px solid var(--accent);
    padding: 0;
}

.header-top {
    max-width: 1100px;
    margin: 0 auto;
    padding: 1.5rem 2rem 0.75rem;
    text-align: center;
}

.header-top h1 {
    color: #fff;
    font-size: 1.6rem;
    letter-spacing: 0.05em;
    margin-bottom: 0.25rem;
}

.header-top h1 a { color: #fff; text-decoration: none; }
.header-top h1 a:hover { color: var(--accent); }

.header-top .tagline {
    color: #aaa;
    font-size: 0.85rem;
    font-style: italic;
}

nav {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
}

nav ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0;
}

nav ul li a {
    display: block;
    color: #ccc;
    padding: 0.6rem 0.65rem;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    white-space: nowrap;
    transition: color 0.2s;
    font-family: Arial, Helvetica, sans-serif;
}

nav ul li a:hover,
nav ul li a.active { color: var(--accent); }

/* Dropdown */
nav ul li { position: relative; }

nav ul li ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--bg-dark);
    min-width: 260px;
    z-index: 100;
    border-top: 2px solid var(--accent);
    flex-direction: column;
}

nav ul li:hover > ul { display: flex; }

nav ul li ul li a {
    padding: 0.6rem 1.25rem;
    font-size: 0.75rem;
    white-space: nowrap;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

/* ===== MAIN CONTENT ===== */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 3rem 2rem;
}

.page-header {
    background: var(--bg-alt);
    border-bottom: 1px solid var(--border);
    padding: 2.5rem 2rem;
    text-align: center;
}

.page-header h1 { margin-bottom: 0.5rem; }

.page-header .subtitle {
    color: var(--text-light);
    font-style: italic;
    font-size: 1rem;
}

.breadcrumb {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 1rem 2rem 0;
    font-size: 0.8rem;
    color: #999;
    font-family: Arial, sans-serif;
}

.breadcrumb a { color: #999; }
.breadcrumb a:hover { color: var(--accent); }

/* Content sections */
.content-section { margin-bottom: 2.5rem; }

.content-section h2 {
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border);
}

/* Sidebar layout for practice area pages */
.page-layout {
    max-width: 1100px;
    margin: 0 auto;
    padding: 3rem 2rem;
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 3rem;
}

.sidebar {
    font-size: 0.85rem;
    font-family: Arial, sans-serif;
}

.sidebar h3,
.sidebar h4 {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--primary);
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--accent);
    font-family: Arial, sans-serif;
    margin-top: 0;
}

.sidebar ul { list-style: none; margin-bottom: 2rem; }

.sidebar ul li a {
    display: block;
    padding: 0.4rem 0;
    color: var(--text-light);
    border-bottom: 1px solid var(--border);
    font-size: 0.82rem;
}

.sidebar ul li a:hover { color: var(--accent); }
.sidebar ul li a.active { color: var(--accent); font-weight: bold; }

.sidebar .contact-box {
    background: var(--bg-alt);
    border: 1px solid var(--border);
    padding: 1.25rem;
    margin-top: 1.5rem;
}

.sidebar .contact-box p {
    margin-bottom: 0.5rem;
    font-size: 0.82rem;
    color: var(--text-light);
}

.sidebar .contact-box .phone {
    font-size: 1.1rem;
    color: var(--primary);
    font-weight: bold;
    font-family: Georgia, serif;
}

/* ===== INTAKE FORM ===== */
.intake-form { max-width: 600px; }

.intake-form label {
    display: block;
    font-size: 0.85rem;
    font-family: Arial, sans-serif;
    color: var(--text-light);
    margin-bottom: 0.3rem;
    margin-top: 1.25rem;
}

.intake-form input,
.intake-form select,
.intake-form textarea {
    width: 100%;
    padding: 0.6rem 0.75rem;
    border: 1px solid var(--border);
    font-family: Georgia, serif;
    font-size: 0.9rem;
    color: var(--text);
    background: var(--bg);
}

.intake-form textarea { min-height: 120px; resize: vertical; }

.intake-form input:focus,
.intake-form select:focus,
.intake-form textarea:focus {
    outline: none;
    border-color: var(--accent);
}

.intake-form button {
    margin-top: 1.5rem;
    background: var(--primary);
    color: #fff;
    border: none;
    padding: 0.75rem 2rem;
    font-family: Georgia, serif;
    font-size: 0.95rem;
    cursor: pointer;
    transition: background 0.2s;
}

.intake-form button:hover { background: var(--primary-light); }

/* ===== FOOTER ===== */
footer {
    background: var(--bg-dark);
    color: #aaa;
    border-top: 3px solid var(--accent);
    margin-top: 3rem;
}

.footer-content {
    max-width: 1100px;
    margin: 0 auto;
    padding: 2.5rem 2rem;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 2rem;
    font-size: 0.82rem;
    font-family: Arial, sans-serif;
}

.footer-content h4,
.footer-content .footer-heading {
    color: #fff;
    font-size: 0.85rem;
    margin-bottom: 0.75rem;
    font-family: Arial, sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: bold;
}

.footer-content p { margin-bottom: 0.4rem; color: #aaa; }
.footer-content a { color: #aaa; }
.footer-content a:hover { color: var(--accent); }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    padding: 1rem 2rem;
    font-size: 0.75rem;
    font-family: Arial, sans-serif;
    color: #999;
}

.disclaimer {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem 1.5rem;
    font-size: 0.7rem;
    color: #999;
    font-family: Arial, sans-serif;
    line-height: 1.5;
}

/* ===== MOBILE ===== */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: #ccc;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.75rem 2rem;
}

@media (max-width: 768px) {
    html { font-size: 16px; }

    .mobile-toggle { display: block; }

    nav ul {
        display: none;
        flex-direction: column;
        width: 100%;
    }

    nav ul.open { display: flex; }

    nav ul li ul {
        position: static;
        min-width: 100%;
        border-top: none;
    }

    nav ul li ul li a { padding-left: 2.5rem; }

    .page-layout {
        grid-template-columns: 1fr;
    }

    .sidebar { order: -1; }

    .footer-content {
        grid-template-columns: 1fr;
    }

    h1 { font-size: 1.6rem; }
}
