/* ==========================================================================
   AURAX — Page-Specific Architectural Styles & Homepage Sections
   ========================================================================== */

/* ==========================================================================
   1. Homepage: Cinematic Architectural Hero
   ========================================================================== */

.hero {
    position: relative;
    width: 100%;
    min-height: 100svh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #0A0A0A;
    overflow: hidden;
    padding: calc(var(--header-height) + 40px) 0 80px;
}

.hero-bg-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 35%;
    transform: scale(1.05);
    transition: transform 10s ease-out;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        180deg,
        rgba(10, 10, 10, 0.45) 0%,
        rgba(10, 10, 10, 0.65) 50%,
        rgba(10, 10, 10, 0.95) 100%
    );
    z-index: 2;
}

.hero-contour-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
    pointer-events: none;
    opacity: 0.25;
}

.hero-contour-overlay svg {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-content {
    position: relative;
    z-index: 10;
    width: 100%;
}

.hero-text-wrapper {
    max-width: 960px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    font-family: var(--font-mono);
    font-size: var(--text-meta);
    letter-spacing: var(--tracking-widest);
    text-transform: uppercase;
    color: var(--color-sand);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 6px 14px;
    border-radius: 2px;
    background-color: rgba(10, 10, 10, 0.5);
    backdrop-filter: blur(4px);
    margin-bottom: var(--space-xl);
}

.hero-title {
    font-size: var(--text-hero);
    font-weight: 700;
    line-height: 0.94;
    letter-spacing: var(--tracking-tighter);
    color: var(--color-pure-white);
    margin-bottom: var(--space-xl);
    text-transform: uppercase;
}

.hero-title span {
    display: block;
}

.hero-subtitle {
    font-size: var(--text-body-lg);
    line-height: 1.6;
    color: var(--color-sand);
    max-width: 580px;
    margin-bottom: var(--space-2xl);
    font-weight: 400;
}

.hero-cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    margin-bottom: var(--space-2xl);
}

.hero-meta-strip {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: var(--tracking-wider);
    text-transform: uppercase;
    color: var(--color-ash);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: var(--space-lg);
    max-width: 680px;
}

.hero-coordinates {
    position: absolute;
    bottom: 28px;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: var(--tracking-wider);
    color: var(--color-ash);
    z-index: 10;
}

.hero-coordinates.left { left: var(--container-padding); }
.hero-coordinates.right { right: var(--container-padding); }

.scroll-indicator {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--color-stone);
    z-index: 10;
    cursor: pointer;
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.scroll-line {
    width: 1px;
    height: 32px;
    background: linear-gradient(180deg, var(--color-green-light) 0%, transparent 100%);
    animation: pulseScroll 2s infinite ease-in-out;
}

@keyframes pulseScroll {
    0% { transform: scaleY(0); transform-origin: top; }
    50% { transform: scaleY(1); transform-origin: top; }
    50.1% { transform-origin: bottom; }
    100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ==========================================================================
   2. Homepage: Brand Statement Section
   ========================================================================== */

.brand-statement-text {
    font-size: clamp(1.85rem, 3.2vw, 3.25rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: var(--tracking-tight);
    color: var(--color-black);
}

.stat-metrics-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
    margin-top: var(--space-xl);
    border-top: 1px solid var(--color-sand);
    padding-top: var(--space-lg);
}

.stat-metric-card {
    display: flex;
    flex-direction: column;
}

.stat-metric-num {
    font-family: var(--font-mono);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-green);
    margin-bottom: 2px;
}

.stat-metric-label {
    font-family: var(--font-heading);
    font-size: var(--text-xs);
    font-weight: 700;
    letter-spacing: var(--tracking-wider);
    text-transform: uppercase;
    color: var(--color-black);
}

/* ==========================================================================
   3. Homepage: About AURAX & Numbered Pillars
   ========================================================================== */

.trust-pillars {
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
}

