/* =============================================
   KURUMSAL.CSS — Musa Özcan İnşaat
   Ana dizin: assets/kurumsal.css
   ============================================= */

/* ---- RESET & TEMEL ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* FIX: Yatay kaymayı önle */
html, body {
    overflow-x: hidden;
    max-width: 100%;
}

/* ---- KURUMSAL HERO ---- */
.kurumsal-hero {
    position: relative;
    background-color: #0d0d0d;
    padding: 185px 0 80px;
    overflow: hidden;
}
.kurumsal-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background:
        radial-gradient(ellipse 60% 50% at 80% 50%, rgba(183,138,89,0.08) 0%, transparent 70%),
        radial-gradient(ellipse 40% 60% at 10% 80%, rgba(183,138,89,0.05) 0%, transparent 60%);
    pointer-events: none;
}
.kurumsal-hero::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(183,138,89,0.4), transparent);
}

.hero-breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 40px;
    font-size: 0.8rem;
    color: #555;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.hero-breadcrumb a { color: #b78a59; text-decoration: none; transition: color 0.3s; }
.hero-breadcrumb a:hover { color: #fff; }
.hero-breadcrumb span { color: #333; }

.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.hero-tag {
    display: inline-block;
    border: 1px solid rgba(183,138,89,0.4);
    color: #b78a59;
    font-size: 0.75rem;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    padding: 6px 18px;
    margin-bottom: 30px;
    font-weight: 500;
}
.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    font-weight: 400;
    line-height: 1.15;
    color: #fff;
    margin-bottom: 30px;
}
.hero-title em {
    font-style: normal;
    color: #b78a59;
    position: relative;
}
.hero-title em::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, #b78a59, transparent);
}
.hero-desc {
    color: #888;
    font-size: 1rem;
    line-height: 1.8;
    font-weight: 300;
    max-width: 480px;
}

/* FIX: Hero sağ sütun — badge container içinde kalıyor */
.hero-right {
    position: relative;
    padding-top: 25px;
    /* FIX: Sağdan taşmayı önle */
    padding-right: 15px;
}

.hero-since-badge {
    position: absolute;
    top: -5px;
    /* FIX: right negatif değil, container içinde kalıyor */
    right: 15px;
    width: 120px;
    height: 120px;
    border: 1px solid rgba(183,138,89,0.3);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(13,13,13,0.9);
    z-index: 2;
    animation: rotateBadge 20s linear infinite;
}
@keyframes rotateBadge {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
.hero-since-badge .inner {
    animation: rotateBadge 20s linear infinite reverse;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.hero-since-badge .year {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    color: #b78a59;
    line-height: 1;
}
.hero-since-badge .since-text {
    font-size: 0.6rem;
    letter-spacing: 2px;
    color: #888;
    text-transform: uppercase;
    margin-top: 4px;
}

.hero-img-wrap {
    position: relative;
    border: 1px solid rgba(183,138,89,0.15);
    overflow: hidden;
}
.hero-img-wrap::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, #b78a59, transparent);
    z-index: 1;
}
.hero-img-wrap img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    display: block;
    filter: brightness(0.75) saturate(0.8);
    transition: transform 0.8s ease;
}
.hero-img-wrap:hover img { transform: scale(1.03); }

/* ---- KİLİT DEĞERLER BANDI ---- */
.values-band {
    background: #0a0a0a;
    border-top: 1px solid rgba(183,138,89,0.1);
    border-bottom: 1px solid rgba(183,138,89,0.1);
    padding: 0;
    overflow: hidden;
}
.values-band-inner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}
.vband-item {
    padding: 40px 35px;
    border-right: 1px solid rgba(255,255,255,0.04);
    position: relative;
    transition: background 0.4s;
}
.vband-item:last-child { border-right: none; }
.vband-item::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    height: 2px;
    width: 0;
    background: #b78a59;
    transition: width 0.5s ease;
}
.vband-item:hover { background: rgba(183,138,89,0.03); }
.vband-item:hover::after { width: 100%; }

.vband-icon { margin-bottom: 20px; }
.vband-title {
    color: #fff;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 10px;
}
.vband-text {
    color: #666;
    font-size: 0.85rem;
    line-height: 1.6;
    font-weight: 300;
}

