/* Custom styles for BOLIS Cremosos Adriana */

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #3a0f14;
}
::-webkit-scrollbar-thumb {
    background: #781F2A;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #a0203d;
}

/* Selection color */
::selection {
    background: #d94f72;
    color: #fff;
}

/* Reveal animations - progressive enhancement only */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
    }
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Navbar scroll state */
nav.scrolled {
    background: rgba(58, 15, 20, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* Mobile menu animation */
#mobileMenu {
    animation: slideDown 0.3s ease forwards;
}

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

/* Menu item hover effects */
#menu ul li {
    transition: background-color 0.2s ease;
}

#menu ul li:hover {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    margin: 0 -8px;
    padding-left: 8px;
    padding-right: 8px;
}

/* Button focus styles */
a:focus-visible, button:focus-visible {
    outline: 2px solid #F4C2C2;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Image loading placeholder */
img {
    background: linear-gradient(135deg, #3a0f14 0%, #781F2A 100%);
}

/* Gallery hover */
.gallery-item:hover img {
    transform: scale(1.05);
}

/* Active nav link */
nav a.active {
    color: #F4C2C2;
}

/* Pulse animation for badge */
@keyframes softPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

.animate-pulse {
    animation: softPulse 2s ease-in-out infinite;
}

/* Subtle float animation for decorative elements */
@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(2deg); }
}

/* Geometric shape animations */
@keyframes rotate-slow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.rotate-slow {
    animation: rotate-slow 20s linear infinite;
}

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