/* =========================================
   Mouse Effects & Progress Bar
   ========================================= */

/* 1. Scroll Progress Bar */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    background: var(--accent-orange);
    width: 0%;
    z-index: 2147483647;
    /* Max Z-Index for visibility */
    box-shadow: 0 0 10px var(--accent-orange);
}

/* 2. Custom Cursor (Desktop Only) */
@media (min-width: 992px) {
    body {
        cursor: none;
        /* Hide default cursor */
    }

    .cursor-dot,
    .cursor-outline {
        position: fixed;
        top: 0;
        left: 0;
        transform: translate(-50%, -50%);
        border-radius: 50%;
        pointer-events: none;
        z-index: 2147483647 !important;
        /* No mix-blend-mode for consistent visibility */
    }

    .cursor-dot {
        width: 10px;
        height: 10px;
        background-color: var(--accent-orange);
        box-shadow: 0 0 5px rgba(242, 86, 35, 0.5);
        /* Glow */
    }

    .cursor-outline {
        width: 40px;
        height: 40px;
        border: 1px solid var(--accent-orange);
        transition: width 0.2s, height 0.2s, background-color 0.2s;
        z-index: 2147483647 !important;
        /* Max Z-Index specific */
        background-color: transparent;
    }

    /* Cursor Hover State */
    body.hovering .cursor-outline {
        width: 60px;
        height: 60px;
        background-color: rgba(242, 86, 35, 0.1);
        border-color: var(--accent-orange);
    }
}

/* 3. Ripple Effect */
.ripple {
    position: absolute;
    border-radius: 50%;
    transform: scale(0);
    animation: ripple 0.6s linear;
    background-color: rgba(255, 255, 255, 0.3);
    pointer-events: none;
}

@keyframes ripple {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

.btn {
    position: relative;
    /* For ripple centering */
    overflow: hidden;
}

/* 4. Fix Inner Page Header Padding */
.inner-page-header {
    padding-top: 180px;
    /* Increased from default to clear navbar + space */
    padding-bottom: 100px;
    background-size: cover;
    background-position: center;
    position: relative;
    margin-top: -80px;
    /* Pull up behind fixed nav if desired, or just use padding */
}

/* Ensure dark overlay exists if defined elsewhere, or add here */
.inner-page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.inner-page-header .text-center {
    position: relative;
    z-index: 2;
}