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

html {
    scroll-behavior: smooth;
    font-size: 18px;
}

body {
    font-family: 'EB Garamond', Georgia, 'Times New Roman', serif;
    line-height: 1.7;
    color: #1a1a1a;
    background-color: #ffffff;
    overflow-x: hidden;
    font-weight: 400;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 240px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo {
    height: 300px;
    width: auto;
    max-width: 800px;
}

.logo-text {
    display: flex;
    align-items: center;
    gap: 15px;
}

.firm-initials {
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, #2E5A87 0%, #1E3A5F 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.4rem;
    border-radius: 8px;
    letter-spacing: 1px;
    font-family: 'EB Garamond', serif;
}

.firm-details {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.firm-name {
    font-size: 1.6rem;
    font-weight: 700;
    color: #2E5A87;
    letter-spacing: -0.5px;
    font-family: 'EB Garamond', serif;
    line-height: 1.2;
}

.firm-type {
    font-size: 1rem;
    font-weight: 600;
    color: #1E3A5F;
    letter-spacing: 1px;
    font-family: 'EB Garamond', serif;
}

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

.nav-link {
    text-decoration: none;
    color: #4a5568;
    font-weight: 500;
    font-size: 1.1rem;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #2E5A87;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: #2E5A87;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Mobile phone removed from header for cleaner layout */

.language-toggle {
    margin-left: 2rem;
}

.lang-btn {
    background: none;
    border: 1px solid #2E5A87;
    border-radius: 25px;
    padding: 0.6rem 1.2rem;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    font-family: 'EB Garamond', serif;
}

.lang-btn:hover {
    background-color: rgba(46, 90, 135, 0.1);
}

.lang-en, .lang-es {
    color: #666;
    transition: color 0.3s ease;
}

.lang-en.active, .lang-es.active {
    color: #2E5A87;
}

.lang-divider {
    color: #ccc;
    margin: 0 0.5rem;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #2E5A87 0%, #1E3A5F 50%, #2E5A87 100%);
    color: white;
    position: relative;
    overflow: hidden;
    padding-top: 240px;
}

/* Hero overlay removed to show the beautiful blue gradient */

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 1;
    text-align: center;
}

.hero-content {
    /* Animation removed for immediate, professional display */
}

.hero-title {
    font-size: 4rem;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1.5rem;
    font-family: 'EB Garamond', serif;
}

.hero-subtitle {
    display: block;
    color: #E6F3FF;
    font-size: 2.8rem;
    margin-top: 0.5rem;
    font-weight: 400;
    font-style: italic;
}

.hero-description {
    font-size: 1.5rem;
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
}

.hero-contact {
    margin-bottom: 2rem;
}

.hero-phone {
    text-align: center;
    margin-bottom: 1.5rem;
}

.phone-link {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #E6F3FF;
    text-decoration: none;
    margin-bottom: 0.5rem;
    font-family: 'EB Garamond', serif;
    transition: all 0.3s ease;
}

.phone-link:hover {
    color: #ffffff;
    transform: scale(1.05);
}

.phone-label {
    display: block;
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

.btn {
    padding: 1.2rem 2.5rem;
    border: none;
    border-radius: 8px;
    font-size: 1.2rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    cursor: pointer;
    min-width: 200px;
    text-align: center;
}

.btn-primary {
    background-color: #E6F3FF;
    color: #2E5A87;
    font-weight: 600;
    letter-spacing: 0.3px;
    font-family: 'EB Garamond', serif;
    font-size: 1.2rem;
}

.btn-primary:hover {
    background-color: #ffffff;
    color: #1E3A5F;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(230, 243, 255, 0.4);
}

.btn-secondary {
    background-color: transparent;
    color: white;
    border: 2px solid white;
    font-family: 'EB Garamond', serif;
    font-size: 1.2rem;
    font-weight: 500;
}

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

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    /* Animation removed for immediate display */
}

.hero-graphic {
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Hero icons removed for professional appearance */

/* Section Styles */
section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 3rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}

.section-subtitle {
    font-size: 1.4rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    font-weight: 500;
}

/* About Section */
.about {
    background-color: #f8fafc;
}

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

.about-image {
    text-align: center;
}

.attorney-photo {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    object-fit: cover;
    border: 8px solid white;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.about-intro {
    font-size: 1.4rem;
    color: #2d3748;
    margin-bottom: 2rem;
    line-height: 1.7;
}

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

.credential-item h4 {
    color: #1a1a1a;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 1rem;
}

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

.about-conclusion {
    font-size: 1.3rem;
    color: #4a5568;
    line-height: 1.7;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.service-card {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}

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

/* Service icons removed for professional appearance */

.service-title {
    font-size: 1.7rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 1rem;
    letter-spacing: -0.3px;
}

.service-description {
    color: #4a5568;
    line-height: 1.7;
    font-size: 1.1rem;
}

/* Representative Cases Section */
.cases {
    background-color: #f8f9fa;
    padding: 6rem 0;
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 2.5rem;
}

.case-card {
    background: white;
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(46, 90, 135, 0.08);
    transition: all 0.3s ease;
    border-left: 4px solid #2E5A87;
}

.case-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(46, 90, 135, 0.15);
}

.case-court {
    font-size: 1rem;
    color: #2E5A87;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
    font-family: 'EB Garamond', serif;
}

.case-title {
    font-size: 1.6rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 1rem;
    line-height: 1.4;
    font-family: 'EB Garamond', serif;
}

.case-description {
    color: #4a5568;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.case-outcome {
    font-weight: 600;
    color: #2E5A87;
    font-size: 1rem;
    padding: 0.6rem 1.2rem;
    background-color: #E6F3FF;
    border-radius: 20px;
    display: inline-block;
    font-family: 'EB Garamond', serif;
}

/* Contact Section */
.contact {
    background: linear-gradient(135deg, #2E5A87 0%, #1E3A5F 50%, #2E5A87 100%);
    color: white;
}

.contact .section-title,
.contact .section-subtitle {
    color: white;
}

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

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    margin-bottom: 2rem;
}

/* Contact icons removed for professional appearance */

.contact-details h4 {
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #E6F3FF;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 1rem;
    font-family: 'EB Garamond', serif;
}

.contact-details p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    font-size: 1.1rem;
}

.contact-phone-link {
    color: #E6F3FF;
    text-decoration: none;
    font-size: 1.4rem;
    font-weight: 700;
    transition: all 0.3s ease;
}

.contact-phone-link:hover {
    color: #ffffff;
    text-decoration: underline;
}

.phone-instruction {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    font-style: italic;
    margin-top: 0.5rem;
}

.contact-form {
    background: rgba(255, 255, 255, 0.1);
    padding: 2.5rem;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.consultation-info h3 {
    margin-bottom: 1.5rem;
    color: white;
    font-size: 1.8rem;
    font-weight: 700;
}

.consultation-info h4 {
    margin: 2rem 0 1rem 0;
    color: #E6F3FF;
    font-size: 1.4rem;
    font-weight: 600;
}

.consultation-info h5 {
    color: #E6F3FF;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.consultation-intro {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.consultation-outcomes {
    margin: 1.5rem 0;
}

.outcome-item {
    margin-bottom: 1.5rem;
    padding-left: 1rem;
    border-left: 3px solid #E6F3FF;
}

.outcome-item p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1rem;
    line-height: 1.6;
}

.consultation-value {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    line-height: 1.7;
    margin: 2rem 0;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border-left: 4px solid #E6F3FF;
}

.consultation-timeline {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.consultation-form h4 {
    margin-bottom: 1.5rem;
    color: white;
    font-size: 1.4rem;
    font-weight: 600;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1.2rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #a0c4ff;
    background: rgba(255, 255, 255, 0.2);
}

.form-group select option {
    background: #1a365d;
    color: white;
}

.btn-full {
    width: 100%;
}

/* Footer */
.footer {
    background-color: #f8f9fa;
    color: #4a5568;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

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

.footer-logo .firm-name {
    color: #2E5A87;
}

.footer-description {
    line-height: 1.7;
    max-width: 300px;
    color: #4a5568;
}

.footer-disclaimer {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #666;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #e2e8f0;
    color: #666;
}

/* Animations removed for professional, immediate display */

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-container {
        height: 160px;
        justify-content: space-between;
        align-items: center;
        padding: 1rem 15px;
    }

    .logo {
        height: 120px;
        max-width: 300px;
    }

    .language-toggle {
        margin-left: 1rem;
    }

    .lang-btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
        min-width: 100px;
        white-space: nowrap;
    }

    .hamburger {
        position: absolute;
        top: 20px;
        right: 20px;
        z-index: 1001;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 160px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
        z-index: 999;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-item {
        margin: 1rem 0;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero {
        padding-top: 160px;
    }

    .hero-container {
        display: flex;
        flex-direction: column;
        text-align: center;
        padding: 1rem 15px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 2rem;
    }

    .hero-description {
        font-size: 1.2rem;
        margin-bottom: 2rem;
    }

    .hero-phone .phone-link {
        font-size: 2rem;
    }

    .hero-buttons {
        justify-content: center;
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .btn {
        width: 100%;
        max-width: 300px;
    }

    .hero-graphic {
        width: 200px;
        height: 200px;
    }

    .justice-icon {
        font-size: 5rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .attorney-photo {
        width: 250px;
        height: 250px;
    }

    .credentials {
        grid-template-columns: 1fr;
        text-align: left;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        padding: 2rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .section-title {
        font-size: 2rem;
    }

    .section-subtitle {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .nav-container {
        padding: 0 15px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.5rem;
    }

    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }

    .service-card {
        padding: 1.5rem;
    }

    .contact-form {
        padding: 2rem;
    }

    section {
        padding: 3rem 0;
    }
}

/* Smooth scroll offset for fixed navbar */
html {
    scroll-padding-top: 240px;
}

/* Mobile scroll padding */
@media (max-width: 768px) {
    html {
        scroll-padding-top: 180px;
    }
}

/* Loading states and interactions */
.btn:active {
    transform: translateY(0);
}

.service-card:active {
    transform: translateY(-2px);
}

/* Focus styles for accessibility */
.nav-link:focus,
.btn:focus,
input:focus,
select:focus,
textarea:focus {
    outline: 2px solid #2b6cb0;
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .navbar,
    .hero-buttons,
    .contact-form {
        display: none;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    .hero {
        min-height: auto;
        padding: 2rem 0;
    }
}
