/* ============================================
   ABOUT PAGE - Ajans Premium Design
   BEM Class Names matching hakkimizda.php
   ============================================ */

/* ============================================
   SHARED: PAGE HERO (duplicated from services for standalone use)
   ============================================ */
.page-hero {
    min-height: 70vh;
    display: flex;
    align-items: center;
    padding: 160px 0 80px;
    position: relative;
    overflow: hidden;
}

.page-hero__bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.page-hero__gradient {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 50% at 20% 40%, rgba(0, 102, 255, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 80% 60%, rgba(139, 92, 246, 0.1) 0%, transparent 50%);
}

.page-hero__grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 80px 80px;
}

.page-hero__content {
    position: relative;
    z-index: 1;
    max-width: 700px;
}

.page-hero__tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--accent);
    margin-bottom: 24px;
}

.tag-dot {
    width: 8px;
    height: 8px;
    background: var(--accent);
    display: inline-block;
}

.page-hero__title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 20px;
}

.page-hero__desc {
    font-size: 1.2rem;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 550px;
}

/* Hero Floating Stats */
.page-hero__stats {
    position: relative;
    z-index: 1;
    display: flex;
    gap: 48px;
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid var(--border);
}

.hero-stat {
    text-align: left;
}

.hero-stat__num {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1;
    letter-spacing: -0.02em;
}

.hero-stat__label {
    display: block;
    font-size: 0.875rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 4px;
}

/* ============================================
   SHARED: SECTION TAG & TEXT GRADIENT
   ============================================ */
.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--accent);
    margin-bottom: 16px;
}

.section-tag__dot {
    width: 6px;
    height: 6px;
    background: var(--accent);
    display: inline-block;
}

.text-gradient {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============================================
   STORY SECTION
   ============================================ */
.about-story {
    padding: 100px 0;
    background: var(--bg-primary);
}

.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.story-content h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

.story-text {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.story-text p {
    font-size: 1.0625rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

.story-image__wrapper {
    position: relative;
    overflow: hidden;
}

.story-image__wrapper img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    filter: grayscale(20%);
    transition: all 0.6s var(--ease);
}

.story-image:hover .story-image__wrapper img {
    filter: grayscale(0%);
    transform: scale(1.03);
}

.story-image__grain {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.story-image__accent {
    margin-top: 16px;
    display: flex;
    gap: 8px;
    font-size: 1.5rem;
    font-weight: 700;
}

.accent-text {
    color: var(--text-secondary);
}

.accent-highlight {
    color: var(--accent);
}

/* ============================================
   VALUES SECTION
   ============================================ */
.about-values {
    padding: 100px 0;
    background: var(--bg-secondary);
}

.values-header {
    text-align: center;
    margin-bottom: 60px;
}

.values-header h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.value-card {
    background: var(--bg-primary);
    border: 1px solid var(--border);
    padding: 32px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s var(--ease);
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-button);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s var(--ease);
}

.value-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 102, 255, 0.3);
}

.value-card:hover::before {
    transform: scaleX(1);
}

.value-card__icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 102, 255, 0.1);
    border: 1px solid rgba(0, 102, 255, 0.2);
    margin-bottom: 20px;
    transition: all 0.4s var(--ease);
}

.value-card:hover .value-card__icon {
    background: var(--accent);
    border-color: var(--accent);
}

.value-card__icon svg {
    width: 28px;
    height: 28px;
    color: var(--accent);
    transition: color 0.4s var(--ease);
}

.value-card:hover .value-card__icon svg {
    color: var(--bg-primary);
}

.value-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.value-card p {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.value-card__num {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    color: rgba(0, 102, 255, 0.3);
}

/* ============================================
   TIMELINE SECTION
   ============================================ */
.about-timeline {
    padding: 100px 0;
    background: var(--bg-primary);
    position: relative;
    overflow: hidden;
}

.timeline-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.timeline-gradient {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 50%, rgba(0, 102, 255, 0.05) 0%, transparent 60%);
}

.timeline-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
}

.timeline-header h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    z-index: 1;
}

