/* Turquoise Cowgirl Boutique — Custom Styles */

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #faf8f4;
}
::-webkit-scrollbar-thumb {
    background: #1a2744;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #d4a843;
}

/* Navigation */
#navbar {
    transition: background-color 0.4s ease, box-shadow 0.4s ease, padding 0.4s ease;
}

#navbar.scrolled {
    background-color: rgba(250, 248, 244, 0.97);
    box-shadow: 0 1px 20px rgba(26, 39, 68, 0.08);
    backdrop-filter: blur(10px);
}

.nav-link-text {
    color: #1a2744;
}

#navbar.scrolled .nav-link-text {
    color: #1a2744;
}

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

#mobile-menu.closed {
    opacity: 0;
    pointer-events: none;
}

#menu-btn.active #bar1 {
    transform: translateY(5px) rotate(45deg);
}
#menu-btn.active #bar2 {
    opacity: 0;
}
#menu-btn.active #bar3 {
    transform: translateY(-5px) rotate(-45deg);
}

/* Reveal animations */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal[data-reveal="hidden"] {
    opacity: 0;
    transform: translateY(30px);
}

@media (prefers-reduced-motion: no-preference) {
    .reveal[data-reveal="hidden"] {
        opacity: 0;
        transform: translateY(30px);
    }
}

/* Hero text glow */
h1 span.text-gold-400 {
    text-shadow: 0 0 60px rgba(232, 197, 109, 0.3);
}

/* Card hover effects */
.group:hover .group-hover\:scale-105 {
    transform: scale(1.05);
}

/* Form focus states */
input:focus,
textarea:focus {
    border-color: #d4a843 !important;
    box-shadow: 0 0 0 3px rgba(212, 168, 67, 0.15) !important;
}

/* Subtle gradient overlay for collection cards */
.group::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

/* Button micro-interactions */
button, a {
    -webkit-tap-highlight-color: transparent;
}

/* Ensure images don't shift layout */
img {
    max-width: 100%;
    height: auto;
}

/* Mobile menu link styles */
.mobile-nav-link {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 2rem;
    font-weight: 600;
    color: #1a2744;
    text-decoration: none;
    transition: color 0.3s ease;
}

.mobile-nav-link:hover {
    color: #d4a843;
}

/* Back to top button */
#back-to-top.visible {
    opacity: 1;
    pointer-events: all;
    transform: translateY(0);
}

#back-to-top:not(.visible) {
    transform: translateY(10px);
}
