@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #0f0f0f;
    --secondary-color: #e74c3c;
    --accent-color: #27ae60;
    --text-light: #6b7280;
    --bg-light: #fafafa;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--primary-color);
    background-color: #e8e8e8;
    overflow-x: hidden;
}

/* ========== Site Wrapper (1920px Capsule) ========== */
.site-wrapper {
    max-width: 1920px;
    margin: 0 auto;
    background-color: #fff;
    box-shadow: 0 0 60px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

/* ========== Header ========== */
header {
    position: fixed;
    width: 100%;
    max-width: 1920px;
    left: 50%;
    transform: translateX(-50%);
    top: 0;
    z-index: 1000;
    padding: 15px 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 30px rgba(0, 0, 0, 0.08);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    letter-spacing: -1px;
}

.logo span {
    color: var(--secondary-color);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 50px;
    align-items: center;
}

nav a {
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 500;
    font-size: 15px;
    position: relative;
    transition: color 0.3s ease;
}

nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: var(--secondary-color);
    transition: width 0.3s ease;
}

nav a:hover::after {
    width: 100%;
}

nav a.btn-primary::after,
nav a.btn-primary-large::after {
    display: none !important;
}

/* ========== Common Buttons ========== */
.btn-primary {
    background: var(--primary-color);
    color: white;
    padding: 12px 30px;
    border-radius: 50px;
}

.btn-primary:hover {
    background: var(--secondary-color);
}

/* ========== Page Header (used on sub-pages) ========== */
.page-header {
    padding: 180px 40px 100px;
    background: linear-gradient(135deg, var(--primary-color), #1a1a1a);
    color: white;
    text-align: center;
}

.page-header h1 {
    font-size: clamp(50px, 8vw, 80px);
    font-weight: 900;
    margin-bottom: 20px;
    letter-spacing: -2px;
}

.page-header p {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.8);
    max-width: 700px;
    margin: 0 auto;
}

/* ========== Common Section Labels ========== */
.section-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--secondary-color);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.section-title {
    font-size: clamp(40px, 5vw, 56px);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 30px;
    letter-spacing: -2px;
}

.section-text {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 20px;
}

/* ========== Footer ========== */
footer {
    padding: 80px 40px 40px;
    background: var(--primary-color);
    color: white;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand {
    max-width: 350px;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo img {
    height: 40px;
    width: auto;
}

.logo span {
    display: none;
    /* Hide text span if we use image, or keep it if needed. Assuming replacement removes text. */
}

.footer-logo {
    display: inline-block;
    margin-bottom: 20px;
}

.footer-logo img {
    height: 50px;
    width: auto;
    filter: brightness(0) invert(1);
}

.company-image img {
    max-width: 80%;
    max-height: 180px;
    object-fit: contain;
    z-index: 2;
    position: relative;
    transition: transform 0.3s ease;
}

.company-card:hover .company-image img {
    transform: scale(1.05);
}

.company-visual {
    position: relative;
    height: 500px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
}

.company-visual img {
    max-width: 80%;
    max-height: 300px;
    object-fit: contain;
    z-index: 2;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.2));
}

.footer-description {
    font-size: 15px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.7);
}

.footer-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 25px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 15px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--secondary-color);
}

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
}

/* ========== Common Responsive ========== */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .header-container {
        padding: 0 20px;
    }

    nav ul {
        display: none;
    }

    .page-header {
        padding: 120px 20px 60px;
    }
}

/* ========== Index Page Styles ========== */

