/* Custom styles for Gutters of Carolina */

/* Gold decorative line */
.gold-line-decor {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, #C9A84C, #D4B85E);
}

/* 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 is active and motion is preferred */
@media (prefers-reduced-motion: no-preference) {
    .scroll-reveal {
        opacity: 0;
        transform: translateY(30px);
    }
    .scroll-reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

/* Selection color */
::selection {
    background: #C9A84C;
    color: #0A1628;
}

/* Mobile menu transitions */
#mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, opacity 0.3s ease;
    opacity: 0;
}
#mobile-menu.open {
    max-height: 400px;
    opacity: 1;
}

/* Mobile menu link transitions */
.mobile-menu-link {
    position: relative;
}
.mobile-menu-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: #C9A84C;
    transition: width 0.3s ease;
}
.mobile-menu-link:hover::after {
    width: 100%;
}

/* Image loading placeholder */
img {
    background-color: #f5f5f5;
}

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

/* Subtle parallax on hero */
#hero {
    perspective: 1px;
}

/* Print styles */
@media print {
    nav, #contact-form, .scroll-reveal {
        display: none;
    }
    body {
        color: #000;
        background: #fff;
    }
}
