/* Custom Styles for Ezbelta Website */

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

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

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

/* Focus styles for accessibility */
*:focus {
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
}

/* Custom button hover effects */
.btn-primary {
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Product card hover effects */
.product-card {
    transition: all 0.3s ease;
}

/* Loading spinner (for forms) */
.spinner {
    border: 3px solid #f3f4f6;
    border-top: 3px solid #3b82f6;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Print styles */
@media print {
    nav, footer {
        display: none;
    }
    
    a[href]:after {
        content: " (" attr(href) ")";
    }
}

/* Mobile menu styles (if needed in future) */
@media (max-width: 768px) {
    .mobile-menu {
        display: none;
    }
    
    .mobile-menu.open {
        display: block;
    }
}

/* Form input focus states */
input:focus,
textarea:focus,
select:focus {
    border-color: #3b82f6;
    ring: 2px solid #3b82f6;
}

/* Disable button styles */
button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Link hover transitions */
a {
    transition: color 0.2s ease;
}

/* Custom scrollbar (for webkit browsers) */
::-webkit-scrollbar {
    width: 10px;
}

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

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

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