/* =========================================
   Design System & Variables (Original Style)
   ========================================= */
:root {
    /* Color Palette */
    --burgundy: #661421;
    --burgundy-hover: #4a0f18;
    
    --bg-white: #ffffff;
    --bg-light-gray: #f9f9f9;
    --bg-gray: #ebebeb;
    
    --text-dark: #333333;
    --text-gray: #666666;
    --text-white: #ffffff;
    
    /* Typography */
    --font-logo: 'Courier Prime', 'Courier New', monospace;
    --font-heading: 'Inter', Helvetica, Arial, sans-serif;
    --font-body: 'Inter', Helvetica, Arial, sans-serif;
    
    /* Spacing & Layout */
    --container-max-width: 1100px;
    --section-padding: 80px 0;
    
    /* Effects */
    --transition-fast: 0.2s ease;
}

/* =========================================
   Reset & Global Styles
   ========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    background-color: var(--bg-light-gray);
    color: var(--text-dark);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-y: scroll;
}

section {
    scroll-margin-top: 100px;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast);
}

ul {
    list-style: none;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.3;
    color: var(--text-dark);
}

.container {
    width: 100%;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.section-padding {
    padding: var(--section-padding);
}

/* =========================================
   Typography
   ========================================= */
.section-title {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.title-line {
    width: 40px;
    height: 3px;
    background-color: var(--burgundy);
    margin-bottom: 2rem;
}

/* =========================================
   Buttons & Links
   ========================================= */
.btn-primary {
    display: inline-block;
    background-color: var(--burgundy);
    color: var(--text-white);
    padding: 10px 24px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: background-color var(--transition-fast);
}

.btn-primary:hover {
    background-color: var(--burgundy-hover);
    color: var(--text-white);
}

.btn-card {
    display: inline-block;
    background-color: var(--burgundy);
    color: #ffffff;
    padding: 0.7rem 1.4rem;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.85rem;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-top: 1rem;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(102, 20, 33, 0.15);
}

.btn-card:hover {
    background-color: var(--burgundy-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(102, 20, 33, 0.25);
}

.btn-center-container {
    display: flex;
    justify-content: center;
    margin: 5rem 0 1rem 0;
}

.btn-outline {
    display: inline-block;
    background-color: transparent;
    border: 2px solid var(--burgundy);
    color: var(--burgundy);
    padding: 0.6rem 1.6rem;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.85rem;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-outline:hover {
    background-color: var(--burgundy);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(102, 20, 33, 0.2);
}

.card-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 1.5rem;
}

.more-link {
    display: inline-block;
    margin-top: 1rem;
    font-family: var(--font-heading);
    color: var(--burgundy);
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
}

.more-link:hover {
    color: var(--burgundy-hover);
    text-decoration: underline;
}

/* =========================================
   Header & Navigation
   ========================================= */
.header {
    background-color: var(--bg-white);
    border-bottom: 1px solid #ddd;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    height: 100px;
}

.logo-box {
    background-color: var(--burgundy);
    padding: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    min-width: 180px;
}

.logo-box a {
    color: var(--text-white);
    display: flex;
    flex-direction: column;
}

.logo-name {
    font-family: var(--font-logo);
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 0.5rem;
}

.logo-title {
    font-family: var(--font-body);
    font-size: 0.7rem;
    letter-spacing: 2px;
    opacity: 0.9;
}

.main-nav {
    display: flex;
    align-items: center;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text-gray);
    position: relative;
    padding-bottom: 5px;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--burgundy);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--burgundy);
    transition: width var(--transition-fast);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--text-dark);
}

/* =========================================
   Hero Section
   ========================================= */
.hero {
    position: relative;
    background-color: var(--bg-white);
    min-height: 60vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-image-container {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background-color: var(--bg-gray);
    background-image: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.hero-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, var(--bg-white) 0%, transparent 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 600px;
    margin: 0;
    padding: 4rem 2rem;
}

.hero-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.hero-title .highlight {
    color: var(--burgundy);
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-gray);
    margin-bottom: 2rem;
    line-height: 1.8;
}

