/* Custom Animations */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

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

.animate-float {
    animation: float 6s ease-in-out infinite;
}

.animate-float-delayed {
    animation: float-delayed 5s ease-in-out infinite;
    animation-delay: 1s;
}

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

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

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

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

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

/* Selection Color */
::selection {
    background: #f5c77e;
    color: #4a2c4a;
}

/* Form Focus Styles */
input:focus,
textarea:focus,
select:focus {
    border-color: #d97706 !important;
    box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.1);
}

/* Image Loading */
img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

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

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

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

/* Navbar Scroll Effect */
.navbar-scrolled {
    background: rgba(250, 250, 249, 0.95) !important;
    backdrop-filter: blur(20px) !important;
    box-shadow: 0 1px 0 rgba(74, 44, 74, 0.05);
}

/* Link Hover Effect */
a {
    text-decoration: none;
}

/* Print Styles */
@media print {
    nav,
    #contact,
    button {
        display: none;
    }
    
    body {
        color: #000;
        background: #fff;
    }
}
