/* Global Resets & Fonts handled by Tailwind */

:root {
    --cursor-size: 20px;
    --cursor-outline-size: 40px;
}

/* Custom Cursor */
body {
    cursor: none;
}

.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: var(--cursor-size);
    height: var(--cursor-size);
    background-color: #4dff4d;
}

.cursor-outline {
    width: var(--cursor-outline-size);
    height: var(--cursor-outline-size);
    border: 1px solid #4dff4d;
    transition: width 0.2s, height 0.2s, background-color 0.2s;
}

/* Cursor Hover State */
body.hovering .cursor-outline {
    width: 60px;
    height: 60px;
    background-color: rgba(77, 255, 77, 0.1);
    border-color: #4dff4d;
}

/* Cursor Click State - Stronger Aura */
body.clicking .cursor-outline {
    width: 50px;
    height: 50px;
    background-color: rgba(77, 255, 77, 0.4);
    border-color: #4dff4d;
    transform: translate(-50%, -50%) scale(0.8);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.animate-fade-in {
    animation: fadeIn 1.5s ease-out forwards;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-up {
    animation: fadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

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

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

/* Gallery Scroll Animation */
.gallery-track {
    display: flex;
    width: max-content;
    animation: marquee 30s linear infinite;
}

.gallery-container:hover .gallery-track,
.gallery-container:active .gallery-track {
    animation-play-state: paused;
}

/* Reveal on Scroll Utility */
.reveal-text {
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-text.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-image {
    opacity: 0;
    clip-path: inset(0 100% 0 0);
    transition: all 1.2s cubic-bezier(0.77, 0, 0.175, 1);
}

.reveal-image.visible {
    opacity: 1;
    clip-path: inset(0 0 0 0);
}

/* Smooth Scroll Behavior */
html {
    scroll-behavior: smooth;
}

/* Nav Link Hover Effect */
.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -4px;
    left: 0;
    background-color: #4dff4d;
    transition: width 0.3s ease;
    box-shadow: 0 0 8px #4dff4d;
}

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

/* Neon Text Effect */
.neon-text-glow {
    text-shadow: 0 0 5px rgba(77, 255, 77, 0.6), 0 0 10px rgba(77, 255, 77, 0.3);
}

.group:hover .neon-text-glow-hover {
    text-shadow: 0 0 5px rgba(77, 255, 77, 0.6), 0 0 10px rgba(77, 255, 77, 0.3);
}

/* Form Styles */
input[type="date"]::-webkit-calendar-picker-indicator {
    filter: invert(1);
    opacity: 0.5;
    cursor: pointer;
}

/* Parallax Background */
.parallax-bg {
    will-change: transform;
}
