/* Custom styles for Cafe Arcuense */

/* Font imports handled in HTML */

/* Base */
body {
    font-family: 'Lato', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 {
    font-family: 'Cormorant Garamond', serif;
}

/* Smooth focus for accessibility */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
    outline: 2px solid #d4a853;
    outline-offset: 2px;
}

/* Custom selection color */
::selection {
    background: #831443;
    color: #fff;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #faf8f5;
}
::-webkit-scrollbar-thumb {
    background: #831443;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #500724;
}

/* Divider */
.divider {
    display: flex;
    align-items: center;
    gap: 12px;
}
.divider::before,
.divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #d4a853;
}

/* 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.visible {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Image zoom */
.img-zoom {
    overflow: hidden;
}
.img-zoom img {
    transition: transform 0.6s ease;
}
.img-zoom:hover img {
    transform: scale(1.05);
}

/* Mobile menu */
#mobile-menu {
    transform: translateX(100%);
    transition: transform 0.3s ease;
}
#mobile-menu.open {
    transform: translateX(0);
}

/* Header scroll state */
#header.scrolled {
    box-shadow: 0 1px 20px rgba(131, 20, 67, 0.08);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .divider::before,
    .divider::after {
        flex: 0;
        width: 24px;
    }
}
