/* Custom Styles for Montana's Shoe Repair */

:root {
    --burgundy: #722f37;
    --burgundy-dark: #5a2530;
    --blush: #e8c4c4;
    --gold: #c9a962;
    --gold-light: #dfc08a;
    --dark: #0d0a0a;
    --dark-card: #1a0a0a;
}

/* Base */
* {
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
}

/* Gold Gradient Button */
.gold-button {
    background: linear-gradient(135deg, #c9a962 0%, #dfc08a 50%, #c9a962 100%);
    position: relative;
    overflow: hidden;
}

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

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

/* Gold Border Gradient */
.gold-border-gradient {
    background: linear-gradient(135deg, #c9a962, #dfc08a, #c9a962);
}

.gold-border-gradient::before {
    content: '';
    position: absolute;
    inset: 2px;
    background: var(--dark);
    border-radius: 50%;
    z-index: 0;
}

.gold-border-gradient > * {
    position: relative;
    z-index: 1;
}

/* Gold Shadow */
.shadow-gold {
    box-shadow: 0 0 30px rgba(201, 169, 98, 0.3);
}

/* Navigation */
.nav-link {
    position: relative;
}

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

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

/* Navbar Background */
.nav-scrolled {
    background: rgba(13, 10, 10, 0.95) !important;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(201, 169, 98, 0.1);
}

/* Mobile Menu */
.mobile-link {
    border-left: 2px solid transparent;
}

.mobile-link:hover,
.mobile-link.active {
    border-left-color: var(--gold);
    color: var(--gold) !important;
    background: rgba(26, 10, 10, 0.8) !important;
}

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

@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

/* Scroll Reveal */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

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

::-webkit-scrollbar-track {
    background: var(--dark);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--burgundy), var(--gold));
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gold);
}

/* Selection */
::selection {
    background: var(--burgundy);
    color: var(--blush);
}

/* Text Gradient */
.text-gradient-gold {
    background: linear-gradient(135deg, #c9a962, #e8c4c4, #c9a962);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Service Card Glow */
.group:hover .group-hover\:border-gold {
    border-color: rgba(201, 169, 98, 0.4) !important;
    box-shadow: 0 0 40px rgba(201, 169, 98, 0.1);
}

/* Form Focus Effects */
input:focus,
textarea:focus,
select:focus {
    box-shadow: 0 0 0 1px rgba(201, 169, 98, 0.3);
}

/* Back to Top */
#back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

/* Decorative Line Animation */
@keyframes expandLine {
    from { width: 0; opacity: 0; }
    to { width: 6rem; opacity: 1; }
}

/* Parallax helper */
.parallax-bg {
    background-attachment: fixed;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .parallax-bg {
        background-attachment: scroll;
    }
}
