/* Custom Styles for Greb's Bar */

/* Smooth Scrolling for Safari */
html {
    scroll-behavior: smooth;
}

/* Selection Color */
::selection {
    background-color: #0f766e; /* teal-700 */
    color: #f8fafc;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: #0f172a;
}
::-webkit-scrollbar-thumb {
    background: #334155;
    border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
    background: #f59e0b;
}

/* Fade In Animation for Hero */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

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

/* Scroll Reveal Utility (Progressive Enhancement) */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile Menu Transition */
#mobile-menu {
    transition: transform 0.3s ease-in-out;
}

/* Glassmorphism for Navbar */
.nav-scrolled {
    background: rgba(2, 6, 23, 0.9);
    backdrop-filter: blur(10px);
    padding-top: 1rem;
    padding-bottom: 1rem;
}

/* Asymmetric Grid Gap Fix */
.grid-cols-2 > img:nth-child(2) {
    margin-top: 3rem;
}
