/* Custom styles for City Cottage Door County */

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #1C1917;
}
::-webkit-scrollbar-thumb {
    background: #44403C;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #C89F5F;
}

/* Selection color */
::selection {
    background: rgba(200, 159, 95, 0.3);
    color: #F5F0E8;
}

/* Reveal animations - progressive enhancement, only when JS runs */
.reveal {
    opacity: 1;
    transform: none;
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* Initial state for revealed elements - hidden by default, shown by JS */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
    }
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Navbar active state */
#navbar.scrolled {
    background: rgba(28, 25, 23, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(200, 159, 95, 0.1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* Gold shimmer accent line */
.gold-divider {
    position: relative;
}
.gold-divider::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, #C89F5F, #D4B07A, #C89F5F);
}

/* Image hover effect */
img {
    transition: transform 0.6s ease, filter 0.3s ease;
}

/* Form focus states */
input:focus, textarea:focus {
    box-shadow: 0 0 0 1px rgba(200, 159, 95, 0.3);
}

/* Mobile menu animation */
#mobile-menu.open {
    opacity: 1;
    pointer-events: all;
}

/* Subtle gold gradient text */
.gold-gradient {
    background: linear-gradient(135deg, #C89F5F 0%, #E8D5BC 50%, #C89F5F 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Card hover lift */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.hover-lift:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Button ripple effect */
button, .btn {
    position: relative;
    overflow: hidden;
}

/* Loading state for form */
button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}
