/* VENSTEIN Shared Styles */
:root {
  --primary: #fc3648;
  --secondary: #101827;
}

/* Basic color utilities */
.bg-primary { background: var(--primary); }
.bg-secondary { background: var(--secondary); }
.text-primary { color: var(--primary); }
.text-secondary { color: var(--secondary); }
.transition-colors { transition: color 0.2s, background-color 0.2s; }

/* Mobile Menu Animations */
.hamburger-line {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  transition: all 0.3s ease;
  transform-origin: center;
  position: relative;
}
.hamburger-line:nth-child(1) {
  margin-bottom: 5px;
}
.hamburger-line:nth-child(2) {
  margin-bottom: 5px;
}
.hamburger-line:nth-child(3) {
  margin-bottom: 0;
}
.hamburger-open .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger-open .hamburger-line:nth-child(2) {
  opacity: 0;
  transform: scale(0);
}
.hamburger-open .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Menu Slide */
.mobile-menu {
  transform: translateY(-100%);
  transition: transform 0.3s ease-in-out;
}
.mobile-menu.open {
  transform: translateY(0);
}

/* Menu Item Animations */
.mobile-menu a {
  opacity: 0;
  transform: translateX(-20px);
  transition: all 0.3s ease;
}
.mobile-menu.open a {
  opacity: 1;
  transform: translateX(0);
}
.mobile-menu.open a:nth-child(1) { transition-delay: 0.1s; }
.mobile-menu.open a:nth-child(2) { transition-delay: 0.15s; }
.mobile-menu.open a:nth-child(3) { transition-delay: 0.2s; }
.mobile-menu.open a:nth-child(4) { transition-delay: 0.25s; }

/* Product Card Enhancements */
.product-card {
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transform: scale(1);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
}
.product-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 10px 25px rgba(252, 54, 72, 0.15), 0 6px 12px rgba(0, 0, 0, 0.1);
}
.product-card .product-image {
  overflow: hidden;
  position: relative;
}
.product-card .product-image::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(252, 54, 72, 0) 0%, rgba(252, 54, 72, 0.1) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.product-card:hover .product-image::after {
  opacity: 1;
}
.product-card img {
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.product-card:hover img {
  transform: scale(1.1);
}
.product-card .buy-button {
  transform: translateY(0);
  transition: all 0.3s ease;
}
.product-card:hover .buy-button {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(252, 54, 72, 0.3);
}

/* Discount Badge */
.discount-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  background: linear-gradient(135deg, #10b981, #059669);
  color: white;
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  z-index: 10;
  animation: pulse-badge 2s infinite;
}
@keyframes pulse-badge {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

/* Loading Skeleton Enhancement */
.skeleton {
  animation: skeleton-loading 1.5s infinite ease-in-out;
}
@keyframes skeleton-loading {
  0% { background-color: #e2e8f0; }
  50% { background-color: #cbd5e0; }
  100% { background-color: #e2e8f0; }
}

/* Enhanced Modal Styling */
.modal-overlay {
  backdrop-filter: blur(8px);
  background: rgba(0, 0, 0, 0.6);
  animation: modalFadeIn 0.3s ease-out;
}
.modal-content {
  animation: modalSlideIn 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  max-height: 90vh;
  overflow-y: auto;
}
.modal-close {
  transition: all 0.2s ease;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.1);
}
.modal-close:hover {
  background: rgba(252, 54, 72, 0.1);
  color: var(--primary);
  transform: scale(1.1);
}
@keyframes modalFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes modalSlideIn {
  from { transform: scale(0.95) translateY(-10px); opacity: 0; }
  to { transform: scale(1) translateY(0); opacity: 1; }
}

/* Enhanced Form Styling */
.form-input {
  transition: all 0.3s ease;
  border: 2px solid #e5e7eb;
  background: #fff;
}
.form-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(252, 54, 72, 0.1);
  transform: scale(1.01);
  outline: none;
}
.form-input:hover {
  border-color: #d1d5db;
}
.form-input:invalid {
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}
.form-label {
  font-weight: 600;
  color: #374151;
  margin-bottom: 0.5rem;
  display: block;
  transition: color 0.2s ease;
}
.form-group {
  position: relative;
  margin-bottom: 1.5rem;
}
.form-submit {
  background: linear-gradient(135deg, var(--primary), #e53e3e);
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(252, 54, 72, 0.2);
}
.form-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 15px rgba(252, 54, 72, 0.3);
}
.contact-form {
  background: linear-gradient(135deg, #ffffff, #f9fafb);
  border: 1px solid #e5e7eb;
  transition: all 0.3s ease;
}
.contact-form:hover {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

/* Smooth Page Transitions */
* {
  scroll-behavior: smooth;
}

/* Enhanced Button Interactions */
.btn-primary {
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}
.btn-primary::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}
.btn-primary:hover::before {
  width: 300px;
  height: 300px;
}

/* Section Fade-in on Scroll */
.section-animate {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease-out;
}
.section-animate.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Testimonial Cards Animation */
.testimonial-card {
  transition: all 0.3s ease;
  transform: scale(1);
}
.testimonial-card:hover {
  transform: scale(1.05) translateY(-5px);
  box-shadow: 0 15px 30px rgba(252, 54, 72, 0.2);
}

/* Success animation for form-success page */
.success-card {
  animation: successSlideIn 0.8s ease-out;
}
@keyframes successSlideIn {
  from { transform: translateY(30px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}