.pillar {
    border-top: 1px solid var(--color-slate);
    padding-top: var(--space-lg);
}

.pillar-header {
    display: flex;
    align-items: baseline;
    gap: var(--space-sm);
    margin-bottom: var(--space-xs);
}

.pillar-num {
    font-family: var(--font-mono);
    font-size: var(--text-sm);
    color: var(--color-green-light);
    font-weight: 700;
}

.pillar-title {
    font-size: var(--text-h4);
    font-weight: 700;
    letter-spacing: var(--tracking-wide);
    color: var(--color-pure-white);
    text-transform: uppercase;
}

.pillar-desc {
    font-size: var(--text-sm);
    color: var(--color-stone);
    line-height: 1.6;
}

/* ==========================================================================
   4. Homepage: Capabilities / Services Editorial List
   ========================================================================== */

.services-container {
    position: relative;
}

.services-list {
    display: flex;
    flex-direction: column;
}

.service-row {
    display: grid;
    grid-template-columns: 80px 1.5fr 2fr 48px;
    align-items: center;
    gap: var(--space-lg);
    padding: var(--space-xl) 0;
    border-bottom: 1px solid var(--color-slate);
    text-decoration: none;
    color: inherit;
    transition: background-color var(--transition-fast), padding var(--transition-fast);
    position: relative;
}

.service-row:hover {
    padding-left: var(--space-sm);
    border-color: var(--color-ash);
}

.service-index {
    font-family: var(--font-mono);
    font-size: var(--text-base);
    font-weight: 700;
    color: var(--color-ash);
    transition: color var(--transition-fast);
}

.service-row:hover .service-index {
    color: var(--color-green-light);
}

.service-name {
    font-size: var(--text-h4);
    font-weight: 700;
    color: var(--color-pure-white);
    letter-spacing: var(--tracking-tight);
    margin: 0;
}

.service-summary {
    font-size: var(--text-sm);
    color: var(--color-stone);
    margin: 0;
    line-height: 1.5;
}

.service-arrow {
    display: flex;
    justify-content: flex-end;
    color: var(--color-ash);
    transition: transform var(--transition-fast), color var(--transition-fast);
}

.service-row:hover .service-arrow {
    transform: translateX(4px);
    color: var(--color-pure-white);
}

/* Floating Hover Image Preview (Desktop) */
.service-preview-float {
    position: fixed;
    top: 0;
    left: 0;
    width: 380px;
    height: 250px;
    pointer-events: none;
    z-index: 100;
    opacity: 0;
    transform: scale(0.95);
    border-radius: 2px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: opacity 250ms ease, transform 250ms ease;
}

.service-preview-float.is-visible {
    opacity: 1;
    transform: scale(1);
}

.service-preview-float img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ==========================================================================
   5. Homepage: Signature Moment ("From Earth to Experience")
   ========================================================================== */

.signature-section {
    position: relative;
    min-height: 70svh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #0A0A0A;
    overflow: hidden;
    padding: var(--section-padding-y) 0;
}

.signature-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.signature-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.signature-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 10, 0.75);
    z-index: 2;
}

.signature-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 900px;
}

.signature-headline {
    font-size: clamp(2.5rem, 5.5vw, 5rem);
    font-weight: 700;
    line-height: 0.95;
    letter-spacing: var(--tracking-tighter);
    color: var(--color-pure-white);
    text-transform: uppercase;
    margin-bottom: var(--space-3xl);
}

.signature-steps-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-lg);
    position: relative;
}

.sig-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.sig-step-num {
    font-family: var(--font-mono);
    font-size: var(--text-xs);
    color: var(--color-green-light);
    font-weight: 700;
}

.sig-step-label {
    font-family: var(--font-heading);
    font-size: var(--text-sm);
    font-weight: 700;
    letter-spacing: var(--tracking-widest);
    color: var(--color-pure-white);
    text-transform: uppercase;
}

/* ==========================================================================
   6. Homepage: Process Timeline ("How We Build")
   ========================================================================== */

