/* ============================================
   Darlene's Dadi Bar — Custom Styles
   ============================================ */

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

/* Custom selection color */
::selection {
    background-color: #d6a400;
    color: #260e12;
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .hover\\:scale-105:hover {
        transform: none;
    }
}

/* Scroll reveal base states */
.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.hidden-reveal {
    opacity: 0;
    transform: translateY(30px);
}

/* Image loading placeholder */
img {
    background-color: #f7f0f2;
}

/* Focus styles for accessibility */
a:focus-visible,
button:focus-visible {
    outline: 2px solid #d6a400;
    outline-offset: 2px;
    border-radius: 4px;
}

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #be8891;
}

/* Navbar transition */
.navbar-scrolled {
    background-color: rgba(247, 240, 242, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 0 rgba(147, 69, 81, 0.1);
}

/* Hero image gradient overlay */
.hero-gradient {
    background: linear-gradient(135deg, rgba(70, 31, 36, 0.15) 0%, transparent 60%);
}

/* Decorative serif accent */
.accent-line {
    position: relative;
}

.accent-line::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #d6a400, #e6a100);
    border-radius: 2px;
}

/* Gallery hover effect */
.gallery-item {
    position: relative;
    overflow: hidden;
}

.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(70, 31, 36, 0.2) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.gallery-item:hover::after {
    opacity: 1;
}

/* Card hover shimmer */
.specialty-card {
    position: relative;
    overflow: hidden;
}

.specialty-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(214, 164, 0, 0.05), transparent);
    transition: left 0.6s ease;
}

.specialty-card:hover::before {
    left: 100%;
}

/* Floating animation for hero card */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
}

.floating-card {
    animation: float 4s ease-in-out infinite;
}

/* Pulse animation for CTA */
@keyframes pulse-soft {
    0%, 100% { box-shadow: 0 0 0 0 rgba(214, 164, 0, 0.3); }
    50% { box-shadow: 0 0 0 12px rgba(214, 164, 0, 0); }
}

.cta-pulse:hover {
    animation: pulse-soft 1.5s ease-in-out infinite;
}

/* Mobile menu transition */
#mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

#mobile-menu.open {
    max-height: 400px;
}

/* Print styles */
@media print {
    nav, .no-print {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
}
