/* Custom Styles for Stone-Mart */

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

/* Gold Button Styles */
.gold-btn {
    background: linear-gradient(135deg, #d4af37 0%, #f0d68a 50%, #b8941f 100%);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

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

.gold-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
}

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

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

::-webkit-scrollbar-thumb {
    background: #364b33;
    border-radius: 5px;
}

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

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

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

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

.animate-float-delayed {
    animation: float-delayed 5s ease-in-out infinite;
    animation-delay: 1s;
}

/* Scroll Reveal Animation */
.scroll-reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Navbar Scroll Effect */
nav.scrolled {
    background: rgba(15, 26, 15, 0.95) !important;
    backdrop-filter: blur(10px);
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* Mobile Menu Active State */
#mobile-menu.active {
    opacity: 1 !important;
    pointer-events: all !important;
}

/* Gold Glow Effect */
.glow-gold {
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.2);
}

/* Product Card Hover */
.group:hover .group-hover\\:scale-110 {
    transform: scale(1.1);
}

/* Focus Styles for Accessibility */
a:focus-visible,
button:focus-visible {
    outline: 2px solid #d4af37;
    outline-offset: 2px;
}

/* Reduced Motion */
@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;
    }
}

/* Tablet Adjustments */
@media (max-width: 768px) {
    .font-serif {
        font-size: clamp(1.5rem, 5vw, 2.5rem);
    }
    
    section {
        padding-top: 4rem;
        padding-bottom: 4rem;
    }
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    .gold-btn {
        border: 2px solid #d4af37;
    }
    
    .border-gold-400\\/20 {
        border-color: rgba(212, 175, 55, 0.6);
    }
}

/* Print Styles */
@media print {
    .gold-btn,
    .animate-float,
    .animate-float-delayed {
        display: none;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
}
