/* Temel Değişkenler ve Sıfırlama */
:root {
    --brand-red: #D32F2F;
    --brand-red-glow: rgba(211, 47, 47, 0.7);
    --bg-dark: #080808;
    --bg-darker: #000000;
    --text-main: #E0E0E0;
    --text-muted: #888888;
    --glass-bg: rgba(5, 5, 5, 0.85);
    --glass-border: rgba(255, 255, 255, 0.05);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    overflow-x: hidden;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Preloader */
#preloader {
    position: fixed;
    inset: 0;
    background: var(--bg-darker);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 1s cubic-bezier(0.8, 0, 0.2, 1);
}

.loader-content {
    text-align: center;
}

.loader-logo {
    width: 280px;
    margin-bottom: 40px;
    filter: drop-shadow(0 0 15px rgba(211,47,47,0.3));
}

.cyber-loading {
    position: relative;
}

.cyber-line {
    height: 2px;
    width: 0;
    background: var(--brand-red);
    margin: 0 auto 15px auto;
    animation: loadLine 2.5s ease-out forwards;
    box-shadow: 0 0 10px var(--brand-red);
}

.cyber-loading span {
    font-size: 0.85rem;
    letter-spacing: 5px;
    color: var(--brand-red);
    animation: blink 1s infinite;
}

/* Kayan Haber Şeridi (Ticker) */
.news-ticker {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 45px;
    background: var(--brand-red);
    color: #fff;
    display: flex;
    align-items: center;
    z-index: 1000;
    font-weight: bold;
    font-size: 0.95rem;
    overflow: hidden;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.5);
}

.ticker-title {
    background: #000;
    height: 100%;
    padding: 0 25px;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 2;
    letter-spacing: 1.5px;
}

.ticker-content {
    flex: 1;
    overflow: hidden;
    position: relative;
}

.ticker-text {
    display: flex;
    white-space: nowrap;
    animation: tickerScroll 25s linear infinite;
}

.ticker-text span {
    padding: 0 60px;
}

/* Header (Glassmorphism) */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--glass-border);
    z-index: 998;
    padding: 15px 0;
    transition: transform 0.4s;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    height: 40px;
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 40px;
}

.main-nav a {
    text-decoration: none;
    color: var(--text-main);
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 600;
    position: relative;
    padding-bottom: 5px;
    transition: color 0.3s;
}

.main-nav a:hover {
    color: var(--brand-red);
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--brand-red);
    transition: width 0.3s ease;
}

.main-nav a:hover::after {
    width: 100%;
}

/* Hero Section (Video Arka Plan) */
#hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translateX(-50%) translateY(-50%);
    z-index: 1;
    opacity: 0.6; /* Videonun parlaklığını kısıyoruz */
}

.hero-vignette {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.95) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    width: 100%;
    padding-top: 50px;
}

.live-indicator {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    letter-spacing: 5px;
    color: var(--text-main);
    margin-bottom: 20px;
    background: rgba(0,0,0,0.5);
    padding: 8px 20px;
    border-radius: 30px;
    border: 1px solid var(--glass-border);
}

.red-dot {
    width: 10px;
    height: 10px;
    background-color: var(--brand-red);
    border-radius: 50%;
    animation: blink 1s infinite;
    box-shadow: 0 0 10px var(--brand-red);
}

/* Glitch Efektli Ana Başlık */
.glitch-title {
    font-size: 8rem;
    font-weight: 900;
    color: #fff;
    position: relative;
    display: inline-block;
    margin-bottom: 40px;
    text-shadow: 0 10px 30px rgba(0,0,0,0.8);
    letter-spacing: 2px;
}

.glitch-title::before, .glitch-title::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
}

.glitch-title::before {
    left: 4px;
    text-shadow: -2px 0 red;
    clip: rect(24px, 550px, 90px, 0);
    animation: glitch-anim 3s infinite linear alternate-reverse;
}

