/**
 * ek.media About Page Styles
 * Mission, Vision, Location & Purpose
 * Uses design tokens from styles.css
 */

/* ============================================================================
   ABOUT HERO
   ============================================================================ */
/* ============================================================================
   ABOUT HERO
   ============================================================================ */
.about-hero {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: calc(var(--header-height) + var(--s-20)) var(--s-6) var(--s-12);
    overflow: hidden;
    text-align: center;
    background: #0a0a0a;
}

.about-hero .hero-background {
    position: absolute;
    inset: 0;
    z-index: 0;
    /* Spotlight effect */
    background: radial-gradient(circle at center 40%, rgba(30, 30, 45, 1) 0%, #0a0a0a 70%);
}

.about-hero .hero-background::after {
    /* Grid texture */
    content: '';
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    mask-image: radial-gradient(circle at center, black 30%, transparent 80%);
    -webkit-mask-image: radial-gradient(circle at center, black 30%, transparent 80%);
    opacity: 0.5;
}

.about-hero-content {
    position: relative;
    z-index: 10;
    max-width: 900px;
    margin: 0 auto;
    /* Centering the content block */
}

.section-tag {
    display: inline-block;
    font-size: var(--fs-sm);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--c-accent);
    margin-bottom: var(--s-6);
    opacity: 0.8;
}

.about-hero .hero-title {
    font-size: clamp(3.5rem, 9vw, 7.5rem);
    margin-bottom: var(--s-8);
    font-family: var(--f-serif);
    font-style: italic;
    font-weight: 300;
    line-height: 1;
    color: var(--c-text);
    text-shadow: 0 0 40px rgba(0, 0, 0, 0.5);
}

.about-hero .hero-title .title-line {
    display: inline-block;
}

.about-hero .hero-title .accent {
    color: var(--c-text);
    position: relative;
}

.about-hero .hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    color: var(--c-text-secondary);
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
    font-weight: 300;
}

/* ============================================================================
   SPLIT SECTIONS (MISSION & VISION)
   ============================================================================ */
.split-section {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding: var(--s-20) var(--s-6);
}

.split-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.split-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* subtle movement on hover could go here */
}

.split-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    /* Dark overlay for text readability */
    backdrop-filter: blur(2px);
}

.split-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
    margin: 0 auto;
}

.split-title {
    font-family: var(--f-serif);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 300;
    font-style: italic;
    color: var(--c-text);
    margin-bottom: var(--s-6);
    line-height: 1.2;
}

.split-text {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    color: var(--c-text-secondary);
    line-height: 1.8;
    margin-bottom: var(--s-10);
}

.split-highlight {
    display: inline-block;
    padding: var(--s-4) var(--s-8);
    border: 1px solid var(--c-accent);
    border-radius: var(--radius-full);
    background: rgba(59, 130, 246, 0.1);
}

.split-highlight span {
    font-size: var(--fs-sm);
    font-weight: 500;
    color: var(--c-accent);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* ============================================================================
   PURPOSE SECTION
   ============================================================================ */
.purpose-section {
    padding: var(--s-24) 0;
}

/* Purpose Points */
.purpose-points {
    display: flex;
    flex-direction: column;
    gap: var(--s-8);
    margin-top: var(--s-8);
    margin-bottom: var(--s-16);
    max-width: 800px;
}

.purpose-point {
    display: flex;
    gap: var(--s-6);
    padding: 0;
}

.point-number {
    font-size: var(--fs-xl);
    font-weight: 400;
    color: var(--c-text-muted);
    font-family: var(--f-serif);
    font-style: italic;
    min-width: 40px;
}

.point-content h4 {
    font-size: var(--fs-lg);
    font-weight: 500;
    margin-bottom: var(--s-2);
    color: var(--c-text);
}

.point-content p {
    font-size: var(--fs-base);
    color: var(--c-text-secondary);
    line-height: 1.6;
}



.visual-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 30% 30%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 70%, rgba(139, 92, 246, 0.08) 0%, transparent 50%);
}

