/* Custom CSS Variables */
:root {
  --luxury-gold: #D4AF37;
  --charcoal: #666666;
  --off-white: #F8F8F8;
}

/* Font Families */
.font-playfair {
  font-family: 'Playfair Display', serif;
}

.font-inter {
  font-family: 'Inter', sans-serif;
}

.font-montserrat {
  font-family: 'Montserrat', sans-serif;
}

/* Custom Colors */
.text-luxury-gold {
  color: var(--luxury-gold);
}

.bg-luxury-gold {
  background-color: var(--luxury-gold);
}

.text-charcoal {
  color: var(--charcoal);
}

.bg-off-white {
  background-color: var(--off-white);
}

.border-luxury-gold {
  border-color: var(--luxury-gold);
}

.hover\:text-luxury-gold:hover {
  color: var(--luxury-gold);
}

.focus\:border-luxury-gold:focus {
  border-color: var(--luxury-gold);
}

/* Custom Components */
.luxury-button {
  background-color: var(--luxury-gold);
  color: black;
  padding: 1rem 2rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  letter-spacing: 0.05em;
  border: none;
  border-radius: 0.25rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.luxury-button:hover {
  background-color: #B8941F;
}

.whatsapp-button {
  width: 100%;
  background-color: black;
  color: white;
  padding: 0.75rem;
  font-family: 'Montserrat', sans-serif;
  letter-spacing: 0.05em;
  border: none;
  border-radius: 0.25rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.whatsapp-button:hover {
  background-color: #1f2937;
}

.product-card {
  background-color: white;
  border-radius: 0.5rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease;
}

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

.product-image {
  width: 100%;
  height: 16rem;
  object-fit: cover;
  transition: transform 0.3s ease;
}

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

/* Base Styles */
body {
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
}

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

/* Admin Button Styles */
.admin-button {
  background-color: transparent;
  border: 1px solid #e5e7eb;
  color: #374151;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  border-radius: 0.25rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.admin-button:hover {
  background-color: #f9fafb;
}

.admin-button.delete {
  border-color: #ef4444;
  color: #ef4444;
}

.admin-button.delete:hover {
  background-color: #ef4444;
  color: white;
}

/* Modal Styles */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 50;
}

.modal-content {
  background-color: white;
  border-radius: 0.5rem;
  padding: 1.5rem;
  max-width: 32rem;
  width: 100%;
  margin: 1rem;
  max-height: 90vh;
  overflow-y: auto;
}

/* Form Styles */
.form-input {
  width: 100%;
  border: 1px solid #d1d5db;
  border-radius: 0.25rem;
  padding: 0.75rem;
  outline: none;
  transition: border-color 0.3s ease;
}

.form-input:focus {
  border-color: var(--luxury-gold);
}

.form-label {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
  color: #374151;
}

/* Responsive Design */
@media (max-width: 768px) {
  .luxury-button {
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
  }
  
  .product-card {
    margin-bottom: 1rem;
  }
}

/* Animation Classes */
.fade-in {
  animation: fadeIn 0.3s ease-in;
}

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

/* Loading Spinner */
.loading-spinner {
  border: 2px solid #f3f3f3;
  border-top: 2px solid var(--luxury-gold);
  border-radius: 50%;
  width: 20px;
  height: 20px;
  animation: spin 1s linear infinite;
  display: inline-block;
  margin-right: 0.5rem;
}

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