/* Custom Styles for ADVENT Woodmere */

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

/* Custom Selection Color */
::selection {
    background-color: #e0b19e; /* terracotta-300 */
    color: #68342a; /* terracotta-900 */
}

/* Typography Adjustments */
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

/* Form Focus States */
input:focus,
textarea:focus {
    outline: none;
    border-bottom-color: #bc5c40; /* terracotta-600 */
}

/* Subtle Hover Transitions */
a {
    transition: color 0.2s ease-in-out;
}

/* 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);
    }
}

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

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

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