:root {
    /* Brand Colors */
    --primary-color: #F0A851;
    /* Orange - Prices/Buttons */
    --accent-color: #04D7DB;
    /* Cyan - Highlights */
    --background-dark: #000000;
    /* Black Background */
    --card-bg: #121212;
    /* Slightly lighter black for cards */
    --text-light: #FFFFFF;
    --text-dim: #CCCCCC;

    --font-main: 'Outfit', sans-serif;

    --transition-speed: 0.3s;
    --border-radius: 16px;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
    /* Enable smooth scrolling */
}

body {
    font-family: var(--font-main);
    background-color: var(--background-dark);
    color: var(--text-light);
    line-height: 1.5;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-speed);
}

ul {
    list-style: none;
}

.container {
    max-width: 800px;
    /* Narrower for menu focus */
    margin: 0 auto;
    padding: 0 15px;
}

/* Header */
.main-header {
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #333;
    padding-top: 1rem;
}

.main-header .container {
    display: flex;
    justify-content: center;
    /* Center logo */
    align-items: center;
    padding-bottom: 0.5rem;
}

.logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: -0.5px;
    text-align: center;
}

/* Hero Banner (Logo + Title + Subtitle) */
.hero-banner {
    text-align: center;
    padding: 2rem 0 1.5rem;
    background: linear-gradient(rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.85)),
        url('../img/hero-bg.jpg') center/cover no-repeat;
    border-bottom: 1px solid #333;
}

.hero-social-links {
    display: flex;
    justify-content: center;
    gap: 18px;
    margin: 1rem 0 0.5rem;
}

.hero-social-btn {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(4, 215, 219, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-color);
    font-size: 1.3rem;
    transition: all 0.3s ease;
    border: 1px solid var(--accent-color);
}

.hero-social-btn:hover {
    transform: translateY(-3px);
    background: var(--accent-color);
    color: #000;
}

.logo-img {
    max-height: 200px;
    width: auto;
    filter: drop-shadow(0 4px 10px rgba(4, 215, 219, 0.3));
}

.heartbeat {
    animation: heartbeat 1.5s ease-in-out infinite;
}

@keyframes heartbeat {
    0% {
        transform: scale(1);
    }

    14% {
        transform: scale(1.08);
    }

    28% {
        transform: scale(1);
    }

    42% {
        transform: scale(1.08);
    }

    70% {
        transform: scale(1);
    }

    100% {
        transform: scale(1);
    }
}