.visual-content {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: var(--s-6);
}

.visual-stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: var(--fs-3xl);
    font-weight: 800;
    background: linear-gradient(135deg, var(--c-accent), #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--s-1);
}

.stat-text {
    font-size: var(--fs-sm);
    color: var(--c-text-secondary);
}

.visual-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--c-border), transparent);
}

/* ============================================================================
   HERO STORY SECTION (Light Theme)
   ============================================================================ */
.hero-story-section {
    padding: var(--s-24) 0;
    background: #ffffff;
    color: #0a0a0a;
    /* Dark text for light bg */
}

.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--s-20);
    align-items: center;
}

@media (max-width: 900px) {
    .story-grid {
        grid-template-columns: 1fr;
        gap: var(--s-12);
    }
}

.section-tag-dark {
    display: inline-block;
    font-size: var(--fs-xs);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--c-text-muted);
    /* Muted dark */
    margin-bottom: var(--s-4);
    font-weight: 600;
}

.story-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-family: var(--f-serif);
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: var(--s-8);
    color: #000;
}

.story-text {
    font-size: var(--fs-base);
    line-height: 1.7;
    color: #333;
    margin-bottom: var(--s-6);
    max-width: 500px;
}

.story-image-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 4/3;
    box-shadow: var(--shadow-xl);
}

.story-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ============================================================================
   LOCATION SECTION (Minimal)
   ============================================================================ */
.location-section-minimal {
    padding: var(--s-24) 0;
    background: var(--c-bg-primary);
}

.location-minimal-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: var(--s-16);
    align-items: start;
}

@media (max-width: 900px) {
    .location-minimal-grid {
        grid-template-columns: 1fr;
    }
}

.location-details .section-title-elegant {
    font-size: var(--fs-3xl);
    font-family: var(--f-serif);
    font-style: italic;
    color: var(--c-text);
    margin-bottom: var(--s-12);
}

.location-item {
    margin-bottom: var(--s-8);
}

.location-label {
    display: block;
    font-size: var(--fs-xs);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--c-accent);
    /* Blue accent */
    margin-bottom: var(--s-2);
    font-weight: 600;
}

.location-value {
    font-size: var(--fs-lg);
    color: var(--c-text);
    line-height: 1.5;
}

.location-map-wrapper {
    border-radius: var(--radius-lg);
    overflow: hidden;
    filter: grayscale(1);
    /* Enhance the dark aesthetic */
    opacity: 0.8;
    transition: opacity var(--t-base);
}

.location-map-wrapper:hover {
    opacity: 1;
}

/* ============================================================================
   LOCATION SECTION
   ============================================================================ */
.location-section {
    padding: var(--s-12) 0;
    background: var(--c-bg-secondary);
}

.location-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--s-8);
    align-items: start;
}

@media (max-width: 900px) {
    .location-grid {
        grid-template-columns: 1fr;
    }
}

.location-info {
    opacity: 0;
    transform: translateY(30px);
}

.location-info.visible {
    opacity: 1;
    transform: translateY(0);
}

.location-card {
    display: flex;
    gap: var(--s-4);
    padding: var(--s-6);
    background: var(--c-bg-tertiary);
    border: 1px solid var(--c-border);
    border-radius: var(--radius-lg);
    transition: all var(--t-base);
}

.location-card:hover {
    border-color: var(--c-border-hover);
    transform: translateX(4px);
}

.location-card.primary {
    border-color: var(--c-accent);
    background: var(--c-accent-glow);
}

.location-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    min-width: 56px;
    background: var(--c-accent-glow);
    border-radius: var(--radius-md);
    color: var(--c-accent);
}

.location-details h3 {
    font-size: var(--fs-lg);
    font-weight: 600;
    margin-bottom: var(--s-1);
}

.location-details address,
.location-details p {
    font-size: var(--fs-sm);
    color: var(--c-text-secondary);
    font-style: normal;
    line-height: 1.6;
}

