/* 
 * Law Firm Website - Main Stylesheet
 * Vibe: Bold, Serious, High-Contrast
 * Colors: Black (#121212), Maroon (#800000), White
 */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&display=swap');

:root {
    /* Color Palette - REBRANDED */
    --color-primary: #121212;
    /* Deep Black/Charcoal */
    --color-primary-light: #2c2c2c;
    --color-accent: #800000;
    /* Maroon */
    --color-accent-hover: #a00000;
    --color-text-dark: #1a1a1a;
    --color-text-light: #f8f9fa;
    --color-text-gray: #666666;
    --color-bg-light: #f5f5f5;
    --color-bg-white: #ffffff;
    --color-border: #e0e0e0;

    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 8rem;

    /* Layout */
    --container-width: 1200px;
    --header-height: 80px;

    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.12);
}

/* Reset & Base */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-body);
    color: var(--color-text-dark);
    line-height: 1.6;
    background-color: var(--color-bg-white);
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--color-primary);
    line-height: 1.2;
    margin-bottom: var(--spacing-sm);
}

h1 {
    font-size: 3.5rem;
    font-weight: 700;
}

h2 {
    font-size: 2.5rem;
    font-weight: 600;
}

h3 {
    font-size: 1.75rem;
    font-weight: 600;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

section {
    padding: var(--spacing-lg) 0;
}

/* Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

.text-center {
    text-align: center;
}

.text-gold {
    color: var(--color-accent);
}

.text-navy {
    color: var(--color-primary);
}

.bg-light {
    background-color: var(--color-bg-light);
}

.bg-navy {
    background-color: var(--color-primary);
    color: var(--color-text-light);
}

.flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

.items-center {
    align-items: center;
}

.justify-between {
    justify-content: space-between;
}

.justify-center {
    justify-content: center;
}

.gap-sm {
    gap: var(--spacing-sm);
}

.gap-md {
    gap: var(--spacing-md);
}

.grid {
    display: grid;
}

.grid-cols-2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid-cols-3 {
    grid-template-columns: repeat(3, 1fr);
}

/* --- Hero Section --- */
.hero {
    position: relative;
    overflow: hidden;
}

.hero-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

video.hero-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(18, 18, 18, 0.6);
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 32px;
    font-family: var(--font-body);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.btn-primary {
    background-color: var(--color-accent);
    color: white;
    border: 2px solid var(--color-accent);
}

.btn-primary:hover {
    background-color: var(--color-accent-hover);
    border-color: var(--color-accent-hover);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    color: var(--color-text-light);
    border: 2px solid var(--color-text-light);
}

.btn-outline:hover {
    background-color: var(--color-text-light);
    color: var(--color-primary);
}

/* Header & Nav */
header {
    height: var(--header-height);
    background-color: var(--color-bg-white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-primary);
}

.logo span {
    color: var(--color-accent);
}

.nav-links {
    display: flex;
    gap: var(--spacing-md);
}

.nav-links a {
    font-weight: 500;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--color-accent);
}

/* Footer */
footer {
    background-color: var(--color-primary);
    color: rgba(255, 255, 255, 0.7);
    padding: var(--spacing-lg) 0 var(--spacing-md);
    font-size: 0.95rem;
}

footer h4 {
    color: var(--color-text-light);
    margin-bottom: var(--spacing-md);
}

footer a:hover {
    color: var(--color-accent);
}

/* Responsive */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .grid-cols-2,
    .grid-cols-3 {
        grid-template-columns: 1fr;
    }

    .nav-links {
        display: none;
        /* Mobile menu implementation needed later */
    }
}

/* Translate Button Styling - Minimalist & Nuclear Text Hiding */
#google_translate_element {
    display: inline-block;
    line-height: normal;
}

.goog-te-gadget-simple {
    background-color: transparent !important;
    border: 1px solid #eee !important;
    padding: 4px 8px !important;
    border-radius: 4px !important;
    cursor: pointer !important;
    height: 28px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    /* THE NUCLEAR OPTION */
    font-size: 0 !important;
    /* Force all text to be 0px */
    color: transparent !important;
    /* Make all text invisible */
}

/* Hide all possible children types explicitly */
.goog-te-gadget-simple span,
.goog-te-gadget-simple div,
.goog-te-gadget-simple img,
.goog-te-gadget-simple a {
    display: none !important;
}

/* Globe Icon - Explicitly restored */
.goog-te-gadget-simple::before {
    content: '🌐';
    font-size: 16px !important;
    /* Fixed size to override parent's 0 */
    color: var(--color-primary) !important;
    display: block !important;
    visibility: visible !important;
    line-height: 1 !important;
}

/* Hide branding */
.goog-te-gadget-icon {
    display: none !important;
}