.glitch-title::after {
    left: -4px;
    text-shadow: -2px 0 cyan;
    clip: rect(85px, 550px, 140px, 0);
    animation: glitch-anim 2.5s infinite linear alternate-reverse;
}

/* Geri Sayım */
.countdown-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-bottom: 40px;
}

.countdown-item {
    background: rgba(10,10,10,0.7);
    border: 1px solid rgba(211,47,47,0.3);
    padding: 20px 30px;
    min-width: 130px;
    backdrop-filter: blur(10px);
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
}

.countdown-item span {
    font-size: 4rem;
    font-weight: bold;
    color: #fff;
    line-height: 1;
    text-shadow: 0 0 15px var(--brand-red-glow);
}

.countdown-item p {
    font-size: 0.85rem;
    letter-spacing: 3px;
    color: var(--brand-red);
    margin-top: 10px;
    font-weight: 600;
}

.countdown-separator {
    font-size: 3rem;
    color: var(--brand-red);
    animation: blink 1s infinite;
}

.hero-subtitle {
    font-size: 1.5rem;
    letter-spacing: 5px;
    font-weight: 300;
    text-shadow: 0 2px 5px rgba(0,0,0,0.8);
}

/* Bölüm Genel Tasarımı */
.section {
    padding: 120px 0;
    position: relative;
}

.dark-section {
    background: var(--bg-darker);
}

.section-title {
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: 2px;
    color: #fff;
}

.title-line {
    width: 80px;
    height: 5px;
    background: var(--brand-red);
    margin: 20px 0 40px;
    box-shadow: 0 0 15px var(--brand-red-glow);
}

/* Manifesto Tasarımı */
.manifesto-box {
    max-width: 1000px;
    margin: 0 auto;
    text-align: left;
    border-left: 5px solid var(--brand-red);
    padding-left: 40px;
}

.manifesto-text {
    font-size: 1.4rem;
    line-height: 1.8;
    color: #ccc;
    margin-bottom: 40px;
    font-weight: 300;
}

.about-image-single img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    border: 1px solid var(--glass-border);
}

/* Altyapı Bento Grid Sistemi */
.section-header {
    text-align: center;
    margin-bottom: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.section-desc {
    max-width: 750px;
    color: #aaa;
    line-height: 1.6;
    font-size: 1.15rem;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 280px;
    gap: 20px;
}

.bento-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    background: #111;
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

.bento-item.large {
    grid-column: span 2;
    grid-row: span 2;
}

.bento-item.wide {
    grid-column: span 2;
}

.bento-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
    transition: transform 0.8s ease, opacity 0.8s ease;
    filter: grayscale(60%);
}

.bento-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.2) 50%, transparent 100%);
    display: flex;
    align-items: flex-end;
    padding: 30px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.bento-overlay span {
    font-size: 1.4rem;
    font-weight: bold;
    letter-spacing: 1px;
    color: #fff;
    transform: translateY(20px);
    transition: transform 0.4s ease;
    border-left: 3px solid var(--brand-red);
    padding-left: 15px;
}

.bento-item:hover img {
    transform: scale(1.08);
    opacity: 1;
    filter: grayscale(0%);
}

.bento-item:hover .bento-overlay {
    opacity: 1;
}

.bento-item:hover .bento-overlay span {
    transform: translateY(0);
}

/* Kurumsal Marquee (Sonsuz Kayan Bant) */
.marquee-container {
    width: 100%;
    overflow: hidden;
    background: #050505;
    padding: 40px 0;
    border-top: 1px solid #1a1a1a;
    border-bottom: 1px solid #1a1a1a;
    position: relative;
}

/* Kenarlarda solma efekti */
.marquee-container::before,
.marquee-container::after {
    content: "";
    position: absolute;
    top: 0;
    width: 150px;
    height: 100%;
    z-index: 2;
}

.marquee-container::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-darker), transparent);
}

