/* Custom styles that complement Tailwind — premium dark luxury theme */

:root {
    --navy-900: #0a1628;
    --navy-800: #0f1f3a;
    --navy-700: #162a4a;
    --navy-600: #1d3556;
    --gold-400: #d4a853;
    --gold-500: #c9982e;
    --gold-600: #b8860b;
}

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

/* Selection color */
::selection {
    background: rgba(201, 152, 46, 0.3);
    color: #fff;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--navy-900);
}
::-webkit-scrollbar-thumb {
    background: var(--navy-600);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--gold-500);
}

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

/* Subtle grain texture overlay for sections */
.bg-grain::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    pointer-events: none;
}

/* Gold shimmer animation for hero CTA */
@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

.btn-gold-shimmer {
    background: linear-gradient(90deg, #b8860b, #d4a853, #c9982e, #d4a853, #b8860b);
    background-size: 200% auto;
    transition: all 0.5s ease;
}

.btn-gold-shimmer:hover {
    background-position: right center;
    box-shadow: 0 0 40px rgba(212, 168, 83, 0.3);
}

/* Decorative corner accents on cards */
.corner-accent {
    position: relative;
}
.corner-accent::before,
.corner-accent::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border-color: var(--gold-400);
    border-style: solid;
    opacity: 0.4;
}
.corner-accent::before {
    top: -1px;
    left: -1px;
    border-width: 2px 0 0 2px;
}
.corner-accent::after {
    bottom: -1px;
    right: -1px;
    border-width: 0 2px 2px 0;
}
