/* Custom styles for El Punto de Venta */

/* Smooth scrolling for the entire page */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px; /* Compensate for fixed navbar */
}

/* Custom font application */
body {
    font-family: 'Bebas Neue', cursive;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'XL Mono Alt', monospace;
}

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

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

/* WhatsApp button pulse animation */
@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(112, 236, 0, 0.7);
    }
    50% {
        box-shadow: 0 0 0 15px rgba(112, 236, 0, 0);
    }
}

a[href*="wa.me"] {
    animation: pulse 2s infinite;
}

/* Gradient text utility */
.gradient-text {
    background: linear-gradient(90deg, #000000, #70ec00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #5ec000;
}

/* Ensure icons render properly */
svg {
    display: inline-block;
    vertical-align: middle;
}

/* Responsive typography adjustments */
@media (max-width: 640px) {
    h1 {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    h2 {
        font-size: 1.75rem;
        line-height: 1.3;
    }
}

/* Focus states for accessibility */
a:focus,
button:focus {
    outline: 2px solid #70ec00;
    outline-offset: 2px;
}

/* Loading state for images (if needed) */
img {
    max-width: 100%;
    height: auto;
}

/* Print styles */
@media print {
    .fixed {
        display: none;
    }
}
