/* =========================================
   GENEL STİLLER
========================================= */
body {
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
    background-color: #f8fafc;
}

/* =========================================
   GRADİENT RENKLER
========================================= */
/* Özel Gradient Arkaplan */
.bg-kafkas-gradient {
    background: linear-gradient(to right, #10103C, #2F508C, #10103C);
}

/* Özel Gradient Yazı */
.text-kafkas-gradient {
    background: linear-gradient(to right, #10103C, #2F508C, #10103C);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

/* =========================================
   SLAYT VE KAHRAMAN (HERO) ALANI
========================================= */
/* Slayt Geçiş ve Katman */
.slide {
    opacity: 0;
    transition: opacity 1s ease-in-out;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.slide.active {
    opacity: 1;
    z-index: 1;
}

.hero-overlay {
    background: rgba(16, 16, 60, 0.65);
}

/* Slayt İçi Animasyonlar */
@keyframes slideUpFade {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-text-content > * {
    opacity: 0;
}

.slide.active .hero-text-content > span {
    animation: slideUpFade 0.8s ease-out forwards;
    animation-delay: 0.2s;
}

.slide.active .hero-text-content > h1 {
    animation: slideUpFade 0.8s ease-out forwards;
    animation-delay: 0.4s;
}

.slide.active .hero-text-content > p {
    animation: slideUpFade 0.8s ease-out forwards;
    animation-delay: 0.6s;
}

.slide.active .hero-text-content > div {
    animation: slideUpFade 0.8s ease-out forwards;
    animation-delay: 0.8s;
}

/* =========================================
   MARQUEE VE SCROLL ANİMASYONLARI
========================================= */
/* Marquee Animasyonu */
.marquee-container {
    overflow: hidden;
    white-space: nowrap;
    display: flex;
    align-items: center;
}

.marquee-content {
    display: inline-block;
    animation: marquee 35s linear infinite;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Scroll ile beliren elementler (Reveal) */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Sayfa İçerik Geçişleri */
.page-view {
    display: none;
    animation: fadeIn 0.5s ease-in;
}

.page-view.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================================
   KARTLAR VE LİSTELER
========================================= */
/* 3D Kart Destesi (Slider) CSS Sınıfları */
.card-front {
    z-index: 30;
    opacity: 1;
    transform: translate(0, 0) scale(1);
}

.card-back-1 {
    z-index: 20;
    opacity: 0.4;
    transform: translate(1.5rem, 1.5rem) scale(0.95);
}

.card-back-2 {
    z-index: 10;
    opacity: 0.15;
    transform: translate(3rem, 3rem) scale(0.90);
}

.card-hidden {
    z-index: 0;
    opacity: 0;
    transform: translate(4.5rem, 4.5rem) scale(0.85);
}

/* Rozet içi geçişleri düzeltmek için */
.info-card .badge-content {
    transition: opacity 0.5s ease;
}

.info-card:not(.card-front) .badge-content {
    opacity: 0;
}

/* Liste İkon Stilleri */
.prose ul {
    list-style-type: none;
    padding-left: 1.5rem;
}

.prose ul li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
}

.prose ul li::before {
    content: "\f105"; /* FontAwesome Angle Right */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: #2F508C;
    position: absolute;
    left: 0;
    margin-top: 2px;
}

/* =========================================
   ÖZEL ANİMASYONLAR VE EFEKTLER
========================================= */
/* Kayan arkaplan animasyonu */
@keyframes pan-bg {
    0% { background-position: 0% 50%; }
    100% { background-position: 100% 50%; }
}

.bg-pan {
    background-size: 200% 200%;
    animation: pan-bg 10s linear infinite alternate;
}

/* Animasyonlu Noktalar (Header İçin) */
@keyframes dots-drift {
    0% { background-position: 0px 0px; }
    100% { background-position: 40px 40px; }
}

.animate-dots {
    animation: dots-drift 4s linear infinite;
}

/* Metin Işıltı Animasyonu (Geleceği Üretiyoruz) */
@keyframes shimmer-text {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.animate-text-shimmer {
    background-size: 200% auto;
    animation: shimmer-text 5s ease-in-out infinite;
}

/* Floating Animasyonu (İkonlar için) */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

.animate-float {
    animation: float 4s ease-in-out infinite;
}

/* Floating Animasyonu (404 Metni için - İsim Çakışması Önlenmiştir) */
@keyframes float-404 {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

.animate-float-404 {
    animation: float-404 6s ease-in-out infinite;
}

/* Başlık Parlama Animasyonu */
@keyframes title-glow {
    0%, 100% { letter-spacing: 0.05em; filter: drop-shadow(0 0 10px rgba(255,255,255,0.1)); }
    50% { letter-spacing: 0.15em; filter: drop-shadow(0 0 25px rgba(255,255,255,0.6)); }
}

.animate-title-glow {
    animation: title-glow 4s ease-in-out infinite;
}

/* Blob Float Animasyonu */
@keyframes blob-float {
    0% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -50px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
    100% { transform: translate(0, 0) scale(1); }
}

.ambient-blob {
    animation: blob-float 15s infinite alternate ease-in-out;
}

/* Yardımcı Animasyon Gecikmeleri */
.animation-delay-2000 { animation-delay: 2s; }
.animation-delay-4000 { animation-delay: 4s; }

/* Ekstra Slayt Geçişleri */
@keyframes slide-right {
    0% { left: -50%; }
    100% { left: 100%; }
}

@keyframes slide-down {
    0% { top: -50%; }
    100% { top: 100%; }
}

/* Teknoloji Kutusu Fade Efekti */
@keyframes tech-fade {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

.animate-tech-fade {
    animation: tech-fade 5s ease-in-out infinite;
}

/* Genel Işıltı Efekti */
@keyframes glow {
    0%, 100% { filter: drop-shadow(0 0 15px rgba(250, 204, 21, 0.4)); }
    50% { filter: drop-shadow(0 0 35px rgba(250, 204, 21, 0.8)); }
}

.animate-glow {
    animation: glow 4s ease-in-out infinite;
}