/* ============================================
   Love Skaneateles — Custom Styles
   ============================================ */

/* --- Base & Typography --- */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', system-ui, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', Georgia, serif;
}

/* --- Navbar --- */
.nav-logo-text {
    transition: color 0.3s ease;
}

#navbar.scrolled {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 20px rgba(16, 42, 67, 0.08);
}

#navbar.scrolled .nav-logo-text {
    color: #102a43;
}

#navbar.scrolled a:not(.px-5):not(.bg-navy-900) {
    color: #334e68;
}

#navbar.scrolled a:not(.px-5):not(.bg-navy-900):hover {
    color: #c48a22;
}

/* --- Hero Content --- */
.hero-content {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

/* --- About Section --- */
.about-image {
    opacity: 1;
    transform: translateX(0);
    transition: opacity 0.8s ease 0.2s, transform 0.8s ease 0.2s;
}

.about-content {
    opacity: 1;
    transform: translateX(0);
    transition: opacity 0.8s ease 0.4s, transform 0.8s ease 0.4s;
}

/* --- Collection Section --- */
.collection-header {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.collection-card {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

/* --- Testimonial --- */
.testimonial-content {
    opacity: 1;
    transform: scale(1);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

/* --- Visit Section --- */
.visit-content {
    opacity: 1;
    transform: translateX(0);
    transition: opacity 0.8s ease 0.2s, transform 0.8s ease 0.2s;
}

.visit-map {
    opacity: 1;
    transform: translateX(0);
    transition: opacity 0.8s ease 0.4s, transform 0.8s ease 0.4s;
}

/* --- CTA Section --- */
.cta-content {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease 0.2s, transform 0.8s ease 0.2s;
}

.cta-form {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease 0.4s, transform 0.8s ease 0.4s;
}

/* --- Scroll Reveal (below-fold only, progressive enhancement) --- */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.7s ease, transform 0.7s ease;
    }

    .reveal-left {
        opacity: 0;
        transform: translateX(-30px);
        transition: opacity 0.7s ease, transform 0.7s ease;
    }

    .reveal-right {
        opacity: 0;
        transform: translateX(30px);
        transition: opacity 0.7s ease, transform 0.7s ease;
    }

    .reveal-scale {
        opacity: 0;
        transform: scale(0.95);
        transition: opacity 0.7s ease, transform 0.7s ease;
    }

    .reveal.visible,
    .reveal-left.visible,
    .reveal-right.visible,
    .reveal-scale.visible {
        opacity: 1;
        transform: translateY(0) translateX(0) scale(1);
    }
}

/* --- Button Micro-interactions --- */
a, button {
    -webkit-tap-highlight-color: transparent;
}

/* --- Selection --- */
::selection {
    background: rgba(212, 160, 50, 0.2);
    color: #102a43;
}

/* --- Scrollbar --- */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f0f4f8;
}

::-webkit-scrollbar-thumb {
    background: #bcccdc;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #9fb3cc;
}

/* --- Focus Styles --- */
:focus-visible {
    outline: 2px solid #d4a032;
    outline-offset: 2px;
}

/* --- Mobile Menu Transitions --- */
#mobile-menu.open {
    opacity: 1;
    pointer-events: all;
}

#mobile-menu.closed {
    opacity: 0;
    pointer-events: none;
}

/* --- Form Focus States --- */
input:focus,
textarea:focus {
    box-shadow: 0 0 0 3px rgba(212, 160, 50, 0.15);
}

/* --- Smooth Image Loading --- */
img {
    opacity: 1;
    transition: opacity 0.3s ease;
}

/* --- Print Styles --- */
@media print {
    #navbar,
    #mobile-menu,
    .collection-card,
    .reveal,
    .reveal-left,
    .reveal-right,
    .reveal-scale {
        display: block;
        opacity: 1 !important;
        transform: none !important;
    }

    body {
        background: white;
        color: black;
    }
}
