/* Custom Global Styles for Cortex Photography */

/* Font Imports */
body {
    font-family: 'Rajdhani', sans-serif;
}
.font-orbitron {
    font-family: 'Orbitron', sans-serif;
}

/* Custom Scrollbar (futuristic feel) */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #0a0a1f; /* Dark background */
}

::-webkit-scrollbar-thumb {
    background: #0ea5e9; /* Sky blue neon */
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #38bdf8; /* Lighter sky blue on hover */
}

/* General Body Styling */
body {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Navigation Active State (for current page) */
.nav-link.active {
    color: #0ea5e9; /* Tailwind sky-400 */
}

/* Neon Button Effect */
.neon-button {
    position: relative;
    overflow: hidden;
}

.neon-button::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(60deg, #0ea5e9, #38bdf8, #0ea5e9);
    transform: rotate(45deg);
    opacity: 0;
    transition: opacity 0.4s ease-in-out;
    z-index: 0;
}

.neon-button:hover::before {
    opacity: 0.2;
    animation: neon-pulse 1.5s infinite;
}

.neon-button:hover {
    box-shadow: 0 0 10px #0ea5e9, 0 0 20px #0ea5e9, 0 0 30px #0ea5e9, inset 0 0 5px #0ea5e9;
}

.neon-button > * {
    position: relative;
    z-index: 1;
}

@keyframes neon-pulse {
    0% { opacity: 0.2; transform: scale(1) rotate(45deg); }
    50% { opacity: 0.4; transform: scale(1.05) rotate(45deg); }
    100% { opacity: 0.2; transform: scale(1) rotate(45deg); }
}

/* Neon Shadow for Filter Buttons */
.neon-shadow-sm {
    box-shadow: 0 0 5px rgba(14, 165, 233, 0.4);
}
.filter-button:hover.neon-shadow-sm, .filter-button.active.neon-shadow-sm {
    box-shadow: 0 0 8px rgba(14, 165, 233, 0.6), 0 0 15px rgba(14, 165, 233, 0.4);
}

/* Animations for elements on scroll */
.animate-fade-in-up {
    /* opacity: 0; -- Removed to make text visible by default if JS doesn't load */
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.animate-fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Delay utility for staggered animations */
.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }
/* Add more delays as needed */

/* Hero Background Pulse */
.animate-pulse-fade-in {
    animation: pulseFadeIn 2s ease-out forwards;
}

@keyframes pulseFadeIn {
    0% { opacity: 0.7; transform: scale(1.02); }
    100% { opacity: 1; transform: scale(1); }
}

/* Lightbox specific styling */
#lightbox-img {
    max-width: 90vw;
    max-height: 80vh;
    animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}