/* Header - index special (transparent initially) */
header.header-index {
    padding: 25px 0;
    background: transparent;
    backdrop-filter: none;
    box-shadow: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* White nav links on transparent header */
header.header-index nav a {
    color: #ffffff;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

header.header-index nav a::after {
    background: #ffffff;
}

/* White logo on transparent header */
header.header-index .logo img {
    filter: brightness(0) invert(1);
    transition: filter 0.4s ease;
}

/* İletişim button white border on transparent header */
header.header-index .btn-primary-large {
    background: transparent;
    border: 2px solid #ffffff;
    color: #ffffff;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

header.header-index .btn-primary-large:hover {
    background: #ffffff;
    color: var(--primary-color);
    text-shadow: none;
}

/* Hover state - white background, original colors */
header.header-index:hover {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    box-shadow: 0 2px 30px rgba(0, 0, 0, 0.08);
}

header.header-index:hover nav a {
    color: var(--primary-color);
    text-shadow: none;
}

header.header-index:hover nav a::after {
    background: var(--secondary-color);
}

header.header-index:hover .logo img {
    filter: none;
}

header.header-index:hover .btn-primary-large {
    background: var(--primary-color);
    border: 2px solid transparent;
    color: white;
    text-shadow: none;
}

header.header-index:hover .btn-primary-large:hover {
    background: var(--secondary-color);
    color: white;
}

/* Scrolled state - white background, original colors */
header.header-index.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    box-shadow: 0 2px 30px rgba(0, 0, 0, 0.08);
}

header.header-index.scrolled nav a {
    color: var(--primary-color);
    text-shadow: none;
}

header.header-index.scrolled nav a::after {
    background: var(--secondary-color);
}

header.header-index.scrolled .logo img {
    filter: none;
}

header.header-index.scrolled .btn-primary-large {
    background: var(--primary-color);
    border: 2px solid transparent;
    color: white;
    text-shadow: none;
}

header.header-index.scrolled .btn-primary-large:hover {
    background: var(--secondary-color);
    color: white;
}

/* Hero Section - 16:9 aspect ratio */
.hero {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 oranı */
    background: linear-gradient(135deg, #fafafa 0%, #ffffff 100%);
    overflow: hidden;
}

/* Hero inner: tüm içerik absolute konumla ortalanır */
.hero-inner {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ===== Video Hero Background ===== */
.hero-video {
    background: #0a0a0a;
}

.hero-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

/* YouTube player iframe tam 16:9 alanı kapsar */
.hero-video-bg iframe,
#yt-player {
    position: absolute;
    top: 50%;
    left: 50%;
    /* 16:9'u her boyutta cover etmek için ölçekleme */
    width: 100%;
    height: 100%;
    min-width: 100%;
    min-height: 100%;
    transform: translate(-50%, -50%);
    border: none;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.55) 0%,
        rgba(0, 0, 0, 0.40) 40%,
        rgba(0, 0, 0, 0.55) 100%
    );
    z-index: 1;
}

.hero-content {
    max-width: 1400px;
    width: 100%;
    text-align: center;
    z-index: 2;
    position: relative;
    padding: 0 40px;
}

.hero-label {
    font-size: 16px;
    font-weight: 600;
    color: var(--secondary-color);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 30px;
    opacity: 0;
    animation: fadeInUp 1s ease forwards 0.2s;
}

/* Video hero: white text styles */
.hero-video .hero-label {
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
    letter-spacing: 5px;
}

.hero h1 {
    font-size: clamp(50px, 8vw, 120px);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 30px;
    letter-spacing: -3px;
    opacity: 0;
    animation: fadeInUp 1s ease forwards 0.4s;
}

.hero-video h1 {
    color: #ffffff;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.hero h1 .highlight {
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-video h1 .highlight {
    background: linear-gradient(135deg, #ff6b6b, #ffd93d);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.3));
}

.hero-subtitle {
    font-size: clamp(18px, 2vw, 24px);
    color: var(--text-light);
    max-width: 800px;
    margin: 0 auto 50px;
    line-height: 1.6;
    opacity: 0;
    animation: fadeInUp 1s ease forwards 0.6s;
}

.hero-video .hero-subtitle {
    color: rgba(255, 255, 255, 0.85);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.hero-cta {
    display: inline-flex;
    gap: 20px;
    opacity: 0;
    animation: fadeInUp 1s ease forwards 0.8s;
}

/* Video hero button styles */
.hero-video .btn-primary-large {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.4);
    color: #ffffff;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.hero-video .btn-primary-large:hover {
    background: #ffffff;
    color: var(--primary-color);
    border-color: #ffffff;
    text-shadow: none;
    box-shadow: 0 10px 40px rgba(255, 255, 255, 0.3);
}

.hero-video .btn-secondary {
    background: transparent;
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.hero-video .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: #ffffff;
    color: #ffffff;
}

.btn {
    padding: 18px 45px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
}

.btn-primary-large {
    background: var(--primary-color);
    color: white;
}

.btn-primary-large:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(231, 76, 60, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
}

/* Floating Shapes */
.shape {
    position: absolute;
    opacity: 0.1;
    animation: float 20s infinite ease-in-out;
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: var(--secondary-color);
    border-radius: 50%;
    top: -200px;
    right: -200px;
}

.shape-2 {
    width: 300px;
    height: 300px;
    background: var(--accent-color);
    border-radius: 50%;
    bottom: -150px;
    left: -150px;
    animation-delay: -5s;
}

/* Stats Grid Section */
.stats {
    padding: 0;
    background: white;
}

.stats-header {
    text-align: center;
    padding: 60px 20px 20px;
    background: #f9f9f9;
}

.stats-header h2 {
    font-size: 36px;
    font-weight: 800;
    color: var(--primary-color);
    letter-spacing: -1px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 350px);
    background: #eeeeee;
    gap: 1px;
}

.stat-box {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: #ffffff;
    transition: all 0.3s ease;
    text-align: center;
}

.stat-box:hover {
    z-index: 10;
    transform: scale(1.02);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.stat-content {
    position: relative;
    z-index: 2;
}

.stat-number {
    font-size: 56px;
    font-weight: 900;
    margin-bottom: 15px;
    line-height: 1;
    background: linear-gradient(135deg, #f39c12, #d35400);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: none;
}

.stat-label {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-shadow: none;
}

.stat-sublabel {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-light);
    margin-top: 8px;
    display: block;
    text-shadow: none;
}

.stat-icon-bg {
    position: absolute;
    bottom: -20px;
    right: -20px;
    font-size: 140px;
    opacity: 0.05;
    z-index: 1;
    transform: rotate(-15deg);
    line-height: 1;
    color: #d35400;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
}

@media (max-width: 1200px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(4, 300px);
    }
}

@media (max-width: 600px) {
    .stats-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .stat-box {
        min-height: 250px;
    }
}

/* About Section */
.about {
    padding: 150px 40px;
    background: white;
}

.about-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: center;
}

.about-image {
    position: relative;
    height: 600px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.about-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(231, 76, 60, 0.3), rgba(39, 174, 96, 0.3));
    z-index: 1;
}

