/* Custom styles for PlateCost Landing Page - Dark Premium Theme */

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(232, 169, 18, 0.15);
    }
    50% {
        box-shadow: 0 0 40px rgba(232, 169, 18, 0.25);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease-out forwards;
}

.animate-fade-in {
    animation: fadeIn 0.6s ease-out forwards;
}

.animate-glow {
    animation: glow 3s ease-in-out infinite;
}

/* Staggered animation delays */
.animation-delay-100 { animation-delay: 100ms; }
.animation-delay-200 { animation-delay: 200ms; }
.animation-delay-300 { animation-delay: 300ms; }
.animation-delay-400 { animation-delay: 400ms; }
.animation-delay-500 { animation-delay: 500ms; }

/* Gradient text for gold */
.gradient-text-gold {
    background: linear-gradient(135deg, #EDBA1A 0%, #DC7606 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Navigation blur effect */
.nav-blur {
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

/* Card hover effects */
.card-hover {
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5);
}

/* Button press effect */
.btn-press {
    transition: transform 0.15s ease;
}

.btn-press:active {
    transform: scale(0.98);
}

/* Focus styles for accessibility */
a:focus-visible,
button:focus-visible {
    outline: 2px solid #E8A912;
    outline-offset: 2px;
}

/* Custom scrollbar - dark theme */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #111621;
}

::-webkit-scrollbar-thumb {
    background: #252A36;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #7E8899;
}

/* Mobile menu transition */
#mobile-menu {
    transition: max-height 0.3s ease-out, opacity 0.3s ease-out;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
}

#mobile-menu.open {
    max-height: 300px;
    opacity: 1;
}

/* Section transitions for scroll reveal */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

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

.float-animation {
    animation: float 4s ease-in-out infinite;
}

/* Gradient backgrounds */
.gradient-gold {
    background: linear-gradient(135deg, #E8A912 0%, #DC7606 100%);
}

.gradient-dark {
    background: linear-gradient(135deg, #111621 0%, #0B0E14 100%);
}

/* Text selection color - gold accent */
::selection {
    background: rgba(232, 169, 18, 0.3);
    color: #F5F3EF;
}

/* Subtle border glow on hover */
.border-glow:hover {
    box-shadow: 0 0 0 1px rgba(232, 169, 18, 0.3);
}

/* Instrument Serif specific adjustments */
.font-display {
    font-feature-settings: 'liga' 1, 'kern' 1;
    letter-spacing: -0.02em;
}

/* Print styles */
@media print {
    nav, footer, .no-print {
        display: none !important;
    }

    section {
        page-break-inside: avoid;
    }

    body {
        background: white !important;
        color: black !important;
    }
}

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

/* Ensure proper text rendering */
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}
