/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
    color: #1a365d;
}

h2 {
    font-size: 2rem;
    color: #2d3748;
    text-align: center;
    margin-bottom: 2rem;
}

h3 {
    font-size: 1.5rem;
    color: #2d3748;
}

p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    line-height: 1.7;
}

/* Header */
.header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 0;
}

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

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 60px;
    width: auto;
    border-radius: 8px;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.header-right .phone {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.3rem;
}

.header-right .phone a {
    color: #2b6cb0;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.3rem;
}

.header-right .phone a:hover {
    text-decoration: underline;
}

.header-right .phone i {
    color: #2b6cb0;
    font-size: 1.3rem;
}

.header-buttons {
    display: flex;
    gap: 1rem;
}

.btn-header {
    background: #2b6cb0;
    color: white;
    padding: 10px 20px;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-header:hover {
    background: #2c5282;
    transform: translateY(-2px);
}

.btn-header i {
    font-size: 1rem;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 140px 0 100px;
    margin-top: 80px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
    z-index: 1;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-text {
    max-width: 600px;
}

.hero-text h2 {
    font-size: 3.5rem;
    color: white;
    text-align: left;
    margin-bottom: 0.5rem;
    font-weight: 700;
    line-height: 1.1;
}

.hero-text h3 {
    font-size: 1.8rem;
    color: #e2e8f0;
    margin-bottom: 1.5rem;
    font-weight: 400;
    font-style: italic;
}

.specialization {
    font-size: 1.4rem;
    font-weight: 500;
    color: #f7fafc;
    margin-bottom: 2.5rem;
    line-height: 1.4;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.hero-buttons .btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.hero-buttons .btn i {
    font-size: 1.1rem;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: #2b6cb0;
    color: white;
}

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

.btn-secondary {
    background: #4a5568;
    color: white;
    border: 2px solid #4a5568;
}

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

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.attorney-photo {
    width: 100%;
    max-width: 450px;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    border: 4px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease;
}

.attorney-photo:hover {
    transform: scale(1.02);
}

/* About Section */
.about {
    padding: 80px 0;
    background: #f7fafc;
}

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

.about-text p {
    font-size: 1.2rem;
    color: #4a5568;
}

/* Practice Areas */
.practice-areas {
    padding: 80px 0;
    background: white;
}

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

.area-card {
    background: #f7fafc;
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.area-card:hover {
    transform: translateY(-5px);
}

.area-icon {
    font-size: 3rem;
    color: #2b6cb0;
    margin-bottom: 1rem;
}

.area-card h3 {
    color: #1a365d;
    margin-bottom: 0.5rem;
}

.area-card h4 {
    color: #2b6cb0;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.blog-link {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e2e8f0;
}

.substack-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #2b6cb0;
    text-decoration: none;
    font-weight: 600;
    margin-top: 0.5rem;
    font-size: 1.15rem;
}

.substack-link:hover {
    text-decoration: underline;
}

.substack-link i {
    font-size: 1.1rem;
}

.practice-note {
    background: #fff5f5;
    border-left: 4px solid #e53e3e;
    padding: 1rem;
    margin-top: 1rem;
    border-radius: 0 5px 5px 0;
}

.practice-note p {
    margin: 0;
    color: #742a2a;
}

/* Philosophy Section */
.philosophy {
    padding: 80px 0;
    background: #1a365d;
    color: white;
    text-align: center;
}

.philosophy h2 {
    color: white;
    margin-bottom: 2rem;
}

.philosophy-content {
    max-width: 800px;
    margin: 0 auto;
}

.philosophy p {
    font-size: 1.2rem;
    color: #e2e8f0;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background: #f7fafc;
}

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

.contact-info-section {
    display: flex;
    flex-direction: row;
    gap: 3rem;
    justify-content: center;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: white;
    padding: 2rem 2.5rem;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    min-width: 280px;
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(43, 108, 176, 0.15);
    border-color: #2b6cb0;
}

.contact-item i {
    font-size: 2rem;
    color: white;
    background: linear-gradient(135deg, #2b6cb0 0%, #667eea 100%);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(43, 108, 176, 0.3);
}

.contact-item h4 {
    color: #1a365d;
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
    font-weight: 600;
}

.contact-item p {
    font-size: 1.15rem;
    color: #4a5568;
    line-height: 1.6;
}

.contact-item a {
    color: #2b6cb0;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.15rem;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: #667eea;
}

.case-note {
    font-size: 0.9rem;
    color: #718096;
    font-style: italic;
    margin: 0;
}

.contact-form-iframe {
    margin: 3rem 0 2rem 0;
    text-align: center;
    background: white;
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    display: block;
}

.contact-form-iframe h4 {
    color: #1a365d;
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
    font-weight: 600;
}

.contact-iframe {
    width: 100%;
    max-width: 900px;
    height: 1000px;
    border: none;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    background: white;
}

/* Existing Clients Section */
.existing-clients {
    padding: 80px 0;
    background: white;
}

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

.clients-intro {
    margin-bottom: 3rem;
}

.clients-intro h3 {
    color: #1a365d;
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.clients-intro p {
    color: #4a5568;
    font-size: 1.2rem;
    line-height: 1.6;
}

.client-buttons {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.client-buttons .btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 15px 30px;
    font-size: 1.1rem;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    min-width: 200px;
}

.client-buttons .btn i {
    font-size: 1.2rem;
}

/* Footer */
.footer {
    background: #1a365d;
    color: white;
    padding: 2rem 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-logo-img {
    height: 60px;
    width: auto;
    border-radius: 5px;
    padding: 8px;
    background: white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.footer-logo h3 {
    color: white;
    margin: 0;
}

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

.footer-info p {
    margin: 0.25rem 0;
    color: #e2e8f0;
    font-size: 0.9rem;
}

.web-credit {
    font-size: 0.75rem !important;
    color: #a0aec0 !important;
    margin-top: 0.5rem !important;
}

.web-credit a {
    color: #a0aec0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.web-credit a:hover {
    color: #e2e8f0;
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header {
        padding: 1.5rem 0;
    }
    
    .header-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .header-right {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
    }
    
    .header-buttons {
        flex-direction: column;
        width: 100%;
        gap: 0.75rem;
    }
    
    .btn-header {
        width: 100%;
        justify-content: center;
    }
    
    .hero {
        margin-top: 200px;
        padding: 100px 0 80px;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-text {
        max-width: none;
    }
    
    .hero-text h2 {
        font-size: 2.8rem;
    }
    
    .hero-text h3 {
        font-size: 1.5rem;
    }
    
    .specialization {
        font-size: 1.2rem;
        max-width: none;
    }
    
    .areas-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-info-section {
        flex-direction: column;
        gap: 2rem;
    }
    
    .contact-iframe {
        height: 1200px;
        max-width: 100%;
    }
    
    .contact-form-iframe {
        padding: 2rem;
        margin: 2rem 0;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-info {
        text-align: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .header {
        padding: 1rem 0;
    }
    
    .hero {
        margin-top: 180px;
        padding: 80px 0 60px;
    }
    
    .hero-text h2 {
        font-size: 2.2rem;
    }
    
    .hero-text h3 {
        font-size: 1.3rem;
    }
    
    .specialization {
        font-size: 1.1rem;
    }
    
    .hero-buttons {
        gap: 1rem;
    }
    
    .area-card {
        padding: 1.5rem;
    }
    
    .contact-iframe {
        height: 1200px;
        max-width: 100%;
    }
    
    .contact-form-iframe {
        padding: 1.5rem;
        margin: 1.5rem 0;
    }
    
    .contact-form-iframe h4 {
        font-size: 1.2rem;
    }
    
    .client-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .client-buttons .btn {
        min-width: auto;
        width: 100%;
        max-width: 300px;
    }
}

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

/* Loading animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content,
.about-content,
.area-card,
.contact-content {
    animation: fadeIn 0.8s ease-out;
}
