/* Global Styles */
:root {
    --primary-color: #0a2463;
    --secondary-color: #8d0801;
    --accent-color: #a68a64;
    --light-color: #f4f4f6;
    --dark-color: #1a1a1a;
    --font-heading: 'Georgia', serif;
    --font-body: 'Helvetica Neue', Arial, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--dark-color);
    background-color: #fff;
}

.container {
    width: 85%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    margin-bottom: 1rem;
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

a:hover {
    color: var(--secondary-color);
}

.btn {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.btn:hover {
    background: var(--secondary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.btn-secondary {
    background: var(--accent-color);
}

.center {
    text-align: center;
    margin: 2rem 0;
}

section {
    padding: 4rem 0;
}

/* Header */
header {
    background-color: white;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 1rem 0;
}

.logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.logo h1 {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 0.2rem;
    letter-spacing: 1px;
}

.logo .tagline {
    font-style: italic;
    color: var(--accent-color);
    font-size: 0.9rem;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 2rem;
}

nav ul li a {
    color: var(--dark-color);
    font-weight: 500;
    font-size: 1rem;
}

nav ul li a:hover {
    color: var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(10, 36, 99, 0.9), rgba(10, 36, 99, 0.95));
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 6rem 0;
}

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

.hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 2rem;
}

/* Practice Areas */
.practice-areas {
    background-color: var(--light-color);
}

.practice-areas h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

.areas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.area {
    background: white;
    padding: 2rem;
    border-radius: 5px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.area:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.area i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.area h3 {
    color: var(--primary-color);
}

/* Area link styles */
.area a {
    display: block;
    color: inherit;
    text-decoration: none;
    transition: all 0.3s ease;
}

.area a:hover {
    color: var(--primary-color);
}

/* Practice Navigation */
.practice-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    list-style: none;
    gap: 1rem;
    margin: 1rem 0 2rem;
    padding: 0;
}

.practice-nav li a {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: var(--light-color);
    border-radius: 30px;
    color: var(--primary-color);
    font-weight: 600;
    transition: all 0.3s ease;
}

.practice-nav li a:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

/* Practice Detail Page */
.practice-detail-page {
    padding: 3rem 0;
}

.practice-feature {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 4rem;
}

.feature-image {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    background-color: var(--light-color);
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-image img {
    width: 100%;
    height: auto;
    display: block;
}

.feature-image::before {
    content: "\f0e3"; /* Gavel icon from Font Awesome */
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 5rem;
    color: var(--primary-color);
    opacity: 0.3;
}

.feature-content h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0 4rem;
}

.service {
    background-color: var(--light-color);
    padding: 2rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.service:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.service h3 i {
    margin-right: 0.75rem;
}

.service ul {
    margin-top: 1rem;
    padding-left: 1.5rem;
}

.service ul li {
    margin-bottom: 0.5rem;
}

.practice-approach {
    margin-bottom: 4rem;
}

.approach-list {
    list-style: none;
    padding: 0;
}

.approach-list li {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
    position: relative;
}

.approach-list li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

.case {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.case:last-child {
    border-bottom: none;
}

.case h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.attorneys-small-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.attorney-small {
    text-align: center;
}

.attorney-small img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
    border: 3px solid var(--light-color);
}

.attorney-small h3 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.attorney-small p {
    font-size: 0.9rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.btn-small {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-small:hover {
    background: var(--secondary-color);
    color: white;
}

/* Form Confirmation Styles */
.form-confirmation {
    padding: 4rem 0;
}

.confirmation-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.confirmation-icon {
    font-size: 4rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
}

.confirmation-content h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.confirmation-content p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.confirmation-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

/* Testimonials */
.testimonials {
    background-color: white;
}

.testimonials h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

.testimonial {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 2rem;
    border-left: 4px solid var(--primary-color);
    background-color: var(--light-color);
    border-radius: 5px;
}

.testimonial blockquote {
    font-size: 1.2rem;
    font-style: italic;
    margin-bottom: 1rem;
}

.testimonial .author {
    font-weight: 600;
    color: var(--secondary-color);
}

/* CTA Section */
.cta {
    background-color: var(--primary-color);
    color: white;
    text-align: center;
}

.cta h2 {
    color: white;
}

.cta .btn {
    background-color: var(--secondary-color);
    margin-top: 1rem;
}

.cta .btn:hover {
    background-color: white;
    color: var(--secondary-color);
}

/* Footer */
footer {
    background-color: var(--dark-color);
    color: white;
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: var(--accent-color);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.footer-section p {
    margin-bottom: 1rem;
}

.footer-section .subtle-hint {
    font-style: italic;
    font-size: 0.9rem;
    opacity: 0.7;
    margin-top: 1rem;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icons a {
    color: white;
    font-size: 1.2rem;
}

.social-icons a:hover {
    color: var(--accent-color);
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    opacity: 0.7;
}

/* About Page */
.about-intro {
    background-color: var(--light-color);
    padding: 4rem 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-image {
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    background-color: var(--light-color);
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-image::before {
    content: "\f3c5"; /* Map marker icon from Font Awesome */
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 5rem;
    color: var(--primary-color);
    opacity: 0.3;
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

.about-text h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.firm-values {
    padding: 4rem 0;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.value-item {
    padding: 2rem;
    background-color: var(--light-color);
    border-radius: 5px;
}

.value-item h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Attorneys Page */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.attorney {
    text-align: center;
}

.attorney-image {
    border-radius: 50%;
    overflow: hidden;
    width: 200px;
    height: 200px;
    margin: 0 auto 1.5rem;
    border: 5px solid var(--light-color);
    transition: all 0.3s ease;
    background-color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.attorney-image::before {
    content: "\f007"; /* User icon from Font Awesome */
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 5rem;
    opacity: 0.5;
}

.attorney-image:hover {
    border-color: var(--primary-color);
    transform: scale(1.05);
}

.attorney-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.attorney h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.attorney p.role {
    color: var(--secondary-color);
    font-style: italic;
    margin-bottom: 1rem;
}

/* Contact Page */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info {
    background-color: var(--primary-color);
    color: white;
    padding: 2rem;
    border-radius: 5px;
}

.contact-info h3 {
    color: white;
    margin-bottom: 1.5rem;
}

.contact-info p {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.contact-info i {
    margin-right: 1rem;
    font-size: 1.2rem;
}

.contact-form {
    padding: 2rem;
    background-color: var(--light-color);
    border-radius: 5px;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: var(--font-body);
}

.form-group textarea {
    height: 150px;
}

/* Responsive Design */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
    }
    
    .logo {
        margin-bottom: 1rem;
    }
    
    nav ul {
        flex-direction: column;
        text-align: center;
    }
    
    nav ul li {
        margin: 0.5rem 0;
    }
    
    .hero h2 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .practice-feature {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
} 