/* Companies Section */
.companies {
    padding: 150px 40px;
    background: var(--bg-light);
}

.companies-container {
    max-width: 1400px;
    margin: 0 auto;
}

.companies-header {
    text-align: center;
    margin-bottom: 100px;
}

.companies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
}

.company-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.company-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

.company-image {
    height: 300px;
    background: linear-gradient(135deg, #f5f5f5, #e0e0e0);
    position: relative;
    overflow: hidden;
}

.company-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(231, 76, 60, 0.2), rgba(39, 174, 96, 0.2));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.company-card:hover .company-image::after {
    opacity: 1;
}

.company-content {
    padding: 40px;
}

.company-name {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 15px;
    letter-spacing: -1px;
}

.company-tagline {
    font-size: 14px;
    color: var(--secondary-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.company-description {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-light);
    margin-bottom: 25px;
}

.company-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: var(--primary-color);
    text-decoration: none;
    transition: gap 0.3s ease;
}

.company-link:hover {
    gap: 15px;
}

/* Values Section */
.values {
    padding: 150px 40px;
    background: white;
}

.values-container {
    max-width: 1400px;
    margin: 0 auto;
}

.values-header {
    text-align: center;
    margin-bottom: 100px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 50px;
}

.value-card {
    text-align: center;
    padding: 40px;
    transition: transform 0.3s ease;
}

.value-card:hover {
    transform: translateY(-5px);
}

.value-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 30px;
    background: linear-gradient(135deg, #f39c12, #d35400);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 38px;
    color: #ffffff;
    box-shadow: 0 8px 25px rgba(211, 84, 0, 0.25);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.value-card:hover .value-icon {
    transform: translateY(-4px) scale(1.08);
    box-shadow: 0 14px 35px rgba(211, 84, 0, 0.35);
}

.value-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
}

.value-text {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-light);
}

