/* ===================================================
   VALUES PAGE SPECIFIC STYLES
   =================================================== */

/* Values page uses shared inst-hero styles from institutional.css */

/* ---------------------------------------------------
   VALUES SECTION
--------------------------------------------------- */

.values-section {
    padding: 80px 0 100px; padding-top: 30px;
    background: #F8F8F8;
}

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

.values-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 26px;
    font-weight: 500;
    color: #3F3F3F;
    margin-bottom: 16px;
}

.values-label span:first-child {
    width: 20px;
    height: 2px;
    background: #3F3F3F;
}

.values-title {
    font-size: 48px;
    font-weight: 400;
    color: #3F3F3F;
    line-height: 56px;
}


/* ---------------------------------------------------
   VALUES GRID WITH TIMELINE
--------------------------------------------------- */

.values-grid {
    display: grid;
    grid-template-columns: 1fr 80px 1fr;
    row-gap: 0px;
    position: relative;
    max-width: 1240px;
    margin: 0 auto;
}

.value-card-left {
    grid-column: 1;
    align-self: start;
    justify-self: end;
    padding-right: 40px;
    transform: translateX(-60px);
}

.value-card-right {
    grid-column: 3;
    align-self: start;
    justify-self: start;
    padding-left: 40px;
    margin-top: 130px;
    transform: translateX(60px);
}

.value-card.is-visible {
    opacity: 1;
    transform: translateX(0);
}

/* ---------------------------------------------------
   TIMELINE
--------------------------------------------------- */