/* Center line */
.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--accent), var(--border));
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    margin-bottom: 48px;
    position: relative;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-item--left {
    justify-content: flex-start;
    padding-right: calc(50% + 32px);
}

.timeline-item--right {
    justify-content: flex-end;
    padding-left: calc(50% + 32px);
}

.timeline-item__dot {
    position: absolute;
    left: 50%;
    top: 20px;
    width: 16px;
    height: 16px;
    background: var(--accent);
    border: 3px solid var(--bg-primary);
    transform: translateX(-50%);
    z-index: 2;
}

.timeline-item__content {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    padding: 24px;
    transition: all 0.3s var(--ease);
}

.timeline-item:hover .timeline-item__content {
    border-color: var(--accent);
}

.timeline-year {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 8px;
}

.timeline-item__content h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.timeline-item__content p {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ============================================
   TEAM SECTION - MASONRY
   ============================================ */
.about-team {
    padding: 100px 0;
    background: var(--bg-secondary);
}

.team-header {
    text-align: center;
    margin-bottom: 60px;
}

.team-header h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
}

.team-header p {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

.team-masonry {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 300px;
    gap: 20px;
}

.team-card {
    position: relative;
    overflow: hidden;
}

.team-card--large {
    grid-column: span 2;
    grid-row: span 2;
}

.team-card--wide {
    grid-column: span 2;
}

.team-card__image {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.team-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: all 0.6s var(--ease);
}

.team-card:hover .team-card__image img {
    filter: grayscale(0%);
    transform: scale(1.05);
}

.team-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10,10,11,0.95) 0%, rgba(10,10,11,0.4) 50%, transparent 100%);
    display: flex;
    align-items: flex-end;
    padding: 24px;
    opacity: 0;
    transition: opacity 0.5s var(--ease);
}

.team-card:hover .team-card__overlay {
    opacity: 1;
}

.team-card__social {
    display: flex;
    gap: 8px;
}

.team-card__social a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    transition: all 0.3s var(--ease);
}

.team-card__social a:hover {
    background: var(--accent);
    border-color: var(--accent);
}

.team-card__social svg {
    width: 16px;
    height: 16px;
    color: var(--text-primary);
}

.team-card__info {
    padding: 16px 4px;
}

.team-card__info h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.team-card__title {
    display: block;
    font-size: 0.875rem;
    color: var(--accent);
    margin-bottom: 8px;
}

.team-card__bio {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ============================================
   AWARDS SECTION
   ============================================ */
.about-awards {
    padding: 100px 0;
    background: var(--bg-primary);
}

.awards-header {
    text-align: center;
    margin-bottom: 60px;
}

.awards-header h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.awards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.award-item {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    padding: 32px;
    text-align: center;
    transition: all 0.3s var(--ease);
}

.award-item:hover {
    border-color: rgba(0, 102, 255, 0.3);
    transform: translateY(-5px);
}

.award-item__logo {
    margin-bottom: 16px;
}

.award-item__logo span {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.award-item__info h4 {
    font-size: 0.9375rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.award-item__info p {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .awards-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .team-masonry {
        grid-template-columns: repeat(3, 1fr);
    }

    .team-card--large {
        grid-column: span 2;
        grid-row: span 1;
    }
}

@media (max-width: 768px) {
    .page-hero {
        min-height: auto;
        padding: 120px 0 60px;
    }

    .page-hero__stats {
        flex-direction: column;
        gap: 16px;
    }

    .hero-stat {
        display: flex;
        align-items: center;
        gap: 12px;
    }

    .hero-stat__num {
        font-size: 2rem;
    }

    .story-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .story-image {
        order: -1;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }

    .timeline::before {
        left: 0;
    }

    .timeline-item--left,
    .timeline-item--right {
        padding-left: 40px;
        padding-right: 0;
        justify-content: flex-start;
    }

    .timeline-item__dot {
        left: 0;
    }

    .team-masonry {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 280px;
    }

    .team-card--large,
    .team-card--wide {
        grid-column: span 1;
        grid-row: span 1;
    }

    .awards-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {
    .team-masonry {
        grid-template-columns: 1fr;
        grid-auto-rows: 350px;
    }

    .awards-grid {
        grid-template-columns: 1fr;
    }
}