/* CTA Section */
.cta {
    padding: 150px 40px;
    background: linear-gradient(135deg, var(--primary-color), #1a1a1a);
    color: white;
    text-align: center;
}

.cta-container {
    max-width: 900px;
    margin: 0 auto;
}

.cta h2 {
    font-size: clamp(40px, 6vw, 72px);
    font-weight: 800;
    margin-bottom: 30px;
    letter-spacing: -2px;
}

.cta p {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 50px;
    line-height: 1.6;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-30px) rotate(180deg);
    }
}

/* Scroll Reveal */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Index Responsive */
@media (max-width: 1024px) {
    .about-container {
        grid-template-columns: 1fr;
    }

    .companies-grid {
        grid-template-columns: 1fr;
    }

    nav ul {
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 100px 20px 60px;
    }

    .hero-cta {
        flex-direction: column;
        gap: 15px;
    }

    .about,
    .companies,
    .values,
    .cta {
        padding: 80px 20px;
    }

    .companies-grid {
        grid-template-columns: 1fr;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }
}

/* ========== Hakkımızda Page Styles ========== */

/* Story Section */
.story {
    padding: 120px 40px;
    background: white;
}

.story-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Timeline */
.timeline {
    padding: 120px 40px;
    background: var(--bg-light);
}

.timeline-container {
    max-width: 1200px;
    margin: 0 auto;
}

.timeline-header {
    text-align: center;
    margin-bottom: 80px;
}

.timeline-items {
    position: relative;
}

.timeline-items::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--secondary-color);
    transform: translateX(-50%);
}

.timeline-item {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 0 30px;
    margin-bottom: 80px;
    position: relative;
    align-items: center;
    /* Animation defaults - hidden state */
    opacity: 0;
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Odd items (1st, 3rd, 5th): content LEFT, year RIGHT → slide from LEFT */
.timeline-item:nth-child(odd) {
    transform: translateX(-100px);
}

/* Even items (2nd, 4th, 6th): year LEFT, content RIGHT → slide from RIGHT */
.timeline-item:nth-child(even) {
    transform: translateX(100px);
}

/* Visible state */
.timeline-item.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Center dot column */
.timeline-dot {
    width: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.timeline-dot::before {
    content: '';
    width: 18px;
    height: 18px;
    background: white;
    border: 3px solid var(--secondary-color);
    border-radius: 50%;
    transform: scale(0);
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 0.2s;
}

.timeline-item.visible .timeline-dot::before {
    transform: scale(1);
}

/* === ODD ITEMS: Content LEFT | Dot | Year RIGHT === */
.timeline-item:nth-child(odd) .timeline-content {
    grid-column: 1;
    grid-row: 1;
    text-align: right;
}

.timeline-item:nth-child(odd) .timeline-dot {
    grid-column: 2;
    grid-row: 1;
}

.timeline-item:nth-child(odd) .timeline-year {
    grid-column: 3;
    grid-row: 1;
    text-align: left;
}

/* === EVEN ITEMS: Year LEFT | Dot | Content RIGHT === */
.timeline-item:nth-child(even) .timeline-year {
    grid-column: 1;
    grid-row: 1;
    text-align: right;
}

.timeline-item:nth-child(even) .timeline-dot {
    grid-column: 2;
    grid-row: 1;
}

.timeline-item:nth-child(even) .timeline-content {
    grid-column: 3;
    grid-row: 1;
    text-align: left;
}

.timeline-year {
    font-size: 80px;
    font-weight: 900;
    color: var(--secondary-color);
    opacity: 0.25;
    align-self: center;
    line-height: 1;
    letter-spacing: -3px;
}

.timeline-item.visible .timeline-year {
    opacity: 0.25;
}

.timeline-content {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: box-shadow 0.4s ease;
}

.timeline-content:hover {
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
}

.timeline-content h3 {
    font-size: 28px;
    margin-bottom: 15px;
    letter-spacing: -1px;
}

.timeline-content p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-light);
}

/* Top dot on the timeline line */
.timeline-items::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    width: 12px;
    height: 12px;
    background: var(--secondary-color);
    border-radius: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0 0 4px rgba(231, 76, 60, 0.2);
}

