/* ==========================================================================
   Raphzshots — Custom Styles
   Tailwind handles utility classes via CDN. This file holds only the
   custom CSS that Tailwind can't express: base body styles, scrollbar,
   glassmorphism, hero transitions, and the marquee animation.
   ========================================================================== */

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: #0b0c0f;
    color: #ffffff;
    overflow-x: hidden;
}

/* Hide native scrollbar completely — custom one drawn via JS */
html {
    scrollbar-width: none;
}
::-webkit-scrollbar {
    display: none;
}

/* Custom overlay scrollbar */
#custom-scrollbar {
    position: fixed;
    top: 0;
    right: 4px;
    width: 4px;
    height: 100vh;
    z-index: 9999;
    pointer-events: none;
}
#custom-scrollbar-thumb {
    position: absolute;
    width: 100%;
    border-radius: 4px;
    background: #2d313f;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: all;
    cursor: grab;
}
#custom-scrollbar-thumb:active {
    cursor: grabbing;
    background: #D21404;
}
body.is-scrolling #custom-scrollbar-thumb {
    opacity: 1;
}
#custom-scrollbar-thumb:hover {
    background: #D21404;
    opacity: 1;
}

/* Navbar blur — CSS transition is GPU-accelerated, far cheaper than JS blur on scroll */
nav {
    transition: background 0.3s ease, backdrop-filter 0.3s ease;
    -webkit-transition: background 0.3s ease, -webkit-backdrop-filter 0.3s ease;
}
nav.nav-scrolled {
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

/* Glassmorphism utility */
.glass-nav {
    background: rgba(11, 12, 15, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}


/* Advanced Custom Cubic Bezier Transitions for Expandable Hero */
.hero-content-panel {
    transition: opacity 0.5s ease-in-out;
}

.hero-video-panel {
    transition: inset 0.5s ease-in-out, width 0.5s ease-in-out, height 0.5s ease-in-out;
}

/* Infinite scrolling brand marquee */
@keyframes marquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.marquee-track {
    display: flex;
    width: max-content;
    animation: marquee 35s linear infinite;
}

.marquee-track:hover {
    animation-play-state: paused;
}

/* Logo text — Montserrat Black */
.logo-text {
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    letter-spacing: 0.06em;
}

/* About section team photo */
.about-team-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center calc(55% - 90px);
}

/* Founder profile photo */
.founder-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

/* Team photo boxes */
.team-photo-box {
    width: 100%;
    padding-bottom: calc(100% - 10px);
    height: 0;
    position: relative;
    overflow: hidden;
}

.team-photo-box img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-photo-carl {
    object-position: calc(50% + 30px) 20%;
    transform: scale(2.2) scaleX(-1);
    transform-origin: calc(50% + 30px) 20%;
}

.team-photo-khan {
    transform: scale(1.02);
    transform-origin: center;
}

.team-photo-lance {
    transform: scale(1.03);
    transform-origin: center;
    filter: brightness(0.85) contrast(1.05);
}
