/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Playfair+Display:wght@400;600;700&display=swap');

:root {
    /* Color Palette */
    --primary-color: #0c1b33;
    /* Deep Navy Level */
    --primary-light: #1a2f52;
    --accent-gold: #c5a059;
    /* Premium Gold */
    --accent-gold-hover: #b08d4b;
    --text-dark: #1a1a1a;
    --text-light: #f5f5f5;
    --text-grey: #666666;
    --bg-light: #ffffff;
    --bg-off-white: #f8f9fa;
    --bg-dark: #080f1f;

    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing */
    --container-width: 1280px;
    --section-padding: 80px 0;

    /* Transitions */
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-light);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    line-height: 1.2;
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    /* Slightly rounded, classic feel */
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--accent-gold);
    color: #fff;
}

.btn-primary:hover {
    background-color: var(--accent-gold-hover);
    transform: translateY(-2px);
}

.btn-outline {
    border-color: #fff;
    color: #fff;
}

.btn-outline:hover {
    background-color: #fff;
    color: var(--primary-color);
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.section-title p {
    color: var(--text-grey);
    max-width: 600px;
    margin: 0 auto;
}

.section-padding {
    padding: var(--section-padding);
}

/* Header/Nav */
header {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    padding: 12px 0;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary-color);
}

.logo span {
    color: var(--accent-gold);
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--primary-color);
    position: relative;
}

/* Header Button Specific */
header .btn {
    padding: 10px 24px;
    font-size: 0.85rem;
}

/* Language Switcher */
.lang-switcher {
    margin-left: 20px;
    padding-left: 20px;
    border-left: 1px solid #ddd;
    display: flex;
    align-items: center;
    gap: 10px;
}

.lang-switcher a {
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--primary-color);
    transition: var(--transition);
}

.lang-switcher a:hover,
.lang-switcher a.active {
    color: var(--accent-gold);
}

/* Card Hover Effects */
.practice-card,
.blog-card,
.attorney-card,
.testimonial-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.practice-card:hover,
.blog-card:hover,
.attorney-card:hover,
.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1) !important;
}

/* Form Polish */
.form-control:focus {
    border-color: var(--accent-gold);
    box-shadow: 0 0 0 4px rgba(200, 164, 93, 0.1);
    outline: none;
}

/* Button Polish */
.btn {
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-gold);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(12, 27, 51, 0.7), rgba(12, 27, 51, 0.7)), url('../images/lawyer-hero.jpg');
    /* Need an image here */
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    text-align: center;
    color: #fff;
    padding-top: 80px;
}

.hero-content h1 {
    font-size: 4rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* About Section */
.about {
    background: var(--bg-light);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h3 {
    font-size: 1.2rem;
    color: var(--accent-gold);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
    font-family: var(--font-body);
}

.about-text h2 {
    font-size: 3rem;
    margin-bottom: 30px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
    border-top: 1px solid #eee;
    padding-top: 40px;
}

.stat-item h4 {
    font-size: 2.5rem;
    color: var(--accent-gold);
    margin-bottom: 5px;
}

.stat-item p {
    font-size: 0.9rem;
    color: var(--text-grey);
    text-transform: uppercase;
}

/* Practice Areas */
.practice-areas {
    background-color: var(--bg-off-white);
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.practice-card {
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    border-bottom: 3px solid transparent;
}

.practice-card:hover {
    transform: translateY(-10px);
    border-bottom-color: var(--accent-gold);
}

.icon-box {
    width: 60px;
    height: 60px;
    background: var(--bg-off-white);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-bottom: 25px;
    font-size: 1.5rem;
    color: var(--primary-color);
}

.practice-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.practice-card p {
    color: var(--text-grey);
    margin-bottom: 25px;
}

.learn-more {
    font-weight: 600;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.learn-more:hover {
    color: var(--accent-gold);
}

/* Footer */
footer {
    background: var(--bg-dark);
    color: #fff;
    padding: 80px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-about p {
    color: #8892b0;
    margin-top: 20px;
}

.footer-col h4 {
    color: #fff;
    margin-bottom: 25px;
    font-size: 1.2rem;
}

.footer-col ul li {
    margin-bottom: 15px;
}

.footer-col a {
    color: #8892b0;
}

.footer-col a:hover {
    color: var(--accent-gold);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    color: #8892b0;
    font-size: 0.9rem;
}

/* Responsiveness */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .nav-links {
        display: none;
        /* Mobile menu implementation needed later */
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* Forms */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--primary-color);
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-gold);
    box-shadow: 0 0 0 3px rgba(197, 160, 89, 0.1);
}

textarea.form-control {
    height: 150px;
    resize: vertical;
}

/* Contact Page Specifics */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info-box {
    background: var(--primary-color);
    color: #fff;
    padding: 40px;
    border-radius: 8px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--accent-gold);
    margin-right: 20px;
    margin-top: 5px;
}

.info-item h5 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: #fff;
    font-family: var(--font-body);
}

.info-item p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

/* Map */
.map-container {
    height: 400px;
    width: 100%;
    background: #eee;
    margin-top: 60px;
    border-radius: 8px;
    overflow: hidden;
}

/* Alerts */
.alert {
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid transparent;
    border-radius: 4px;
}

.alert-success {
    color: #155724;
    background-color: #d4edda;
    border-color: #c3e6cb;
}

.alert-danger {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}