/*
 * Custom styles for SellAuth theme
 */

/* Import Inter font */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

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

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

/* Custom transitions */
.transition-all {
  transition: all 0.3s ease;
}

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

.bg-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Button styles */
button, 
.button {
  transition: all 0.2s ease;
}

button:hover,
.button:hover {
  transform: translateY(-1px);
}

/* Image hover effects */
img {
  transition: transform 0.5s ease;
}

.hover-zoom:hover img {
  transform: scale(1.05);
}

/* Navigation links */
.nav-link {
  position: relative;
  transition: color 0.3s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 2px;
  bottom: -2px;
  left: 0;
  background-color: var(--cl-accent);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.nav-link:hover::after {
  transform: scaleX(1);
}

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

::-webkit-scrollbar-track {
  background: rgba(var(--cl-background), 0.5);
}

::-webkit-scrollbar-thumb {
  background: rgba(var(--cl-accent), 0.5);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(var(--cl-accent), 0.7);
}

/* Product card enhancements */
.product-card {
  overflow: hidden;
  background: transparent;
  border: none;
}

.product-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card:hover img {
  transform: scale(1.05);
}

/* Form elements */
input, 
select, 
textarea {
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--cl-accent);
  box-shadow: 0 0 0 2px rgba(var(--cl-accent), 0.1);
}

/* Loading animations */
.loading {
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* Modal animations */
.modal-overlay {
  animation: fadeIn 0.3s ease;
}

.modal-content {
  animation: slideUp 0.3s ease;
}

/* Stats counter animation */
.animate-count {
  transition: all 0.3s ease;
}

.animate-count:hover {
  transform: scale(1.1);
  color: var(--cl-accent);
}

/* Custom styles */
body {
  background: linear-gradient(to bottom right, rgba(13, 17, 23, 0.95), rgba(13, 17, 23, 0.85)),
              url('background.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  min-height: 100vh;
}