/* Custom styles for George Velez Guns */

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #3b0412;
}

::-webkit-scrollbar-thumb {
    background: #dc355e;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #ed6a8e;
}

/* Selection color */
::selection {
    background: #ff8a68;
    color: #3b0412;
}

/* Scroll reveal animations - progressive enhancement */
.scroll-reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

@media (prefers-reduced-motion: no-preference) {
    .scroll-reveal {
        opacity: 0;
        transform: translateY(30px);
    }
    
    .scroll-reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Navbar scroll effect */
.navbar-scrolled {
    background: rgba(59, 4, 18, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* Button hover effects */
button, a {
    -webkit-tap-highlight-color: transparent;
}

/* Form focus styles */
input:focus, select:focus, textarea:focus {
    outline: none;
}

/* Mobile menu transition */
#mobile-menu {
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Geometric shape animations */
@media (prefers-reduced-motion: no-preference) {
    .absolute.top-20 -left-20.w-96,
    .absolute.bottom-20 -right-20.w-\[500px\] {
        animation: float 6s ease-in-out infinite;
    }
    
    .absolute.bottom-20 -right-20.w-\[500px\] {
        animation-delay: 3s;
    }
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(30px, -30px) scale(1.05);
    }
    66% {
        transform: translate(-20px, 20px) scale(0.95);
    }
}

/* Geometric rotation animation */
@media (prefers-reduced-motion: no-preference) {
    .rotate-45 {
        animation: rotate 20s linear infinite;
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .font-display.text-6xl,
    .font-display.text-7xl,
    .font-display.text-8xl,
    .font-display.text-9xl {
        line-height: 1.1;
    }
}

/* Print styles */
@media print {
    nav, button, .scroll-reveal, iframe {
        display: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
}
