/* Custom Styles for The Pink Cafe */

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

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

::-webkit-scrollbar-track {
    background: #1c1917;
}

::-webkit-scrollbar-thumb {
    background: #ec4899;
    border-radius: 5px;
}

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

/* Navigation Transition */
.navbar-scrolled {
    background: rgba(28, 25, 23, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.navbar-scrolled .nav-logo-text {
    color: white !important;
}

.navbar-scrolled .nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
}

/* Mobile Menu Animation */
#mobile-menu {
    transform: translateY(-100%);
    transition: transform 0.3s ease-in-out;
}

#mobile-menu.active {
    transform: translateY(0);
}

/* Scroll Indicator Animation */
@keyframes scrollBounce {
    0%, 100% {
        transform: translateY(0);
        opacity: 0.6;
    }
    50% {
        transform: translateY(10px);
        opacity: 1;
    }
}

.scroll-indicator {
    animation: scrollBounce 2s ease-in-out infinite;
}

/* Reveal Animation */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal.hidden {
    opacity: 0;
    transform: translateY(30px);
}

/* Hover Effects */
.group:hover .group-hover\:scale-105 {
    transform: scale(1.05);
}

/* Button Focus States */
button:focus,
a:focus {
    outline: 2px solid #ec4899;
    outline-offset: 2px;
}

/* Input Focus States */
input:focus,
textarea:focus {
    box-shadow: 0 0 0 3px rgba(236, 72, 153, 0.2);
}

/* Image Hover Effects */
.overflow-hidden {
    overflow: hidden;
}

/* Responsive Typography */
@media (max-width: 640px) {
    .font-serif {
        font-size: 2.5rem;
        line-height: 1.1;
    }
}

@media (min-width: 641px) and (max-width: 768px) {
    .font-serif {
        font-size: 3.5rem;
        line-height: 1.1;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .font-serif {
        font-size: 4.5rem;
        line-height: 1.1;
    }
}

@media (min-width: 1025px) {
    .font-serif {
        font-size: 5.5rem;
        line-height: 1.1;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* Print Styles */
@media print {
    .reveal {
        opacity: 1 !important;
        transform: none !important;
    }
    
    nav,
    footer {
        display: none;
    }
}
