/* ===== Custom Styles for Arteazen ===== */

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #0D0D0D;
}
::-webkit-scrollbar-thumb {
    background: #C4724E;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #D4916F;
}

/* Selection color */
::selection {
    background: #C4724E;
    color: #FAF5F0;
}

/* ===== Reveal Animations (Progressive Enhancement) ===== */
@media (prefers-reduced-motion: no-preference) {
    .reveal-up,
    .reveal-left,
    .reveal-right {
        opacity: 1;
        transform: none;
        transition: opacity 0.8s ease, transform 0.8s ease;
    }
    
    .reveal-up {
        transform: translateY(30px);
    }
    
    .reveal-left {
        transform: translateX(-30px);
    }
    
    .reveal-right {
        transform: translateX(30px);
    }
    
    .reveal-up.revealed,
    .reveal-left.revealed,
    .reveal-right.revealed {
        opacity: 1;
        transform: translate(0, 0);
    }
}

/* For browsers that don't support prefers-reduced-motion, 
   we set initial hidden state via JS, so content is visible by default here */

/* ===== Navbar Styles ===== */
#navbar.scrolled {
    background: rgba(13, 13, 13, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(232, 213, 192, 0.05);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    width: 0;
    height: 1px;
    background: #C9A84C;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link:hover {
    color: #C9A84C !important;
}

/* Mobile nav links */
.mobile-nav-link {
    position: relative;
    padding-left: 0;
    border-left: 2px solid transparent;
    transition: all 0.3s ease;
}

.mobile-nav-link:hover {
    border-left-color: #C9A84C;
    padding-left: 12px;
}

/* ===== Hero Section ===== */
#hero {
    position: relative;
}

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

/* ===== Button Hover Effects ===== */
a[href="#collection"],
button[type="submit"] {
    position: relative;
    overflow: hidden;
}

a[href="#collection"]::before,
button[type="submit"]::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;
}

a[href="#collection"]:hover::before,
button[type="submit"]:hover::before {
    left: 100%;
}

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

/* ===== Input Focus Styles ===== */
input:focus,
textarea:focus,
select:focus {
    outline: none;
    box-shadow: 0 0 0 1px rgba(196, 114, 78, 0.3);
}

/* ===== Gold shimmer effect for special text ===== */
@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

.text-gold-shimmer {
    background: linear-gradient(90deg, #C9A84C, #E2C06E, #C9A84C);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 3s linear infinite;
}

/* ===== Responsive adjustments ===== */
@media (max-width: 768px) {
    #hero h1 {
        font-size: 2.5rem;
    }
    
    .font-display {
        font-family: 'Playfair Display', Georgia, serif;
    }
}

/* ===== Print styles ===== */
@media print {
    #navbar,
    #hero .absolute.bottom-10 {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
}
