/* Work Page Styles - inherits base styles from site.css */

main {
    margin-top: 90px;
    padding-bottom: 6rem;
}

/* Hero Section */
.hero {
    padding: 6rem 0;
}

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

.hero-content-wrapper h1 {
    font-size: 2.75rem;
    color: var(--navy);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-description {
    font-size: 1.125rem;
    color: var(--text);
    margin-bottom: 0;
    line-height: 1.7;
}

/* Work Grid Section */
.work-grid-section {
    padding: 4rem 0;
}

.section-title {
    font-size: 2rem;
    color: var(--navy);
    text-align: center;
    margin-bottom: 3rem;
    font-weight: 700;
}

/* Work Grid Layout */
.work-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

@media (min-width: 768px) {
    .work-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
}

/* Work Card Styles */
.work-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(15, 31, 51, 0.06);
}

.work-card:hover {
    border-color: var(--blue);
    box-shadow: 0 8px 24px rgba(45, 156, 202, 0.12);
    transform: translateY(-2px);
}

.work-card-header {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
}

.work-card-header h3 {
    font-size: 1.5rem;
    color: var(--navy);
    margin: 0;
    line-height: 1.3;
}

.work-role {
    display: inline-block;
    background: var(--blue);
    color: white;
    padding: 0.4rem 0.75rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    white-space: nowrap;
    margin-top: 0.25rem;
}

.work-card-body {
    flex: 1;
    margin-bottom: 1.5rem;
}

.work-client-note {
    font-size: 0.8rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
    font-weight: 500;
}

.work-description {
    font-size: 1rem;
    color: var(--text);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.work-focus {
    margin-top: 1.5rem;
}

.work-focus h4 {
    font-size: 0.95rem;
    color: var(--navy);
    font-weight: 600;
    margin: 0 0 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.8rem;
}

.work-focus ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.work-focus li {
    font-size: 0.95rem;
    color: var(--text);
    margin-bottom: 0.5rem;
    padding-left: 1.25rem;
    position: relative;
    line-height: 1.6;
}

.work-focus li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--blue);
    font-weight: 600;
}

.work-card-footer {
    border-top: 1px solid var(--border);
    padding-top: 1rem;
}

.work-scale {
    display: inline-block;
    font-size: 0.8rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 500;
}

/* Pending Card Styles */
.work-card-pending {
    background: var(--bg-subtle);
    border-color: var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
}

.work-card-pending:hover {
    border-color: var(--border);
    box-shadow: 0 2px 8px rgba(15, 31, 51, 0.06);
    transform: none;
}

.work-card-pending-content {
    text-align: center;
}

.work-card-pending-content h3 {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.work-card-pending-content p {
    font-size: 1rem;
    color: var(--text-light);
    margin: 0;
}

/* Work CTA Section */
.work-cta-section {
    background: var(--navy);
    color: white;
    padding: 4rem 0;
    margin-top: 4rem;
}

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

.cta-content h2 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 2rem;
    line-height: 1.3;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    font-size: 1.0625rem;
    line-height: 1.7;
}

.cta-button {
    display: inline-block;
    background: white;
    color: var(--navy);
    padding: 1rem 2.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    min-height: 48px;
    line-height: 1.5;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.cta-alternative {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    margin-top: 1.5rem;
}

.cta-alternative a {
    color: white;
    text-decoration: underline;
    transition: opacity 0.3s ease;
}

.cta-alternative a:hover {
    opacity: 0.8;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    main {
        margin-top: 70px;
    }

    .hero {
        padding: 4rem 0;
    }

    .hero-content-wrapper h1 {
        font-size: 2rem;
    }

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

    .work-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .work-card {
        padding: 1.5rem;
    }

    .work-card-header {
        flex-direction: column;
    }

    .work-role {
        align-self: flex-start;
    }

    .work-cta-section {
        padding: 3rem 0;
    }

    .cta-content h2 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

    .cta-content p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .cta-button {
        padding: 0.875rem 2rem;
        font-size: 0.95rem;
    }
}