/* ---- TARİHÇE / ZAMAN ÇİZGİSİ ---- */
.tarihce-section {
    background: #111;
    padding: 100px 0;
    position: relative;
    /* FIX: Dev arka plan yazısının taşmasını engelle */
    overflow: hidden;
}
.tarihce-section::before {
    content: 'TARİHÇE';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Playfair Display', serif;
    /* FIX: 12rem → vw bazlı + max sınır, taşmaz */
    font-size: clamp(4rem, 10vw, 10rem);
    color: rgba(255,255,255,0.015);
    white-space: nowrap;
    pointer-events: none;
    user-select: none;
    /* FIX: Kesinlikle taşmasın */
    max-width: 100%;
    overflow: hidden;
}
.section-head {
    text-align: center;
    margin-bottom: 70px;
}
.section-head .s-tag {
    color: #b78a59;
    font-size: 0.78rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 500;
    margin-bottom: 15px;
    display: block;
}
.section-head h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    font-weight: 400;
    color: #fff;
    line-height: 1.2;
}
.section-head h2 span { color: #b78a59; }

.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}
.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0; bottom: 0;
    width: 1px;
    background: linear-gradient(to bottom, transparent, rgba(183,138,89,0.4) 10%, rgba(183,138,89,0.4) 90%, transparent);
    transform: translateX(-50%);
}

.timeline-item {
    display: grid;
    grid-template-columns: 1fr 60px 1fr;
    align-items: center;
    margin-bottom: 60px;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.timeline-item.visible {
    opacity: 1;
    transform: translateY(0);
}
.timeline-item:nth-child(odd) .tl-content { text-align: right; order: -1; }
.timeline-item:nth-child(odd) .tl-empty { order: 0; }
.timeline-item:nth-child(odd) .tl-dot-wrap { order: 1; }

.tl-dot-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}
.tl-dot {
    width: 14px; height: 14px;
    border-radius: 50%;
    border: 2px solid #b78a59;
    background: #111;
    position: relative;
}
.tl-dot::after {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 6px; height: 6px;
    border-radius: 50%;
    background: #b78a59;
    transition: transform 0.3s;
}
.timeline-item:hover .tl-dot::after { transform: translate(-50%, -50%) scale(1.5); }

.tl-content {
    padding: 25px;
    background: rgba(22,22,22,0.8);
    border: 1px solid rgba(255,255,255,0.05);
    transition: border-color 0.3s, background 0.3s;
}
.tl-content:hover {
    border-color: rgba(183,138,89,0.2);
    background: rgba(22,22,22,1);
}
.tl-year {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: #b78a59;
    line-height: 1;
    margin-bottom: 8px;
}
.tl-title {
    color: #fff;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}
.tl-desc {
    color: #666;
    font-size: 0.85rem;
    line-height: 1.6;
    font-weight: 300;
}

/* ---- MİSYON & VİZYON ---- */
.misyon-vizyon-section {
    background: #0d0d0d;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}
.misyon-vizyon-section::before {
    content: '';
    position: absolute;
    top: -200px;
    left: -200px;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(183,138,89,0.06) 0%, transparent 70%);
    pointer-events: none;
}

.mv-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px;
    border: 1px solid rgba(183,138,89,0.1);
}
.mv-card {
    padding: 60px 50px;
    background: rgba(17,17,17,0.9);
    position: relative;
    overflow: hidden;
    transition: background 0.4s;
}
.mv-card:first-child {
    border-right: 1px solid rgba(183,138,89,0.1);
}
.mv-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #b78a59, transparent);
    transform: scaleX(0);
    transition: transform 0.5s ease;
}
.mv-card:hover::before { transform: scaleX(1); }
.mv-card:hover { background: rgba(22,22,22,1); }

.mv-number {
    font-family: 'Playfair Display', serif;
    font-size: 6rem;
    color: rgba(183,138,89,0.06);
    line-height: 1;
    position: absolute;
    top: 20px;
    right: 30px;
    user-select: none;
    transition: color 0.4s;
}
.mv-card:hover .mv-number { color: rgba(183,138,89,0.1); }

.mv-icon { margin-bottom: 25px; }
.mv-tag {
    display: block;
    color: #b78a59;
    font-size: 0.75rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 500;
    margin-bottom: 20px;
}
.mv-title {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: #fff;
    font-weight: 400;
    margin-bottom: 20px;
}
.mv-text {
    color: #777;
    font-size: 0.95rem;
    line-height: 1.8;
    font-weight: 300;
}

/* ---- NEDEN BİZ ---- */
.neden-section {
    background: #111;
    padding: 100px 0;
}
.neden-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.neden-left p {
    color: #888;
    font-size: 0.95rem;
    line-height: 1.8;
    font-weight: 300;
    margin-bottom: 20px;
}

