/* Custom styles for Chautauqua Lake Cottages */

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

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

::-webkit-scrollbar-track {
    background: #0f1c15;
}

::-webkit-scrollbar-thumb {
    background: #2d5a42;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #367354;
}

/* Navbar scroll effect */
.navbar-scrolled {
    background: rgba(15, 28, 21, 0.95) !important;
    backdrop-filter: blur(10px);
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
    box-shadow: 0 1px 0 rgba(201, 168, 76, 0.1);
}

/* Cottage card hover effects */
.cottage-card {
    position: relative;
}

.cottage-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(to right, transparent, #c9a84c, transparent);
    transform: scaleX(0);
    transition: transform 0.5s ease;
}

.cottage-card:hover::after {
    transform: scaleX(1);
}

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

/* Subtle glow effect for gold elements */
.glow-gold {
    box-shadow: 0 0 20px rgba(201, 168, 76, 0.3);
}

/* Input focus animation */
input:focus,
textarea:focus {
    box-shadow: 0 0 0 1px rgba(201, 168, 76, 0.3);
}

/* Mobile menu animation */
#mobile-menu {
    animation: slideDown 0.3s ease-out;
}

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

/* Success message animation */
#form-success {
    animation: fadeIn 0.5s ease-out;
}

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

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .font-serif {
        font-size: clamp(2rem, 8vw, 3rem);
    }
    
    section {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}
