/* Custom Styles for Key Lime Cove Village C */

/* Base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
    background-color: #FDFBF7;
    color: #3D2B1F;
    line-height: 1.6;
}

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

::-webkit-scrollbar-track {
    background: #F5F0E8;
}

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

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

/* Navigation */
#navbar {
    transition: all 0.3s ease;
}

#navbar.scrolled {
    background-color: rgba(253, 251, 247, 0.98);
    box-shadow: 0 2px 20px rgba(61, 43, 31, 0.08);
}

/* Typography */
.font-serif {
    font-family: 'Cormorant Garamond', Georgia, serif;
}

.font-sans {
    font-family: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
}

/* Smooth transitions */
a, button {
    transition: all 0.3s ease;
}

/* Image hover effects */
img {
    transition: transform 0.5s ease;
}

/* Button focus states */
button:focus,
input:focus,
textarea:focus {
    outline: none;
}

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

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

/* Scroll reveal animations (progressive enhancement) */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.8s ease, transform 0.8s ease;
    }
    
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

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