/* ========== BASE & UTILITIES ========== */
html {
    scroll-behavior: smooth;
}

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

/* ========== SCROLL REVEAL ========== */
.scroll-reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

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

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    .scroll-reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
    html {
        scroll-behavior: auto;
    }
}

/* ========== NAVBAR ========== */
.nav-scrolled {
    background: rgba(254, 252, 248, 0.95) !important;
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.08);
}

.nav-scrolled .nav-link {
    color: #44403c;
}

.nav-scrolled .nav-link:hover {
    color: #C1694F;
}

.nav-scrolled .logo-text {
    color: #A65040;
}

/* ========== MOBILE MENU ========== */
#mobileMenu {
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========== BUTTON HOVER EFFECTS ========== */
a {
    transition: color 0.2s ease;
}

/* ========== CUSTOM SELECTION ========== */
::selection {
    background: #f8c4b2;
    color: #6e342c;
}

/* ========== FORM FOCUS STYLES ========== */
input:focus,
select:focus,
textarea:focus {
    outline: none;
}

/* ========== GALLERY HOVER ========== */
.group:hover .group-hover\:scale-110 {
    transform: scale(1.1);
}

/* ========== MISC ========== */
@media (max-width: 768px) {
    .font-display {
        line-height: 1.2;
    }
}
