/* ============================================= */
/* ===      ANA SİTE ÖZEL STİLLERİ           === */
/* ============================================= */
html { scroll-behavior: smooth; }
body { padding-top: 90px; }

/* ===== Navbar Stilleri ===== */
.navbar {
    transition: all 0.4s ease-out;
    /* Okunurluk için üstte gölge */
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0) 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}
.navbar-brand img { height: 50px; transition: height 0.3s ease; }
.navbar.scrolled {
    background-color: #ffffff;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    background-image: none; 
}
.navbar.scrolled .nav-link, 
.navbar.scrolled .navbar-brand { color: #333 !important; }
.navbar.scrolled .nav-link-lang { color: #888 !important; }
.navbar.scrolled .navbar-brand img { height: 40px; }
.navbar .nav-link { color: #fff; font-weight: 500; }
.nav-link-lang { color: #f0f0f0; text-decoration: none; font-size: 0.9rem; margin-left: 5px; }
.nav-link-lang.active { font-weight: bold; color: #fff; }

/* ===== Hero Alanı Stilleri ===== */
.hero-section {
    position: relative;
    background: url('https://images.unsplash.com/photo-1560066987-34c91c450b6e?w=1920') no-repeat center center;
    background-size: cover; color: white; padding: 8rem 0; overflow: hidden;
}
.hero-overlay {
    position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(243, 111, 33, 0.80); z-index: 1;
}
.hero-content { position: relative; z-index: 2; }
.hero-box {
    background-color: rgba(0, 0, 0, 0.3); padding: 1.5rem; text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.5); margin-bottom: 1rem;
    border-radius: 8px; transition: all 0.3s ease;
}
.hero-box:hover {
    transform: translateY(-8px); box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    background-color: rgba(0, 0, 0, 0.5);
}
.hero-box img { max-width: 100%; border-radius: 4px; margin-bottom: 1rem; }
.video-play-button {
    font-size: 7rem; color: rgba(255, 255, 255, 0.9); text-decoration: none;
    transition: all 0.3s ease; text-shadow: 0 0 15px rgba(0, 0, 0, 0.4);
    animation: pulse 2s infinite;
}
.video-play-button:hover { color: #fff; transform: scale(1.1); }
@keyframes pulse { 0% { transform: scale(1); } 50% { transform: scale(1.05); } 100% { transform: scale(1); } }

/* ===== Tarihçe (Timeline) Stilleri ===== */
.timeline-section { padding: 6rem 0; background-color: #f9f9f9; }
.timeline-row { position: relative; border-top: 4px solid #e0e0e0; }
.timeline-item {
    padding-top: 2rem; position: relative; opacity: 0;
    transform: translateY(60px); transition: all 0.8s ease-out;
    transition-delay: calc(0.1s * var(--i, 1));
}
.timeline-item.visible { opacity: 1; transform: translateY(0); }
.timeline-item::before {
    content: ''; position: absolute; top: -12px; left: 50%;
    transform: translateX(-50%); width: 20px; height: 20px;
    background-color: #f36f21; border-radius: 50%;
    border: 4px solid #f9f9f9; z-index: 1;
}
.timeline-item h4 { font-weight: 700; color: #f36f21; margin-bottom: 0.5rem; }
/* CKEditor'den gelen p, ul, li vb. stillerini sıfırlama (timeline-content içi) */
.timeline-content { font-size: 0.9rem; color: #555; min-height: 80px; }
.timeline-content p { margin-bottom: 0.5rem; }
.timeline-content ul, .timeline-content ol { padding-left: 1.2rem; }
.timeline-item img {
    width: 100%; border: 1px solid #ddd; border-radius: 4px;
    margin-top: 1rem; height: 120px; object-fit: cover;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

/* ===== Footer (Partner Logoları) Stilleri ===== */
.partner-logos img {
    max-width: 150px; filter: grayscale(100%);
    opacity: 0.6; transition: all 0.3s ease;
}
.partner-logos img:hover { filter: grayscale(0%); opacity: 1; transform: scale(1.1); }
.modal-body { padding: 0; }
.ratio-16x9 iframe { width: 100%; height: 100%; }

/* ===== Sol Sabit Navigasyon Stilleri ===== */
/* Masaüstü */
@media (min-width: 992px) {
    body { padding-left: 70px; }
    .side-nav {
        position: fixed; left: 0; top: 50%; transform: translateY(-50%);
        z-index: 1020; background-color: #ffffff;
        border-radius: 0 12px 12px 0; box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
        transition: width 0.35s ease-in-out; width: 70px;
        overflow: hidden; border-left: 4px solid #f36f21;
    }
    .side-nav:hover { width: 230px; }
    .nav-list { list-style: none; padding: 1rem 0; margin: 0; display: flex; flex-direction: column; align-items: center; }
    .nav-item { width: 100%; }
    .nav-link { display: flex; align-items: center; text-decoration: none; color: #333; padding: 0.8rem 1.25rem; white-space: nowrap; transition: background-color 0.2s ease; }
    .nav-link:hover { background-color: #f8f9fa; color: #f36f21; }
    .nav-link i { font-size: 1.5rem; min-width: 26px; text-align: center; transition: transform 0.3s ease; }
    .nav-link:hover i { transform: scale(1.1); }
    .nav-text { margin-left: 1.5rem; font-weight: 500; font-size: 0.95rem; opacity: 0; transition: opacity 0.2s ease; }
    .side-nav:hover .nav-text { opacity: 1; transition-delay: 0.1s; }
    .nav-item-divider { width: 80%; margin: 0 auto; }
}
/* Mobil */
@media (max-width: 991.98px) {
    body { padding-bottom: 65px; }
    .side-nav {
        position: fixed; top: auto; bottom: 0; left: 0; width: 100%;
        height: 65px; background-color: #ffffff; box-shadow: 0 -3px 10px rgba(0, 0, 0, 0.1);
        z-index: 1020; border-radius: 12px 12px 0 0; border-top: 3px solid #f36f21;
    }
    .nav-list { list-style: none; padding: 0 0.5rem; margin: 0; display: flex; flex-direction: row; align-items: center; justify-content: space-around; height: 100%; }
    .nav-item { width: auto; }
    .nav-link { display: flex; flex-direction: column; justify-content: center; align-items: center; color: #555; padding: 0.5rem; height: 100%; text-decoration: none; }
    .nav-link:hover, .nav-link:focus { color: #f36f21; }
    .nav-link i { font-size: 1.6rem; }
    .nav-text { display: none; }
    .nav-item-divider { display: none; }
}