/* Custom styles that complement Tailwind */

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

/* Gold accent border gradient */
.gold-border-gradient {
    position: relative;
}
.gold-border-gradient::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, rgba(232, 204, 106, 0.5), transparent, rgba(232, 204, 106, 0.3));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

/* Selection color */
::selection {
    background-color: rgba(232, 204, 106, 0.3);
    color: #f5f0e8;
}

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

/* Prevent layout shift on images */
img {
    max-width: 100%;
    height: auto;
}

/* Reduce motion preference */
@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;
    }
}

/* Print styles */
@media print {
    nav, #mobile-menu, .reveal, .service-card, .float-1, .float-2, .float-3 {
        display: none !important;
    }
    body {
        background: white !important;
        color: black !important;
    }
}
