/* ============================================
   AI Workforce Consulting - Showcase Theme
   Matching aiworkforce.consultancy
   ============================================ */

/* CSS Variables */
:root {
    --color-primary: #0f172a;
    --color-primary-rgb: 15, 23, 42;
    --color-accent: #3b82f6;
    --color-accent-hover: #2563eb;
    --color-text: #0f172a;
    --color-text-secondary: #475569;
    --color-text-muted: #64748b;
    --color-background: #ffffff;
    --color-surface: #f8fafc;
    --color-border: #e2e8f0;

    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);

    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;

    --transition: all 0.2s ease;
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-background);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-family);
    font-weight: 600;
    line-height: 1.3;
    color: var(--color-text);
}

a {
    color: var(--color-text);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--color-accent);
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    font-family: var(--font-family);
    font-size: 0.9375rem;
    font-weight: 500;
    border-radius: var(--radius-md);
    border: 1px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

.btn-primary {
    background-color: var(--color-primary);
    color: white;
    border-color: var(--color-primary);
}

.btn-primary:hover {
    background-color: var(--color-accent);
    border-color: var(--color-accent);
    color: white;
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-text);
    border-color: var(--color-border);
}

.btn-secondary:hover {
    background-color: var(--color-surface);
    border-color: var(--color-text-muted);
    color: var(--color-text);
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: var(--color-background);
    border-bottom: 1px solid var(--color-border);
    z-index: 1000;
    padding: 16px 0;
}

.nav-container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-text);
}

.nav-logo:hover {
    color: var(--color-text);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.nav-menu a {
    color: var(--color-text-secondary);
    font-size: 0.9375rem;
    font-weight: 500;
}

.nav-menu a:hover {
    color: var(--color-text);
}

.nav-cta {
    background-color: var(--color-primary);
    color: white !important;
    padding: 10px 20px;
    border-radius: var(--radius-md);
}

.nav-cta:hover {
    background-color: var(--color-accent);
    color: white !important;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    background: none;
    border: none;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--color-text);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    padding: 140px 24px 80px;
    text-align: center;
    background-color: var(--color-background);
}

.hero-content {
    max-width: 720px;
    margin: 0 auto;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
}

/* Section Styles */
.section {
    padding: 80px 0;
}

.section-title {
    font-size: 1.875rem;
    font-weight: 600;
    margin-bottom: 12px;
    text-align: center;
}

.section-intro {
    font-size: 1.0625rem;
    color: var(--color-text-secondary);
    text-align: center;
    margin-bottom: 48px;
}

.content-narrow {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.content-narrow p {
    color: var(--color-text-secondary);
    margin-bottom: 24px;
}

/* Projects Section */
.section-projects {
    background-color: var(--color-surface);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.project-card {
    background-color: var(--color-background);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--color-border);
    transition: var(--transition);
}

.project-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.project-image {
    height: 240px;
    overflow: hidden;
    background-color: var(--color-surface);
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.project-card:hover .project-image img {
    transform: scale(1.03);
}

.placeholder-content {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--color-text-muted);
}

.placeholder-content svg {
    margin-bottom: 12px;
    opacity: 0.5;
}

.placeholder-content p {
    font-weight: 500;
    font-size: 0.9375rem;
}

.project-content {
    padding: 28px;
}

.project-category {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-accent);
    margin-bottom: 12px;
}

.project-placeholder .project-category {
    color: var(--color-text-muted);
}

/* Project Icon Background */
.project-icon-bg {
    background: linear-gradient(135deg, #dbeafe 0%, #ede9fe 100%);
}

.project-icon-bg svg {
    color: var(--color-accent);
    opacity: 1;
}

.project-content h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.project-content p {
    color: var(--color-text-secondary);
    font-size: 0.9375rem;
    margin-bottom: 16px;
    line-height: 1.6;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.project-tags span {
    padding: 4px 12px;
    background-color: var(--color-surface);
    color: var(--color-text-secondary);
    font-size: 0.8125rem;
    border-radius: 20px;
}

/* Services Section */
.section-services {
    background-color: var(--color-background);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    padding: 32px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    transition: var(--transition);
}

.service-card:hover {
    border-color: var(--color-text-muted);
}

.service-card h3 {
    font-size: 1.125rem;
    margin-bottom: 12px;
}

.service-card p {
    color: var(--color-text-secondary);
    font-size: 0.9375rem;
    line-height: 1.6;
}

/* CTA Section */
.section-cta-block {
    background-color: var(--color-surface);
    text-align: center;
}

/* Footer */
.footer {
    background-color: var(--color-primary);
    color: white;
    padding: 60px 0 40px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 40px;
}

.footer-logo {
    font-size: 1.125rem;
    font-weight: 600;
    color: white;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9375rem;
    margin-top: 12px;
    max-width: 300px;
}

.footer-links {
    display: flex;
    gap: 32px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9375rem;
}

.footer-links a:hover {
    color: white;
}

.footer-social {
    display: flex;
    gap: 16px;
}

.social-link {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.social-link:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        gap: 32px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--color-background);
        flex-direction: column;
        padding: 24px;
        gap: 16px;
        border-bottom: 1px solid var(--color-border);
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.0625rem;
    }

    .section {
        padding: 60px 0;
    }

    .footer-links {
        flex-direction: column;
        gap: 12px;
    }
}
