/* Temel Renkler ve Font */
:root {
    --bg-main: #070707;
    --bg-secondary: #0c0c0c;
    --border-color: #1f1f1f;
    --text-main: #a1a1aa;
    --text-bright: #ffffff;
    --accent-color: #5e181f;
    --font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    padding-top: 110px; /* Kapsül nav-barın sayfa içeriğini kapatmaması için boşluk artırıldı */
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* --- Animasyon Sınıfları --- */
.fade-in, .slide-up, .fade-in-scroll, .slide-up-scroll {
    opacity: 0;
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in { animation: fadeInAnimation 1s forwards; }
.slide-up { transform: translateY(30px); animation: slideUpAnimation 1s forwards 0.3s; }

@keyframes fadeInAnimation { to { opacity: 1; } }
@keyframes slideUpAnimation { to { opacity: 1; transform: translateY(0); } }

.fade-in-scroll.scrolled { opacity: 1; }
.slide-up-scroll { transform: translateY(40px); }
.slide-up-scroll.scrolled { opacity: 1; transform: translateY(0); }


/* --- GÖRSELDEKİ KAPSÜL (PILL) NAV-BAR --- */
.ta-navbar {
    position: fixed;
    top: 25px; /* Sayfanın üstünden süzülme boşluğu */
    left: 50%;
    transform: translateX(-50%); /* Tam ortalama */
    width: 95%;
    max-width: 1000px;
    z-index: 1000;
    padding: 0.6rem 1.5rem;
    background-color: rgba(18, 18, 18, 0.75); /* Koyu ama cam gibi şeffaf */
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08); /* İnce, zarif çerçeve */
    border-radius: 50px; /* Görseldeki gibi tam yuvarlak kenarlar */
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5); /* Süzülme (Floating) gölgesi */
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Sol: Logo Bölümü */
.logo {
    display: flex;
    align-items: center;
    color: var(--text-bright);
    font-weight: 700;
    font-size: 1.05rem;
    letter-spacing: 1px;
    flex: 1; /* Ortalamayı dengelemek için flex payı */
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.02);
}

.logo img {
    height: 38px;
    margin-right: 12px;
}

/* Orta: Menü Bağlantıları */
.main-nav {
    flex: 2; /* Menünün daha fazla alan alması ve ortalanması için */
    display: flex;
    justify-content: center;
}

.main-nav ul {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.nav-link {
    color: #a1a1aa;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.6rem 1.2rem;
    border-radius: 30px; /* Linklerin üzerine gelindiğinde görseldeki gibi hap efekti */
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: var(--text-bright);
    background-color: rgba(255, 255, 255, 0.08); /* Yumuşak beyaz aydınlatma */
}

/* Sağ: Dengeleyici Boşluk (Menünün tam ortada durmasını sağlar) */
.nav-right-placeholder {
    flex: 1; /* Logoyla aynı flex payına sahip olarak simetri oluşturur */
}


/* --- Hero Section --- */
.hero {
    padding: 5rem 0 6rem;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    color: var(--text-bright);
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    font-weight: 700;
    letter-spacing: -1px;
}

.hero .highlight {
    color: var(--accent-color);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    color: #888;
}

.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary {
    background-color: var(--accent-color);
    color: var(--text-bright);
    border: 1px solid var(--accent-color);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background-color: var(--text-bright);
    transition: width 0.3s ease;
    z-index: -1;
}

.btn-primary:hover {
    color: var(--accent-color);
    border-color: var(--text-bright);
}

.btn-primary:hover::before {
    width: 100%;
}

/* --- Kayan Logolar (Marquee) --- */
.partner-slider-container {
    background-color: var(--bg-secondary);
    padding: 3rem 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    overflow: hidden;
    position: relative;
}

.partner-slider {
    display: flex;
    align-items: center;
    overflow: hidden;
}

.partner-slider-container::before,
.partner-slider-container::after {
    content: "";
    position: absolute;
    top: 0;
    width: 150px;
    height: 100%;
    z-index: 2;
}

.partner-slider-container::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-secondary) 0%, transparent 100%);
}

.partner-slider-container::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-secondary) 0%, transparent 100%);
}

.slide-track {
    display: flex;
    width: max-content;
    animation: scroll 40s linear infinite;
}

.partner-item {
    display: flex;
    align-items: center;
    margin: 0 30px;
    opacity: 0.6;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.partner-item:hover {
    opacity: 1;
    transform: translateY(-2px);
}

.partner-item img {
    height: 40px;
    object-fit: contain;
    margin-right: 15px;
}

.partner-name {
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-bright);
    white-space: nowrap;
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* --- Hakkında Bölümü --- */
.about {
    padding: 6rem 0 3rem;
    text-align: center;
}

.about p {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.15rem;
    line-height: 1.8;
    color: #999;
}

/* --- Sistemler --- */
.systems {
    padding: 3rem 0 8rem;
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title h2 {
    color: var(--text-bright);
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
}

.systems-accordion {
    max-width: 800px;
    margin: 0 auto;
}

details {
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

details[open] {
    background-color: rgba(94, 24, 31, 0.05);
}

summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2rem 1rem;
    cursor: pointer;
    list-style: none;
    transition: background-color 0.3s ease;
}

summary::-webkit-details-marker {
    display: none;
}

summary:hover {
    background-color: rgba(255, 255, 255, 0.02);
}

.summary-left {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.summary-left .icon {
    font-size: 1.3rem;
    color: var(--accent-color);
    transition: transform 0.3s ease;
}

summary:hover .icon {
    transform: translateX(5px);
}

summary h3 {
    color: var(--text-bright);
    font-size: 1.2rem;
    font-weight: 500;
}

summary .arrow {
    color: #555;
    font-size: 1rem;
    transition: transform 0.3s ease, color 0.3s ease;
}

details[open] summary .arrow {
    transform: rotate(180deg);
    color: var(--accent-color);
}

.details-content {
    padding: 0 1rem 2.5rem 3.8rem;
    color: #888;
    font-size: 1.05rem;
    line-height: 1.7;
    opacity: 0;
    transform: translateY(-10px);
    animation: contentFadeIn 0.4s ease forwards;
}

@keyframes contentFadeIn {
    to { opacity: 1; transform: translateY(0); }
}

/* --- Footer --- */
footer {
    background-color: var(--bg-secondary);
    padding: 4rem 0;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    color: var(--text-bright);
    font-weight: bold;
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.footer-logo:hover {
    transform: translateX(5px);
}

.footer-logo img {
    height: 35px;
    margin-right: 10px;
}

.copyright {
    font-size: 0.85rem;
    color: #555;
}

.footer-right {
    text-align: right;
}

.social-links {
    margin-bottom: 1rem;
    display: flex;
    gap: 1.5rem;
    justify-content: flex-end;
}

.social-icon {
    color: #888;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.05);
}

.social-icon:hover {
    color: var(--text-bright);
    background-color: var(--accent-color);
    transform: translateY(-3px);
}

.contact-info p {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 0.3rem;
    transition: color 0.3s ease;
}

.contact-info p:hover {
    color: var(--text-main);
}