/* --- Global Styles --- */
:root {
    --primary-color: #003366; /* Deep Navy Blue for Trust/Authority */
    --secondary-color: #C5A358; /* Muted Gold for Elegance accent */
    --text-dark: #333333;
    --text-light: #f4f4f4;
    --bg-light: #ffffff;
    --bg-offwhite: #f9f9f9;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

body {
    margin: 0;
    padding: 0;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-light);
}

/* --- Typography --- */
h1, h2, h3 {
    font-family: Georgia, 'Times New Roman', Times, serif; /* Serif font for headings looks professional/legal */
    color: var(--primary-color);
    margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
p { margin-bottom: 1.5rem; }

.container {
    width: 90%;
    max-width: 1100px;
    margin: auto;
    overflow: hidden;
    padding: 20px;
}

/* --- Header & Navi --- */
header {
    background: var(--primary-color);
    color: var(--text-light);
    padding-top: 20px;
    min-height: 70px;
    border-bottom: 4px solid var(--secondary-color);
}

header .branding {
    float: left;
}

header .branding h1 {
    color: var(--text-light);
    margin: 0;
    font-size: 1.8rem;
}

header nav {
    float: right;
    margin-top: 10px;
}

header nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

header nav li {
    display: inline;
    margin-left: 20px;
}

header nav a {
    color: var(--text-light);
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.9rem;
    font-weight: bold;
}

header nav a:hover, header nav a.current {
    color: var(--secondary-color);
}

/* --- Hero Image Sections --- */
.hero {
    background-size: cover;
    background-position: center;
    height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--text-light);
    padding: 0 20px;
    position: relative;
}
/* Dark overlay on hero images to make text readable */
.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 51, 102, 0.7);
    z-index: 1;
}
.hero-content {
    z-index: 2;
    max-width: 800px;
}

.hero h1 { color: var(--secondary-color); font-size: 3rem; margin-bottom: 10px;}
.hero p { font-size: 1.2rem; }

/* Homepage Specific Hero Image - Family focus */
.home-hero { background-image: url('https://images.unsplash.com/photo-1484820540004-1426751b6aa7?auto=format&fit=crop&w=1350&q=80'); }
/* General Page Hero Image - Legal focus */
.page-hero { background-image: url('https://images.unsplash.com/photo-1589829545856-d10d557cf95f?auto=format&fit=crop&w=1350&q=80'); height: 250px; }


/* --- Standard Sections --- */
.intro-text {
    padding: 40px 0;
    text-align: center;
    max-width: 800px;
    margin: auto;
}

/* 4-column entry points grid (Homepage) */
.grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 30px;
}
.grid-box {
    background: var(--bg-offwhite);
    padding: 25px;
    border-top: 3px solid var(--secondary-color);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.grid-box h3 { color: var(--primary-color); font-size: 1.2rem;}

/* Section with side-by-side image/text */
.split-section {
    display: flex;
    flex-wrap: wrap;
    margin: 40px 0;
    background: var(--bg-offwhite);
}
.split-text { flex: 2; padding: 40px; }
.split-image { flex: 1; min-height: 300px; background-size: cover; background-position: center;}
.about-img { background-image: url('https://images.unsplash.com/photo-1521791136064-7984c1d71476?auto=format&fit=crop&w=1350&q=80'); } /* Handshake image */

/* Practice Areas List Styles */
.practice-item {
    background: var(--bg-white);
    padding: 25px;
    margin-bottom: 20px;
    border-left: 5px solid var(--primary-color);
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

/* Lists with custom bullet points */
ul.checked-list {
    list-style: none;
    padding: 0;
}
ul.checked-list li {
    margin-bottom: 15px;
    padding-left: 25px;
    position: relative;
}
/* Using CSS standard content for a checkmark */
ul.checked-list li::before {
    content: '\2713'; /* Checkmark unicode */
    color: var(--secondary-color);
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* --- Contact Page Styles --- */
.contact-box {
    background: var(--primary-color);
    color: var(--text-light);
    padding: 40px;
    text-align: center;
    margin-top: 30px;
    border-radius: 5px;
}
.contact-box h2 { color: var(--secondary-color); }
.contact-box a { color: var(--secondary-color); text-decoration: none; font-weight: bold;}

/* --- Footer --- */
footer {
    background: var(--text-dark);
    color: var(--text-light);
    text-align: center;
    padding: 20px;
    margin-top: 40px;
    font-size: 0.9rem;
}

/* --- Mobile Responsive Adjustments --- */
@media(max-width: 768px) {
    header .branding, header nav {
        float: none;
        text-align: center;
        width: 100%;
    }
    header nav { margin-top: 20px; }
    header nav li { display: block; margin: 10px 0; }
    .hero h1 { font-size: 2rem;}
    .split-text, .split-image { flex: 100%; }
}