/* Mission Vision */
.mission-vision {
    padding: 120px 40px;
    background: white;
}

.mv-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.mv-card {
    background: linear-gradient(135deg, var(--bg-light), white);
    padding: 60px;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

.mv-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
}

.mv-icon {
    font-size: 64px;
    margin-bottom: 30px;
}

.mv-card h2 {
    font-size: 36px;
    margin-bottom: 25px;
    letter-spacing: -1px;
}

.mv-card p {
    font-size: 17px;
    line-height: 1.8;
    color: var(--text-light);
}

/* Leadership */
.leadership {
    padding: 120px 40px;
    background: var(--bg-light);
}

.leadership-container {
    max-width: 1400px;
    margin: 0 auto;
}

.leadership-header {
    text-align: center;
    margin-bottom: 80px;
}

.leadership-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.leader-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.leader-card:hover {
    transform: translateY(-10px);
}

.leader-image {
    height: 350px;
    background: linear-gradient(135deg, #e0e0e0, #f5f5f5);
    position: relative;
}

.leader-info {
    padding: 30px;
    text-align: center;
}

.leader-name {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
}

.leader-title {
    font-size: 14px;
    color: var(--secondary-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Hakkımızda Responsive */
@media (max-width: 1024px) {
    .timeline-items::before {
        left: 20px;
    }

    .timeline-items::after {
        left: 20px;
    }

    .timeline-item {
        grid-template-columns: 1fr;
        gap: 10px 0;
        padding-left: 50px;
    }

    .timeline-dot {
        position: absolute;
        left: -30px;
        top: 20px;
        width: 30px;
    }

    /* On mobile both slide from left */
    .timeline-item:nth-child(odd),
    .timeline-item:nth-child(even) {
        transform: translateX(-60px);
    }

    .timeline-item.visible {
        transform: translateX(0);
    }

    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(odd) .timeline-year,
    .timeline-item:nth-child(even) .timeline-content,
    .timeline-item:nth-child(even) .timeline-year {
        grid-column: 1;
        text-align: left;
        grid-row: auto;
    }

    .timeline-year {
        font-size: 42px;
    }

    .mv-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {

    .story,
    .timeline,
    .mission-vision,
    .leadership {
        padding: 80px 20px;
    }
}

/* ========== Şirketlerimiz Page Styles ========== */

/* Company Detail Section */
.company-detail {
    padding: 120px 40px;
    background: white;
}

.company-detail:nth-child(even) {
    background: var(--bg-light);
}

.company-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.company-container.reverse {
    direction: rtl;
}

.company-container.reverse>* {
    direction: ltr;
}

.company-visual {
    position: relative;
    height: 500px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.company-visual::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.1));
    z-index: 1;
}

.company-logo-large {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    color: white;
    font-size: 56px;
    font-weight: 900;
    text-align: center;
}

.company-name {
    font-size: clamp(40px, 5vw, 56px);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    letter-spacing: -2px;
}

.company-tagline {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 30px;
    font-style: italic;
}

.company-description {
    font-size: 17px;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 30px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 40px 0;
}

.feature-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.feature-icon {
    font-size: 24px;
    min-width: 40px;
}

.feature-text {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-light);
}

.feature-text strong {
    display: block;
    color: var(--primary-color);
    margin-bottom: 5px;
    font-weight: 600;
}

.stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin: 40px 0;
    padding: 40px;
    background: var(--bg-light);
    border-radius: 15px;
}

.stat-box {
    text-align: center;
}

.stat-number {
    font-size: 36px;
    font-weight: 800;
    color: var(--secondary-color);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 14px;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 18px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    border: 2px solid var(--primary-color);
    background: var(--primary-color);
    color: white;
}

.btn:hover {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(231, 76, 60, 0.3);
}

/* Products Section (Nested in Company Content) */
.products {
    padding: 30px 0;
    background: transparent;
}

