/* ========================================
   VARIABLES
======================================== */
:root {
    --accent: #8B5CF6;
    --accent-light: #A78BFA;
    --accent-dark: #7C3AED;
    --black: #0A0A0A;
    --black-light: #141414;
    --gray-dark: #374151;
    --gray: #6B7280;
    --gray-light: #9CA3AF;
    --off-white: #F5F5F5;
    --white: #FFFFFF;

    --font-heading: 'Archivo Black', sans-serif;
    --font-body: 'Inter', sans-serif;

    --container-width: 1200px;
    --section-padding: 120px;
}

/* ========================================
   RESET & BASE
======================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 18px;
    line-height: 1.7;
    color: var(--black);
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--accent-dark);
}

ul {
    list-style: none;
}

/* ========================================
   NAVIGATION - PRIMARY
======================================== */
.nav-primary {
    background: var(--black);
    padding: 40px 0 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.nav-secondary .nav-container {
    justify-content: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 800;
    color: var(--white);
    letter-spacing: 3px;
}

.logo:hover {
    color: var(--accent-light);
}

/* ========================================
   NAVIGATION - SECONDARY
======================================== */
.nav-secondary {
    background: var(--black);
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-light);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.nav-links a:hover {
    color: var(--white);
}

/* ========================================
   HERO - Dark
======================================== */
.hero {
    min-height: 70vh;
    display: flex;
    align-items: center;
    padding: var(--section-padding) 40px;
    background: var(--black);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 200%;
    background: radial-gradient(ellipse, rgba(139, 92, 246, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.hero-content {
    max-width: var(--container-width);
    margin: 0 auto;
    width: 100%;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(48px, 8vw, 80px);
    font-weight: 700;
    line-height: 1.1;
    color: var(--white);
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 22px;
    color: var(--gray-light);
    margin-bottom: 40px;
}

.cta-button {
    display: inline-block;
    padding: 16px 40px;
    background: var(--accent);
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background: var(--accent-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(139, 92, 246, 0.4);
}

/* ========================================
   TWO-COLUMN SECTIONS
======================================== */
.two-col-section {
    padding: var(--section-padding) 40px;
    background: var(--white);
}

/* Light background (default) */
.two-col-section .col-left h2 {
    color: var(--black);
}

.two-col-section .col-right p {
    color: var(--gray-dark);
}

.two-col-section .col-left h2 .highlight {
    color: var(--accent);
}

/* Dark background variant */
.two-col-section.dark-bg {
    background: var(--black);
}

.two-col-section.dark-bg .col-left h2 {
    color: var(--white);
}

.two-col-section.dark-bg .col-right p {
    color: var(--gray-light);
}

/* Alt background (off-white) */
.two-col-section.alt-bg {
    background: var(--off-white);
}

.section-container {
    max-width: var(--container-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: start;
}

.col-left h2 {
    font-family: var(--font-heading);
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: 1px;
    position: sticky;
    top: 100px;
}

.col-right p {
    margin-bottom: 20px;
}

.col-right p:last-child {
    margin-bottom: 0;
}

/* ========================================
   SERVICES LIST - On dark background
======================================== */
.services-list {
    margin-bottom: 32px;
}

.service-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.service-toggle {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 18px;
    color: var(--white);
    text-align: left;
    transition: color 0.2s ease;
}

.service-toggle:hover {
    color: var(--accent-light);
}

.toggle-icon {
    font-size: 24px;
    font-weight: 300;
    color: var(--accent-light);
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 16px;
}

.service-item.active .toggle-icon {
    transform: rotate(45deg);
}

.service-details {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.service-item.active .service-details {
    max-height: 200px;
    padding-bottom: 20px;
}

.service-details p {
    color: var(--gray-light);
    font-size: 16px;
    line-height: 1.7;
    padding-left: 0;
}

.services-note {
    font-size: 16px;
    color: var(--gray);
    font-style: italic;
}

/* ========================================
   CURRENT WORK - On light background
======================================== */
.current-work {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.work-item {
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.work-item:last-child {
    padding-bottom: 0;
    border-bottom: none;
}

.work-item h3 {
    font-family: var(--font-heading);
    font-size: 24px;
    color: var(--black);
    margin-bottom: 12px;
}

.work-item p {
    color: var(--gray-dark);
    margin-bottom: 12px;
}

.work-item a {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
    color: var(--accent);
}

.work-item a:hover {
    color: var(--accent-dark);
}

/* ========================================
   TESTIMONIAL - Accent colored
======================================== */
.testimonial-section {
    padding: var(--section-padding) 40px;
    background: linear-gradient(135deg, var(--accent-dark) 0%, var(--accent) 100%);
}

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

.testimonial-section blockquote p {
    font-size: clamp(20px, 3vw, 28px);
    line-height: 1.6;
    color: var(--white);
    margin-bottom: 40px;
    font-style: italic;
}

.testimonial-section cite {
    display: block;
    font-style: normal;
}

.testimonial-section cite strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 20px;
    color: var(--white);
    margin-bottom: 4px;
}

.testimonial-section cite span {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ========================================
   CONTACT - Dark
======================================== */
.contact-section {
    padding: var(--section-padding) 40px;
    background: var(--black);
    text-align: center;
}

.contact-container {
    max-width: var(--container-width);
    margin: 0 auto;
}

.contact-section h2 {
    font-family: var(--font-heading);
    font-size: clamp(40px, 6vw, 64px);
    font-weight: 700;
    color: var(--white);
    letter-spacing: 2px;
    margin-bottom: 60px;
}

.contact-links {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
}

.contact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 32px 48px;
    background: var(--black-light);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.contact-item:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(139, 92, 246, 0.2);
}

.contact-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--gray);
}

.contact-value {
    font-family: var(--font-heading);
    font-size: 18px;
    color: var(--white);
}

.contact-item:hover .contact-value {
    color: var(--accent-light);
}

/* ========================================
   FOOTER
======================================== */
.footer {
    padding: 40px;
    text-align: center;
    background: var(--black);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer p {
    font-size: 14px;
    color: var(--gray);
}

/* ========================================
   ANIMATIONS
======================================== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   RESPONSIVE
======================================== */
@media (max-width: 900px) {
    :root {
        --section-padding: 80px;
    }

    .section-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .col-left h2 {
        position: static;
    }

    .hero {
        min-height: 60vh;
    }

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

    .two-col-section,
    .testimonial-section,
    .contact-section,
    .hero {
        padding-left: 24px;
        padding-right: 24px;
    }
}

@media (max-width: 600px) {
    :root {
        --section-padding: 60px;
    }

    body {
        font-size: 16px;
    }

    .logo {
        font-size: 18px;
        letter-spacing: 2px;
        text-align: center;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .services-list li {
        font-size: 17px;
    }

    .contact-links {
        flex-direction: column;
        gap: 20px;
    }

    .contact-item {
        width: 100%;
        padding: 24px;
    }
}