.neden-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 40px;
}
.nf-item {
    padding: 25px;
    background: rgba(22,22,22,0.8);
    border: 1px solid rgba(255,255,255,0.05);
    border-left: 2px solid #b78a59;
    transition: background 0.3s, transform 0.3s;
}
.nf-item:hover {
    background: rgba(183,138,89,0.05);
    transform: translateX(4px);
}
.nf-item h4 {
    color: #fff;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}
.nf-item p {
    color: #666;
    font-size: 0.82rem;
    line-height: 1.5;
    margin: 0;
}

.neden-stat-stack {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.ns-bar {
    display: flex;
    align-items: center;
    gap: 20px;
}
.ns-bar-label {
    color: #aaa;
    font-size: 0.82rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    min-width: 180px;
    font-weight: 400;
}
.ns-bar-track {
    flex: 1;
    height: 3px;
    background: rgba(255,255,255,0.06);
    border-radius: 2px;
    overflow: hidden;
}
.ns-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #b78a59, #d4a574);
    border-radius: 2px;
    width: 0;
    transition: width 1.5s ease;
}
.ns-bar-pct {
    color: #b78a59;
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
    min-width: 40px;
    text-align: right;
}

/* ---- CTA BANT ---- */
.cta-section {
    background: #0a0a0a;
    border-top: 1px solid rgba(183,138,89,0.1);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}
.cta-section::before {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 200px;
    background: radial-gradient(ellipse, rgba(183,138,89,0.06) 0%, transparent 70%);
    pointer-events: none;
}
.cta-inner {
    text-align: center;
    position: relative;
    z-index: 1;
}
.cta-inner h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    font-weight: 400;
    color: #fff;
    margin-bottom: 20px;
}
.cta-inner h2 span { color: #b78a59; }
.cta-inner p {
    color: #888;
    font-size: 1rem;
    line-height: 1.7;
    max-width: 500px;
    margin: 0 auto 40px;
    font-weight: 300;
}
.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}
.btn-gold {
    display: inline-block;
    background: #b78a59;
    color: #fff;
    padding: 14px 36px;
    font-size: 0.82rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.3s, transform 0.3s;
}
.btn-gold:hover { background: #a07848; transform: translateY(-2px); }
.btn-outline-gold {
    display: inline-block;
    border: 1px solid #b78a59;
    color: #fff;
    padding: 14px 36px;
    font-size: 0.82rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    background: transparent;
}
.btn-outline-gold:hover { background: #b78a59; transform: translateY(-2px); }

/* ---- CONTAINER ---- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
}

/* ---- MOBİL UYUM ---- */
@media (max-width: 1024px) {
    .hero-title { font-size: 3rem; }
    .hero-inner { grid-template-columns: 1fr; gap: 50px; }
    .hero-right {
        max-width: 600px;
        padding-top: 20px;
        padding-right: 20px;
    }
    .values-band-inner { grid-template-columns: repeat(2, 1fr); }
    .vband-item:nth-child(2) { border-right: none; }
    .mv-grid { grid-template-columns: 1fr; }
    .mv-card:first-child { border-right: none; border-bottom: 1px solid rgba(183,138,89,0.1); }
    .neden-grid { grid-template-columns: 1fr; gap: 50px; }
}

@media (max-width: 992px) {
    .kurumsal-hero { padding-top: 160px; }
}

@media (max-width: 768px) {
    .kurumsal-hero { padding: 150px 0 60px; }
    .hero-title { font-size: 2.4rem; }
    .hero-right {
        padding-top: 15px;
        padding-right: 10px;
    }
    .hero-since-badge {
        width: 90px;
        height: 90px;
        top: -5px;
        right: 10px;
    }
    .hero-since-badge .year { font-size: 1.3rem; }
    .values-band-inner { grid-template-columns: 1fr; }
    .vband-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.04); }
    .vband-item:last-child { border-bottom: none; }
    .timeline::before { left: 20px; transform: none; }
    .timeline-item { grid-template-columns: 40px 1fr; gap: 0; }
    .timeline-item:nth-child(odd) .tl-content { text-align: left; order: 1; }
    .timeline-item:nth-child(odd) .tl-dot-wrap { order: 0; }
    .timeline-item:nth-child(odd) .tl-empty { display: none; }
    .tl-empty { display: none; }
    .tl-dot-wrap { justify-content: flex-start; }
    .mv-card { padding: 40px 30px; }
    .mv-number { font-size: 4rem; }
    .neden-features { grid-template-columns: 1fr; }
    .ns-bar-label { min-width: 130px; font-size: 0.75rem; }
    .cta-inner h2 { font-size: 2rem; }
    .section-head h2 { font-size: 2rem; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 2rem; }
    .mv-card { padding: 35px 25px; }
    .cta-buttons { flex-direction: column; align-items: center; }
    .btn-gold, .btn-outline-gold { width: 100%; max-width: 300px; text-align: center; }
}