@import url('https://fonts.googleapis.com/css2?family=Courier+Prime:wght@400;700&family=Inter:wght@300;400;600&display=swap');

/* Base Styles */
body {
    font-family: 'Inter', sans-serif;
    background-color: #ffffff;
    color: #111111;
    overflow-x: hidden;
}

.font-mono {
    font-family: 'Courier Prime', monospace;
}

/* Splash/Hero Section */
#splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: #ffffff;
    z-index: 50;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: transform 0.8s cubic-bezier(0.77, 0, 0.175, 1);
}

#splash-screen.hidden-slide {
    transform: translateY(-100%);
    pointer-events: none;
}

#start-btn {
    cursor: pointer;
    z-index: 60; /* Ensure it's above everything */
    position: relative;
}

/* Main Content Entrance Animation */
#main-content {
    /* opacity: 0; Remove opacity to ensure visibility */
    transform: translateY(50px);
    transition: transform 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transition-delay: 0.2s; 
}

body.site-active #main-content {
    /* opacity: 1; */
    transform: translateY(0);
}

#splash-screen.hidden-slide {
    transform: translateY(-100%);
    pointer-events: none; /* Ensure clicks pass through */
}

.typewriter {
    overflow: hidden; 
    white-space: nowrap; 
    margin: 0 auto; 
    letter-spacing: 0.15em; 
}

/* Animations */
@keyframes blink-caret {
    from, to { border-color: transparent }
    50% { border-color: black }
}

.blink-cursor {
    animation: blink-caret 0.75s step-end infinite;
    border-right: 2px solid black;
}

/* Navigation Overlay */
#nav-overlay {
    transition: transform 0.5s cubic-bezier(0.77, 0, 0.175, 1);
    transform: translateX(100%);
}

#nav-overlay.nav-open {
    transform: translateX(0);
}

/* Hover Effects */
.nav-link {
    position: relative;
    display: inline-block;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 1px;
    bottom: 0;
    left: 0;
    background-color: #000;
    transform-origin: bottom right;
    transition: transform 0.25s ease-out;
}

.nav-link:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

/* Image Styling */
.archive-image {
    filter: grayscale(100%);
    transition: filter 0.5s ease;
}

.archive-image:hover {
    filter: grayscale(0%);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f1f1f1; 
}
::-webkit-scrollbar-thumb {
    background: #888; 
}
::-webkit-scrollbar-thumb:hover {
    background: #555; 
}