:root {
    --primary-pink: #D81B60;
    --primary-dark: #ad144d;
    --accent-gold: #FFD700;
    --text-dark: #1A1A1A;
    --text-light: #666666;
    --text-white: #FFFFFF;
    --bg-light: #FAFAFA;
    --bg-white: #FFFFFF;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.15);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition: all 0.3s ease;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--text-dark);
    font-weight: 600;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

button {
    cursor: pointer;
    border: none;
    font-family: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Utility Classes */
.text-primary {
    color: var(--primary-pink);
}

.text-highlight {
    color: var(--accent-gold);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--primary-pink);
    color: var(--text-white);
    box-shadow: 0 4px 12px rgba(216, 27, 96, 0.3);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

/* Animation: Pulse */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(216, 27, 96, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(216, 27, 96, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(216, 27, 96, 0);
    }
}

.pulse {
    animation: pulse 2s infinite;
}

/* Header */
/* Header Redesign */
.header {
    position: fixed;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    width: 95%;
    max-width: 1200px;
    height: 70px;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.header.scrolled {
    top: 0;
    width: 100%;
    border-radius: 0;
    background: rgba(255, 255, 255, 1);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transform: translateX(-50%);
    /* Keep the transform to match base class */
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-img {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.logo-icon {
    font-size: 1.8rem;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn-reservation {
    background-color: var(--primary-pink);
    color: white;
    padding: 8px 16px;
    font-size: 14px;
    border-radius: 30px;
}

.mobile-icon {
    display: none;
}

/* Hamburger Menu */
/* New Hamburger Animation */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: rgba(216, 27, 96, 0.1);
    border-radius: 12px;
    gap: 6px;
    transition: var(--transition);
}

.hamburger .bar {
    width: 22px;
    height: 2px;
    background-color: var(--primary-pink);
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hamburger.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.active .bar:nth-child(2) {
    opacity: 0;
    transform: translateX(-10px);
}

.hamburger.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.header.scrolled {
    background-color: #fff;
    box-shadow: var(--shadow-sm);
}

/* Mobile Nav Overlay */
/* Full-Screen Mobile Nav */
.mobile-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    z-index: 999;
}

.mobile-nav.active {
    opacity: 1;
    visibility: visible;
}

.mobile-nav ul {
    text-align: center;
}

.mobile-nav ul li {
    margin-bottom: 25px;
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.4s ease;
}

.mobile-nav.active ul li {
    transform: translateY(0);
    opacity: 1;
}

/* Stagger animation for links */
.mobile-nav.active ul li:nth-child(1) {
    transition-delay: 0.1s;
}

.mobile-nav.active ul li:nth-child(2) {
    transition-delay: 0.2s;
}

.mobile-nav.active ul li:nth-child(3) {
    transition-delay: 0.3s;
}

.mobile-nav.active ul li:nth-child(4) {
    transition-delay: 0.4s;
}

.mobile-nav ul li a {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    position: relative;
    padding-bottom: 5px;
}

.mobile-nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--primary-pink);
    transition: width 0.3s ease;
}

.mobile-nav ul li a:hover::after {
    width: 50px;
}

/* Hero Section */
.hero {
    position: relative;
    height: 90vh;
    /* More premium height */
    color: var(--text-white);
    margin-top: 0;
    /* Align with top */
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-slide.active {
    opacity: 1;
    z-index: 1;
}

.hero-slide .hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

/* Gradients for each slide */
.hero-slide:nth-child(1) .hero-bg {
    background: linear-gradient(135deg, #D81B60 0%, #880E4F 100%);
}

.hero-slide:nth-child(2) .hero-bg {
    background: linear-gradient(135deg, #ad144d 0%, #1A1A1A 100%);
}

.hero-slide:nth-child(3) .hero-bg {
    background: linear-gradient(135deg, #1A1A1A 0%, #D81B60 100%);
}

.hero-slide .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    /* Reduced opacity since we have gradients */
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    padding: 80px 20px 0;
    /* Add top padding to account for header */
    text-align: center;
}

.hero-content h1 {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 16px;
    color: var(--text-white);
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* Menu Section */
.menu-section {
    padding: 60px 0;
}

.section-header {
    margin-bottom: 30px;
}

.section-header h2 {
    font-size: 1.8rem;
    margin-bottom: 16px;
    text-align: left;
}

.search-wrapper {
    position: relative;
}

.search-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
}

#menuSearch {
    width: 100%;
    padding: 12px 12px 12px 40px;
    border: 1px solid #ddd;
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-family: var(--font-body);
    transition: var(--transition);
}

#menuSearch:focus {
    outline: none;
    border-color: var(--primary-pink);
    box-shadow: 0 0 0 3px rgba(216, 27, 96, 0.1);
}

/* Category Scroll */
.category-scroll {
    display: flex;
    overflow-x: auto;
    gap: 12px;
    padding-bottom: 10px;
    margin-bottom: 24px;
    scrollbar-width: none;
    /* Hide scrollbar Firefox */
}

.category-scroll::-webkit-scrollbar {
    display: none;
    /* Hide scrollbar Chrome */
}

.cat-btn {
    white-space: nowrap;
    padding: 8px 20px;
    border-radius: 20px;
    background-color: var(--bg-white);
    border: 1px solid #eee;
    color: var(--text-light);
    font-size: 0.9rem;
    transition: var(--transition);
}

.cat-btn.active,
.cat-btn:hover {
    background-color: var(--text-dark);
    color: var(--text-white);
    border-color: var(--text-dark);
}

/* Menu Grid */
.menu-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.menu-item {
    background: var(--bg-white);
    padding: 12px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    display: flex;
    gap: 16px;
    align-items: center;
    transition: var(--transition);
}

.menu-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}


.menu-item-content {
    flex: 1;
}

.item-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 4px;
}

.item-title {
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-dark);
}

.item-price {
    font-weight: 700;
    color: var(--primary-pink);
}

.item-desc {
    font-size: 0.85rem;
    color: var(--text-light);
    line-height: 1.4;
}

.item-meta {
    margin-top: 8px;
    display: flex;
    gap: 8px;
}

.badge {
    font-size: 0.7rem;
    padding: 2px 8px;
    border-radius: 4px;
    background: #f0f0f0;
    color: #666;
}

/* Special Highlight for Dibek */
.menu-item.highlight {
    border: 2px solid var(--accent-gold);
    position: relative;
    overflow: hidden;
}

.highlight-badge {
    position: absolute;
    top: 0;
    left: 0;
    background: var(--accent-gold);
    color: var(--text-dark);
    font-size: 0.6rem;
    font-weight: 700;
    padding: 2px 8px;
    border-bottom-right-radius: 8px;
}

/* About Section */
.about {
    padding: 60px 0;
    background-color: var(--bg-white);
}

.about-grid {
    display: grid;
    gap: 40px;
}

.about-image img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.about-text h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.about-text p {
    margin-bottom: 16px;
    color: var(--text-light);
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 16px;
    margin-top: 24px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    color: var(--text-dark);
}

.feature-icon {
    color: var(--primary-pink);
    flex-shrink: 0;
}

/* Footer */
.footer {
    background-color: #111;
    color: #fff;
    padding: 50px 0 20px;
}

.footer-grid {
    display: grid;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    color: #fff;
    margin-bottom: 20px;
    display: inline-block;
}

.footer-info p {
    color: #ccc;
    margin-bottom: 10px;
}

.socials {
    display: flex;
    gap: 16px;
    margin-top: 20px;
}

.socials a {
    color: #fff;
    opacity: 0.7;
    transition: var(--transition);
}

.socials a:hover {
    opacity: 1;
    color: var(--primary-pink);
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: #666;
}

.dev-info {
    margin-top: 8px;
    font-size: 0.8rem;
    opacity: 0.8;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .desktop-text {
        display: none;
    }

    .mobile-icon {
        display: flex;
        align-items: center;
    }

    .btn-reservation {
        padding: 10px;
        border-radius: 50%;
    }

    .hamburger {
        display: flex;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .menu-grid {
        grid-template-columns: 1fr;
        /* Single column on mobile */
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    /* Ensure hamburger is tappable */
    .hamburger {
        cursor: pointer;
        padding: 5px;
        /* Increase touch area */
        z-index: 1001;
        /* Above almost everything locally */
    }
}

@media (min-width: 769px) {
    .menu-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-grid {
        grid-template-columns: 1fr 1fr;
        align-items: center;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .mobile-nav {
        display: none;
        /* Hide mobile nav on desktop */
    }
}