/* Base styles & custom properties */
:root {
    --brand-sand: #E8DCC4;
    --brand-terracotta: #C05640;
    --brand-navy: #1A2B3C;
}

html {
    scroll-behavior: smooth;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #F7F5F0;
}
::-webkit-scrollbar-thumb {
    background: #C05640;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #A04030;
}

/* Gallery scroll animation */
@keyframes scroll-left {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@keyframes scroll-left2 {
    0% { transform: translateX(-50%); }
    100% { transform: translateX(0); }
}

.animate-scroll {
    animation: scroll-left 20s linear infinite;
}

.animate-scroll2 {
    animation: scroll-left2 20s linear infinite;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .animate-scroll,
    .animate-scroll2 {
        animation: none;
    }
    html {
        scroll-behavior: auto;
    }
}

/* Scroll reveal base - content is visible by default */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* Only apply hidden state when JS is enabled and motion preferred */
@media (prefers-reduced-motion: no-preference) {
    .reveal[data-reveal] {
        opacity: 0;
        transform: translateY(24px);
    }
    .reveal.revealed[data-reveal] {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Navbar scroll state */
.navbar-scrolled {
    box-shadow: 0 1px 8px rgba(0,0,0,0.08);
}

/* Selection color */
::selection {
    background: #C05640;
    color: white;
}
