/* Base Styles */
:root {
    --primary: #002366;
    --secondary: #D4AF37;
    --light-gray: #F5F5F5;
    --dark-gray: #333333;
    --white: #FFFFFF;
    --black: #000000;
    --text-color: #333333;
    --text-light: #777777;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Lato', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: var(--primary);
}

a {
    text-decoration: none;
    color: var(--primary);
    transition: all 0.3s ease;
}

a:hover {
    color: var(--secondary);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 4px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
    border: 2px solid var(--primary);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--primary);
}

.btn-secondary {
    background-color: var(--secondary);
    color: var(--white);
    border: 2px solid var(--secondary);
}

.btn-secondary:hover {
    background-color: transparent;
    color: var(--secondary);
}

.section-padding {
    padding: 80px 0;
}

.bg-light {
    background-color: var(--light-gray);
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
    font-size: 36px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: var(--secondary);
    margin: 20px auto 0;
}

/* Top Bar */
.top-bar {
    background-color: var(--primary);
    color: var(--white);
    padding: 10px 0;
    font-size: 14px;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-info span {
    margin-right: 20px;
}

.contact-info i {
    margin-right: 5px;
    color: var(--secondary);
}

.social-links a {
    color: var(--white);
    margin-left: 15px;
    font-size: 16px;
}

.social-links a:hover {
    color: var(--secondary);
}

/* Navigation */
.navbar {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 50px;
}

.nav-list {
    display: flex;
    list-style: none;
}

.nav-list li {
    margin-left: 30px;
    position: relative;
}

.nav-list li a {
    color: var(--dark-gray);
    font-weight: 700;
    font-size: 16px;
}

.nav-list li a:hover {
    color: var(--primary);
}

.auth-buttons {
    display: flex;
    margin-left: 30px;
}

.btn-signin {
    background-color: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    padding: 8px 20px;
    border-radius: 4px;
    margin-right: 10px;
}

.btn-signin:hover {
    background-color: var(--primary);
    color: var(--white);
}

.btn-signup {
    background-color: var(--secondary);
    color: var(--white);
    border: 2px solid var(--secondary);
    padding: 8px 20px;
    border-radius: 4px;
}

.btn-signup:hover {
    background-color: transparent;
    color: var(--secondary);
}

.menu-toggle {
    display: none;
    cursor: pointer;
}

.menu-toggle .bar {
    width: 25px;
    height: 3px;
    background-color: var(--primary);
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    background-image: url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    height: 80vh;
    min-height: 600px;
    position: relative;
    display: flex;
    align-items: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 35, 102, 0.7);
    display: flex;
    align-items: center;
}

.hero h1 {
    color: var(--white);
    font-size: 60px;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subtitle {
    color: var(--white);
    font-size: 20px;
    margin-bottom: 30px;
    max-width: 600px;
}

.btn-cta {
    background-color: var(--secondary);
    color: var(--white);
    padding: 15px 40px;
    font-size: 18px;
    border-radius: 4px;
}

.btn-cta:hover {
    background-color: transparent;
    border: 2px solid var(--white);
    color: var(--white);
    padding: 13px 38px;
}

/* Practice Areas */
.practice-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.practice-card {
    background-color: var(--white);
    border-radius: 8px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.practice-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.practice-icon {
    width: 80px;
    height: 80px;
    background-color: rgba(212, 175, 55, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.practice-icon i {
    font-size: 30px;
    color: var(--secondary);
}

.practice-card h3 {
    margin-bottom: 15px;
    font-size: 22px;
}

.practice-card p {
    color: var(--text-light);
    margin-bottom: 20px;
}

.learn-more {
    color: var(--primary);
    font-weight: 700;
}

.learn-more i {
    margin-left: 5px;
    transition: all 0.3s ease;
}

.learn-more:hover i {
    margin-left: 10px;
}

/* Attorneys */
.attorneys-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.attorney-card {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.attorney-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.attorney-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.attorney-card h3 {
    margin: 20px 0 5px;
    padding: 0 20px;
}

.attorney-card .title {
    color: var(--secondary);
    font-weight: 700;
    padding: 0 20px;
    margin-bottom: 15px;
}

.attorney-card p {
    padding: 0 20px;
    margin-bottom: 20px;
    color: var(--text-light);
}

.btn-profile {
    display: block;
    margin: 0 20px 20px;
    padding: 10px 0;
    text-align: center;
    background-color: var(--primary);
    color: var(--white);
    border-radius: 4px;
}

.btn-profile:hover {
    background-color: var(--secondary);
}

/* Footer */
.footer {
    background-color: var(--primary);
    color: var(--white);
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    height: 50px;
    margin-bottom: 20px;
}

.footer-col p {
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-col h4 {
    color: var(--white);
    margin-bottom: 25px;
    font-size: 20px;
    position: relative;
}

.footer-col h4::after {
    content: '';
    display: block;
    width: 40px;
    height: 2px;
    background-color: var(--secondary);
    margin-top: 10px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 15px;
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-col ul li a:hover {
    color: var(--secondary);
    padding-left: 5px;
}

address {
    font-style: normal;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.5);
    margin-left: 20px;
    font-size: 14px;
}

.footer-links a:hover {
    color: var(--secondary);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 48px;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    .nav-list {
        position: fixed;
        top: 90px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 90px);
        background-color: var(--white);
        flex-direction: column;
        align-items: center;
        padding: 40px 0;
        transition: all 0.5s ease;
    }
    
    .nav-list.active {
        left: 0;
    }
    
    .nav-list li {
        margin: 15px 0;
    }
    
    .auth-buttons {
        margin: 20px 0 0;
    }
    
    .hero h1 {
        font-size: 36px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .section-padding {
        padding: 60px 0;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links {
        margin-top: 15px;
    }
    
    .footer-links a {
        margin: 0 10px;
    }
}

@media (max-width: 576px) {
    .top-bar .container {
        flex-direction: column;
    }
    
    .contact-info {
        margin-bottom: 10px;
    }
    
    .hero h1 {
        font-size: 32px;
    }
    
    .btn-cta {
        padding: 12px 30px;
        font-size: 16px;
    }

.logo {
    display: flex;
    align-items: center;
}

.firm-name {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: var(--primary);
    font-size: 24px;
    margin-left: 15px;
}