/* ============================================
   MORRY'S BAR — Custom Styles
   ============================================ */

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

/* ---------- Custom Scrollbar ---------- */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #FDF8F0;
}
::-webkit-scrollbar-thumb {
    background: #C1694F;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #b33014;
}

/* ---------- Selection ---------- */
::selection {
    background: #C1694F;
    color: #fff;
}

/* ---------- Clip Diagonal ---------- */
.clip-diagonal {
    clip-path: polygon(30% 0, 100% 0, 100% 100%, 0% 100%);
}

/* ---------- Navbar ---------- */
#navbar {
    background: transparent;
    transition: background 0.4s ease, box-shadow 0.4s ease;
}

#navbar.scrolled {
    background: rgba(253, 248, 240, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 20px rgba(61, 43, 31, 0.08);
}

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

.nav-link {
    position: relative;
    color: rgba(61, 43, 31, 0.7);
    transition: color 0.3s ease;
}

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

.nav-link:hover {
    color: #C1694F;
}

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

/* ---------- Hero Animations ---------- */
.hero-badge {
    animation: fadeInDown 0.8s ease forwards;
    opacity: 0;
}

.hero-badge {
    animation-delay: 0.2s;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ---------- Reveal on Scroll ---------- */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ---------- Mobile Menu ---------- */
#mobile-menu {
    backdrop-filter: blur(12px);
    background: rgba(253, 248, 240, 0.98);
}

.mobile-link {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease, color 0.3s ease;
}

.mobile-link:hover {
    color: #C1694F;
}

/* ---------- Menu Card Hover ---------- */
.bg-white\/5:hover {
    border-color: rgba(255, 255, 255, 0.2);
}

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

/* ---------- Button Ripple ---------- */
a[href="tel:19208859750"],
a[href="#menu"],
a[href="#visit"] {
    position: relative;
    overflow: hidden;
}

/* ---------- Image Loading ---------- */
img {
    image-rendering: auto;
}

/* ---------- 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;
    }
    
    .reveal {
        opacity: 1;
        transform: none;
    }
}

/* ---------- Tablet ---------- */
@media (max-width: 768px) {
    .clip-diagonal {
        clip-path: none;
    }
    
    #hero h1 {
        font-size: 2.75rem;
    }
}

/* ---------- Small Mobile ---------- */
@media (max-width: 360px) {
    #hero h1 {
        font-size: 2.25rem;
    }
    
    .max-w-7xl {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}