.marquee-container::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-darker), transparent);
}

.marquee-content {
    display: flex;
    width: max-content;
    animation: marqueeScroll 40s linear infinite;
}

.marquee-content img {
    height: 250px;
    width: auto;
    object-fit: contain;
    margin: 0 40px;
    filter: drop-shadow(0 15px 25px rgba(0,0,0,0.6));
    transition: transform 0.3s ease, filter 0.3s ease;
    background: #111;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #222;
}

.marquee-content img:hover {
    transform: scale(1.05) translateY(-10px);
    border-color: var(--brand-red);
    filter: drop-shadow(0 20px 30px rgba(211,47,47,0.2));
}

/* Footer */
footer {
    background: #000;
    padding: 80px 0 40px;
    text-align: center;
    padding-bottom: 80px; 
}

.footer-logo {
    width: 180px;
    margin-bottom: 30px;
    opacity: 0.6;
    transition: opacity 0.3s;
}

.footer-logo:hover {
    opacity: 1;
}

.footer-links p {
    color: var(--text-muted);
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.footer-bottom {
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid #1a1a1a;
    font-size: 0.9rem;
    color: #555;
}

/* Animasyonlar */
.reveal-element {
    opacity: 0;
    transform: translateY(60px);
    transition: all 1s cubic-bezier(0.25, 1, 0.5, 1);
}

.reveal-element.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-text {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1s, transform 1s;
}

.reveal-text.active {
    opacity: 1;
    transform: translateY(0);
}

/* Keyframes */
@keyframes loadLine {
    0% { width: 0%; }
    100% { width: 300px; }
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

@keyframes tickerScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@keyframes marqueeScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@keyframes glitch-anim {
    0% { clip: rect(44px, 9999px, 86px, 0); }
    5% { clip: rect(6px, 9999px, 83px, 0); }
    10% { clip: rect(100px, 9999px, 14px, 0); }
    15% { clip: rect(31px, 9999px, 94px, 0); }
    20% { clip: rect(81px, 9999px, 11px, 0); }
    25% { clip: rect(44px, 9999px, 91px, 0); }
    30% { clip: rect(78px, 9999px, 86px, 0); }
    35% { clip: rect(80px, 9999px, 84px, 0); }
    40% { clip: rect(38px, 9999px, 20px, 0); }
    45% { clip: rect(48px, 9999px, 2px, 0); }
    50% { clip: rect(85px, 9999px, 59px, 0); }
    55% { clip: rect(88px, 9999px, 63px, 0); }
    60% { clip: rect(2px, 9999px, 7px, 0); }
    65% { clip: rect(8px, 9999px, 19px, 0); }
    70% { clip: rect(98px, 9999px, 9px, 0); }
    75% { clip: rect(4px, 9999px, 7px, 0); }
    80% { clip: rect(74px, 9999px, 48px, 0); }
    85% { clip: rect(33px, 9999px, 43px, 0); }
    90% { clip: rect(18px, 9999px, 16px, 0); }
    95% { clip: rect(28px, 9999px, 6px, 0); }
    100% { clip: rect(48px, 9999px, 84px, 0); }
}

/* Mobil Uyumluluk */
@media (max-width: 1024px) {
    .glitch-title { font-size: 5.5rem; }
    .bento-grid { grid-template-columns: repeat(2, 1fr); }
    .bento-item.large, .bento-item.wide { grid-column: span 2; }
}

@media (max-width: 768px) {
    .glitch-title { font-size: 3.5rem; }
    .countdown-item { min-width: 70px; padding: 15px 10px; }
    .countdown-item span { font-size: 2rem; }
    .countdown-separator { font-size: 2rem; }
    .main-nav { display: none; }
    .bento-grid { grid-template-columns: 1fr; }
    .bento-item.large, .bento-item.wide { grid-column: span 1; grid-row: span 1; }
    .marquee-content img { height: 180px; margin: 0 20px; }
}