/* Custom Styles for Get Candiedd By Starr */

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

/* Custom Animations */
@keyframes scroll {
    0% {
        transform: translateY(-100%);
    }
    100% {
        transform: translateY(200%);
    }
}

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

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

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

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
    
    .animate-scroll {
        animation: none;
    }
}

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

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

::-webkit-scrollbar-thumb {
    background: #6B0F1A;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #8A1524;
}

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

/* Selection Color */
::selection {
    background: #6B0F1A;
    color: #FDF8F7;
}

/* Image Hover Effects */
img {
    will-change: transform;
}

/* Button Hover Effects */
button,
a {
    will-change: transform;
}

/* Mobile Menu Transitions */
#mobile-menu {
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Navbar Transition */
#navbar {
    transition: background-color 0.5s ease, padding 0.5s ease;
}

#navbar.scrolled {
    background-color: rgba(253, 248, 247, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    box-shadow: 0 1px 0 rgba(107, 15, 26, 0.1);
}

/* Form Focus States */
input:focus,
textarea:focus {
    border-color: #6B0F1A !important;
}

/* Link Hover Effects */
a {
    transition: color 0.3s ease;
}

/* Image Loading */
img {
    opacity: 1;
    transition: opacity 0.3s ease;
}

/* Loading State */
img[loading="lazy"] {
    opacity: 0;
    transition: opacity 0.5s ease;
}

img[loading="lazy"].loaded {
    opacity: 1;
}
