/* ===== CUSTOM STYLES ===== */

/* Smooth font rendering */
body {
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

/* Link underline animation */
a {
    text-decoration: none;
}

/* Image lazy load fade */
img[loading="lazy"] {
    transition: opacity 0.5s ease;
}

img[loading="lazy"]:not(.loaded) {
    opacity: 0;
}

img[loading="lazy"].loaded {
    opacity: 1;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
    width: 6px;
}

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

::-webkit-scrollbar-thumb {
    background: #c9a84c;
    border-radius: 3px;
}

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

/* ===== ANIMATIONS ===== */

/* Subtle shimmer on gold elements */
@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

/* Pulse for CTA button */
@keyframes subtle-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(201, 168, 76, 0.3); }
    50% { box-shadow: 0 0 0 8px rgba(201, 168, 76, 0); }
}

/* ===== ACCESSIBILITY ===== */
@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; }
    .reveal {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* ===== PRINT ===== */
@media print {
    .navbar, .mobile-menu, .hamburger { display: none !important; }
    body { color: #000; background: #fff; }
    .hero-grid { min-height: auto; }
    .hero-image-wrapper { display: none; }
}

/* ===== TABLET ===== */
@media (min-width: 768px) and (max-width: 1023px) {
    .hero-content {
        padding: 7rem 7vw 5rem;
    }
}

/* ===== FOCUS FOR TOUCH ===== */
@media (hover: none) {
    .service-card:hover {
        transform: none;
        box-shadow: none;
    }
    .nav-link:hover::after {
        width: 0;
    }
}
