/* =========================================================================
   AVANGARD CSS - RETAG CREATIVE (BLACK/WHITE/ORANGE)
   ========================================================================= */
:root {
    --bg-main: #050505;
    --bg-sec: #0f0f0f;
    --bg-card: #151515;
    
    --text-primary: #ffffff;
    --text-secondary: #a3a3a3;
    --text-muted: #555555;
    
    --accent: #FF6B00;
    --accent-glow: rgba(255, 107, 0, 0.2);
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --border-light: rgba(255, 255, 255, 0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-main);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ==================== TYPOGRAPHY ==================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

.highlight {
    color: var(--accent);
}

.outline-text {
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.2);
    transition: all 0.3s;
}

.outline-text:hover {
    color: var(--text-primary);
    -webkit-text-stroke: 1px var(--text-primary);
}

/* ==================== BUTTONS ==================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    border-radius: 100px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-primary {
    background-color: var(--accent);
    color: #fff;
    border: 1px solid var(--accent);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--accent);
    box-shadow: 0 0 20px var(--accent-glow);
}

.btn-outline {
    background-color: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-light);
}

.btn-outline:hover {
    border-color: var(--text-primary);
    background-color: var(--text-primary);
    color: var(--bg-main);
}

/* ==================== NAVBAR (MINIMAL) ==================== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(5, 5, 5, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-light);
    padding: 1rem 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo img {
    height: 35px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}

.nav-link {
    color: var(--text-primary);
    text-decoration: none;
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding-bottom: 0.2rem;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--accent);
    transition: width 0.3s ease;
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.nav-cta {
    padding: 0.75rem 1.5rem;
    font-size: 0.85rem;
}

/* ==================== HAMBURGER ==================== */
.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 30px;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.3s;
}

/* ==================== HERO SECTION (AVANGARD) ==================== */
.hero-avangard {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px;
    overflow: hidden;
}

.hero-content-wrapper {
    position: relative;
    z-index: 2;
    max-width: 1000px;
}

.avangard-title {
    font-size: clamp(4rem, 8vw, 8rem);
    line-height: 0.9;
    letter-spacing: -2px;
    text-transform: uppercase;
    margin-bottom: 2rem;
}

.avangard-subtitle {
    font-size: 1.25rem;
    max-width: 500px;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    font-weight: 300;
}

/* ==================== GIANT MARQUEE ==================== */
.giant-marquee-section {
    padding: 3rem 0;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
    overflow: hidden;
    white-space: nowrap;
    background: var(--bg-sec);
}

.giant-marquee-track {
    display: inline-block;
    animation: marquee 20s linear infinite;
}

.giant-marquee-text {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 800;
    text-transform: uppercase;
    color: transparent;
    -webkit-text-stroke: 1px var(--text-secondary);
    margin: 0 1rem;
}

.giant-marquee-text.filled {
    color: var(--text-primary);
    -webkit-text-stroke: 0;
}

.marquee-star {
    font-size: 2rem;
    color: var(--accent);
    vertical-align: middle;
}

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

/* ==================== SECTION LAYOUT ==================== */
.section-padding {
    padding: 8rem 0;
}

.section-header-av {
    margin-bottom: 4rem;
    max-width: 700px;
}

.section-subtitle-av {
    display: inline-block;
    color: var(--accent);
    font-family: var(--font-heading);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.section-title-av {
    font-size: clamp(2.5rem, 4vw, 4rem);
    letter-spacing: -1px;
    text-transform: uppercase;
}

/* ==================== FOOTER ==================== */
.footer {
    background: var(--bg-sec);
    padding: 6rem 0 2rem;
    border-top: 1px solid var(--border-light);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-logo {
    height: 40px;
    margin-bottom: 1.5rem;
}

.footer-desc {
    color: var(--text-secondary);
    max-width: 300px;
}

.footer-title {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links, .footer-contact-list {
    list-style: none;
}

.footer-links li, .footer-contact-list li {
    margin-bottom: 1rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--accent);
}

.footer-contact-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--text-secondary);
}

.footer-contact-list i {
    color: var(--accent);
}

.footer-socials {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.3s;
}

.social-link:hover {
    background: var(--accent);
    border-color: var(--accent);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-light);
    color: var(--text-muted);
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 992px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--bg-sec);
        flex-direction: column;
        padding: 2rem;
        border-bottom: 1px solid var(--border-light);
    }
    .nav-links.active {
        display: flex;
    }
    .hamburger {
        display: flex;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .section-padding {
        padding: 5rem 0;
    }
}

