/* ============================================
   Braided Glory — Custom Styles
   Classic & Elegant · Burgundy + Blush
   ============================================ */

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

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

::selection {
    background-color: #580F1B;
    color: #FDF2F0;
}

/* ---------- Scroll Reveal ---------- */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), 
                transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

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

/* ---------- Hero Animations ---------- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation-name: fadeInUp;
    animation-duration: 0.8s;
    animation-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    animation-fill-mode: forwards;
}

/* ---------- Navbar ---------- */
#navbar.scrolled {
    background: rgba(250, 247, 245, 0.97);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(88, 15, 27, 0.08);
}

#navbar.scrolled .menu-line {
    background-color: #580F1B;
}

#navbar.scrolled a:not(.bg-glory-burgundy) {
    color: #2D2D2D;
}

/* ---------- Mobile Menu ---------- */
.mobile-link {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
}

/* ---------- Form Styles ---------- */
input:focus,
select:focus,
textarea:focus {
    box-shadow: 0 0 0 3px rgba(88, 15, 27, 0.08);
}

select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236B6B6B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

/* ---------- Image Hover Effects ---------- */
.group:hover .group-hover\\:scale-105 {
    transform: scale(1.05);
}

/* ---------- Decorative Divider ---------- */
.divider-gold {
    width: 64px;
    height: 1px;
    background: linear-gradient(90deg, transparent, #C5A065, transparent);
}

/* ---------- Button Focus States ---------- */
button:focus-visible,
a:focus-visible {
    outline: 2px solid #580F1B;
    outline-offset: 2px;
}

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #580F1B;
}
