/* Custom styles and overrides */

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #0d0d0d;
}

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

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

/* Selection color */
::selection {
    background: rgba(255, 107, 107, 0.3);
    color: #fff;
}

/* Navbar scroll effect */
.nav-scrolled {
    background: rgba(13, 13, 13, 0.95) !important;
    backdrop-filter: blur(20px) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
}

/* Hero parallax effect */
#hero {
    perspective: 1000px;
}

#hero img {
    will-change: transform;
}

/* Gradient text animation */
@keyframes shimmer {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.text-shimmer {
    background-size: 200% auto;
    animation: shimmer 3s linear infinite;
}

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

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

/* Pulse ring animation */
@keyframes pulse-ring {
    0% { transform: scale(0.8); opacity: 0.5; }
    50% { transform: scale(1); opacity: 0.2; }
    100% { transform: scale(0.8); opacity: 0.5; }
}

.pulse-ring {
    animation: pulse-ring 2s ease-in-out infinite;
}

/* Card hover effects */
.product-card {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.product-card:hover img {
    transform: scale(1.1);
}

/* Glow effects */
.glow-coral {
    box-shadow: 0 0 40px rgba(255, 107, 107, 0.15);
}

.glow-gold {
    box-shadow: 0 0 40px rgba(212, 168, 83, 0.15);
}

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

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

/* Stagger children animation */
.stagger-children > * {
    opacity: 0;
    transform: translateY(20px);
}

.stagger-children.animated > *:nth-child(1) { animation: fadeInUp 0.6s ease-out 0.1s forwards; }
.stagger-children.animated > *:nth-child(2) { animation: fadeInUp 0.6s ease-out 0.2s forwards; }
.stagger-children.animated > *:nth-child(3) { animation: fadeInUp 0.6s ease-out 0.3s forwards; }
.stagger-children.animated > *:nth-child(4) { animation: fadeInUp 0.6s ease-out 0.4s forwards; }
.stagger-children.animated > *:nth-child(5) { animation: fadeInUp 0.6s ease-out 0.5s forwards; }
.stagger-children.animated > *:nth-child(6) { animation: fadeInUp 0.6s ease-out 0.6s forwards; }

/* Mobile menu transitions */
.mobile-menu-open {
    opacity: 1 !important;
    pointer-events: all !important;
}

/* Button focus states */
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid #FF6B6B;
    outline-offset: 2px;
}

/* Image aspect ratio utilities */
.aspect-card {
    aspect-ratio: 4/3;
}

/* Gold gradient border */
.gold-border {
    position: relative;
}

.gold-border::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, rgba(212, 168, 83, 0.5), rgba(201, 152, 46, 0.2));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

/* Loading skeleton */
@keyframes skeleton {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.skeleton {
    background: linear-gradient(90deg, #1a1a1a 25%, #232323 50%, #1a1a1a 75%);
    background-size: 200% 100%;
    animation: skeleton 1.5s infinite;
}

/* Responsive typography adjustments */
@media (max-width: 768px) {
    .font-display {
        line-height: 1.1;
    }
}

/* Print styles */
@media print {
    nav, #contact, .mobile-menu {
        display: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
}