.products-container {
    width: 100%;
    margin: 0;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.product-card {
    background: white;
    padding: 20px;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.product-icon {
    font-size: 36px;
    margin-bottom: 15px;
}

.product-name {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 5px;
}

/* Şirketlerimiz Responsive */
@media (max-width: 1024px) {
    .company-container {
        grid-template-columns: 1fr;
    }

    .company-container.reverse {
        direction: ltr;
    }

    .features-grid,
    .stats-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {

    .company-detail,
    .products {
        padding: 80px 20px;
    }
}

/* ========== İletişim Page Styles ========== */

/* Contact Info */
.contact-info {
    padding: 120px 40px;
    background: white;
}

.contact-container {
    max-width: 1400px;
    margin: 0 auto;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-bottom: 80px;
}

.info-card {
    background: var(--bg-light);
    padding: 50px 40px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.info-card:hover {
    border-color: var(--secondary-color);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.info-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 30px;
    background: linear-gradient(135deg, #f39c12, #d35400);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: #ffffff;
    box-shadow: 0 8px 25px rgba(211, 84, 0, 0.25);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-card:hover .info-icon {
    transform: translateY(-4px) scale(1.08);
    box-shadow: 0 14px 35px rgba(211, 84, 0, 0.35);
}

.info-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
}

.info-details {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.8;
}

.info-details a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.info-details a:hover {
    color: var(--accent-color);
}

/* Contact Form */
.contact-form-section {
    padding: 120px 40px;
    background: var(--bg-light);
}

.form-container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 60px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}

.form-container .section-label {
    text-align: center;
    margin-bottom: 15px;
}

.form-container .section-title {
    text-align: center;
    font-size: 36px;
    margin-bottom: 40px;
    letter-spacing: -1px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 16px;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.submit-btn {
    width: 100%;
    padding: 18px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
}

.submit-btn:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(231, 76, 60, 0.3);
}

/* Companies Contact */
.companies-contact {
    padding: 120px 40px;
    background: white;
}

.companies-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.company-contact-card {
    background: var(--bg-light);
    padding: 40px;
    border-radius: 20px;
    border-left: 5px solid var(--secondary-color);
}

.company-contact-card h3 {
    font-size: 28px;
    margin-bottom: 10px;
}

.company-contact-card .tagline {
    font-size: 14px;
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-detail {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 16px;
    color: var(--text-light);
}

.contact-detail strong {
    color: var(--primary-color);
    min-width: 80px;
}

.contact-detail a {
    color: var(--secondary-color);
    text-decoration: none;
}

/* Map Section */
.map-section {
    padding: 0;
    background: var(--bg-light);
}

.map-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px 120px;
}

.map-placeholder {
    width: 100%;
    height: 500px;
    background: linear-gradient(135deg, #e0e0e0, #f5f5f5);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--text-light);
}

/* İletişim Responsive */
@media (max-width: 1024px) {
    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {

    .contact-info,
    .contact-form-section,
    .companies-contact {
        padding: 80px 20px;
    }

    .form-container {
        padding: 40px 30px;
    }

    .info-grid,
    .companies-grid {
        grid-template-columns: 1fr;
    }
}

/* ========== WhatsApp Float ========== */
.whatsapp-float {
    position: fixed;
    bottom: 40px;
    right: 40px;
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    animation: slideUpFade 0.5s ease-out 2s both;
}

.whatsapp-tooltip {
    background: #ffffff;
    color: var(--primary-color);
    padding: 10px 18px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    position: relative;
    animation: slideLeftFade 0.5s ease-out 3s both;
}

.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    border-width: 6px 0 6px 6px;
    border-style: solid;
    border-color: transparent transparent transparent #ffffff;
}

.whatsapp-icon {
    width: 65px;
    height: 65px;
    background: linear-gradient(135deg, #f39c12, #d35400);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 38px;
    box-shadow: 0 8px 25px rgba(211, 84, 0, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-float:hover .whatsapp-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 30px rgba(211, 84, 0, 0.6);
}

@keyframes slideUpFade {
    0% { opacity: 0; transform: translateY(30px); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes slideLeftFade {
    0% { opacity: 0; transform: translateX(20px); }
    100% { opacity: 1; transform: translateX(0); }
}

@media (max-width: 768px) {
    .whatsapp-tooltip {
        display: none;
    }
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
    }
    .whatsapp-icon {
        width: 55px;
        height: 55px;
        font-size: 32px;
    }
}