/* Custom Styles for Quicksilver Engines By Oseth */

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

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

@keyframes pulse-ring {
    0% {
        transform: scale(0.8);
        opacity: 1;
    }
    100% {
        transform: scale(2);
        opacity: 0;
    }
}

/* Geometric Background Pattern */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(251, 191, 36, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(159, 13, 58, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(251, 191, 36, 0.03) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

/* Service Card Hover Effects */
.service-card {
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(251, 191, 36, 0.1), transparent);
    transition: left 0.5s;
}

.service-card:hover::before {
    left: 100%;
}

/* Gallery Item Hover */
.gallery-item {
    position: relative;
    overflow: hidden;
}

.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(159, 13, 58, 0.3), rgba(251, 191, 36, 0.2));
    opacity: 0;
    transition: opacity 0.3s;
}

.gallery-item:hover::after {
    opacity: 1;
}

/* Navbar Scroll Effect */
.nav-scrolled {
    background: rgba(61, 5, 22, 0.95) !important;
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* Input Focus Effects */
input:focus,
select:focus,
textarea:focus {
    box-shadow: 0 0 0 3px rgba(251, 191, 36, 0.2);
}

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

::-webkit-scrollbar-track {
    background: #3d0516;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #fbbf24, #d9406c);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #fcd34d, #eb6f92);
}

/* Responsive Typography */
@media (max-width: 768px) {
    .font-display {
        line-height: 1.1;
    }
}

/* Mobile Menu Animation */
#mobileMenu {
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Loading State for Buttons */
button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Selection Color */
::selection {
    background: rgba(251, 191, 36, 0.3);
    color: #fff;
}
