:root {
    /* Çalışkan Ajans Renk Paleti */
    --primary-red: #D92027;
    --dark-red: #921316;
    --dark-gray: #101216;
    --light-gray: #E6E8EC;
    --bg-deep: #050505;
}

body {
    background-color: var(--dark-gray);
    color: var(--light-gray);
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
}

/* Film Grain Efekti */
body::before {
    content: "";
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: url('../images/grain.jpg');
    background-repeat: repeat;
    background-size: 256px 256px;
    opacity: 0.03;
    pointer-events: none;
    z-index: 9999;
}

h1, h2, h3, .font-outfit {
    font-family: 'Outfit', sans-serif;
}

.glass {
    background: rgba(230, 232, 236, 0.03);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(230, 232, 236, 0.08);
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.glass:hover {
    background: rgba(230, 232, 236, 0.06);
    border-color: rgba(217, 32, 39, 0.5);
    transform: translateY(-5px);
}

.text-gradient {
    background: linear-gradient(to right, #E6E8EC, #D92027, #921316);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.glow-sphere {
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(217, 32, 39, 0.12) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(60px);
    z-index: -1;
    pointer-events: none;
}

#cursor-follower {
    position: fixed;
    width: 20px;
    height: 20px;
    border: 1px solid var(--primary-red);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.1s ease;
    display: none;
}
@media (hover: hover) and (pointer: fine) {
    #cursor-follower { display: block; }
}

/* Portfolio filtre butonları */
#portfolio-filters {
    position: relative;
    z-index: 20;
    isolation: isolate;
}

.filter-btn {
    min-height: 44px;
    padding: 0.75rem 1.25rem;
    font-size: 0.75rem;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.2s ease, color 0.2s ease;
}

@media (min-width: 640px) {
    .filter-btn {
        padding: 0.75rem 1.75rem;
        font-size: 0.875rem;
    }
}

#portfolio-filters .filter-btn-active {
    background-color: #D92027;
    color: #fff;
}

#portfolio-filters .filter-btn:not(.filter-btn-active) {
    color: #9ca3af;
    background-color: transparent;
}

#portfolio-filters .filter-btn:not(.filter-btn-active):hover {
    background-color: rgba(255, 255, 255, 0.08);
}

.portfolio-card {
    transition: opacity 0.3s ease;
}

.portfolio-card.is-filtered-out {
    display: none !important;
}

.reveal-up {
    opacity: 0;
    transform: translateY(40px);
}

/* Custom Scrollbar */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--dark-gray); }
::-webkit-scrollbar-thumb { background: var(--dark-red); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary-red); }

.portfolio-card:hover .portfolio-overlay { opacity: 1; }

/* Vizör Çizgileri */
.viewfinder::before, .viewfinder::after {
    content: '';
    position: absolute;
    width: 20px; height: 20px;
    border-color: rgba(217, 32, 39, 0.4);
    border-style: solid;
    pointer-events: none;
}
.viewfinder-tl::before { top: 20px; left: 20px; border-width: 2px 0 0 2px; }
.viewfinder-br::after { bottom: 20px; right: 20px; border-width: 0 2px 2px 0; }

/* Sonsuz Kaydırma Animasyonu */
@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
.animate-scroll {
    display: flex;
    width: max-content;
    animation: scroll 30s linear infinite;
}
.animate-scroll:hover {
    animation-play-state: paused;
}

/* AI Chat */
#ai-chat-container {
    transform: translateX(110%);
    transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}
#ai-chat-container.active { transform: translateX(0); }

.typing-dot {
    width: 4px; height: 4px;
    background: var(--primary-red);
    border-radius: 50%;
    animation: typing 1.4s infinite;
}
@keyframes typing {
    0%, 60%, 100% { transform: translateY(0); }
    30% { transform: translateY(-4px); }
}

/* Paketler Modal */
#packages-modal.flex {
    display: flex;
}

.package-tab-active {
    background-color: #D92027;
    border-color: #D92027;
    color: #fff;
}

/* Kelimelerin Bulanık Başlangıç Efekti */
.blur-word {
    opacity: 0;
    filter: blur(20px);
    transform: translateY(20px);
    display: inline-block;
}
