/* ============================================
   Queen Rose — Custom Styles
   ============================================ */

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Base typography */
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Selection color */
::selection {
    background-color: rgba(139, 61, 86, 0.15);
    color: #4c2530;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: #faf5f7;
}
::-webkit-scrollbar-thumb {
    background: #d9a3b5;
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
    background: #a85572;
}

/* Reveal animations — progressive enhancement */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
        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);
    }
}

/* Without reduced motion preference, always show content */
@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
    }
}

/* Navbar scroll state */
.navbar-scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(139, 61, 86, 0.08);
}

/* Mobile menu transitions */
.mobile-menu-open {
    opacity: 1 !important;
    pointer-events: all !important;
}

/* Hero gradient animation */
@keyframes gradient-shift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

/* Form focus states */
input:focus,
textarea:focus,
select:focus {
    border-color: #a85572 !important;
}

/* Link underline animation */
a.underline-hover {
    background-image: linear-gradient(currentColor, currentColor);
    background-position: 0% 100%;
    background-repeat: no-repeat;
    background-size: 0% 1.5px;
    transition: background-size 0.3s ease;
}
a.underline-hover:hover {
    background-size: 100% 1.5px;
}

/* Subtle card hover lift */
.reveal.group {
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.reveal.group:hover {
    transform: translateY(-4px);
}

/* Mobile menu button animation */
.menu-line {
    transition: transform 0.3s ease, opacity 0.3s ease;
}
.menu-btn.active .menu-line:first-child {
    transform: translateY(5px) rotate(45deg);
}
.menu-btn.active .menu-line:last-child {
    transform: translateY(-5px) rotate(-45deg);
}
