/* Özel CSS Stilleri */

/* Temel Stil Sıfırlamaları ve Değişkenler */
:root {
    /* Modern siyah-beyaz-kırmızı renk paleti */
    --primary: #DC2626;          /* Ana kırmızı renk */
    --primary-dark: #B91C1C;     /* Koyu kırmızı */
    --primary-light: #EF4444;    /* Açık kırmızı */
    --dark: #0F0F0F;             /* Derin siyah */
    --dark-gray: #1F1F1F;        /* Koyu gri */
    --medium-gray: #2D2D2D;      /* Orta gri */
    --light: #FFFFFF;            /* Saf beyaz */
    --off-white: #F9FAFB;        /* Kırık beyaz */
    --gray-light: #E5E7EB;       /* Açık gri */
    --gray-medium: #9CA3AF;      /* Orta gri */
    --gray-dark: #4B5563;        /* Koyu gri */
    --transition-fast: 0.3s ease;
    --transition-medium: 0.5s ease;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);

    /* Modern Tipografi Ayarları - 2025 Standartları */
    --font-sans: 'Outfit', system-ui, sans-serif;
    --font-serif: 'Fraunces', Georgia, serif;
    --font-display: 'Sora', system-ui, sans-serif;
    --font-mono: 'IBM Plex Mono', monospace;
    --font-weight-thin: 100;
    --font-weight-light: 300;
    --font-weight-regular: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    --font-weight-black: 900;
    --letter-spacing-tight: -0.025em;
    --letter-spacing-normal: 0;
    --letter-spacing-wide: 0.025em;
    --line-height-none: 1;
    --line-height-tight: 1.25;
    --line-height-snug: 1.375;
    --line-height-normal: 1.5;
    --line-height-relaxed: 1.625;
    --line-height-loose: 2;
}

/* Temel Animasyonlar */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes pulseGlow {
    0% {
        box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(220, 38, 38, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(220, 38, 38, 0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}

.animate-fade-in-down {
    animation: fadeInDown 0.8s ease-out;
}

.animate-fade-in {
    animation: fadeIn 0.8s ease-out;
}

/* Hero için Özel Stillemeler */
.shadow-glow {
    box-shadow: 0 0 20px rgba(220, 38, 38, 0.2);
    transition: box-shadow 0.3s ease;
}

.shadow-glow:hover {
    box-shadow: 0 0 30px rgba(220, 38, 38, 0.4);
}

/* Typewriter efekti */
.typewriter {
    overflow: hidden;
    border-right: 3px solid var(--primary);
    white-space: nowrap;
    animation: 
        typing 3.5s steps(40, end),
        blink-caret 0.75s step-end infinite;
    transition: opacity 0.5s ease;
}

@keyframes typing {
    from { width: 0 }
    to { width: 100% }
}

@keyframes blink-caret {
    from, to { border-color: transparent }
    50% { border-color: var(--primary) }
}

/* Yüksek Kalite Görseller */
img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

/* Sayfa Geçişleri */
.page-transition {
    transition: opacity 0.3s ease-in-out;
}

/* Özel Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--gray-light);
}

::-webkit-scrollbar-thumb {
    background: var(--gray-medium);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* Hero Bölümü İçin Özel Stillemeler */
.hero-text-shadow {
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

/* Sticky Header Scroll Efekti */
header.scrolled {
    box-shadow: var(--shadow-lg);
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}

/* İletişim Formu Focus Efekti */
.form-input {
    transition: all var(--transition-fast);
    border: 2px solid transparent;
    outline: none;
}

.form-input:focus {
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.2);
    border-color: var(--primary);
}

/* Galeri Hover Efekti */
.gallery-item {
    overflow: hidden;
    position: relative;
}

.gallery-item img {
    transition: all 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0) 60%);
    opacity: 0;
    transition: opacity var(--transition-medium);
}

.gallery-item:hover::after {
    opacity: 1;
}

/* Mobil Menü Animasyonu */
#mobile-menu {
    transition: all 0.3s ease;
    max-height: 0;
    overflow: hidden;
}

#mobile-menu.show {
    max-height: 500px;
}

