/* pitza - Custom Products Store */

/* Custom fonts */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&family=Outfit:wght@300;400;500;600;700;800;900&display=swap');

:root {
  --dark: #0f0f1a;
  --dark-card: #1a1a2e;
  --coral: #ff6b6b;
  --coral-dark: #e55a5a;
  --mustard: #f59e0b;
  --teal: #14b8a6;
  --cream: #faf5e4;
  --lavender: #a78bfa;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Space Grotesk', sans-serif;
  background-color: var(--dark);
  color: #e2e8f0;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
}

/* Gradient text */
.gradient-text {
  background: linear-gradient(135deg, var(--coral), var(--mustard), var(--teal));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gradient-text-alt {
  background: linear-gradient(135deg, var(--lavender), var(--coral));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Glowing button */
.btn-glow {
  position: relative;
  background: linear-gradient(135deg, var(--coral), var(--mustard));
  padding: 14px 36px;
  border-radius: 50px;
  color: #0f0f1a;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn-glow:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(255, 107, 107, 0.4), 0 0 60px rgba(245, 158, 11, 0.2);
}

.btn-outline {
  padding: 14px 36px;
  border-radius: 50px;
  border: 2px solid var(--coral);
  color: var(--coral);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  background: transparent;
  cursor: pointer;
}

.btn-outline:hover {
  background: var(--coral);
  color: #0f0f1a;
}

/* Card hover effect */
.card-hover {
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.card-hover:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(255, 107, 107, 0.15);
}

/* Animated blob background */
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.3;
  animation: blobFloat 8s ease-in-out infinite;
}

@keyframes blobFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -30px) scale(1.1); }
  66% { transform: translate(-20px, 20px) scale(0.9); }
}

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

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

::-webkit-scrollbar-track {
  background: var(--dark);
}

::-webkit-scrollbar-thumb {
  background: var(--coral);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--coral-dark);
}

/* Navigation */
.nav-glass {
  background: rgba(15, 15, 26, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 107, 107, 0.1);
}

/* Hero pattern overlay */
.hero-pattern {
  background-image: radial-gradient(rgba(255, 107, 107, 0.1) 1px, transparent 1px);
  background-size: 30px 30px;
}

/* Product card image */
.product-img-wrapper {
  overflow: hidden;
  border-radius: 12px 12px 0 0;
}

.product-img-wrapper img {
  transition: transform 0.5s ease;
}

.product-img-wrapper:hover img {
  transform: scale(1.08);
}

/* Category badge */
.category-badge {
  background: linear-gradient(135deg, rgba(255, 107, 107, 0.2), rgba(245, 158, 11, 0.2));
  border: 1px solid rgba(255, 107, 107, 0.3);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  color: var(--coral);
  font-weight: 500;
}

/* Quantity control */
.qty-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 107, 107, 0.3);
  background: transparent;
  color: var(--coral);
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.qty-btn:hover {
  background: var(--coral);
  color: var(--dark);
}

/* Dashboard sidebar */
.sidebar-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 10px;
  color: #94a3b8;
  text-decoration: none;
  transition: all 0.2s;
}

.sidebar-link:hover,
.sidebar-link.active {
  background: rgba(255, 107, 107, 0.1);
  color: var(--coral);
}

/* Form inputs */
.input-dark {
  background: rgba(26, 26, 46, 0.8);
  border: 1px solid rgba(255, 107, 107, 0.15);
  border-radius: 12px;
  padding: 14px 18px;
  color: #e2e8f0;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.95rem;
  width: 100%;
  transition: border-color 0.3s;
  outline: none;
}

.input-dark:focus {
  border-color: var(--coral);
  box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.1);
}

.input-dark::placeholder {
  color: #475569;
}

/* Animated underline */
.nav-link-anim {
  position: relative;
  text-decoration: none;
  color: #94a3b8;
  transition: color 0.3s;
}

.nav-link-anim::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--coral), var(--mustard));
  transition: width 0.3s;
}

.nav-link-anim:hover {
  color: #fff;
}

.nav-link-anim:hover::after {
  width: 100%;
}

/* Step indicator */
.step-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
}

.step-active {
  background: linear-gradient(135deg, var(--coral), var(--mustard));
  color: var(--dark);
}

.step-done {
  background: var(--teal);
  color: var(--dark);
}

.step-pending {
  background: rgba(26, 26, 46, 0.8);
  border: 2px solid #334155;
  color: #64748b;
}

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(15, 15, 26, 0.98);
  backdrop-filter: blur(20px);
  z-index: 100;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}

.mobile-menu.open {
  display: flex;
}

/* Star rating */
.star {
  color: var(--mustard);
}

/* Testimonial card */
.testimonial-card {
  background: linear-gradient(135deg, rgba(26, 26, 46, 0.9), rgba(26, 26, 46, 0.5));
  border: 1px solid rgba(255, 107, 107, 0.1);
  border-radius: 20px;
  padding: 2rem;
}

/* Footer gradient line */
.footer-line {
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--coral), var(--mustard), var(--teal), transparent);
}

/* Responsive */
@media (max-width: 768px) {
  .desktop-nav {
    display: none;
  }

  .mobile-toggle {
    display: block !important;
  }
}

@media (min-width: 769px) {
  .mobile-toggle {
    display: none !important;
  }
}