/* Category Nav */
.category-nav {
    overflow-x: auto;
    white-space: nowrap;
    padding: 0.5rem 0;
    -webkit-overflow-scrolling: touch;
    /* Smooth scroll on iOS */
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.category-nav::-webkit-scrollbar {
    display: none;
    /* Hide scrollbar */
}

.category-nav ul {
    display: inline-flex;
    gap: 15px;
    padding: 0 20px;
}

@media (min-width: 769px) {
    .category-nav ul {
        width: 100%;
        justify-content: center;
    }
}

@keyframes scrollHint {
    0% {
        transform: translateX(0);
    }

    15% {
        transform: translateX(10px);
    }

    /* Nudge RIGHT to show start edge */
    30% {
        transform: translateX(0);
    }

    /* Return to start */
    100% {
        transform: translateX(0);
    }

    /* Pause */
}

@keyframes scrollHintPadding {
    0% {
        padding-left: 20px;
    }

    15% {
        padding-left: 40px;
    }

    /* Push content right by increasing padding */
    30% {
        padding-left: 20px;
    }

    /* Return to original padding */
    100% {
        padding-left: 20px;
    }
}

.category-nav a {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 20px;
    background-color: #222;
    color: var(--text-dim);
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid #333;
    transition: all 0.2s;
    /* Animation removed from here */
}

.category-nav a:hover,
.category-nav a:active {
    background-color: var(--primary-color);
    color: #000;
    border-color: var(--primary-color);
}

/* Hero Section - Compact for Menu */
.hero-banner h2 {
    font-size: 2rem;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
    color: var(--accent-color);
}

.hero-banner p {
    font-size: 1rem;
    color: var(--text-dim);
}

/* Menu List */
.menu-preview {
    padding-bottom: 5rem;
}

.menu-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.category-title {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    font-size: 1.5rem;
    padding-left: 10px;
    border-left: 4px solid var(--accent-color);
    scroll-margin-top: 180px;
    /* Increased offset to clear sticky header + nav on mobile */
}

.card {
    background: var(--card-bg);
    border-radius: var(--border-radius);
    padding: 10px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    border: 1px solid #222;
    transition: border-color var(--transition-speed);
    position: relative;
}

.card:hover {
    border-color: var(--accent-color);
}

.card-image-placeholder {
    width: 100px;
    height: 100px;
    background-color: #222;
    border-radius: 12px;
    flex-shrink: 0;
    background-image: linear-gradient(45deg, #2a2a2a 25%, #222 25%, #222 50%, #2a2a2a 50%, #2a2a2a 75%, #222 75%, #222 100%);
    background-size: 20px 20px;
    overflow: hidden;
}

.card-image-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.card h4 {
    font-size: 1.1rem;
    margin-bottom: 4px;
    color: var(--text-light);
}

.price {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 8px;
    display: block;
}

.card p.desc {
    color: var(--text-dim);
    font-size: 0.85rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.3;
}

.btn-view {
    background-color: var(--accent-color);
    color: #000;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-weight: 700;
    margin-left: auto;
    /* Push to right */
    flex-shrink: 0;
    transition: transform 0.2s, background-color 0.2s;
}

.btn-view:hover {
    transform: scale(1.1);
    background-color: #fff;
}

/* Modal Details */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    /* Slightly transparent darkening */
    z-index: 2000;
    display: none;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s;
    backdrop-filter: blur(5px);
    padding: 20px;
}

.modal.active {
    display: flex;
    opacity: 1;
}

.modal-content {
    background: #1a1a1a;
    width: 90%;
    max-width: 450px;
    max-height: 80vh;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    position: relative;
    border: 1px solid #333;
    animation: modalPop 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
}

@keyframes modalPop {
    from {
        transform: scale(0.8);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-header-image {
    width: 100%;
    height: 75%;
    /* 75% Image Height */
    background-color: #222;
    position: relative;
}

.modal-header-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-img {
    width: 100%;
    max-height: 60vh;
    object-fit: cover;
    flex-shrink: 1;
}

.modal-body {
    padding: 15px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow-y: auto;
    background: linear-gradient(to top, #111 0%, #1a1a1a 100%);
    flex-shrink: 0;
}

.modal-body h3 {
    font-size: 1.3rem;
    margin-bottom: 0.2rem;
    color: var(--text-light);
}

.modal-price {
    display: block;
    font-size: 1.2rem;
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.modal-body p {
    color: #ccc;
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Footer */
.main-footer {
    border-top: 1px solid #333;
    background-color: #0a0a0a;
    color: #ccc;
    padding: 3rem 0 1rem;
    font-size: 0.9rem;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
    text-align: center;
}

.footer-section {
    flex: 1;
    min-width: 250px;
}

.footer-section h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 1rem;
}

.social-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #222;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    border: 1px solid #333;
}

.social-btn:hover {
    transform: translateY(-3px);
    border-color: var(--accent-color);
}

.social-btn.fb:hover {
    background: #1877F2;
}

.social-btn.ig:hover {
    background: #E4405F;
}

.social-btn.tt:hover {
    background: #000000;
    border-color: #fff;
}

.social-btn.wa:hover {
    background: #25D366;
}

.location-link {
    display: inline-block;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.location-link:hover {
    text-decoration: underline;
}

.hours {
    color: #999;
    margin-top: 0.5rem;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid #222;
    padding-top: 1.5rem;
    color: #666;
    font-size: 0.8rem;
}

@media (max-width: 768px) {
    .container {
        padding: 0 10px;
    }

    .card {
        padding: 8px;
        gap: 10px;
    }

    .card-image-placeholder {
        width: 80px;
        height: 80px;
    }

    .btn-view {
        width: 35px;
        height: 35px;
        font-size: 0.8rem;
    }
}