/* Custom styles for Minh Alterations */

:root {
    --navy-900: #0a1628;
    --navy-800: #132238;
    --navy-700: #1c3050;
    --gold-500: #d4a843;
    --gold-400: #e0be6a;
    --gold-300: #ebd491;
}

* {
    scroll-behavior: smooth;
}

body {
    background-color: var(--navy-900);
    color: #ffffff;
}

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

::-webkit-scrollbar-track {
    background: var(--navy-900);
}

::-webkit-scrollbar-thumb {
    background: var(--navy-700);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gold-500);
}

/* Selection styling */
::selection {
    background: var(--gold-500);
    color: var(--navy-900);
}

/* Navbar transitions */
#navbar.scrolled {
    background: rgba(10, 22, 40, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(212, 168, 67, 0.1);
}

/* Geometric decorations */
.geometric-shape {
    will-change: transform;
}

/* Service card hover effect */
.group:hover .group-hover\:scale-110 {
    transform: scale(1.1);
}

/* Gold gradient text effect */
.text-gold-gradient {
    background: linear-gradient(135deg, #d4a843 0%, #e0be6a 50%, #ebd491 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Image hover zoom */
.group:hover .group-hover\:scale-105 {
    transform: scale(1.05);
}

/* Focus styles for accessibility */
input:focus,
textarea:focus,
button:focus {
    outline: none;
}

/* Mobile menu animation */
#mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

#mobile-menu.open {
    max-height: 300px;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}
