/* Custom Styles for MaxMark */

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

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

::-webkit-scrollbar-track {
    background: #1e1824;
}

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

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

/* Selection Color */
::selection {
    background: #c49a55;
    color: #0d0b10;
}

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

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, #c49a55, transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.service-card:hover::before {
    transform: translateX(100%);
}

/* Gold Gradient Text */
.text-gold-gradient {
    background: linear-gradient(135deg, #c49a55 0%, #e8c47c 50%, #b08240 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Fade In Animation for Scroll */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    .fade-in {
        opacity: 1;
        transform: none;
        transition: none;
    }
    
    .service-card::before {
        display: none;
    }
}

/* Input Focus Styles */
input:focus,
textarea:focus,
select:focus {
    border-color: #c49a55 !important;
    box-shadow: 0 0 0 2px rgba(196, 154, 85, 0.2);
}

/* Button Ripple Effect */
button,
a {
    -webkit-tap-highlight-color: transparent;
}

/* Mobile Menu Transition */
#mobile-menu {
    animation: slideDown 0.3s ease;
}

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

/* Navbar Scroll State */
nav.scrolled {
    background: rgba(13, 11, 16, 0.95);
    backdrop-filter: blur(10px);
    padding-top: 1rem;
    padding-bottom: 1rem;
}

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

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