* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: #f5f5f5;
    color: #333;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 400px;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), 
                url('61685843_98281efd54bf4e1d2e5521152f6c2eb1_wm.jpg') center/cover;
}

.hero-overlay {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.hero-buttons {
    position: absolute;
    top: 15px;
    left: 15px;
    display: flex;
    gap: 10px;
}

.hero-buttons-right {
    position: absolute;
    top: 15px;
    right: 15px;
    display: flex;
    gap: 10px;
}

.hero-btn {
    background: rgba(50, 50, 50, 0.8);
    border: none;
    border-radius: 10px;
    padding: 8px 12px;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.hero-btn:hover {
    background: rgba(70, 70, 70, 0.9);
    transform: translateY(-2px);
}

.hero-btn i {
    font-size: 18px;
}

.hero-btn span {
    font-size: 9px;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.hero-logo {
    width: 180px;
    height: 90px;
    background: rgba(50, 50, 50, 0.9);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    padding: 12px;
    overflow: hidden;
    animation: logoEntrance 1s ease-out;
}

@keyframes logoEntrance {
    0% {
        opacity: 0;
        transform: translateY(-50px) scale(0.8);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.hero-logo img {
    max-width: none;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-title {
    color: white;
    font-size: 24px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    color: #ccc;
    font-size: 16px;
    text-align: center;
}

/* Category Tabs */
.category-tabs {
    display: flex;
    background: white;
    padding: 10px;
    overflow-x: auto;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
    gap: 10px;
    -webkit-overflow-scrolling: touch;
}

.category-tabs::-webkit-scrollbar {
    height: 4px;
}

.category-tabs::-webkit-scrollbar-thumb {
    background: #ddd;
    border-radius: 4px;
}

.tab-btn {
    flex-shrink: 0;
    padding: 10px 24px;
    border: none;
    background: #f5f5f5;
    color: #666;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    border-radius: 25px;
    transition: all 0.3s ease;
    white-space: nowrap;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
    touch-action: manipulation;
}

.tab-btn.active {
    background: #FF6B35;
    color: white;
    box-shadow: 0 2px 8px rgba(255, 107, 53, 0.3);
}

.tab-btn:hover:not(.active) {
    background: #eeeeee;
    color: #333;
}

.tab-btn:active {
    transform: scale(0.98);
}

/* Menu Section */
.menu-section {
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.section-title {
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-title i {
    font-size: 20px;
    color: #333;
}

.section-title h2 {
    font-size: 24px;
    font-weight: 700;
    color: #333;
}

.view-toggle {
    display: flex;
    gap: 5px;
    background: #f0f0f0;
    padding: 4px;
    border-radius: 8px;
}

.view-btn {
    width: 36px;
    height: 36px;
    border: none;
    background: transparent;
    color: #666;
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.view-btn:hover {
    background: rgba(255, 255, 255, 0.5);
}

.view-btn.active {
    background: white;
    color: #FF6B35;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.view-btn i {
    font-size: 16px;
}

/* Menu Grid */
.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.menu-grid.list-view {
    grid-template-columns: 1fr;
}

.menu-item {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.menu-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.menu-item-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #e8f4f8 0%, #c8e4f0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}

.menu-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.placeholder-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 80px;
    background: linear-gradient(135deg, #e8f4f8 0%, #c8e4f0 100%);
}

.menu-grid.list-view .menu-item {
    display: flex;
    flex-direction: row;
    align-items: stretch;
}

.menu-grid.list-view .menu-item-image {
    width: 250px;
    min-width: 250px;
    height: auto;
}

.menu-grid.list-view .menu-item-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.menu-item-content {
    padding: 20px;
}

.menu-item-content h3 {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
}

.menu-item-description {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
    margin-bottom: 15px;
    min-height: 40px;
}

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

.menu-item-price {
    font-size: 20px;
    font-weight: 700;
    color: #FF6B35;
}

.add-btn {
    background: #FF6B35;
    color: white;
    border: none;
    padding: 10px 25px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.add-btn:hover {
    background: #E63946;
    transform: scale(1.05);
}

.empty-message {
    text-align: center;
    padding: 60px 20px;
    color: #999;
    font-size: 16px;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: white;
    border-radius: 15px;
    padding: 30px;
    width: 90%;
    max-width: 500px;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.close-modal {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 28px;
    font-weight: bold;
    color: #999;
    cursor: pointer;
    line-height: 1;
}

.close-modal:hover {
    color: #333;
}

.modal-content h2 {
    margin-bottom: 20px;
    color: #333;
    font-size: 24px;
}

.search-input {
    width: 100%;
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 16px;
    margin-bottom: 20px;
    transition: border-color 0.3s ease;
}

.search-input:focus {
    outline: none;
    border-color: #FF6B35;
}

.about-content {
    line-height: 1.8;
}

.about-content p {
    margin-bottom: 15px;
    color: #666;
}

.about-content h3 {
    margin-top: 25px;
    margin-bottom: 15px;
    color: #333;
    font-size: 20px;
}

.about-content i {
    color: #FF6B35;
    margin-right: 10px;
}

/* Social Media Buttons */
.social-media-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.social-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 28px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.social-btn:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.social-btn.whatsapp {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
}

.social-btn.whatsapp:hover {
    background: linear-gradient(135deg, #128C7E 0%, #075E54 100%);
}

.social-btn.instagram {
    background: linear-gradient(135deg, #833AB4 0%, #FD1D1D 50%, #FCAF45 100%);
}

.social-btn.instagram:hover {
    background: linear-gradient(135deg, #5B2A86 0%, #C91515 50%, #E89A35 100%);
}

.social-btn.facebook {
    background: linear-gradient(135deg, #1877F2 0%, #0C63D4 100%);
}

.social-btn.facebook:hover {
    background: linear-gradient(135deg, #0C63D4 0%, #084F9E 100%);
}

.social-btn i {
    margin: 0 !important;
    color: white !important;
}

/* Delivery Modal Styles */
.delivery-content {
    text-align: center;
    padding: 20px 0;
}

.delivery-number {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.delivery-number i {
    font-size: 40px;
    color: #FF6B35;
    margin-bottom: 15px;
}

.delivery-number h3 {
    font-size: 28px;
    color: #333;
    margin: 15px 0;
    font-weight: 700;
}

.call-btn {
    display: inline-block;
    background: #f5f5f5;
    color: #333;
    padding: 12px 30px;
    border: 2px solid #ddd;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 10px;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 14px;
}

.call-btn:hover {
    background: #e9ecef;
    border-color: #bbb;
    transform: translateY(-1px);
}

.call-btn i {
    margin-right: 8px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        height: 350px;
    }

    .hero-logo {
        width: 170px;
        height: 80px;
    }

    .hero-title {
        font-size: 18px;
    }

    .hero-subtitle {
        font-size: 14px;
    }

    .category-tabs {
        padding: 3px;
    }

    .tab-btn {
        min-width: 100px;
        padding: 12px 15px;
        font-size: 13px;
    }

    .menu-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .section-title h2 {
        font-size: 20px;
    }

    .menu-item-image {
        height: 180px;
    }
    
    /* LIST VIEW - MOBİL İÇİN */
    .menu-grid.list-view .menu-item {
        display: flex !important;
        flex-direction: row !important;
    }
    
    .menu-grid.list-view .menu-item-image {
        width: 140px !important;
        min-width: 140px !important;
        height: auto !important;
    }
    
    .menu-grid.list-view .menu-item-content {
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .modal-content {
        width: 95%;
        padding: 20px;
    }

    .hero-buttons {
        top: 10px;
        left: 10px;
        gap: 8px;
    }

    .hero-btn {
        padding: 8px 10px;
    }

    .hero-btn i {
        font-size: 16px;
    }

    .hero-btn span {
        font-size: 8px;
    }
}

@media (max-width: 480px) {
    /* LIST VIEW - KÜÇÜK MOBİL İÇİN */
    .menu-grid.list-view .menu-item {
        display: flex !important;
        flex-direction: row !important;
    }

    .menu-grid.list-view .menu-item-image {
        width: 120px !important;
        min-width: 120px !important;
        height: auto !important;
    }
    
    .menu-grid.list-view .menu-item-content {
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }
    
    .menu-grid.list-view .menu-item-content h3 {
        font-size: 16px;
    }
    
    .menu-grid.list-view .menu-item-description {
        font-size: 12px;
        min-height: auto;
    }
    
    .menu-grid.list-view .menu-item-price {
        font-size: 18px;
    }
}
