/* Hakkımızda Page Styles */

/* --- Header --- */
/* Reusing kurumsal-header structure but specific bg if needed, 
   or we can stick to the same class if the user wants identical look.
   Let's create a specific one to allow differentiation. */




.about-header {
    position: relative;
    background-color: var(--color-bg-alt);
    background-image: url('https://images.unsplash.com/photo-1497366216548-37526070297c?auto=format&fit=crop&q=80&w=1920');
    /* Corporate/Office vibe */
    background-size: cover;
    background-position: center;
    color: var(--color-white);
    padding: var(--space-xl) 0 var(--space-md);
    margin-bottom: var(--space-lg);
    z-index: 1;
}

.about-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.6));
    z-index: -1;
}

.about-header h1,
.about-header p {
    position: relative;
    z-index: 2;
}

/* --- Narrative Text Section --- */
.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    margin-top: 40px;
}

.about-content p {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #D0D0D0;
}

.about-highlight {
    color: var(--color-accent);
    font-weight: 600;
}

/* --- Timeline Section --- */
.timeline-section {
    position: relative;
    padding: var(--space-md) 0;
    overflow: visible;
    /* Prevent tooltip overflow scroll */
}

/* The Axis (Arrow) */
.timeline-axis {
    position: relative;
    width: 100%;
    height: 4px;
    background: #333;
    margin: 100px 0;
    /* Space for bubbles up and down */
    border-radius: 2px;
}

.timeline-axis::after {
    /* Arrow Head */
    content: '';
    position: absolute;
    right: -10px;
    top: 50%;
    transform: translateY(-50%);
    border-width: 10px 0 10px 15px;
    border-style: solid;
    border-color: transparent transparent transparent #333;
}

/* Timeline Container for Items */
.timeline-items {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* Centers items on the axis line vertically */
    padding: 0 50px;
    /* Safe padding from ends */
}

/* Milestone Bubble Wrapper */
.milestone {
    position: relative;
    width: 20px;
    height: 20px;
    background: var(--color-accent);
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    z-index: 2;
}

.milestone::before {
    /* Connecting Line to Axis (Vertical) */
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    background: rgba(255, 255, 255, 0.1);
    transition: height 0.3s ease, background 0.3s ease;
}

.milestone:hover {
    transform: scale(1.3);
    box-shadow: 0 0 15px var(--color-accent);
    z-index: 10;
}

/* Positioning: UP vs DOWN */
.milestone.up {
    transform: translateY(-40px);
    /* Initial offset from axis if needed, or we use margins */
    margin-bottom: 50px;
    /* Push UP */
}

.milestone.down {
    margin-top: 50px;
    /* Push DOWN */
}

/* Connecting lines adjustment based on Up/Down */
.milestone.up::before {
    top: 100%;
    /* Line goes down to axis */
    height: 25px;
    /* Connect to axis which is roughly spaced */
}

.milestone.down::before {
    bottom: 100%;
    /* Line goes up to axis */
    height: 25px;
}

/* Note: Since we are using flex align center on the container which places items ON the axis line, 
   we need a different strategy.
   Better strategy: absolute positioning on the axis line. 
*/

.timeline-container {
    position: relative;
    padding: 60px 0;
    margin-top: 0;
    /* Vertical breathing room */
}

/* Redefining items for robust positioning */
.t-item {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    /* Center on axis */
    width: 16px;
    height: 16px;
    background: #444;
    border: 2px solid var(--color-accent);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.t-item:hover {
    background: var(--color-accent);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.4);
}

/* Positions (0% to 100% across) */
/* Positions (0% to 100% across) - Note: nth-child starts at 2 because index 1 is .timeline-axis */
.t-item:nth-child(2) {
    left: 10%;
}

.t-item:nth-child(3) {
    left: 25%;
}

.t-item:nth-child(4) {
    left: 40%;
}

.t-item:nth-child(5) {
    left: 55%;
}

.t-item:nth-child(6) {
    left: 70%;
}

.t-item:nth-child(7) {
    left: 85%;
}

/* Labels (Year/Name) always visible */
.t-label {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    text-align: center;
    transition: all 0.3s ease;
}

.t-year {
    font-weight: 700;
    color: var(--color-white);
    font-size: 1.1rem;
    display: block;
}

.t-name {
    font-size: 0.9rem;
    color: #AAA;
    display: block;
}

/* Up items: Label ABOVE */
.t-item.up .t-label {
    bottom: 20px;
}

/* Down items: Label BELOW */
.t-item.down .t-label {
    top: 20px;
}

/* Detail Bubble (The Hover Reveal) */
.t-detail {
    position: absolute;
    left: 50%;
    transform: translateX(-50%) scale(0);
    width: 250px;
    background: #222;
    border: 1px solid var(--color-accent);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 20;
    pointer-events: none;
    /* Let clicks pass through if needed, or auto-open */
    text-align: center;
}

.t-detail::after {
    /* Little triangle pointer */
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    border: 10px solid transparent;
}

/* Detail positioning relative to item */
.t-item.up .t-detail {
    bottom: 60px;
    /* Above the label */
}

.t-item.up .t-detail::after {
    top: 100%;
    border-top-color: var(--color-accent);
}

.t-item.down .t-detail {
    top: 60px;
    /* Below the label */
}

.t-item.down .t-detail::after {
    bottom: 100%;
    border-bottom-color: var(--color-accent);
}

/* Hover Action */
.t-item:hover .t-detail {
    opacity: 1;
    transform: translateX(-50%) scale(1);
    pointer-events: auto;
}

.t-item:hover .t-label {
    opacity: 0.5;
    /* Dim the simple label when details show */
}

/* Connecting Lines (Visual Thread) */
.t-line {
    position: absolute;
    left: 50%;
    width: 1px;
    background: rgba(255, 255, 255, 0.1);
    height: 30px;
    transition: height 0.3s ease;
}

.t-item.up .t-line {
    bottom: 100%;
}

.t-item.down .t-line {
    top: 100%;
}

.t-item:hover .t-line {
    height: 50px;
    background: var(--color-accent);
}

/* Detail Content Text */
.t-detail h4 {
    color: var(--color-accent);
    margin-bottom: 10px;
}

.t-detail p {
    font-size: 0.9rem;
    color: #CCC;
    line-height: 1.4;
    margin: 0;
}

/* Vision & Mission Section */
.vm-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
    margin-top: var(--space-md);
}

.vm-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: var(--space-lg);
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s ease, background 0.3s ease;
}

.vm-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--color-accent);
}

.vm-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto var(--space-md);
    color: var(--color-accent);
}

.vm-card h3 {
    color: var(--color-white);
    margin-bottom: var(--space-sm);
    font-size: 1.5rem;
}

.vm-card p {
    color: #D0D0D0;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .vm-grid {
        grid-template-columns: 1fr;
    }
}

/* --- CTA Box (Ported from İlkelerimiz) --- */
.cta-box {
    margin-top: var(--space-xl);
    margin-bottom: var(--space-xl);
    /* Added spacing from footer */
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--color-accent);
}

.cta-title {
    font-size: 1.5rem;
    color: var(--color-white);
    margin-bottom: var(--space-sm);
}

.cta-desc {
    color: #AAA;
    margin-bottom: var(--space-md);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}