.process-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: var(--space-lg);
    position: relative;
    margin-top: var(--space-2xl);
}

.process-card {
    border-top: 2px solid var(--color-slate);
    padding-top: var(--space-md);
    transition: border-color var(--transition-base);
}

.process-card:hover {
    border-color: var(--color-green);
}

.process-num {
    font-family: var(--font-mono);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-green-light);
    margin-bottom: var(--space-xs);
}

.process-title {
    font-size: var(--text-h5);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: var(--tracking-wide);
    color: var(--color-pure-white);
    margin-bottom: var(--space-xs);
}

.process-desc {
    font-size: 0.8125rem;
    color: var(--color-stone);
    line-height: 1.5;
}

/* ==========================================================================
   7. Homepage: Team Section
   ========================================================================== */

.team-card {
    background-color: var(--color-charcoal);
    border: 1px solid var(--color-slate);
    border-radius: 2px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.team-image-wrap {
    width: 100%;
    aspect-ratio: 1 / 1.15;
    background-color: #1A1A1A;
    overflow: hidden;
    position: relative;
}

.team-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(20%);
    transition: transform var(--transition-slow), filter var(--transition-slow);
}

.team-card:hover .team-image-wrap img {
    transform: scale(1.03);
    filter: grayscale(0%);
}

.team-index-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--color-sand);
    background: rgba(10, 10, 10, 0.8);
    padding: 3px 8px;
    border-radius: 2px;
}

.team-info {
    padding: var(--space-lg);
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.team-name {
    font-size: var(--text-h4);
    font-weight: 700;
    color: var(--color-pure-white);
    margin-bottom: 2px;
}

.team-role {
    font-size: var(--text-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: var(--tracking-wide);
    color: var(--color-green-light);
    margin-bottom: var(--space-sm);
}

.team-bio {
    font-size: var(--text-sm);
    color: var(--color-stone);
    line-height: 1.5;
    margin-bottom: var(--space-md);
    flex-grow: 1;
}

/* ==========================================================================
   8. Project Case Study & Detail Page Layout
   ========================================================================== */

.project-case-hero {
    position: relative;
    padding: calc(var(--header-height) + 48px) 0 var(--space-3xl);
    background-color: var(--color-charcoal);
    border-bottom: 1px solid var(--color-slate);
}

.project-meta-strip-bar {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: var(--space-lg);
    background-color: var(--color-black);
    border: 1px solid var(--color-slate);
    border-radius: 2px;
    padding: var(--space-lg);
    margin-top: var(--space-2xl);
}

.meta-item {
    display: flex;
    flex-direction: column;
}

.meta-item-label {
    font-family: var(--font-mono);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: var(--tracking-wider);
    color: var(--color-ash);
    margin-bottom: 4px;
}

.meta-item-value {
    font-family: var(--font-heading);
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--color-pure-white);
}

/* Before / After Comparison Slider Component */
.ba-slider-container {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 2px;
    border: 1px solid var(--color-slate);
    margin: var(--space-2xl) 0;
}

.ba-before,
.ba-after {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.ba-before img,
.ba-after img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ba-after {
    width: 50%;
    overflow: hidden;
    border-right: 2px solid var(--color-pure-white);
}

/* ==========================================================================
   9. Responsive Page Breakpoints
   ========================================================================== */

@media (max-width: 1024px) {
    .service-row {
        grid-template-columns: 50px 1.5fr 40px;
    }
    
    .service-summary {
        display: none;
    }
    
    .process-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: 85svh;
        padding-top: calc(var(--header-height-mobile) + 24px);
    }
    
    .hero-coordinates {
        display: none;
    }
    
    .service-row {
        grid-template-columns: 40px 1fr 32px;
        padding: var(--space-lg) 0;
    }
    
    .process-grid {
        grid-template-columns: 1fr;
    }
    
    .signature-steps-row {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-lg);
    }
}
