/* Custom Styles for Polo's Supreme */

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

/* Base Typography */
body {
    background-color: #022c22; /* emerald-950 */
    color: #fdfbf7; /* cream-50 */
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #022c22;
}

::-webkit-scrollbar-thumb {
    background: #d97706; /* gold-500 */
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #fbbf24; /* gold-400 */
}

/* Hero Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out forwards;
}

.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll Reveal Animations */
.reveal-on-scroll {
    opacity: 1; /* Default visible for accessibility/no-JS */
    transform: translateY(0);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

/* When JS is enabled, we add the hidden state initially via JS, 
   but the CSS default ensures it's visible if JS fails */
.js-enabled .reveal-on-scroll {
    opacity: 0;
    transform: translateY(40px);
}

.reveal-on-scroll.revealed {
    opacity: 1;
    transform: translateY(0);
}

.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }

/* Mobile Menu Transitions */
#mobile-menu {
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
}

#mobile-menu.active {
    opacity: 1;
    pointer-events: all;
}

/* Gold Gradient Text */
.text-transparent.bg-clip-text {
    -webkit-background-clip: text;
    background-clip: text;
}

/* Form Focus Styles */
input:focus, select:focus {
    background-color: #064e3b; /* emerald-900 */
}

/* Image Hover Effects */
img {
    max-width: 100%;
    height: auto;
}

/* Success Message */
#form-success {
    display: none;
    background-color: #065f46;
    border: 1px solid #d97706;
    color: #fbbf24;
    padding: 1rem;
    text-align: center;
    margin-top: 1rem;
    border-radius: 4px;
}
