/* Custom CSS for Mojsa Restaurant */

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

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

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

::-webkit-scrollbar-thumb {
    background: #7C0A02;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #5a0701;
}

/* Loading animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInFromRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes bounce {
    0%, 20%, 53%, 80%, 100% {
        transform: translate3d(0,0,0);
    }
    40%, 43% {
        transform: translate3d(0, -15px, 0);
    }
    70% {
        transform: translate3d(0, -7px, 0);
    }
    90% {
        transform: translate3d(0, -2px, 0);
    }
}

/* Animation classes */
.fade-in {
    animation: fadeIn 0.6s ease-out;
}

.slide-in-left {
    animation: slideInFromLeft 0.6s ease-out;
}

.slide-in-right {
    animation: slideInFromRight 0.6s ease-out;
}

/* Hero section parallax effect */
.parallax {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* Custom button styles */
.btn-primary {
    background: linear-gradient(135deg, #7C0A02 0%, #a50d03 100%);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(124, 10, 2, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #a50d03 0%, #7C0A02 100%);
    box-shadow: 0 6px 20px rgba(124, 10, 2, 0.4);
    transform: translateY(-2px);
}

.btn-secondary {
    background: linear-gradient(135deg, #FFD700 0%, #ffed4a 100%);
    color: #7C0A02;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #ffed4a 0%, #FFD700 100%);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
    transform: translateY(-2px);
}

/* Card hover effects */
.card-hover {
    transition: all 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Navigation animations */
.nav-link {
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 50%;
    background-color: #FFD700;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

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

/* Form styles */
.form-input {
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.form-input:focus {
    border-color: #7C0A02;
    box-shadow: 0 0 0 3px rgba(124, 10, 2, 0.1);
    outline: none;
}

.form-input.error {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.form-input.success {
    border-color: #7C0A02;
    box-shadow: 0 0 0 3px rgba(124, 10, 2, 0.1);
}

/* Loading spinner */
.spinner {
    border: 3px solid #f3f3f3;
    border-top: 3px solid #7C0A02;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Cookie banner animation */
.cookie-banner {
    transition: transform 0.3s ease;
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-banner.hide {
    transform: translateY(100%);
}

/* FAQ accordion */
.faq-question.active .fa-chevron-down {
    transform: rotate(180deg);
}

/* Image zoom effect */
.image-zoom {
    overflow: hidden;
}

.image-zoom img {
    transition: transform 0.3s ease;
}

.image-zoom:hover img {
    transform: scale(1.05);
}

/* Text gradient */
.text-gradient {
    background: linear-gradient(135deg, #7C0A02 0%, #FFD700 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Pulse animation for buttons */
.pulse-gold {
    animation: pulse-gold 2s infinite;
}

@keyframes pulse-gold {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 215, 0, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(255, 215, 0, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 215, 0, 0);
    }
}

/* Menu filter animations */
.menu-filter.active {
    background: linear-gradient(135deg, #7C0A02 0%, #a50d03 100%);
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(124, 10, 2, 0.3);
}

.menu-item {
    transition: all 0.3s ease;
}

.menu-item.hidden {
    opacity: 0;
    transform: scale(0.8);
    pointer-events: none;
}

/* Casino theme elements */
.casino-glow {
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

.casino-border {
    border: 2px solid;
    border-image: linear-gradient(45deg, #FFD700, #7C0A02, #FFD700) 1;
}

/* Restaurant rating stars */
.star-rating {
    color: #FFD700;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* Testimonial styles */
.testimonial-quote::before {
    content: '"';
    font-size: 4rem;
    color: #FFD700;
    font-family: serif;
    position: absolute;
    top: -10px;
    left: -10px;
}

/* Premium card styles */
.premium-card {
    background: linear-gradient(135deg, #FFF8E7 0%, #f7f3e9 100%);
    border: 1px solid rgba(124, 10, 2, 0.1);
}

.premium-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #7C0A02, #FFD700, #7C0A02);
}

/* Blog post styling */
.blog-post-content h2 {
    color: #7C0A02;
    border-bottom: 2px solid #FFD700;
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
}

.blog-post-content h3 {
    color: #7C0A02;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.blog-post-content blockquote {
    border-left: 4px solid #FFD700;
    background: #FFF8E7;
    padding: 1rem;
    margin: 1.5rem 0;
    font-style: italic;
}

/* Mobile menu animation */
.mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.mobile-menu.open {
    max-height: 500px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .parallax {
        background-attachment: scroll;
    }
    
    .hero-text {
        font-size: 2.5rem;
    }
    
    .card-hover:hover {
        transform: none;
    }
}

/* Print styles */
@media print {
    .no-print {
        display: none !important;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .bg-burgundy {
        background: white !important;
        color: black !important;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .text-gray-600 {
        color: #000000;
    }
    
    .bg-cream {
        background: #ffffff;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus styles for accessibility */
button:focus,
input:focus,
textarea:focus,
select:focus,
a:focus {
    outline: 2px solid #7C0A02;
    outline-offset: 2px;
}

/* Skip link for accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: #7C0A02;
    color: #FFF8E7;
    padding: 8px;
    text-decoration: none;
    z-index: 1000;
}

.skip-link:focus {
    top: 6px;
}
