/* Custom Styles for Ziggy's Video Game Exchange */

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

/* Custom Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 40px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

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

::-webkit-scrollbar-track {
    background: #faf5ec;
}

::-webkit-scrollbar-thumb {
    background: #b07868;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #975848;
}

/* Selection Color */
::selection {
    background: #b07868;
    color: #faf5ec;
}

/* Navbar Transition */
.nav-scrolled {
    background-color: rgba(250, 245, 236, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.nav-scrolled .text-white {
    color: #2c2420 !important;
}

.nav-scrolled .uppercase {
    color: #2c2420 !important;
}

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

#mobile-menu.open {
    transform: translateX(0);
}

#mobile-menu.closed {
    transform: translateX(100%);
}

/* Image Hover Effects */
img {
    transition: transform 0.5s ease;
}

/* Form Styles */
input, textarea {
    background-color: transparent;
    border: none;
    border-bottom: 2px solid #e0cfc6;
    padding: 0.75rem 0;
    width: 100%;
    font-family: 'Inter', sans-serif;
    color: #2c2420;
    transition: border-color 0.3s ease;
}

input:focus, textarea:focus {
    outline: none;
    border-bottom-color: #b07868;
}

input::placeholder, textarea::placeholder {
    color: #975848;
    opacity: 0.6;
}

/* Button Hover Effects */
button, a {
    transition: all 0.3s ease;
}

/* Mobile Menu Link Styles */
.mobile-link {
    position: relative;
}

.mobile-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: #e3c788;
    transition: width 0.3s ease;
}

.mobile-link:hover::after {
    width: 100%;
}
