/* Custom styles supplementing Tailwind CSS */

/* Smooth scrolling offset for fixed nav */
section[id] {
    scroll-margin-top: 80px;
}

/* Gold gradient text utility */
.gold-gradient-text {
    background: linear-gradient(135deg, #e8d5a0 0%, #c9a84c 40%, #a07828 70%, #e8d5a0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Selection color */
::selection {
    background: rgba(201, 168, 76, 0.3);
    color: #e8d5a0;
}

/* Focus visible styles */
*:focus-visible {
    outline: 2px solid #c9a84c;
    outline-offset: 2px;
}

/* Button active states */
.btn-gold:active {
    transform: translateY(0);
    box-shadow: 0 4px 16px rgba(201, 168, 76, 0.25);
}

.btn-outline-gold:active {
    background: rgba(201, 168, 76, 0.15);
}

/* Custom select dropdown arrow */
select {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%23c9a84c' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 0.75rem center;
    background-repeat: no-repeat;
    background-size: 1.25em 1.25em;
}

/* Subtle hover animation for service cards icons */
.service-card:hover .w-14 {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

.service-card .w-14 {
    transition: transform 0.3s ease;
}

/* Navbar scroll state */
.nav-scrolled {
    background: rgba(11, 17, 32, 0.95) !important;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(201, 168, 76, 0.1);
    box-shadow: 0 4px 32px rgba(0, 0, 0, 0.4);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    .reveal {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
    .service-card {
        transition: none !important;
    }
    .service-card:hover {
        transform: none !important;
    }
    .mobile-menu {
        transition: none !important;
    }
}