/* --- PRELOADER (IÇ IÇE DAIRELER) --- */
.preloader {
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    z-index: 10000;
    pointer-events: all;
}

.preloader-layer {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    clip-path: circle(150% at 50% 50%);
}

.preloader-black {
    background: #030303;
    z-index: 3;
}

.preloader-gray {
    background: #222222;
    z-index: 2;
}

.preloader-orange {
    background: #FF6B00;
    z-index: 1;
}

.preloader-logo {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    height: 50px;
    width: auto;
    z-index: 4;
    opacity: 0;
}

/* --- ÖZEL IMLEÇ (CUSTOM CURSOR) --- */
body, a, button, input, textarea, .mosaic-item, .project-card-av {
    cursor: none !important;
}

.custom-cursor {
    position: fixed;
    top: 0; left: 0;
    pointer-events: none;
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cursor-dot {
    position: absolute;
    width: 14px;
    height: 14px;
    background: var(--accent);
    border-radius: 50%;
    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s;
    box-shadow: 0 0 10px var(--accent-glow);
}

.custom-cursor::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 30px;
    border: 2px solid var(--accent);
    border-radius: 50%;
    opacity: 0;
    transform: scale(1);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease-out;
}

.custom-cursor.clicking::after {
    opacity: 0.5;
    transform: scale(3);
}

.custom-cursor.clicking .cursor-dot {
    transform: scale(0.6);
    box-shadow: none;
}

.cursor-trail {
    position: fixed;
    width: 5px; height: 5px;
    background: var(--accent);
    border-radius: 50%;
    pointer-events: none;
    opacity: 0.8;
    z-index: 10000;
    transition: opacity 0.3s;
}

/* --- FIRMALAR MARQUEE (INFINITE SLIDER) --- */
.firmalar-marquee {
    overflow: hidden;
    white-space: nowrap;
    padding: 3rem 0;
}

.firmalar-track {
    display: inline-flex;
    gap: 4rem;
    animation: firmalar-scroll 30s linear infinite;
    padding: 0 2rem;
}

.firmalar-track:hover {
    animation-play-state: paused;
}

.firma-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 160px;
    height: 80px;
    filter: grayscale(100%) brightness(0.6);
    transition: filter 0.3s, transform 0.3s;
}

.firma-item:hover {
    filter: grayscale(0%) brightness(1);
    transform: scale(1.05);
}

.firma-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

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

/* --- EKIP (MOSAIC GRID) --- */
.mosaic-container {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
}

.mosaic-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
    grid-auto-rows: 200px;
    grid-auto-flow: dense;
}

.mosaic-item {
    background: var(--bg-sec);
    position: relative;
    overflow: hidden;
    cursor: none;
    border-radius: 12px;
}

.mosaic-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%) contrast(1.2);
    transition: all 0.5s ease;
}

.mosaic-item:hover img {
    filter: grayscale(0%) contrast(1);
    transform: scale(1.05);
}

.mosaic-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, transparent 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.5rem;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s;
}

.mosaic-item:hover .mosaic-overlay {
    opacity: 1;
    transform: translateY(0);
}

.mosaic-overlay h3 {
    color: #fff;
    margin: 0 0 0.25rem;
    font-size: 1.2rem;
}

.mosaic-overlay p {
    color: var(--accent);
    margin: 0;
    font-size: 0.85rem;
    text-transform: uppercase;
    font-weight: 600;
}


/* --- CURSOR OVERRIDES FOR COLOR DIFFERENCE AND HOVER --- */
* {
    cursor: none !important;
}

.custom-cursor {
    mix-blend-mode: difference;
}

.cursor-trail {
    mix-blend-mode: difference;
}

.custom-cursor.hovering .cursor-dot {
    transform: scale(3.5) !important;
    background: transparent !important;
    border: 1px solid var(--accent) !important;
    box-shadow: none !important;
}


/* --- FIX CURSOR COLOR (REMOVE DIFFERENCE, ADD WHITE SHADOW) --- */
.custom-cursor {
    mix-blend-mode: normal !important;
}

.cursor-trail {
    mix-blend-mode: normal !important;
}

.cursor-dot {
    box-shadow: 0 0 0 2px rgba(255,255,255,0.4), 0 0 10px var(--accent-glow) !important;
}

.custom-cursor.hovering .cursor-dot {
    background: transparent !important;
    border: 2px solid var(--accent) !important;
    box-shadow: 0 0 0 2px rgba(255,255,255,0.2) !important;
}

