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

:root {
    --primary-color: #d4a373;
    --primary-dark: #b8845f;
    --secondary-color: #2c3e50;
    --accent-color: #e74c3c;
    --text-dark: #2c3e50;
    --text-light: #7f8c8d;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --shadow: 0 2px 10px rgba(0,0,0,0.1);
    --shadow-lg: 0 4px 20px rgba(0,0,0,0.15);
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

/* Header */
.header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 20px 0;
    box-shadow: var(--shadow);
}

.header-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
}

.header-main {
    text-align: center;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 6px;
}

.rating-badge {
    display: inline-block;
    background-color: rgba(255, 255, 255, 0.2);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    backdrop-filter: blur(10px);
}

.review-count {
    opacity: 0.9;
    font-size: 11px;
}

.header-actions {
    display: flex;
    gap: 10px;
}

.action-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    background-color: rgba(255, 255, 255, 0.95);
    color: var(--text-dark);
    text-decoration: none;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    background-color: var(--white);
}

.btn-text {
    display: none;
}

/* Notice Banner */
.notice-banner {
    background-color: #fff3cd;
    border-bottom: 2px solid #ffc107;
    padding: 12px 0;
}

.notice-banner p {
    text-align: center;
    font-size: 14px;
    color: #856404;
    font-weight: 500;
}

/* Category Chips */
.category-chips {
    background-color: var(--white);
    padding: 12px 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    position: sticky;
    top: 0;
    z-index: 100;
    overflow: hidden;
}

.chips-scroll {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 4px 16px;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
}

.chips-scroll::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

.chip {
    flex-shrink: 0;
    padding: 10px 18px;
    background-color: var(--bg-light);
    color: var(--text-dark);
    border: 2px solid transparent;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 500;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.chip:hover {
    background-color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.chip.active {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    border-color: var(--primary-dark);
    box-shadow: 0 4px 12px rgba(212, 163, 115, 0.3);
}

.chip:active {
    transform: scale(0.95);
}

/* Main Content */
.main-content {
    padding: 24px 0 40px;
    min-height: 60vh;
}

/* Menu Section */
.menu-section {
    background-color: var(--white);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: var(--shadow);
    animation: fadeIn 0.5s ease;
}

.menu-section.hidden {
    display: none;
}


.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--bg-light);
}

.section-title {
    font-size: 24px;
    font-weight: 600;
    color: var(--primary-dark);
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.section-title-en {
    font-size: 14px;
    font-weight: 400;
    color: var(--text-light);
}

.section-info {
    font-size: 13px;
    color: var(--text-light);
    font-style: italic;
}

/* Subcategory */
.subcategory {
    margin-bottom: 32px;
}

.subcategory:last-child {
    margin-bottom: 0;
}

.subcategory-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--bg-light);
}

/* Menu Items */
.menu-items {
    display: grid;
    gap: 16px;
}

.menu-item {
    padding: 16px;
    border-radius: 12px;
    background-color: var(--bg-light);
    transition: all 0.3s ease;
    position: relative;
}

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

.menu-item.special {
    border: 2px solid var(--accent-color);
    background: linear-gradient(135deg, #fff5f5 0%, var(--bg-light) 100%);
}

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

.item-name {
    flex: 1;
}

.item-name-tr {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 2px;
}

.item-name-en {
    font-size: 12px;
    color: var(--text-light);
    font-weight: 300;
    opacity: 0.7;
    font-style: italic;
}

.item-price {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-dark);
    white-space: nowrap;
}

.item-description {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.5;
    margin-top: 8px;
}

.item-note {
    font-size: 12px;
    color: var(--accent-color);
    margin-top: 8px;
    font-style: italic;
}

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

.tag {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 500;
}

.tag.special {
    background-color: var(--accent-color);
}

/* Extra Info */
.extra-info {
    background-color: #e8f5e9;
    padding: 16px;
    border-radius: 12px;
    margin-top: 16px;
    border-left: 4px solid #4caf50;
}

.extra-title {
    font-size: 14px;
    font-weight: 600;
    color: #2e7d32;
    margin-bottom: 8px;
}

.extra-options {
    font-size: 13px;
    color: #388e3c;
}

/* Footer */
.footer {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 40px 0 20px;
    margin-top: 40px;
}

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

.footer-section h3 {
    margin-bottom: 16px;
    color: var(--primary-color);
    font-size: 18px;
}

.footer-section p {
    color: rgba(255,255,255,0.9);
    font-size: 14px;
    line-height: 1.6;
}

.awards-list,
.features-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.awards-list li,
.features-list li {
    color: rgba(255,255,255,0.9);
    padding: 8px 0;
    font-size: 14px;
    line-height: 1.5;
}

.address {
    margin-bottom: 12px;
}

.phone {
    margin-bottom: 16px;
}

.phone a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.phone a:hover {
    color: var(--white);
}

.location-btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-top: 8px;
}

.location-btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(212, 163, 115, 0.3);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255,255,255,0.7);
    font-size: 13px;
    margin-bottom: 8px;
}

.social-links a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--white);
}

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

/* Tablet Styles */
@media (min-width: 768px) {
    .header {
        padding: 24px 0;
    }

    .header-content {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .header-main {
        text-align: left;
    }

    .logo {
        font-size: 32px;
    }

    .rating-badge {
        font-size: 14px;
    }

    .btn-text {
        display: inline;
    }

    .notice-banner p {
        font-size: 15px;
    }

    .chips-scroll {
        justify-content: center;
        padding: 4px 32px;
    }

    .chip {
        font-size: 15px;
        padding: 11px 20px;
    }

    .menu-items {
        grid-template-columns: repeat(2, 1fr);
    }

    .section-title {
        font-size: 28px;
    }

    .footer-content {
        grid-template-columns: repeat(3, 1fr);
        text-align: left;
    }
}

/* Desktop Styles */
@media (min-width: 1024px) {
    .container {
        padding: 0 32px;
    }

    .header {
        padding: 28px 0;
    }

    .logo {
        font-size: 36px;
    }

    .rating-badge {
        font-size: 15px;
    }

    .action-btn {
        font-size: 15px;
        padding: 12px 20px;
    }

    .main-content {
        padding: 32px 0 60px;
    }

    .menu-section {
        padding: 32px;
    }

    .section-title {
        font-size: 32px;
    }

    .menu-items.large-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .item-name-tr {
        font-size: 17px;
    }

    .item-price {
        font-size: 20px;
    }
}

/* Print Styles */
@media print {
    .footer {
        display: none;
    }

    .menu-section {
        page-break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ddd;
    }

    .menu-item {
        page-break-inside: avoid;
    }
}
