/**
 * Custom Styles for Whole Life Jewelry
 * Modern luxury fashion aesthetic
 */

/* Custom color palette - Luxury minimal */
:root {
  --gold: #d4af37;
  --gold-light: #f5e6d3;
  --black: #000000;
  --white: #ffffff;
  --gray-light: #f5f5f5;
  --gray-medium: #999999;
  --gray-dark: #333333;
}

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

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

@keyframes shimmer {
  0% {
    background-position: -1000px 0;
  }
  100% {
    background-position: 1000px 0;
  }
}

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

/* Luxury minimal styling */
.gold-gradient {
  color: var(--black);
}

/* Shimmer effect for jewelry images */
.shimmer {
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.3) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  background-size: 1000px 100%;
  animation: shimmer 3s infinite;
}

/* Luxury button styles */
.btn-gold {
  background: var(--black);
  color: var(--white);
  transition: all 0.3s ease;
}

.btn-gold:hover {
  background: var(--gray-dark);
}

/* Form input focus styles - luxury minimal */
input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--black);
}

/* Loading spinner */
.spinner {
  border: 3px solid rgba(212, 175, 55, 0.1);
  border-top: 3px solid var(--gold);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 1s linear infinite;
}

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

/* Success/Error message styles */
.message {
  padding: 1rem;
  border-radius: 0.5rem;
  margin: 1rem 0;
  animation: fadeInUp 0.3s ease-out;
}

.message-success {
  background-color: #d1fae5;
  color: #065f46;
  border-left: 4px solid #10b981;
}

.message-error {
  background-color: #fee2e2;
  color: #991b1b;
  border-left: 4px solid #ef4444;
}

/* Jewelry card hover effect */
.jewelry-card {
  transition: all 0.3s ease;
}

.jewelry-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Product card - luxury minimal design */
.product-card {
  transition: all 0.3s ease;
}

.product-card:hover {
  transform: translateY(-2px);
}

.product-card img {
  transition: opacity 0.3s ease;
}

.product-card:hover img {
  opacity: 0.9;
}

/* Logo hover effects - luxury branding */
.logo-container {
  position: relative;
  display: block;
  width: 128px;
  height: 48px;
}

.logo-container img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: all 0.5s ease;
}

.logo-container:hover .logo-default {
  opacity: 0;
  transform: scale(1.05);
}

.logo-container:hover .logo-hover {
  opacity: 1;
  transform: scale(1.05);
}

/* Responsive logo sizing */
@media (max-width: 640px) {
  .logo-container {
    width: 96px;
    height: 36px;
  }
}

/* Minimal divider - luxury aesthetic */
.spiritual-divider {
  width: 60px;
  height: 1px;
  background: var(--black);
  margin: 2rem auto;
}

/* Responsive typography */
@media (max-width: 640px) {
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.5rem;
  }
}
