/* ============================================
   MaYti — Premium Dark Luxury Retail
   Custom styles supplementing Tailwind CDN
   ============================================ */

/* Base adjustments */
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Selection color */
::selection {
    background: rgba(184, 92, 56, 0.3);
    color: #E2C9A8;
}

/* Focus styles */
a:focus-visible,
button:focus-visible {
    outline: 2px solid #B85C38;
    outline-offset: 4px;
    border-radius: 4px;
}

/* Image lazy loading fade */
img {
    opacity: 1;
    transition: opacity 0.3s ease;
}

/* Subtle gradient for section dividers */
.section-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(184, 92, 56, 0.3), transparent);
}

/* Card hover lift effect */
.card-lift {
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.card-lift:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

/* Gold shimmer on hover for primary buttons */
.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.1), transparent);
    transition: left 0.5s ease;
}
.btn-primary:hover::before {
    left: 100%;
}

/* Smooth image zoom on collection cards */
.collection-card img {
    transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.collection-card:hover img {
    transform: scale(1.05);
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    html {
        scroll-behavior: auto;
    }
    .reveal-up,
    .reveal-left,
    .reveal-right {
        opacity: 1;
        transform: none;
    }
}

/* Tablet and up adjustments */
@media (min-width: 768px) {
    .hero-title {
        line-height: 1.05;
    }
}

/* Large desktop adjustments */
@media (min-width: 1280px) {
    .max-w-7xl {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}