.values-timeline {
    grid-column: 2;
    grid-row: 1 / -1;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.timeline-line {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 0;
    background: #E8E8E8;
}

.timeline-line-active {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 0;
    background: #3F3F3F;
}

.timeline-dot {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #E8E8E8;
    border: 2px solid #E8E8E8;
    z-index: 2;
}

.timeline-dot-active {
    width: 20px;
    height: 20px;
    background: #FCE300;
    border: 4px solid #3F3F3F;
}

/* Timeline connectors */
.timeline-connector {
    position: absolute;
    height: 2px;
    width: 40px;
    background: #3F3F3F;
    z-index: 1;
}

/* Left-side connectors (odd index) */
.timeline-connector[data-index="1"],
.timeline-connector[data-index="3"],
.timeline-connector[data-index="5"] {
    left: 0;
}

/* Right-side connectors (even index) */
.timeline-connector[data-index="2"],
.timeline-connector[data-index="4"] {
    right: 0;
    left: auto;
    background: #E8E8E8;
}

/* Aktif durumlar (scroll ile değişir) */
.timeline-connector-active {
    background: #3F3F3F !important;
}


/* ---------------------------------------------------
   VALUE CARD
--------------------------------------------------- */

.value-card {
    background: #FFFFFF;
    border-radius: 8px;
    padding: 36px;
    width: 392px;
    height: 500px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    opacity: 0;
    transition: opacity 0.6s ease, transform 0.6s ease;
    box-shadow:
        -27px 26px 11px 0px rgba(153, 153, 153, 0),
        -17px 17px 10px 0px rgba(153, 153, 153, 0.01),
        -10px 9px 8px 0px rgba(153, 153, 153, 0.05),
        -4px 4px 6px 0px rgba(153, 153, 153, 0.09),
        -1px 1px 3px 0px rgba(153, 153, 153, 0.1);
}

.value-card-tall {
    height: 348px;
}

.value-number {
    font-size: 32px;
    font-weight: 400;
    color: #B4B4B4;
    line-height: 40px;
}

.value-divider {
    width: 40px;
    height: 4px;
    background: #FCE300;
}

.value-content {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.value-title {
    font-size: 32px;
    font-weight: 400;
    color: #3F3F3F;
    line-height: 40px;
    margin-bottom: 0;
}

.value-text {
    font-size: 16px;
    font-weight: 300;
    color: #878787;
    line-height: 24px;
    margin-top: 24px;
    max-width: 320px;
}


/* ---------------------------------------------------
   HEADLINE IMAGE SECTION
--------------------------------------------------- */

.values-headline-section {
    position: relative;
    height: 698px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #F8F8F8;
}

.values-headline-bg {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1240px;
    height: 100%;
    z-index: 1;
}

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

.values-headline-circle {
    position: absolute;
    left: 220px;
    top: 50%;
    transform: translateY(-50%);
    width: 460px;
    height: 460px;
    border-radius: 50%;
    background: rgba(252, 227, 0, 0.8);
    z-index: 2;
}

.values-headline-section .container {
    position: relative;
    z-index: 3;
}

.values-headline-text {
    font-size: 96px;
    font-weight: 200;
    color: #FFFFFF;
    line-height: 104px;
    text-align: center;
    max-width: 1028px;
    margin: 0 auto;
}


/* ---------------------------------------------------
   RESPONSIVE
--------------------------------------------------- */

@media (max-width: 1400px) {
    .value-title{
        font-size: 24px;
    }
    .value-text{
        font-size: 14px;
        line-height: 1.4;
    }
    .values-grid {
        max-width: 100%;
        padding: 0 20px;
    }

    .value-card {
        width: 100%; height: 400px;
        max-width: 392px;
    }

    .values-headline-bg {
        width: 100%;
        left: 0;
        transform: none;
    }

    .values-headline-circle {
        left: 100px;
        width: 360px;
        height: 360px;
    }

    .values-headline-text {
        font-size: 72px;
        line-height: 80px;
        max-width: 800px;
    }
}

@media (max-width: 1200px) {
    .values-title {
        font-size: 42px;
        line-height: 50px;
    }

    .value-card {
        width: 100%;
        max-width: 340px;
    }

    .value-title {
        font-size: 28px;
        line-height: 36px;
    }

    .value-number {
        font-size: 28px;
        line-height: 36px;
    }

    .values-headline-text {
        font-size: 56px;
        line-height: 64px;
    }

    .values-headline-circle {
        width: 300px;
        height: 300px;
        left: 60px;
    }
}

@media (max-width: 992px) {
    .values-grid {
        grid-template-columns: 1fr;
        row-gap: 40px;
    }

    .value-card-left,
    .value-card-right {
        grid-column: 1;
        padding: 0;
        margin-top: 0;
        justify-self: stretch;
        transform: translateY(30px);
    }

    .value-card-left.is-visible,
    .value-card-right.is-visible {
        transform: translateY(0);
    }

    .values-timeline {
        display: none;
    }

    .value-card {
        max-width: 100%;
        width: 100%;
        height: auto;
        min-height: 280px;
    }

    .value-card-tall {
        height: auto;
    }

    .values-headline-section {
        height: 500px;
    }

    .values-headline-text {
        font-size: 40px;
        line-height: 48px;
    }

    .values-headline-circle {
        width: 200px;
        height: 200px;
        left: 20px;
    }
}

@media (max-width: 768px) {
    .values-grid{ padding-left: 0px; padding-right: 0px; }
    .values-section {
        padding: 60px 0 80px;
        padding-top: 30px;
    }

    .values-header {
        margin-bottom: 20px;
    }

    .values-title {
        font-size: 32px;
        line-height: 40px;
    }

    .value-card {
        padding: 24px;
        min-height: auto;
    }

    .value-title {
        font-size: 24px;
        line-height: 32px;
    }

    .value-number {
        font-size: 24px;
        line-height: 32px;
    }

    .value-text {
        font-size: 14px;
        line-height: 22px;
        max-width: 100%;
    }

    .values-headline-section {
        height: 400px;
    }

    .values-headline-text {
        font-size: 28px;
        line-height: 36px;
        padding: 0 20px;
    }

    .values-headline-circle {
        display: none;
    }
}
