/* Custom styles for the page */
body {
    font-family: 'Inter', sans-serif;
    background-color: #000000;
}

/* Add subtle red grid pattern to pages that need it */
body:has(main > #about), 
body:has(main > #contact),
body:has(main > div > h1.camera-font) { /* For 404 page */
    background-image: 
        linear-gradient(rgba(255, 0, 0, 0.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 0, 0, 0.07) 1px, transparent 1px);
    background-size: 30px 30px;
}

/* Style for the active navigation link */
.nav-link.active {
    color: #EF4444; /* red-500 */
    position: relative;
}

/* Red underline for the active link */
.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #EF4444;
}

/* Custom scrollbar for a modern feel */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #111;
}

::-webkit-scrollbar-thumb {
    background: #EF4444;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #DC2626;
}

/* Parallax hero section styles */
.hero-section {
    /* background-image: url('https://placehold.co/1920x1080/000000/111111?text='); */
    background-image: url('video/REEL\ HD.mp4');
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}

/* Ensure hero content is above the overlay */
.hero-content {
    position: relative;
    z-index: 2;
}

/* Font that resembles a camera display */
.camera-font {
    font-family: 'Orbitron', sans-serif;
    text-transform: uppercase;
}

/* Video Modal Styles */
#video-modal {
    transition: opacity 0.3s ease-in-out;
}

#video-modal.hidden {
    display: none;
}

#modal-content {
    transform: scale(0.95);
    opacity: 0;
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

#video-modal:not(.hidden) #modal-content {
    transform: scale(1);
    opacity: 1;
}

#close-modal {
    font-size: 2.5rem;
    line-height: 1;
    padding: 0 0.5rem;
}

/* Responsive video container */
.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
