/* Custom styles for Cliffs Cottage */

/* Base transitions */
a, button, img, .group img {
    transition: all 0.3s ease;
}

/* Scroll reveal base - progressive enhancement, hidden by default via JS */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
    }
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
    .reveal.delay-1 { transition-delay: 0.1s; }
    .reveal.delay-2 { transition-delay: 0.2s; }
    .reveal.delay-3 { transition-delay: 0.3s; }
}

/* Reduced motion - content always visible */
@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
    }
}

/* Smooth focus styles */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
    outline: 2px solid #FF6B4A;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Navbar scroll state */
nav.scrolled {
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.06);
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #F7F7F8;
}
::-webkit-scrollbar-thumb {
    background: #D6D6DD;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #B4B4C0;
}

/* Selection color */
::selection {
    background: #FFD4C8;
    color: #1C1C21;
}

/* Input autofill styling */
input:-webkit-autofill,
textarea:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 30px #F7F7F8 inset !important;
    -webkit-text-fill-color: #1C1C21 !important;
}
</style>
