/* Custom styles for Tim's Furniture Repair */

/* Smooth scroll offset for fixed nav */
html {
    scroll-padding-top: 80px;
}

/* Scroll reveal base — content is visible by default */
.scroll-reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

/* Only apply hidden state when JS enables it */
.no-js .scroll-reveal {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: no-preference) {
    .scroll-reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Geometric accent shapes */
.geo-shape-1 {
    position: absolute;
    width: 120px;
    height: 120px;
    border: 2px solid rgba(232, 168, 56, 0.15);
    border-radius: 16px;
    transform: rotate(15deg);
    pointer-events: none;
}

.geo-shape-2 {
    position: absolute;
    width: 60px;
    height: 60px;
    background: rgba(232, 168, 56, 0.08);
    border-radius: 50%;
    pointer-events: none;
}

/* Gold gradient text utility */
.text-gold-gradient {
    background: linear-gradient(135deg, #E8A838 0%, #F0BE5C 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #0A1628;
}
::-webkit-scrollbar-thumb {
    background: #1A3356;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #E8A838;
}

/* Mobile menu animation */
#mobileMenu {
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Pulse animation for CTA buttons */
@keyframes pulse-gold {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(232, 168, 56, 0.4);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(232, 168, 56, 0);
    }
}

/* Focus styles for accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid #E8A838;
    outline-offset: 2px;
}
