:root {
    --forest-green: #0a261a;
    --slate-grey: #2d3436;
    --gold: #c5a059;
    --white: #ffffff;
    --off-white: #f4f7f6;
    --text-dark: #1a1a1a;
}

body {
    font-family: 'Playfair Display', serif; /* For headings */
    margin: 0;
    padding: 0;
    color: var(--text-dark);
    background-color: var(--off-white);
    line-height: 1.6;
}

h1, h2, h3 {
    color: var(--forest-green);
    font-weight: 700;
}

p, li, label, input, textarea {
    font-family: 'Inter', sans-serif; /* Modern sans-serif for tech-feel */
}

#practice, #about, #news, #contact {
    scroll-margin-top: 100px;  /* Adjust based on your nav height */
}

/* Navigation */
nav {
    background-color: var(--forest-green);
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 2px solid var(--gold);
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    text-decoration: none;  /* Removes underline */
}

.logo-text {
    color: white;
    font-size: 1.5rem;
    letter-spacing: 2px;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.logo-container img {
    height: 180px;
    filter: brightness(0) saturate(200%) invert(1) contrast(200%);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--white);
    text-decoration: none;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--gold);
}

/* Hero Section */
.hero {
    height: 40vh;
    background: linear-gradient(rgba(10, 38, 26, 0.7), rgba(10, 38, 26, 0.7)), 
                url('background.jpeg') no-repeat center center/cover;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--white);
    padding: 0 10%;
}

.hero h1 {
    color: var(--white);
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin-bottom: 2rem;
}

/* Add this to your Navigation or General section */
a {
    color: inherit; /* This makes the link take the color of its parent container */
    text-decoration: none; /* Removes the default blue underline */
}

/* Specifically for your Practice Area cards */
.card p {
    color: var(--text-dark); /* Ensure the description starts as dark grey */
}

.card:hover p {
    color: var(--white); /* This ensures it turns white when you hover, as you intended */
}

/* Hero Buttons */
.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: nowrap;
}

.btn-gold, .btn-outline {
    padding: 0.8rem 1.8rem;
    text-decoration: none;
    font-weight: bold;
    border-radius: 2px;
    transition: transform 0.3s;
    display: inline-block;
}

.btn-gold {
    background-color: var(--gold);
    color: var(--forest-green);
}

.btn-outline {
    background-color: var(--gold);  /* solid gold, same as btn-gold */
    color: var(--forest-green);
}

.btn-gold:hover, .btn-outline:hover {
    transform: translateY(-3px);
}

/* Practice Areas Grid */
.section-padding {
    padding: 4rem 10%;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.card {
    background: var(--white);
    padding: 2rem;
    border-left: 4px solid var(--gold);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: 0.3s;
    text-decoration: none;
    display: block;
}

.card:hover {
    transform: translateY(-10px);
    background: var(--forest-green);
}

.card:hover h3, .card:hover p {
    color: var(--white);
}

/* News Section */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.news-item {
    background: #fff;
    border: 1px solid #ddd;
}

.news-content {
    padding: 1.5rem;
}

.news-article {
    scroll-margin-top: 90px;  /* Adjust based on your nav bar height */
}

.news-date {
    font-size: 0.8rem;
    color: var(--gold);
    text-transform: uppercase;
}

/* Contact Form */
.contact-container {
    display: flex;         /* Flexbox is still active! */
    flex-direction: column; /* Tells Flexbox to stack vertically instead of horizontally */
    align-items: center;    /* Centers the form and email on desktop, tablet, & mobile */
    gap: 1.5rem;            /* Clean spacing between the form and the email */
    width: 100%;
}

.contact-form {
    width: 100%;
    max-width: 550px;       /* Prevents the form from stretching too wide on desktop */
}

.contact-info {
    text-align: center;
    font-family: 'Inter', sans-serif;
}

.contact-info a {
    color: var(--forest-green);
    font-weight: 700;
    text-decoration: underline;
    transition: color 0.3s;
}

.contact-info a:hover {
    color: var(--gold);
}

.form-group {
    margin-bottom: 0.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
}

.form-group input, 
.form-group textarea, 
.form-group select {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ccc;
    background: #fff;
    box-sizing: border-box; /* CRITICAL FOR MOBILE: Stops inputs from breaking screen edges */
}

/* Footer */
footer {
    background: var(--forest-green);
    color: var(--white);
    padding: 3rem 10%;
    text-align: center;
    border-top: 5px solid var(--gold);
}

/* FAQ Accordion Styling for SEO */
.faq-section {
    margin-top: 4rem;
}

.faq-item {
    margin-bottom: 1rem;
    border-bottom: 1px solid #ccc;
}

.faq-question {
    font-weight: bold;
    padding: 1rem 0;
    cursor: pointer;
    color: var(--forest-green);
}

/* ==========================================================================
   NEW: Interactive Practice Aspect Accordions & Dedicated FAQs
   ========================================================================== */

.aspect-accordion {
    background: var(--white);
    border-left: 4px solid var(--gold);
    margin-bottom: 1.5rem;
    padding: 1.2rem 2rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.aspect-accordion summary {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    font-weight: 700;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--forest-green);
    user-select: none;
}

/* Removes standard browser disclosure triangles */
.aspect-accordion summary::-webkit-details-marker {
    display: none;
}

/* Custom interactive asset indicators (+ / - symbols) */
.aspect-accordion summary::after {
    content: '+';
    font-family: 'Inter', sans-serif;
    font-size: 1.8rem;
    color: var(--gold);
    font-weight: 400;
    transition: transform 0.2s ease;
}

.aspect-accordion[open] summary::after {
    content: '−';
}

.aspect-content {
    margin-top: 1.2rem;
    border-top: 1px solid #eef2f1;
    padding-top: 1.5rem;
    animation: smoothDrop 0.35s ease-out;
}

.aspect-content p {
    font-size: 1.05rem;
    color: #444;
    margin-bottom: 1.5rem;
}

/* Specific inner wrapper for FAQs connected directly to an aspect */
.faq-wrapper {
    background-color: #faf9f5; /* Subtle layout warmth to make FAQs pop */
    padding: 1.5rem 2rem;
    border-radius: 2px;
    border: 1px solid #eae3d2;
}

.faq-wrapper h4 {
    margin-top: 0;
    margin-bottom: 1.2rem;
    color: var(--forest-green);
    font-family: 'Playfair Display', serif;
    font-size: 1.15rem;
    letter-spacing: 0.5px;
    border-bottom: 1px dashed var(--gold);
    padding-bottom: 0.5rem;
}

.specific-faq {
    margin-bottom: 1.2rem;
}

.specific-faq:last-child {
    margin-bottom: 0;
}

.specific-faq strong {
    font-family: 'Inter', sans-serif;
    display: block;
    color: var(--text-dark);
    font-size: 1rem;
    margin-bottom: 0.4rem;
}

.specific-faq p {
    font-size: 0.95rem;
    color: #555;
    margin: 0;
}

/* Expansion transition keyframe */
@keyframes smoothDrop {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}