/* ============================================
   PREMIUM.CSS - Denizli Boya Ustası
   Custom Cursor, Scroll Progress, Animations
   ============================================ */

/* ══════════════════════════════════════════
   CUSTOM CURSOR
   ══════════════════════════════════════════ */
.cursor-dot,
.cursor-outline {
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: 9999;
    pointer-events: none;
}

.cursor-dot {
    width: 8px;
    height: 8px;
    background-color: var(--accent);
    /* Uses codex-seo accent */
    transition: transform 0.2s ease-out;
}

.cursor-outline {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(188, 125, 59, 0.5);
    /* Semi-transparent accent */
    transition: transform 0.2s ease-out, width 0.2s, height 0.2s, background-color 0.2s;
}

.cursor-outline.hover {
    width: 60px;
    height: 60px;
    background-color: rgba(188, 125, 59, 0.1);
    border-color: transparent;
    transform: translate(-50%, -50%) scale(1.2);
}

@media (hover: none) and (pointer: coarse) {

    .cursor-dot,
    .cursor-outline {
        display: none;
    }
}

/* ══════════════════════════════════════════
   SCROLL PROGRESS
   ══════════════════════════════════════════ */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(135deg, var(--accent), #d2955a);
    z-index: 10000;
    transition: width 0.1s ease;
}

/* ══════════════════════════════════════════
   SCROLL REVEAL (Intersection Observer)
   ══════════════════════════════════════════ */
[data-animate] {
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

[data-animate="fade-up"] {
    transform: translateY(30px);
}

[data-animate="fade-down"] {
    transform: translateY(-30px);
}

[data-animate="fade-left"] {
    transform: translateX(30px);
}

[data-animate="fade-right"] {
    transform: translateX(-30px);
}

[data-animate="zoom-in"] {
    transform: scale(0.95);
    opacity: 0;
}

[data-animate].is-visible {
    opacity: 1;
    transform: translate(0) scale(1);
}

/* Delays */
[data-delay="1"] {
    transition-delay: 0.1s;
}

[data-delay="2"] {
    transition-delay: 0.2s;
}

[data-delay="3"] {
    transition-delay: 0.3s;
}

[data-delay="4"] {
    transition-delay: 0.4s;
}

[data-delay="5"] {
    transition-delay: 0.5s;
}

/* ══════════════════════════════════════════
   GSAP-LIKE SPLIT TEXT EFFECTS
   ══════════════════════════════════════════ */
[data-split-text] {
    opacity: 1;
}

.word-split {
    display: inline-block;
    overflow: hidden;
    vertical-align: top;
    padding-bottom: 0.1em;
}

.char-split {
    display: inline-block;
    transform: translateY(100%);
    opacity: 0;
    will-change: transform, opacity;
    animation: textReveal 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Non-visible state logic handled by JS class toggle */
[data-split-text]:not(.is-visible) .char-split {
    animation: none;
    opacity: 0;
    transform: translateY(100%);
}

@keyframes textReveal {
    0% {
        transform: translateY(100%);
        opacity: 0;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}