/* Custom Styles for The Port */

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

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

/* Reveal Animations - Progressive Enhancement */
/* Default state: visible. JS adds 'reveal-active' for animation. */
.reveal-up,
.reveal-left,
.reveal-right {
    opacity: 1;
    transform: none;
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

/* If JS is disabled, these classes don't exist, so content stays visible.
   If JS is enabled, we can hide them initially via a small script or CSS class, 
   but for simplicity and robustness, we assume they start visible and animate in. */
@media (prefers-reduced-motion: no-preference) {
    .reveal-up { transform: translateY(30px); }
    .reveal-left { transform: translateX(-30px); }
    .reveal-right { transform: translateX(30px); }
    
    .reveal-active.reveal-up { opacity: 1; transform: translateY(0); }
    .reveal-active.reveal-left { opacity: 1; transform: translateX(0); }
    .reveal-active.reveal-right { opacity: 1; transform: translateX(0); }
}

/* Hero Content Animation (Only runs on load, not scroll) */
.reveal-content {
    opacity: 1;
    transform: translateY(0);
    animation: fadeUp 1s ease-out forwards;
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Gold Text Gradient */
.text-transparent.bg-clip-text.bg-gold-gradient {
    background-image: linear-gradient(135deg, #d4af37 0%, #f3cf55 50%, #d4af37 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
