/* CSS Reset & Variables */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-color: #fdfdfd;
    --text-main: #1a1a1a;
    --text-muted: #555555;
    --accent: #2c3e50;
    --accent-light: #eceef1;
    --white: #ffffff;
    --font-family: 'Inter', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Image Styles */
.rounded-shadow-img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    object-fit: cover;
    display: block;
}

/* Typography */
h1, h2, h3 {
    font-weight: 800;
    line-height: 1.2;
}

h1 { font-size: 3.5rem; margin-bottom: 1.5rem; }
h2 { font-size: 2.5rem; margin-bottom: 1.5rem; }
h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }
p { color: var(--text-muted); margin-bottom: 1rem; }

/* Header */
header {
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--accent-light);
    background-color: var(--white);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.nav-links a {
    font-weight: 600;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #666;
}

/* Buttons */
.btn-primary, .btn-primary-outline, .btn-secondary {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    font-weight: 600;
    border-radius: 4px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

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

.btn-primary:hover { background-color: #1a252f; }

.btn-primary-outline {
    border: 2px solid var(--accent);
    color: var(--accent);
}

.btn-primary-outline:hover {
    background-color: var(--accent);
    color: var(--white);
}

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

.btn-secondary:hover { background-color: #dadde2; }

/* Hero */
.hero {
    padding: 8rem 0 5rem;
}

.hero-content {
    max-width: 800px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 4rem;
}

.stats-row {
    display: flex;
    gap: 4rem;
    border-top: 1px solid var(--accent-light);
    padding-top: 2rem;
}

.stat-item h3 {
    font-size: 2rem;
    color: var(--accent);
}

.stat-item p {
    font-size: 0.9rem;
    font-weight: 600;
    margin: 0;
}

/* About Section */
.about {
    padding: 6rem 0;
    background-color: var(--accent-light);
}

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

.about-features ul {
    list-style: none;
}

.about-features li {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-main);
}

/* Practice Areas */
.practice-areas {
    padding: 6rem 0;
}

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

.card {
    padding: 2.5rem;
    border: 1px solid var(--accent-light);
    border-radius: 4px;
    transition: transform 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

/* Contact Section */
.contact {
    padding: 6rem 0;
    background-color: var(--white);
    border-top: 1px solid var(--accent-light);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.info-block {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.contact-image img {
    max-height: 400px;
    width: 100%;
}

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

footer p {
    color: #a0aab5;
    margin: 0;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    .nav-links { display: none; }
    .about-grid, .contact-grid { grid-template-columns: 1fr; }
    .stats-row { flex-direction: column; gap: 2rem; }
    .about-grid { grid-template-areas: "image" "text"; }
    .about-image { grid-area: image; }
    .about-text { grid-area: text; }
}
