/* Additional custom styles */

/* Smooth focus styles */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
    outline: 2px solid #b5523a;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #130f0d;
}
::-webkit-scrollbar-thumb {
    background: #332a25;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #b5523a;
}

/* Selection color */
::selection {
    background: rgba(181, 82, 58, 0.4);
    color: #e8d5bc;
}

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

/* Ensure form select shows proper arrow */
select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23d4b896' stroke-width='2' stroke-linecap='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 36px;
}

/* Gold gradient line decoration */
.gold-gradient-line {
    height: 2px;
    background: linear-gradient(90deg, transparent, #c9a96e, transparent);
}

/* Subtle glow effect for cards */
.card-glow {
    box-shadow: 0 0 40px rgba(181, 82, 58, 0.05);
}

/* Noise texture overlay for depth */
.noise-overlay {
    position: relative;
}
.noise-overlay::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0.03;
    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)'/%3E%3C/svg%3E");
    pointer-events: none;
}
