@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,700;1,400&display=swap');

body { font-family: 'Inter', sans-serif; }
h1, h2, h3 { font-family: 'Playfair Display', serif; }

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

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

.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }
.delay-300 { transition-delay: 300ms; }
.delay-400 { transition-delay: 400ms; }
.delay-500 { transition-delay: 500ms; }

/* Before/After Slider Styles (Gallery Page) */
.ba-slider {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
    border-radius: 1.5rem;
}

.ba-before {
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    overflow: hidden;
    z-index: 2;
}

.ba-after {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.ba-slider img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ba-handle {
    position: absolute;
    top: 0;
    left: 50%;
    width: 4px;
    height: 100%;
    background: white;
    z-index: 3;
    cursor: ew-resize;
    transform: translateX(-50%);
}

.ba-handle::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 0 15px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='15 18 9 12 15 6'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
}

/* Navigation Transitions */
#main-nav.is-transparent {
    background-color: transparent;
    border-color: transparent;
    backdrop-filter: none;
}

#main-nav.is-transparent #nav-logo {
    color: white;
}

#main-nav.is-transparent #nav-logo span {
    color: white;
    opacity: 0.7;
}

#main-nav.is-transparent #nav-links a:not(#nav-cta) {
    color: white;
    opacity: 0.9;
}

#main-nav.is-transparent #nav-links a:not(#nav-cta):hover {
    opacity: 1;
}

#main-nav.is-transparent #nav-cta {
    background-color: white;
    color: #1c1917; /* stone-900 */
}

#main-nav.is-transparent #nav-cta:hover {
    background-color: #e7e5e4; /* stone-200 */
}

#main-nav.is-transparent #mobile-menu-btn {
    color: white;
}

/* Gallery Filter Buttons */
.gallery-filter.active {
    background-color: #e7e5e4; /* stone-200 */
    color: #1c1917; /* stone-900 */
    border-color: #a8a29e; /* stone-400 */
}

.gallery-item.hidden-filter {
    display: none;
}
