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

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    background: #ffffff;
    min-height: 100vh;
}

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

/* Header */
.header {
    background: #ec801c;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

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

.logo i {
    font-size: 2rem;
    color: white;
}

.logo h1 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #d4a574;
}

.wenu-title {
    font-family: 'Berkshire Swash', cursive !important;
    font-size: 2.2rem !important;
    font-weight: 400 !important;
    color: white !important;
}

.header-info {
    display: flex;
    align-items: center;
    gap: 8px;
    color: white;
    font-weight: 500;
}

.header-info i {
    color: white;
}

/* Search Section */
.search-section {
    padding: 1.5rem 0;
    margin-bottom: 1rem;
}

.search-container {
    max-width: 400px;
    margin: 0 auto;
    position: relative;
    text-align: center;
}

.search-toggle-btn {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 2px solid #e0e0e0;
    padding: 12px 24px;
    border-radius: 50px;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #666;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin: 0 auto;
}

.search-toggle-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(236, 128, 28, 0.3);
    border-color: #ec801c;
    color: #ec801c;
}

.search-toggle-btn i {
    font-size: 1rem;
}

.search-box {
    position: relative;
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 25px;
    padding: 0 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 2px solid #e0e0e0;
    transition: all 0.3s ease;
    margin-top: 1rem;
    animation: slideDown 0.3s ease;
}

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

.search-box:focus-within {
    border-color: #ec801c;
    box-shadow: 0 8px 32px rgba(236, 128, 28, 0.2);
}

.search-icon {
    color: #ec801c;
    font-size: 1.1rem;
    margin-right: 12px;
    flex-shrink: 0;
}

#searchInput {
    flex: 1;
    border: none;
    outline: none;
    padding: 15px 0;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    background: transparent;
    color: #333;
}

#searchInput::placeholder {
    color: #999;
    font-weight: 400;
}

.clear-btn {
    background: none;
    border: none;
    color: #999;
    font-size: 1rem;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    transition: all 0.3s ease;
    flex-shrink: 0;
    margin-left: 8px;
}

.clear-btn:hover {
    color: #ec801c;
    background: rgba(236, 128, 28, 0.1);
}

.search-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    margin-top: 10px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    max-height: 300px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
}

.suggestion-item {
    padding: 15px 20px;
    cursor: pointer;
    transition: background 0.3s ease;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    gap: 12px;
}

.suggestion-item:last-child {
    border-bottom: none;
}

.suggestion-item:hover {
    background: rgba(236, 128, 28, 0.1);
}

.suggestion-icon {
    color: #ec801c;
    font-size: 1rem;
    width: 16px;
}

.suggestion-text {
    flex: 1;
}

.suggestion-category {
    font-size: 0.85rem;
    color: #999;
    font-weight: 500;
}

.no-results {
    padding: 20px;
    text-align: center;
    color: #666;
    font-style: italic;
}

/* Category Navigation */
.category-nav {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    margin: 0 20px 2rem 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 20px;
    z-index: 100;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.category-nav::-webkit-scrollbar {
    height: 6px;
}

.category-nav::-webkit-scrollbar-track {
    background: transparent;
}

.category-nav::-webkit-scrollbar-thumb {
    background: rgba(236, 128, 28, 0.3);
    border-radius: 3px;
}

.category-nav::-webkit-scrollbar-thumb:hover {
    background: rgba(236, 128, 28, 0.5);
}

.category-buttons {
    display: flex;
    gap: 12px;
    padding: 1rem 1.5rem;
    flex-wrap: nowrap;
    justify-content: flex-start;
    min-width: max-content;
}

.category-btn {
    background: transparent;
    border: 2px solid #e0e0e0;
    padding: 12px 24px;
    border-radius: 50px;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #666;
    white-space: nowrap;
    flex-shrink: 0;
}

.category-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(236, 128, 28, 0.3);
    border-color: #ec801c;
    color: #ec801c;
}

.category-btn.active {
    background: #ec801c;
    color: white;
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(236, 128, 28, 0.4);
}

.category-btn i {
    font-size: 1.1rem;
}

/* Menu */
.menu {
    padding: 2rem 0;
}

.menu-section {
    margin-bottom: 3rem;
}

.section-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: #ec801c;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 12px;
    text-shadow: none;
}

.section-title i {
    color: #ec801c;
    font-size: 1.5rem;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

/* Menu Items */
.menu-item {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.1);
    position: relative;
}

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

.item-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    loading: lazy;
    background: #f8f9fa;
}

.menu-item:hover .item-image img {
    transform: scale(1.05);
}

.featured-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: linear-gradient(135deg, #ffd700 0%, #ffb347 100%);
    color: white;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
    box-shadow: 0 2px 10px rgba(255, 215, 0, 0.3);
}

.item-content {
    padding: 1.5rem;
}

.item-content h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
}

.item-content p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

.item-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ec801c;
}



/* Footer */
.footer {
    background: #ec801c;
    backdrop-filter: blur(10px);
    margin-top: 4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 0;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-info h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: white;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-info h3 i {
    color: white;
}

.footer-info p {
    color: white;
    font-style: italic;
    opacity: 0.9;
}

.footer-contact p {
    color: white;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-contact i {
    color: white;
    width: 16px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .header-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .logo h1 {
        font-size: 1.5rem;
    }
    
    .search-section {
        padding: 1rem 0;
    }
    
    .search-container {
        margin: 0 15px;
        max-width: none;
    }
    
    .search-toggle-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .search-box {
        padding: 0 15px;
    }
    
    #searchInput {
        padding: 12px 0;
        font-size: 0.95rem;
    }
    
    .category-nav {
        margin: 0 10px 2rem 10px;
    }
    
    .category-buttons {
        gap: 8px;
        padding: 0.8rem 1rem;
    }
    
    .category-btn {
        padding: 10px 18px;
        font-size: 0.9rem;
    }
    
    .menu-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
}

@media (max-width: 480px) {
    .search-section {
        padding: 1rem 0;
    }
    
    .search-container {
        margin: 0 10px;
        max-width: none;
    }
    
    .search-toggle-btn {
        padding: 8px 16px;
        font-size: 0.85rem;
        gap: 6px;
    }
    
    #searchInput {
        font-size: 0.9rem;
        padding: 10px 0;
    }
    
    .category-nav {
        margin: 0 5px 2rem 5px;
    }
    
    .category-buttons {
        gap: 6px;
        padding: 0.8rem;
    }
    
    .category-btn {
        padding: 8px 16px;
        font-size: 0.85rem;
    }
    
    .item-content {
        padding: 1.2rem;
    }
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

.menu-section.visible {
    display: block;
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
}

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

/* Hover Effects */
.menu-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(236, 128, 28, 0.1) 0%, rgba(236, 128, 28, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    border-radius: 20px;
}

.menu-item:hover::before {
    opacity: 1;
}

/* Arama vurgulama */
.menu-item.search-highlight {
    border: 2px solid #ec801c;
    box-shadow: 0 8px 32px rgba(236, 128, 28, 0.2);
}

.menu-item.search-highlight::before {
    opacity: 0.5;
}

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

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #ec801c 0%, #ec801c 100%);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #d67216 0%, #d67216 100%);
}