/* Butonlar için Hover Efektleri */
.btn {
    position: relative;
    overflow: hidden;
    transition: all var(--transition-fast);
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

/* Card Hover Efektleri */
.card {
    transition: all var(--transition-fast);
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

/* Lightbox Animasyonu */
.lightbox {
    transition: opacity 0.3s ease;
}

.lightbox.fade-in {
    opacity: 1;
}

.lightbox.fade-out {
    opacity: 0;
}

/* İçerik Fade-In Efekti (Sayfa yüklendiğinde) */
.content-section {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.content-section.fade-in {
    opacity: 1;
    transform: translateY(0);
}

/* Duyarlı Video Çerçeveleri */
.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 oranı için */
    height: 0;
    overflow: hidden;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Vurgu Efektleri */
.highlight-text {
    position: relative;
    display: inline-block;
}

.highlight-text::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 8px;
    background-color: var(--primary-light);
    opacity: 0.3;
    z-index: -1;
}

/* Sürükleme Seçimi Rengi */
::selection {
    background-color: var(--primary);
    color: white;
}

/* AOS Fallback için Özel Animasyonlar */
[data-aos="custom-fade-up"] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-aos="custom-fade-up"].aos-animate {
    opacity: 1;
    transform: translateY(0);
}

/* Medya Sorguları */
@media (max-width: 768px) {
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

/* 2025 Tipografi İyileştirmeleri */
body {
    font-family: var(--font-sans);
    font-feature-settings: "ss01", "ss02", "liga", "kern";
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
    font-weight: var(--font-weight-bold);
    letter-spacing: var(--letter-spacing-tight);
    line-height: var(--line-height-tight);
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: var(--font-weight-black);
}

h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
}

.display-text {
    font-family: var(--font-display);
    font-weight: var(--font-weight-light);
    letter-spacing: var(--letter-spacing-wide);
    line-height: 1.1;
}

p {
    line-height: var(--line-height-relaxed);
    font-weight: var(--font-weight-regular);
}

.lead {
    font-size: 1.25rem;
    font-weight: var(--font-weight-light);
    line-height: var(--line-height-relaxed);
}

strong, b {
    font-weight: var(--font-weight-semibold);
}

.font-mono {
    font-family: var(--font-mono);
    font-feature-settings: "calt" 1, "ss01" 1, "ss02" 1, "zero" 1;
}

.text-balance {
    text-wrap: balance;
}

.text-pretty {
    text-wrap: pretty;
}

/* Button Pulse Animasyonu */
.btn-pulse {
    animation: pulseGlow 2s infinite;
}

/* Accent Borders */
.border-accent-left {
    border-left: 4px solid var(--primary);
    padding-left: 1rem;
}

.border-accent-bottom {
    position: relative;
}

.border-accent-bottom::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background-color: var(--primary);
}

/* Gradient Text */
.gradient-text {
    background: linear-gradient(90deg, var(--dark), var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Hero için Ultra Modern Stillemeler */
.parallax-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 115%;
    z-index: 0;
    transform: translateZ(0);
}

.stat-item {
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    background-color: rgba(45, 45, 45, 0.5);
}

.stat-item:hover {
    background-color: rgba(45, 45, 45, 0.7);
    transform: translateY(-5px);
    border-color: var(--primary);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    display: block;
    font-family: var(--font-display);
    line-height: 1;
}

.stat-number .text-primary {
    color: var(--primary);
}

.stat-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 4px;
    display: block;
}

@keyframes bounce-slow {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(6px);
    }
}

.animate-bounce-slow {
    animation: bounce-slow 2s infinite;
}

/* Modern Hover Efektleri */
.hover-scale {
    transition: transform 0.3s ease;
}

.hover-scale:hover {
    transform: scale(1.03);
}

/* Modern Card Stillemesi */
.modern-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.modern-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    transform: translateY(-5px);
}

/* Buton Stillemeleri */
.btn-primary {
    background-color: var(--primary);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    transition: all 0.3s ease;
    font-weight: 500;
    box-shadow: 0 4px 10px rgba(220, 38, 38, 0.25);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    box-shadow: 0 6px 15px rgba(220, 38, 38, 0.35);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    color: var(--dark);
    border: 2px solid var(--dark);
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
}

/* 2025 Sinematik Efektler ve Animasyonlar */
.reveal-text {
    transform: translateY(100%);
    animation: revealText 1s cubic-bezier(0.77, 0, 0.175, 1) forwards;
}

.reveal-text-delay {
    transform: translateY(100%);
    animation: revealText 1s cubic-bezier(0.77, 0, 0.175, 1) 0.3s forwards;
}

@keyframes revealText {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease-out 0.5s forwards;
}

.fade-in-up-delay {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease-out 0.8s forwards;
}

.fade-in-up-delay-2 {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease-out 1.1s forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Film şeridi kayma animasyonu */
.animate-slide {
    animation: slideText 20s linear infinite;
}

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

/* Arka plan ızgara animasyonu */
.grid-bg-animation {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: 50px 50px;
    background-image: 
        linear-gradient(to right, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    animation: gridMove 15s linear infinite;
}

@keyframes gridMove {
    0% { background-position: 0 0; }
    100% { background-position: 50px 50px; }
}

/* Yavaş dönen animasyon */
.animate-spin-slow {
    animation: spin 20s linear infinite;
}

.animate-spin-slow-reverse {
    animation: spin 15s linear infinite reverse;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Sinematik Butonlar */
.cinematic-button {
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.cinematic-button-primary {
    position: relative;
    background-color: var(--primary);
    color: white;
    transition: all 0.4s ease;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.cinematic-button-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: 0.6s;
}

.cinematic-button-primary:hover::before {
    left: 100%;
}

/* Sayaç Animasyonu */
.cinematic-counter {
    opacity: 0;
    animation: counterReveal 0.5s ease-out 1.2s forwards;
}

@keyframes counterReveal {
    from { opacity: 0; }
    to { opacity: 1; }
} 