/* Custom Styles for Sunnyside Cafe */

/* Base Styles */
html {
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
}

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #8a4858;
}

/* Button Styles */
.btn-primary {
    @apply bg-amber-500 text-plum-950 px-8 py-3 rounded-lg font-medium transition-all duration-300 hover:bg-amber-400 hover:shadow-lg hover:shadow-amber-500/25 hover:-translate-y-0.5;
}

.btn-secondary {
    @apply bg-transparent border-2 border-amber-400 text-amber-400 px-8 py-3 rounded-lg font-medium transition-all duration-300 hover:bg-amber-400 hover:text-plum-950;
}

/* Navigation */
.nav-logo-text {
    transition: color 0.3s ease;
}

.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #f59e0b;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Navbar Scroll Effect */
.navbar-scrolled {
    background: rgba(249, 245, 247, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(79, 42, 52, 0.1);
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
}

.navbar-scrolled .nav-logo-text {
    color: #4f2a34;
}

.navbar-scrolled .nav-link {
    color: #723a48;
}

/* Mobile Menu */
.mobile-menu-link {
    position: relative;
}

/* Menu Cards */
.menu-card {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.menu-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(79, 42, 52, 0.2);
}

/* Gallery */
.gallery-item {
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item:hover {
    transform: scale(1.02);
    box-shadow: 0 20px 40px rgba(79, 42, 52, 0.15);
}

/* Form Styles */
input:focus,
select:focus,
textarea:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.2);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.8s ease forwards;
}

.animate-fade-in {
    animation: fadeIn 0.8s ease forwards;
}

/* Stagger Animation Delays */
.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }
.delay-400 { animation-delay: 0.4s; }
.delay-500 { animation-delay: 0.5s; }

/* Responsive Adjustments */
@media (max-width: 768px) {
    .btn-primary,
    .btn-secondary {
        width: 100%;
    }
    
    .menu-card {
        padding: 1.5rem;
    }
}

/* Print Styles */
@media print {
    .fixed,
    .animate-bounce {
        display: none;
    }
}

/* Accessibility */
@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;
    }
}

/* Focus Visible */
*:focus-visible {
    outline: 2px solid #f59e0b;
    outline-offset: 2px;
}
