/* Custom styles complementing Tailwind */

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

/* Selection color */
::selection {
    background-color: #D4A853;
    color: #0B1120;
}

/* Subtle grain texture on hero */
.hero-grain {
    position: relative;
}

.hero-grain::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' 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)' opacity='0.03'/%3E%3C/svg%3E");
    pointer-events: none;
}

/* Gold accent line */
.gold-line {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #D4A853, #C49A3E);
    border-radius: 2px;
}

/* Card hover lift */
.card-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card-lift:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(11, 17, 32, 0.12);
}

/* Input autofill styling */
input:-webkit-autofill,
textarea:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 30px white inset !important;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
    background: #1C2A3A;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #2D4055;
}