/* =========================================
   Practice Areas (3-Column Grid with Premium Styling)
   ========================================= */
.practice-areas {
    background-color: var(--bg-light-gray);
}

.section-subtitle {
    text-align: center;
    color: var(--text-gray);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 1rem auto 3rem auto;
    line-height: 1.6;
}

.areas-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.area-card {
    background-color: var(--bg-white);
    padding: 1.8rem 1.5rem;
    border: 1px solid #eaeaea;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    transition: box-shadow 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
}

.area-card:hover {
    box-shadow: 0 12px 28px rgba(102, 20, 33, 0.08);
    transform: translateY(-4px);
    border-color: rgba(102, 20, 33, 0.2);
}

.card-icon {
    width: 46px;
    height: 46px;
    background-color: #fcf3f4;
    color: var(--burgundy);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.2rem;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.area-card:hover .card-icon {
    background-color: var(--burgundy);
    color: var(--text-white);
}

.area-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    color: var(--burgundy);
    font-weight: 600;
}

.area-card p {
    color: var(--text-gray);
    font-size: 0.92rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.more-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--burgundy);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: gap 0.2s ease;
}

.more-link:hover {
    gap: 0.8rem;
    text-decoration: underline;
}

/* =========================================
   Kanzlei & Team Section
   ========================================= */
.about {
    background-color: var(--bg-white);
}

.about-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-content p {
    color: var(--text-gray);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.about-image {
    display: flex;
    justify-content: flex-end;
}

.portrait-img {
    width: 260px;
    height: 340px;
    object-fit: cover;
    object-position: top;
    border-radius: 8px;
    border: 1px solid #ddd;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

#toggle-team-btn, #hide-team-btn {
    background-color: var(--burgundy);
    color: #ffffff;
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 600;
    padding: 1rem 2.8rem;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(102, 20, 33, 0.25);
    transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
}

#toggle-team-btn:hover, #hide-team-btn:hover {
    background-color: #7d1828;
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(102, 20, 33, 0.35);
}

.team-grid {
    display: flex;
    flex-direction: column;
    gap: 3.5rem;
    margin-top: 3rem;
}

.team-member-row {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 3.5rem;
    align-items: flex-start;
}

.team-divider {
    border: none;
    border-top: 1px solid #eaeaea;
    margin: 0.5rem 0;
    width: 100%;
}

.member-image img {
    width: 220px;
    height: 280px;
    object-fit: cover;
    object-position: top;
    border-radius: 8px;
    border: 1px solid #ddd;
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
}

.member-info h3 {
    font-size: 1.4rem;
    color: var(--burgundy);
    margin-bottom: 0.3rem;
}

.member-role {
    font-family: var(--font-heading);
    color: var(--text-gray);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.2rem;
    display: inline-block;
    border-bottom: 2px solid var(--burgundy);
    padding-bottom: 0.2rem;
}

