/* Custom Styles for Logan's Diner */

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

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

::-webkit-scrollbar-track {
    background: #4d242c;
}

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

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

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Pulse Animation */
@keyframes pulse-subtle {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

.animate-pulse-subtle {
    animation: pulse-subtle 2s ease-in-out infinite;
}

/* Gradient Overlay */
.gradient-overlay {
    background: linear-gradient(
        135deg,
        rgba(77, 36, 44, 0.9) 0%,
        rgba(42, 16, 22, 0.8) 50%,
        rgba(77, 36, 44, 0.9) 100%
    );
}

/* Hover Card Effect */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

/* Image Zoom Effect */
.img-zoom {
    overflow: hidden;
}

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

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

/* Text Selection */
::selection {
    background: #fbbf24;
    color: #2a1016;
}

/* Focus Styles */
button:focus,
input:focus,
textarea:focus,
a:focus {
    outline: 2px solid #fbbf24;
    outline-offset: 2px;
}

/* Loading State */
.loading {
    position: relative;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid #fbbf24;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
}

/* Print Styles */
@media print {
    header,
    footer,
    .no-print {
        display: none;
    }
    
    body {
        color: #000;
        background: #fff;
    }
}
