/* FLEX Fitness Club - Homepage Styles */

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #0D0D0D;
}
::-webkit-scrollbar-thumb {
    background: #FF6A00;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #E05D00;
}

/* Glassmorphism Navigation Bar */
.glass-nav {
    background: rgba(13, 13, 13, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

/* Input fields focus style */
.custom-input:focus {
    border-color: #FF6A00;
    box-shadow: 0 0 0 2px rgba(255, 106, 0, 0.2);
    outline: none;
}

/* Reveal scroll animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* --- FUTURISTIC NIKE/ADIDAS STYLES --- */

@media (min-width: 1024px) {
    body {
        cursor: none; /* Hide default cursor */
    }

    #custom-cursor {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 20px;
        height: 20px;
        background-color: #FFFFFF;
        border-radius: 50%;
        pointer-events: none;
        z-index: 9999;
        mix-blend-mode: difference;
        transform: translate(-50%, -50%);
        transition: width 0.2s ease, height 0.2s ease, background-color 0.2s ease;
    }

    #custom-cursor.hovering {
        width: 60px;
        height: 60px;
        background-color: #FF6A00;
    }
}

@media (max-width: 1023px) {
    #custom-cursor {
        display: none !important;
    }
}

/* Infinite Marquee */
.marquee-container {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    width: 100vw;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    background: #FF6A00;
    color: #000;
    padding: 10px 0;
    transform: skewY(-2deg);
    border-top: 2px solid #000;
    border-bottom: 2px solid #000;
}

.marquee-content {
    display: inline-block;
    animation: marquee 120s linear infinite;
    font-family: 'Oswald', sans-serif;
    font-size: 1.5rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

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

/* Brutalist Typography Overlays */
.brutalist-text-bg {
    font-size: 15vw;
    line-height: 0.8;
    color: rgba(255, 255, 255, 0.03);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    white-space: nowrap;
    pointer-events: none;
    z-index: 0;
}

/* Magnetic Hover Effects & Sharp Borders */
.sharp-border {
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 0 !important; /* Brutalist sharp corners */
}
.sharp-border:hover {
    border-color: #FF6A00;
}

/* Image Reveal on Hover */
.hover-reveal-img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8) rotate(-5deg);
    opacity: 0;
    pointer-events: none;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 20;
    width: 300px;
    height: 400px;
    object-fit: cover;
    filter: grayscale(100%);
}

.hover-reveal-container:hover .hover-reveal-img {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1) rotate(0deg);
    filter: grayscale(0%);
}

/* Icon Animations */
@keyframes spin-clock { 100% { transform: rotate(360deg); } }
.group:hover .clock-icon svg { 
    animation: spin-clock 1.5s steps(12) infinite; 
}

@keyframes ecg-draw {
    0% { stroke-dashoffset: 50; }
    100% { stroke-dashoffset: -50; }
}
.group:hover .activity-icon svg path {
    stroke-dasharray: 50;
    stroke-dashoffset: 50;
    animation: ecg-draw 2s linear infinite;
}
