/* Additional luxury theme styles for HTML demo */

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

@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* Hero enhancements */
.hero-3d {
  position: relative;
  background: linear-gradient(135deg, #F6EFE6 0%, #FFFFFF 50%, #F6EFE6 100%);
}

.hero-content {
  animation: fadeInUp 1s ease-out;
}

.hero-badge {
  animation: float 3s ease-in-out infinite;
}

/* Navbar enhancements */
.navbar.bg-white {
  backdrop-filter: blur(20px);
  background-color: rgba(255, 255, 255, 0.95) !important;
}

/* Product card hover effects */
.product-card {
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* Button enhancements */
.btn-primary {
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s;
}

.btn-primary:hover::before {
  left: 100%;
}

/* Typography enhancements */
.font-heading {
  letter-spacing: -0.025em;
}

/* Footer enhancements */
.footer {
  background: linear-gradient(135deg, #0B1320 0%, #1a2332 100%);
}

/* Loading animations */
.loading .hero-content,
.loading .product-card {
  opacity: 0;
  transform: translateY(20px);
}

.loaded .hero-content,
.loaded .product-card {
  opacity: 1;
  transform: translateY(0);
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Luxury scrollbar for webkit browsers */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: #C8A165;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #b8956b;
}

/* Mobile responsive enhancements */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem !important;
    line-height: 1.2;
  }
  
  .products-grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem;
  }
  
  .hero-actions {
    flex-direction: column;
    gap: 1rem;
  }
  
  .hero-actions a {
    width: 100%;
    justify-content: center;
  }
}

/* Accessibility enhancements */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.sr-only:focus {
  position: static;
  width: auto;
  height: auto;
  padding: 0.5rem 1rem;
  margin: 0;
  overflow: visible;
  clip: auto;
  white-space: normal;
}

/* Focus states for accessibility */
button:focus,
a:focus,
input:focus,
select:focus {
  outline: 2px solid #C8A165;
  outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .btn-primary {
    border: 2px solid;
  }
  
  .product-card {
    border: 1px solid #000;
  }
}

/* Print styles */
@media print {
  .navbar,
  .footer,
  .hero-canvas,
  button {
    display: none !important;
  }
  
  .hero-content {
    color: #000 !important;
  }
  
  * {
    background: white !important;
    color: black !important;
  }
}
