/* Custom Styles for Stardust Lounge */

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

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

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

::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, #a86286, #ffb347);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(to bottom, #914b6d, #f59e0b);
}

/* Navbar styles */
.navbar-scrolled {
    background: rgba(254, 252, 246, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 30px rgba(81, 44, 61, 0.1);
}

.navbar-scrolled .nav-text {
    color: #512c3d !important;
}

/* Intersection Observer animations */
.observe-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.observe-animate.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.observe-animate.delay-100 {
    transition-delay: 100ms;
}

.observe-animate.delay-200 {
    transition-delay: 200ms;
}

.observe-animate.delay-300 {
    transition-delay: 300ms;
}

.observe-animate.delay-400 {
    transition-delay: 400ms;
}

/* Mobile menu button animation */
#mobile-menu-btn.active #menu-line-1 {
    transform: rotate(45deg) translate(5px, 5px);
}

#mobile-menu-btn.active #menu-line-2 {
    opacity: 0;
}

#mobile-menu-btn.active #menu-line-3 {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Card hover effects */
.group:hover .group-hover\\:scale-110 {
    transform: scale(1.1);
}

/* Gradient text utility */
.text-gradient {
    background: linear-gradient(to right, #a86286, #ffb347);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Subtle shadow for cards */
.card-shadow {
    box-shadow: 0 10px 40px rgba(81, 44, 61, 0.1);
}

.card-shadow:hover {
    box-shadow: 0 20px 60px rgba(81, 44, 61, 0.15);
}

/* Input focus styles */
input:focus,
textarea:focus,
select:focus {
    border-color: #f59e0b !important;
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.2);
}

/* Button hover effects */
button:hover {
    transform: translateY(-2px);
}

button:active {
    transform: translateY(0);
}

/* Image lazy loading placeholder */
img {
    background: linear-gradient(90deg, #f3ebf1 25%, #e8d3e1 50%, #f3ebf1 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

img[src] {
    animation: none;
    background: none;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .font-serif {
        font-size: clamp(1.5rem, 4vw, 2.5rem);
    }
    
    .font-serif {
        font-size: clamp(2rem, 5vw, 3.5rem);
    }
}

/* Print styles */
@media print {
    nav,
    button,
    .animate-float,
    .animate-float-delayed,
    .animate-float-slow {
        display: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
}
