/* Custom styles for Piazza MilaBella */

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

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

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

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

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

/* Mobile menu animation */
#mobile-menu {
    animation: slideIn 0.3s ease-out;
}

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

/* Scroll reveal animations */
.reveal-up {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.reveal-left {
    opacity: 1;
    transform: translateX(0);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.reveal-right {
    opacity: 1;
    transform: translateX(0);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

/* Mobile link styles */
.mobile-link {
    font-family: 'Cormorant Garamond', Georgia, serif;
}

/* Hover effects for cards */
.bg-charcoal-900 {
    transition: all 0.3s ease;
}

.bg-charcoal-900:hover {
    transform: translateY(-4px);
}

/* Button focus states */
button:focus,
a:focus {
    outline: 2px solid #E86A54;
    outline-offset: 2px;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    .reveal-up,
    .reveal-left,
    .reveal-right {
        opacity: 1;
        transform: none;
        transition: none;
    }
    
    img,
    .hover\\:scale-105:hover,
    .hover\\:scale-110:hover {
        transition: none;
        transform: none;
    }
}
