/* =========================
   Google Fonts Import
========================= */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700&family=Inter:wght@300;400;500;600&display=swap');

/* =========================
   Root Variables
========================= */
:root {
    --navy: #0f172a;
    --gold: #c5a059;
    --white: #ffffff;
    --light-gray: #f5f5f5;
}

/* =========================
   Global Styles
========================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--navy);
    line-height: 1.6;
    background-color: var(--white);
}

h1, h2, h3 {
    font-family: 'Playfair Display', serif;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
    padding: 4rem 0;
}

/* =========================
   Navigation
========================= */
header {
    position: sticky;
    top: 0;
    background: var(--navy);
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 5%;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    color: var(--gold);
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--white);
    font-weight: 500;
}

.menu-toggle {
    display: none;
    font-size: 1.8rem;
    color: var(--white);
    cursor: pointer;
}

/* =========================
   Hero Section (FIXED)
========================= */
.hero {
    height: 90vh;
    /* This line adds the dark tint AND the photo */
    background-image: linear-gradient(rgba(15,23,42,0.85), rgba(15,23,42,0.7)), url('bg.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    color: var(--white);
}

.hero-content {
    max-width: 700px;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero p {
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

/* =========================
   Gold Button
========================= */
.btn-gold {
    display: inline-block;
    background: linear-gradient(135deg, #d6b36a, #b89650);
    color: var(--navy);
    padding: 0.9rem 2rem;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.25);
}

/* =========================
   About & General Sections
========================= */
.section-light {
    background: var(--light-gray);
}

.section-title {
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

/* =========================
   Attorney Page
========================= */
.attorney-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: center;
}

.photo-placeholder {
    background: #ddd;
    height: 320px;
}

.badge {
    background: var(--gold);
    color: var(--navy);
    display: inline-block;
    padding: 0.6rem 1rem;
    margin-top: 1rem;
    font-weight: 600;
}

/* =========================
   Practice Areas
========================= */
.practice-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
}

.practice-card {
    border: 1px solid #e5e5e5;
    padding: 2rem;
    text-align: center;
}

.practice-card span {
    font-size: 2rem;
    color: var(--gold);
}

/* =========================
   Contact
========================= */
.contact-info p {
    margin-bottom: 1rem;
    font-size: 1.05rem;
}

/* =========================
   Responsive
========================= */
@media (max-width: 768px) {
    .nav-links {
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: var(--navy);
        flex-direction: column;
        display: none;
        padding: 2rem;
    }

    .nav-links.active {
        display: flex;
    }

    .menu-toggle {
        display: block;
    }

    .attorney-grid {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 2.3rem;
    }
}
/* Fix for Attorney Photo */
.attorney-photo {
    width: 100%;
    max-width: 400px; /* Limits the size so it's not huge */
    height: auto;
    border-radius: 8px; /* Makes corners slightly rounded */
    box-shadow: 0 10px 30px rgba(0,0,0,0.15); /* Adds a nice shadow */
    border: 4px solid #c5a059; /* Adds a Gold Border frame */
    display: block;
    margin: 20px auto; /* Centers the image */
}