/* Custom Styles for Point Of View */

/* Base */
html {
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
}

/* Scroll Reveal Animations */
.scroll-reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

@media (prefers-reduced-motion: no-preference) {
    .scroll-reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.8s ease, transform 0.8s ease;
    }
    
    .scroll-reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll Down Animation */
@keyframes scrollDown {
    0% {
        top: 0;
        opacity: 1;
    }
    100% {
        top: 100%;
        opacity: 0;
    }
}

.animate-scrollDown {
    animation: scrollDown 1.5s ease-in-out infinite;
}

/* Navbar Scroll Effect */
.navbar-scrolled {
    background: rgba(10, 10, 10, 0.95) !important;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(201, 169, 97, 0.1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* Mobile Menu */
.mobile-menu-open {
    opacity: 1 !important;
    pointer-events: all !important;
}

.menu-line:nth-child(3) {
    transition-delay: 0s;
}

.menu-open .menu-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-open .menu-line:nth-child(2) {
    opacity: 0;
    transform: translateX(-10px);
}

.menu-open .menu-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
    width: 24px;
    margin-left: 0;
}

/* Gold Gradient Text */
.text-gold-gradient {
    background: linear-gradient(135deg, #D4A574, #C9A961, #B8944F);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Coral Gradient Text */
.text-coral-gradient {
    background: linear-gradient(135deg, #FF6B6B, #FF8787);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #0a0a0a;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #C9A961, #FF6B6B);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #D4A574, #FF8787);
}

/* Selection */
::selection {
    background: rgba(201, 169, 97, 0.3);
    color: #ffffff;
}

/* Image Loading */
img {
    background-color: #1a1a1a;
}

/* Focus Styles */
a:focus-visible,
button:focus-visible {
    outline: 2px solid #C9A961;
    outline-offset: 4px;
    border-radius: 4px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .font-display {
        font-size: clamp(2rem, 8vw, 3.5rem);
    }
}

/* Parallax-like subtle movement */
@media (prefers-reduced-motion: no-preference) {
    .bg-charcoal-900::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: radial-gradient(ellipse at 20% 50%, rgba(201, 169, 97, 0.03) 0%, transparent 50%),
                    radial-gradient(ellipse at 80% 20%, rgba(255, 107, 107, 0.03) 0%, transparent 50%);
        pointer-events: none;
        z-index: 0;
    }
}

/* Print Styles */
@media print {
    .scroll-reveal {
        opacity: 1 !important;
        transform: none !important;
    }
    
    #navbar,
    .animate-scrollDown {
        display: none;
    }
}
