/* 
 * Steve Taylor Excavation - Custom Styles
 * Premium Dark Luxury Theme
 */

:root {
    --color-dark: #0f1014;
    --color-charcoal: #1c1c1e;
    --color-coral: #FF6B6B;
    --color-gold: #D4AF37;
}

/* Base Reset & Typography */
html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--color-dark);
    color: #f5f5f7;
    font-family: 'Montserrat', sans-serif;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Oswald', sans-serif;
}

/* Scroll Reveal Animation */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.reveal-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Navigation */
.nav-scrolled {
    background-color: rgba(15, 16, 20, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
}

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

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

::-webkit-scrollbar-thumb {
    background: var(--color-charcoal);
    border: 1px solid #333;
}

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

/* Form Styles */
input:focus,
select:focus,
textarea:focus {
    background-color: #252527;
}

/* Button Hover Effects */
button:hover,
a:hover {
    transition: all 0.3s ease;
}

/* Mobile Menu Transitions */
#mobile-menu {
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

#mobile-menu.open {
    opacity: 1;
    pointer-events: auto;
}

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

/* Image Hover Zoom */
img {
    max-width: 100%;
    height: auto;
}

/* Section Spacing */
section {
    position: relative;
}

/* Gold Accent Line */
h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--color-coral);
    margin-top: 16px;
}

/* Reduce Motion */
@media (prefers-reduced-motion: reduce) {
    .reveal-on-scroll {
        opacity: 1;
        transform: none;
        transition: none;
    }
    
    html {
        scroll-behavior: auto;
    }
}
