/* Zax Law Firm Custom Styles */

:root {
    --primary-color: #1a3a5c;
    --secondary-color: #2c5282;
    --accent-color: #c5a059;
    --light-color: #f8f9fa;
    --dark-color: #212529;
    --text-color: #4a5568;
}

/* Global Styles */
body {
    font-family: 'Georgia', 'Times New Roman', serif;
    color: var(--text-color);
    line-height: 1.8;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Arial', sans-serif;
    color: var(--primary-color);
    font-weight: 600;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

/* Navbar Styles */
.navbar {
    background-color: var(--primary-color) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-family: 'Arial', sans-serif;
    font-weight: bold;
    font-size: 1.5rem;
    color: white !important;
}

.navbar-brand:hover {
    color: var(--accent-color) !important;
}

.nav-link {
    color: white !important;
    font-weight: 500;
    padding: 0.75rem 1rem !important;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--accent-color) !important;
}

.dropdown-menu {
    background-color: white;
    border: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.dropdown-item {
    color: var(--text-color);
    padding: 0.75rem 1rem;
}

.dropdown-item:hover {
    background-color: var(--light-color);
    color: var(--primary-color);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 100px 0;
    text-align: center;
}

.hero-section h1 {
    color: white;
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero-section .tagline {
    font-size: 1.3rem;
    font-style: italic;
    margin-bottom: 2rem;
}

.btn-primary {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: white;
    padding: 0.75rem 2rem;
    font-size: 1.1rem;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #b08d4a;
    border-color: #b08d4a;
    transform: translateY(-2px);
}

/* Section Styles */
.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-title .divider {
    width: 100px;
    height: 4px;
    background-color: var(--accent-color);
    margin: 0 auto;
}

/* Why Choose Us Section */
.why-choose-us {
    background-color: var(--light-color);
}

.feature-box {
    text-align: center;
    padding: 40px 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    height: 100%;
}

.feature-box:hover {
    transform: translateY(-10px);
}

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

.feature-box h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

/* Case Results Section */
.case-results-section {
    background-color: white;
}

.case-result {
    background: var(--light-color);
    border-left: 4px solid var(--accent-color);
    padding: 30px;
    margin-bottom: 20px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.case-result:hover {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transform: translateX(5px);
}

.case-result h4 {
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    font-size: 1.2rem;
}

.case-result .outcome {
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.case-result .description {
    color: var(--text-color);
    font-size: 0.95rem;
}

/* Testimonials Section */
.testimonials-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
}

.testimonials-section h2 {
    color: white;
}

.testimonials-section .divider {
    background-color: var(--accent-color);
}

.testimonial {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 10px;
    margin-bottom: 30px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.testimonial blockquote {
    font-style: italic;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.testimonial-footer {
    text-align: right;
}

.testimonial-author {
    font-weight: bold;
    color: var(--accent-color);
}

.testimonial-location {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

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

.cta-section h2 {
    color: var(--primary-color);
}

/* Practice Areas Page */
.practice-area-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 60px 0;
    text-align: center;
}

.practice-area-header h1 {
    color: white;
    font-size: 2.5rem;
}

.practice-area-content {
    padding: 60px 0;
}

.practice-area-content .overview {
    margin-bottom: 40px;
}

.practice-area-content h2 {
    margin-bottom: 1.5rem;
}

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

.cases-list li {
    padding: 15px 0;
    border-bottom: 1px solid #e9ecef;
    position: relative;
    padding-left: 30px;
}

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

.related-attorneys {
    background-color: var(--light-color);
    padding: 40px;
    border-radius: 10px;
}

/* Staff Page */
.staff-section {
    padding: 80px 0;
}

.staff-header {
    text-align: center;
    margin-bottom: 60px;
}

.staff-header h1 {
    color: var(--primary-color);
    font-size: 2.5rem;
}

.staff-section .practice-area-title {
    color: var(--primary-color);
    margin: 60px 0 30px 0;
    padding-bottom: 15px;
    border-bottom: 3px solid var(--accent-color);
}

.staff-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 30px;
}

.staff-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.staff-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.staff-card .staff-info {
    padding: 25px;
}

.staff-card .staff-name {
    color: var(--primary-color);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.staff-card .staff-title {
    color: var(--accent-color);
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.staff-card .staff-practice {
    color: var(--text-color);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.staff-card .staff-bio {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.staff-card .staff-education {
    font-size: 0.85rem;
    color: #6c757d;
    margin-bottom: 0.5rem;
}

.staff-card .staff-bar {
    font-size: 0.85rem;
    color: #6c757d;
    margin-bottom: 0.5rem;
}

.staff-card .staff-membership {
    font-size: 0.85rem;
    color: #6c757d;
}

/* About Page */
.about-section {
    padding: 80px 0;
}

.about-section .content {
    font-size: 1.1rem;
    line-height: 1.9;
}

.mission-section {
    background-color: var(--light-color);
    padding: 60px 0;
    text-align: center;
}

.mission-section h2 {
    color: var(--primary-color);
}

.mission-section .mission-text {
    font-size: 1.2rem;
    font-style: italic;
    max-width: 800px;
    margin: 0 auto;
}

/* Contact Page */
.contact-section {
    padding: 80px 0;
}

.contact-info {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 40px;
    border-radius: 10px;
}

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

.contact-info-item {
    margin-bottom: 1.5rem;
}

.contact-info-item h4 {
    color: var(--accent-color);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.contact-info-item p {
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.contact-info-item a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info-item a:hover {
    color: var(--accent-color);
}

.contact-form-section {
    background-color: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.contact-form-section h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.form-control {
    border-radius: 5px;
    border: 1px solid #ced4da;
    padding: 0.75rem;
    margin-bottom: 1.5rem;
}

.form-control:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 0.2rem rgba(197, 160, 89, 0.25);
}

.form-label {
    color: var(--primary-color);
    font-weight: 600;
}

.map-container {
    height: 400px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin-top: 40px;
}

.office-hours {
    background-color: var(--light-color);
    padding: 30px;
    border-radius: 10px;
    margin-top: 30px;
}

.office-hours h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Footer */
footer {
    background-color: var(--dark-color);
    color: white;
    padding: 60px 0 30px 0;
}

footer h4 {
    color: var(--accent-color);
    margin-bottom: 1.5rem;
}

footer p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.5rem;
}

footer a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--accent-color);
}

.footer-bottom {
    background-color: #1a1d20;
    padding: 20px 0;
    margin-top: 40px;
    text-align: center;
}

.footer-bottom p {
    margin: 0;
    color: rgba(255, 255, 255, 0.6);
}

/* Responsive Design */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .hero-section {
        padding: 60px 0;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .section {
        padding: 50px 0;
    }
    
    .staff-card {
        margin-bottom: 20px;
    }
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--light-color);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}