/* Custom styles for Shelby Boardman Paper Hanging & Painting */

/* Base reset & smooth scrolling handled by Tailwind */

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #0a1628;
}
::-webkit-scrollbar-thumb {
    background: #1b4478;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #215590;
}

/* Selection color */
::selection {
    background: rgba(212, 160, 23, 0.3);
    color: #f0cc6b;
}

/* Reveal animations - progressive enhancement */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    }
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
    .reveal-delay-1 { transition-delay: 0.1s; }
    .reveal-delay-2 { transition-delay: 0.2s; }
    .reveal-delay-3 { transition-delay: 0.3s; }
    .reveal-delay-4 { transition-delay: 0.4s; }
}

/* Fallback: ensure content is visible without JS */
@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
    }
}

/* Navbar glass effect when scrolled */
.navbar-scrolled {
    background: rgba(10, 22, 40, 0.95) !important;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* Gold gradient text utility */
.text-gold-gradient {
    background: linear-gradient(135deg, #e6b844, #d4a017, #b8860b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Subtle hover glow for cards */
.card-glow:hover {
    box-shadow: 0 0 40px rgba(212, 160, 23, 0.08);
}

/* Smooth image loading */
img {
    loading: lazy;
}

/* Mobile menu transitions */
#mobile-menu {
    animation: slideDown 0.3s ease-out;
}
#mobile-menu.hidden {
    animation: slideUp 0.2s ease-in;
}

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

/* Mobile link hover effect */
.mobile-link {
    position: relative;
    padding-left: 0;
}
.mobile-link::before {
    content: '';
    position: absolute;
    left: -12px;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 0;
    background: #d4a017;
    border-radius: 2px;
    transition: height 0.2s ease;
}
.mobile-link:hover::before {
    height: 60%;
}

/* Form focus states */
input:focus, select:focus, textarea:focus {
    outline: none;
}

/* Print styles */
@media print {
    header, .reveal, #contact-form, #form-success {
        display: block !important;
        opacity: 1 !important;
    }
    body {
        background: white !important;
        color: black !important;
    }
}