.member-info p {
    color: var(--text-gray);
    line-height: 1.7;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.partner-box {
    background: #fdfafb;
    border: 1px solid rgba(102, 20, 33, 0.15);
    border-radius: 12px;
    padding: 2.5rem;
    margin-top: 2rem;
    text-align: center;
}

.partner-box h4 {
    color: var(--burgundy);
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.partner-box p {
    color: var(--text-gray);
    line-height: 1.7;
    max-width: 800px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .team-member-row {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .member-image img {
        width: 100%;
        max-width: 280px;
        height: auto;
    }
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* =========================================
   Contact Section
   ========================================= */
.contact {
    background-color: var(--bg-light);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-details-box {
    margin-top: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-block h3 {
    font-size: 1.2rem;
    color: var(--burgundy);
    margin-bottom: 0.8rem;
}

.contact-block p {
    color: var(--text-gray);
    line-height: 1.7;
}

.contact-align-grid {
    display: grid;
    grid-template-columns: 75px 1fr;
    row-gap: 0.6rem;
    column-gap: 1rem;
    color: var(--text-gray);
    font-size: 1rem;
    line-height: 1.5;
}

.contact-align-grid span:nth-child(odd) {
    font-weight: 600;
    color: var(--burgundy);
}

.contact-align-grid a {
    color: var(--burgundy);
    text-decoration: underline;
    transition: opacity 0.2s ease;
}

.contact-align-grid a:hover {
    text-decoration: underline;
}

.footer-align span:nth-child(odd) {
    color: var(--text-gray);
    font-weight: 500;
}

.contact-item a {
    color: var(--burgundy);
}

.contact-item a:hover {
    text-decoration: underline;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    background-color: #fff;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--burgundy);
    box-shadow: 0 0 0 4px rgba(102, 20, 33, 0.05);
}

/* =========================================
   Footer Section
   ========================================= */
.footer {
    background-color: #f8f8f8;
    padding: 4rem 0 2rem 0;
    border-top: 1px solid #eaeaea;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1.5fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h4 {
    color: var(--burgundy);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    font-family: var(--font-heading);
}

.footer-links-list {
    list-style: none;
    padding: 0;
}

.footer-links-list li {
    margin-bottom: 0.8rem;
}

.footer-links-list a {
    color: var(--text-gray);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

.footer-links-list a:hover {
    color: var(--burgundy);
}

.footer-bottom {
    border-top: 1px solid #eaeaea;
    padding-top: 2rem;
    text-align: center;
    color: var(--text-gray);
    font-size: 0.9rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
}

.footer-brand .logo-name {
    color: var(--burgundy);
    font-family: var(--font-logo);
    font-size: 1.5rem;
    font-weight: 700;
}

.footer-brand .logo-title {
    color: var(--text-gray);
    font-size: 0.8rem;
    letter-spacing: 2px;
}

/* =========================================
   Responsive Design
   ========================================= */
@media (max-width: 900px) {
    .areas-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-container,
    .contact-container {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
    
    .hero-image-container {
        display: none;
    }
    
    .hero-content {
        max-width: 100%;
        text-align: center;
        padding: 4rem 0;
    }
}

@media (max-width: 600px) {
    .header-container {
        height: auto;
        padding: 1rem;
    }
    
    .logo-box {
        min-width: auto;
        padding: 1rem;
    }

    .hamburger {
        display: flex;
    }
    
    .nav-links {
        display: none;
        width: 100%;
        flex-direction: column;
        gap: 1rem;
        padding: 1rem 0;
        position: absolute;
        top: 100%;
        left: 0;
        background-color: var(--bg-white);
        border-bottom: 1px solid #ddd;
        text-align: center;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .areas-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}
/* =========================================
   Reviews Section
   ========================================= */
.reviews-section {
    background-color: var(--bg-white);
}

.reviews-header {
    text-align: center;
    margin-bottom: 4rem;
}

.google-rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
    font-weight: 600;
}

.google-logo-mini {
    width: 20px;
    height: 20px;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    justify-content: center;
}

.review-card {
    background-color: var(--bg-light-gray);
    padding: 1.5rem;
    border-radius: 10px;
    position: relative;
    transition: transform 0.3s ease;
}

.review-card:hover {
    transform: translateY(-3px);
}

.stars {
    color: #ffb400;
    margin-bottom: 0.8rem;
    display: flex;
    gap: 2px;
    font-size: 0.9rem;
}

.review-text {
    font-style: italic;
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.6;
    font-size: 0.95rem;
}

.reviewer-name {
    font-weight: 700;
    font-family: var(--font-heading);
    color: var(--burgundy);
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.9rem;
}

.reviewer-meta {
    font-size: 0.85rem;
    color: var(--text-gray);
    margin-top: 0.2rem;
}

.all-reviews-btn {
    text-align: center;
    margin-top: 4rem;
}

@media (max-width: 768px) {
    /* Reviews grid is handled by auto-fit */
}
