/* What We Do Theme - Amber/Orange schematic style */

.theme-whatwedo {
    --theme-primary: rgb(245, 158, 11);
    --theme-primary-light: rgb(251, 191, 36);
    --theme-bg: rgb(28, 25, 23);
    --theme-surface: rgb(41, 37, 36);
    --theme-text: rgb(214, 211, 209);
    --theme-text-muted: rgb(168, 162, 158);

    background: var(--theme-bg);
    color: var(--theme-text);
    font-family: var(--font-base);
    min-height: 100vh;
}

/* Hero */
.whatwedo-hero {
    background: linear-gradient(135deg, var(--theme-bg) 0%, rgb(41, 37, 36) 100%);
    padding: var(--space-16) var(--space-6);
    text-align: center;
    border-bottom: 1px solid rgba(245, 158, 11, 0.3);
    position: relative;
    overflow: hidden;
}

/* Hero with background image */
.whatwedo-hero[style*="--hero-bg"] {
    background: none;
}

.whatwedo-hero[style*="--hero-bg"]::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: var(--hero-bg);
    background-size: cover;
    background-position: center;
    z-index: 0;
    opacity: 0.8;
}

.whatwedo-hero[style*="--hero-bg"]::before {
    z-index: 1;
    background:
        linear-gradient(to bottom, transparent 0%, transparent 100%),
        linear-gradient(to right, rgba(245, 158, 11, 0.05) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(245, 158, 11, 0.05) 1px, transparent 1px);
    background-size: 100% 100%, 48px 48px, 48px 48px;
}

.whatwedo-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to right, rgba(245, 158, 11, 0.05) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(245, 158, 11, 0.05) 1px, transparent 1px);
    background-size: 48px 48px;
    pointer-events: none;
}

.whatwedo-hero .hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.whatwedo-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-1) var(--space-3);
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.3);
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--theme-primary);
    margin-bottom: var(--space-4);
}

.whatwedo-hero .hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: var(--space-4);
    line-height: 1.2;
}

.whatwedo-hero .hero-subtitle {
    font-size: 1.125rem;
    color: var(--theme-text-muted);
    margin-bottom: var(--space-8);
}

/* Sections */
.whatwedo-section {
    padding: var(--space-12) var(--space-6);
}

.whatwedo-section-alt {
    background: rgba(245, 158, 11, 0.03);
    border-top: 1px solid rgba(245, 158, 11, 0.1);
    border-bottom: 1px solid rgba(245, 158, 11, 0.1);
}

.whatwedo-section-title {
    font-family: var(--font-mono);
    font-size: 0.875rem;
    color: var(--theme-primary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-8);
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.whatwedo-section-title::before {
    content: '///';
    color: rgba(245, 158, 11, 0.5);
}

/* Panel */
.whatwedo-panel {
    background: rgba(41, 37, 36, 0.8);
    border: 1px solid rgba(245, 158, 11, 0.2);
    padding: var(--space-6);
    margin-bottom: var(--space-8);
}

.whatwedo-intro {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--theme-text);
}

/* Card Grid */
.whatwedo-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-4);
}

.whatwedo-card {
    background: rgba(41, 37, 36, 0.5);
    border: 1px solid rgba(245, 158, 11, 0.2);
    padding: var(--space-4);
    display: flex;
    align-items: flex-start;
    gap: var(--space-2);
    transition: all 0.2s ease;
}

.whatwedo-card:hover {
    border-color: rgba(245, 158, 11, 0.5);
    background: rgba(41, 37, 36, 0.8);
}

.whatwedo-card-number {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--theme-primary);
    margin-top: 2px;
}

.whatwedo-card-text {
    color: var(--theme-text);
    font-size: 0.9375rem;
}

/* Service Grid */
.whatwedo-service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-6);
}

.whatwedo-service-card {
    background: rgba(41, 37, 36, 0.6);
    border: 1px solid rgba(245, 158, 11, 0.2);
    padding: var(--space-6);
    transition: all 0.2s ease;
}

.whatwedo-service-card:hover {
    border-color: rgba(245, 158, 11, 0.4);
    transform: translateY(-2px);
}

.whatwedo-service-icon {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--theme-primary);
    background: rgba(245, 158, 11, 0.1);
    padding: var(--space-1) var(--space-2);
    display: inline-block;
    margin-bottom: var(--space-3);
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.whatwedo-service-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: white;
    margin-bottom: var(--space-2);
}

.whatwedo-service-desc {
    font-size: 0.9375rem;
    color: var(--theme-text-muted);
    line-height: 1.6;
    margin-bottom: var(--space-4);
}

.whatwedo-service-list {
    list-style: none;
    padding: 0;
    margin: 0;
    border-top: 1px solid rgba(245, 158, 11, 0.1);
    padding-top: var(--space-3);
}

.whatwedo-service-list li {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-1) 0;
    font-size: 0.875rem;
    color: var(--theme-text);
}

.whatwedo-service-list li::before {
    content: '\2192';
    color: var(--theme-primary);
    font-size: 0.75rem;
}

/* CTA */
.whatwedo-cta {
    background: rgba(41, 37, 36, 0.8);
    border-top: 2px solid rgba(245, 158, 11, 0.5);
    border-bottom: 2px solid rgba(245, 158, 11, 0.5);
    padding: var(--space-12) var(--space-6);
    text-align: center;
}

.whatwedo-cta-text {
    font-family: var(--font-mono);
    font-size: 1.25rem;
    color: var(--theme-primary-light);
    margin-bottom: var(--space-6);
}

/* Button overrides */
.theme-whatwedo .btn-primary {
    background: var(--theme-primary);
    color: var(--theme-bg);
    border: none;
    font-weight: 600;
}

.theme-whatwedo .btn-primary:hover {
    background: var(--theme-primary-light);
}

/* Responsive */
@media (max-width: 768px) {
    .whatwedo-hero .hero-title {
        font-size: 1.75rem;
    }

    .whatwedo-service-grid {
        grid-template-columns: 1fr;
    }

    .whatwedo-card-grid {
        grid-template-columns: 1fr;
    }
}
