/* 
 * La Campagnola Custom Styles
 * Minimalist, clean, and responsive.
 */

:root {
    --font-serif: 'Cormorant Garamond', serif;
    --font-sans: 'Manrope', sans-serif;
    --color-teal: #14b8a6;
    --color-teal-dark: #134e4a;
    --color-slate: #0f172a;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    color: var(--color-slate);
    background-color: #fafaf9; /* stone-50 */
}

/* Typography Overrides */
h1, h2, h3, h4 {
    font-family: var(--font-serif);
    font-weight: 400;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Animation Utilities */
.reveal-up, .reveal-left, .reveal-right {
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal-up {
    transform: translateY(40px);
}

.reveal-left {
    transform: translateX(-40px);
}

.reveal-right {
    transform: translateX(40px);
}

/* Active Animation States */
.active.reveal-up {
    opacity: 1;
    transform: translateY(0);
}

.active.reveal-left {
    opacity: 1;
    transform: translateX(0);
}

.active.reveal-right {
    opacity: 1;
    transform: translateX(0);
}

/* Staggered delays for grid items */
.reveal-up:nth-child(2) { transition-delay: 100ms; }
.reveal-up:nth-child(3) { transition-delay: 200ms; }
.reveal-up:nth-child(4) { transition-delay: 300ms; }

/* Mobile Menu Transitions */
#mobile-menu {
    transition: opacity 0.3s ease-in-out;
}

#mobile-menu.open {
    opacity: 1;
    pointer-events: auto;
}

/* Focus States for Accessibility */
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible {
    outline: 2px solid var(--color-teal);
    outline-offset: 4px;
}

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