/* === Custom Styles for Amy's Ice House === */

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

body {
    overflow-x: hidden;
}

/* === Floating Card Animations === */
.floating-card {
    animation: float 6s ease-in-out infinite;
}

.card-1 { animation-delay: 0s; }
.card-2 { animation-delay: -1.5s; }
.card-3 { animation-delay: -3s; }
.card-4 { animation-delay: -4.5s; }

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
}

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

.reveal.hidden-reveal {
    opacity: 0;
    transform: translateY(30px);
}

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

/* === Navbar Transition === */
.nav-scrolled {
    background: rgba(15, 26, 20, 0.95) !important;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

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

/* === Gold Gradient Text Utility === */
.text-gradient-gold {
    background: linear-gradient(135deg, #e8d5a3, #d4af5a, #c9a227);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* === Card Hover Glow === */
.glow-hover:hover {
    box-shadow: 0 0 40px rgba(201, 162, 39, 0.15);
}

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

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

::-webkit-scrollbar-thumb {
    background: #2d4d3c;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #38604a;
}

/* === Selection Color === */
::selection {
    background: rgba(201, 162, 39, 0.3);
    color: #faf8f5;
}

/* === Focus Styles === */
input:focus, textarea:focus {
    outline: none;
}

/* === Button Ripple === */
button, a {
    -webkit-tap-highlight-color: transparent;
}
