/* Custom styles beyond Tailwind */

/* Smooth transitions for interactive elements */
a, button {
    transition: all 0.3s ease;
}

/* Gold accent line animation */
@keyframes lineExpand {
    from { width: 0; }
    to { width: 6rem; }
}

/* Floating animation for decorative elements */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Pulse animation for CTA buttons */
@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 20px rgba(255, 107, 107, 0.3); }
    50% { box-shadow: 0 0 40px rgba(255, 107, 107, 0.6); }
}

/* Subtle grain texture overlay */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    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='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    z-index: 9999;
}

/* Selection color */
::selection {
    background-color: rgba(201, 162, 39, 0.3);
    color: #fff;
}

/* Input focus styles */
input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: #C9A227 !important;
    box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.1);
}

/* Hover underline effect for links */
a:not(.bg-coral-500):not(.border-gold-400) {
    position: relative;
}

a:not(.bg-coral-500):not(.border-gold-400)::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: #C9A227;
    transition: width 0.3s ease;
}

a:not(.bg-coral-500):not(.border-gold-400):hover::after {
    width: 100%;
}

/* Card hover lift effect */
.group:hover {
    transform: translateY(-4px);
}

/* Navbar glass effect when scrolled */
nav.scrolled {
    background: rgba(13, 17, 23, 0.95) !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(201, 162, 39, 0.2);
}

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

/* Print styles */
@media print {
    nav, .animate-bounce, #mobile-menu {
        display: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
    
    .bg-charcoal-900, .bg-charcoal-800 {
        background: white !important;
    }
    
    .text-white, .text-gray-200, .text-gray-300 {
        color: black !important;
    }
    
    .text-gold-400, .text-coral-400 {
        color: #333 !important;
    }
}
