/* Base Styles */
:root {
    --primary-color: #2c3e50;
    --secondary-color: #34495e;
    --accent-color: #e67e22;
    --text-color: #333;
    --light-text: #666;
    --white: #fff;
    --light-bg: #f8f9fa;
    --border-color: #ddd;
}

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

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
}

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

/* Typography */
h1, h2, h3 {
    font-family: 'Cormorant', serif;
    font-weight: 600;
    line-height: 1.2;
}

h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
}

/* Navigation */
nav {
    background: var(--white);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

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

.logo {
    font-family: 'Cormorant', serif;
    font-size: 1.8rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--accent-color);
}

/* Buttons */
.header-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.btn {
    padding: 0.8rem 1.5rem;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background-color: var(--accent-color);
    color: var(--white);
    border: none;
}

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

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.9);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--white);
    transform: translateY(-2px);
}

/* Header */
header {
    background: linear-gradient(rgba(44, 62, 80, 0.95), rgba(44, 62, 80, 0.95));
    min-height: 90vh;
    display: flex;
    align-items: center;
    color: var(--white);
    padding: 100px 0 60px;
}

.header-content {
    width: 100%;
}

.header-flex {
    display: flex;
    align-items: center;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
    flex-direction: row;
}

.header-text {
    flex: 1;
    text-align: left;
    padding-right: 2rem;
}

.header-image {
    flex: 0 0 450px;
}

.lawyer-portrait {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.header-content h1 {
    font-size: 3.2rem;
    margin-bottom: 1rem;
    line-height: 1.1;
}

.header-content .subtitle {
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
    color: var(--accent-color);
    font-family: 'Cormorant', serif;
}

.header-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    line-height: 1.6;
    max-width: 600px;
}

/* Practice Areas */
.practice-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.practice-card {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.practice-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.practice-card i {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
}

.practice-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.practice-card p {
    color: var(--light-text);
    line-height: 1.6;
    font-size: 1rem;
    margin: 0;
}

@media (max-width: 1024px) {
    .practice-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 640px) {
    .practice-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .practice-card {
        padding: 2rem 1.5rem;
    }
}

/* Testimonials */
.testimonial-intro {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--light-text);
    font-style: italic;
}

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

.testimonial-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.stars {
    color: #f1c40f;
    margin-bottom: 1rem;
}

.client-info {
    margin-top: 1rem;
    color: var(--light-text);
}

.client-info .name {
    font-weight: 600;
    display: block;
}

/* FAQ */
.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.faq-item {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

/* Contact */
.contact {
    background: var(--primary-color);
    padding: 2rem 0;
}

.contact-section {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.contact-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.contact-description {
    font-size: 1.2rem;
    line-height: 1.6;
    color: var(--white);
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

.contact-links {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 2rem;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--white);
    text-decoration: none;
    font-size: 1.25rem;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.contact-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.contact-link i {
    font-size: 1.5rem;
}

@media (max-width: 768px) {
    .contact-section {
        padding: 3rem 1rem;
    }

    .contact-section h2 {
        font-size: 2rem;
    }

    .contact-description {
        font-size: 1.1rem;
    }

    .contact-links {
        flex-direction: column;
        gap: 1rem;
    }

    .contact-link {
        justify-content: center;
    }
}

/* Footer */
footer {
    background: var(--secondary-color);
    color: var(--white);
    padding: 2rem 0;
    text-align: center;
}

.footer-info p {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .header-flex {
        gap: 3rem;
    }

    .header-image {
        flex: 0 0 400px;
    }
}

@media (max-width: 768px) {
    header {
        padding: 80px 0 40px;
        min-height: auto;
    }

    .header-flex {
        flex-direction: column;
        gap: 2rem;
    }

    .header-text {
        text-align: center;
        padding-right: 0;
    }

    .header-image {
        flex: 0 0 auto;
        width: 280px;
        order: 2;
    }

    .header-buttons {
        justify-content: center;
    }

    .header-content h1 {
        font-size: 2.2rem;
    }

    .header-content .subtitle {
        font-size: 1.3rem;
    }

    .header-content p {
        font-size: 1.1rem;
        margin: 0 auto 1.5rem;
    }

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

@media (max-width: 768px) {
    header {
        padding-top: 100px;
    }

    .header-flex {
        flex-direction: column;
        gap: 2rem;
    }

    .header-text {
        text-align: center;
    }

    .header-image {
        flex: 0 0 auto;
        width: 100%;
        max-width: 250px;
        margin: 0 auto;
    }

    .header-buttons {
        justify-content: center;
    }

    h1 {
        font-size: 2.5rem;
        text-align: center;
    }

    .header-content p {
        text-align: center;
        font-size: 1rem;
    }

    .nav-links {
        display: none;
    }

    .testimonial-grid,
    .faq-grid {
        grid-template-columns: 1fr;
    }

    .header-buttons {
        flex-direction: column;
    }

    .header-flex {
        flex-direction: column;
        gap: 2rem;
    }
    
    .header-image {
        flex: 0 0 auto;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
}

/* Sections */
section {
    padding: 5rem 0;
}

section:nth-child(even) {
    background: var(--light-bg);
}

/* About Section */
.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.credentials {
    list-style: none;
    margin-top: 2rem;
}

.credentials li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.credentials i {
    color: var(--accent-color);
}
