/* Custom styles for Anne's Bed and Breakfast */

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

/* Base font settings */
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Hero animations - only for below-fold content */
.hero-anim {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.hero-image-anim {
    opacity: 1;
    transform: translateX(0);
    transition: opacity 0.8s ease 0.2s, transform 0.8s ease 0.2s;
}

/* Scroll reveal animations - below the fold only */
.reveal-up,
.reveal-left,
.reveal-right {
    opacity: 1;
    transform: translateY(0) translateX(0);
}

/* Prefers reduced motion - disable all animations */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    .hero-anim,
    .hero-image-anim,
    .reveal-up,
    .reveal-left,
    .reveal-right {
        opacity: 1;
        transform: none;
        transition: none;
    }
    
    img {
        transition: none;
    }
    
    .group:hover img {
        transform: none;
    }
}

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

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

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

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

/* Selection color */
::selection {
    background-color: #e0c0d6;
    color: #4a2038;
}

/* Focus styles */
a:focus-visible,
button:focus-visible {
    outline: 2px solid #964478;
    outline-offset: 2px;
    border-radius: 2px;
}

/* Print styles */
@media print {
    #site-header,
    #hero .absolute.bottom-8,
    footer {
        display: none;
    }
    
    body {
        color: #000;
        background: #fff;
    }
}
