/* Custom Styles for Anytime Alterations */

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

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

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

.floating-card:nth-child(2) {
    animation-delay: -2s;
}

.floating-card:nth-child(3) {
    animation-delay: -4s;
}

/* Service Card Hover Effects */
.service-card {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover {
    border-color: rgba(207, 168, 114, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Navbar Scroll Effect */
.navbar-scrolled {
    background: rgba(15, 15, 18, 0.95) !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Mobile Menu Transitions */
.mobile-menu.active {
    display: flex;
}

.mobile-menu:not(.active) {
    display: none;
}

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

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

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

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

/* Text Selection */
::selection {
    background: #cfa872;
    color: #0f0f12;
}

/* Form Input Focus */
input:focus,
textarea:focus,
select:focus {
    box-shadow: 0 0 0 3px rgba(207, 168, 114, 0.2);
}

/* Responsive Typography */
@media (max-width: 768px) {
    h1 {
        font-size: 3rem !important;
    }
    
    h2 {
        font-size: 2rem !important;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .floating-card {
        animation: none;
    }
    
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