.location-cta {
    display: inline-flex;
    align-items: center;
    margin-top: var(--s-2);
    font-size: var(--fs-sm);
    font-weight: 600;
    color: var(--c-accent);
    text-decoration: none;
    transition: color var(--t-base);
}

.location-cta:hover {
    color: var(--c-accent-hover);
}

/* Map Visual */
.map-container {
    opacity: 0;
    transform: translateY(30px);
}

.map-container.visible {
    opacity: 1;
    transform: translateY(0);
}

.map-visual {
    position: relative;
    height: 360px;
    background: var(--c-bg-tertiary);
    border: 1px solid var(--c-border);
    border-radius: var(--radius-xl);
    overflow: hidden;
}

.map-gradient {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 50% 40%, rgba(59, 130, 246, 0.15) 0%, transparent 60%);
}

.map-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 30px 30px;
}

.map-marker {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.marker-pulse {
    position: absolute;
    width: 60px;
    height: 60px;
    background: rgba(59, 130, 246, 0.2);
    border-radius: 50%;
    animation: mapPulse 2s ease-out infinite;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

@keyframes mapPulse {
    0% {
        transform: translate(-50%, -50%) scale(0.5);
        opacity: 0.8;
    }

    100% {
        transform: translate(-50%, -50%) scale(2);
        opacity: 0;
    }
}

.marker-dot {
    position: relative;
    width: 16px;
    height: 16px;
    background: var(--c-accent);
    border: 3px solid white;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.map-label {
    position: absolute;
    bottom: var(--s-6);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: var(--s-2);
    padding: var(--s-2) var(--s-4);
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-full);
}

.label-icon {
    font-size: 1.2rem;
}

.label-text {
    font-size: var(--fs-sm);
    font-weight: 500;
    color: var(--c-text);
}

.coverage-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--s-2);
    padding: var(--s-4);
    margin-top: var(--s-4);
    background: var(--c-accent-glow);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: var(--radius-lg);
    color: var(--c-accent);
}

.coverage-badge span {
    font-size: var(--fs-sm);
    font-weight: 500;
}

/* ============================================================================
   VALUES COMPACT ROW
   ============================================================================ */
.values-compact {
    padding: var(--s-8) 0;
}

.values-row {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: var(--s-4);
}

.value-badge {
    display: flex;
    align-items: center;
    gap: var(--s-2);
    padding: var(--s-2) var(--s-6);
    background: var(--c-bg-secondary);
    border: 1px solid var(--c-border);
    border-radius: var(--radius-full);
    opacity: 0;
    transform: translateY(20px);
    transition: all var(--t-base);
}

.value-badge.visible {
    opacity: 1;
    transform: translateY(0);
}

.value-badge:hover {
    border-color: var(--c-accent);
    transform: translateY(-2px);
}

.value-badge .badge-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: var(--c-accent-glow);
    border-radius: 50%;
    color: var(--c-accent);
}

.value-badge .badge-icon svg {
    width: 16px;
    height: 16px;
}

.value-badge span {
    font-size: var(--fs-sm);
    font-weight: 500;
    color: var(--c-text-secondary);
}

/* ============================================================================
   ABOUT CTA
   ============================================================================ */
.about-cta {
    padding: var(--s-12) 0;
    background: var(--c-bg-secondary);
}

.about-cta .cta-card {
    background:
        linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(139, 92, 246, 0.05) 100%);
    border: 1px solid var(--c-border);
    border-radius: var(--radius-xl);
    padding: var(--s-16);
    text-align: center;
}

.about-cta .cta-title {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 700;
    margin-bottom: var(--s-4);
}

.about-cta .cta-subtitle {
    font-size: var(--fs-lg);
    color: var(--c-text-secondary);
    max-width: 600px;
    margin: 0 auto var(--s-6);
    line-height: 1.7;
}

/* ============================================================================
   ANIMATIONS
   ============================================================================ */
.animate-fade-in {
    animation: fadeIn 0.6s var(--ease-out) both;
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s var(--ease-out) both;
}

.delay-1 {
    animation-delay: 0.2s;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}