* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
}

html, body {
    width: 100%;
    min-width: 100vw;
    max-width: 100vw;
    margin: 0;
    padding: 0;
    background: #f5f5f5;
    overflow-x: hidden;
}

body {
    background-color: #f5f5f5;
    color: #333;
    -webkit-tap-highlight-color: transparent;
}

.header-section {
    position: relative;
    height: 300px;
    overflow: hidden;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.header-background {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
}

.header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.6));
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-circle {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #f4d03f, #f39c12);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
    animation: logoFloat 3s ease-in-out infinite;
}

@keyframes logoFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.logo-text {
    text-align: center;
    color: #2c3e50;
    font-weight: bold;
}

.logo-text.satso {
    font-size: 18px;
    margin-bottom: 2px;
}

.logo-text.mutfak {
    font-size: 14px;
    font-weight: 900;
    margin-bottom: 2px;
}

.logo-text.akademisi {
    font-size: 10px;
    font-style: italic;
}

.content-container {
    max-width: 500px;
    margin: 0 auto;
    padding: 20px;
    transform: translateY(-30px);
}

.info-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    animation: slideUp 0.8s ease-out;
}

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

.card-title {
    text-align: center;
    font-size: 24px;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 10px;
}

.card-divider {
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #3498db, #2980b9);
    margin: 0 auto 20px;
    border-radius: 2px;
}

.card-description {
    text-align: center;
    color: #666;
    line-height: 1.6;
    margin-bottom: 25px;
}

.rating-section {
    text-align: center;
    margin-bottom: 20px;
}

.stars-container {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 10px;
}

.star {
    font-size: 24px;
    color: #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
}

.star:hover,
.star.active {
    color: #f39c12;
    transform: scale(1.1);
}

.rating-text {
    color: #666;
    font-size: 14px;
    margin-bottom: 20px;
}

.btn-primary {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    display: block;
    width: 100%;
    text-align: center;
    text-decoration: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.4);
}

.menu-button {
    background: linear-gradient(135deg, #34495e, #2c3e50);
    color: white;
    border: none;
    padding: 20px;
    border-radius: 15px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin-bottom: 20px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
    animation: slideUp 0.8s ease-out 0.2s both;
}

.menu-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.3);
}

.menu-button-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.menu-icon {
    font-size: 20px;
}

.contact-info {
    margin-bottom: 15px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    color: #666;
}

.contact-icon {
    width: 20px;
    color: #3498db;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.social-icon {
    width: 40px;
    height: 40px;
    border: 2px solid #ddd;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon:hover {
    border-color: #3498db;
    color: #3498db;
    transform: scale(1.1);
}

.footer {
    text-align: center;
    padding: 20px;
    color: #999;
    font-size: 12px;
}

.menu-view {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    z-index: 1000;
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
    }
    to {
        transform: translateX(0);
    }
}

.menu-header {
    background: #34495e;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: white;
}

.back-btn {
    background: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #34495e;
    transition: all 0.3s ease;
}

.back-btn:hover {
    transform: scale(1.1);
}

.menu-logo {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

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

.category-tabs {
    display: flex;
    background: #f8f9fa;
    padding: 10px;
    gap: 10px;
    overflow-x: auto;
}

.category-tab {
    background: white;
    border: none;
    padding: 12px 20px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: bold;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.category-tab.active {
    background: #3498db;
    color: white;
}

.menu-grid {
    padding: 20px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 20px;
    max-height: calc(100vh - 200px);
    overflow-y: auto;
}

.menu-item-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    animation: fadeInUp 0.6s ease-out;
}

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

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

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

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

.add-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #3498db;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    color: white;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.add-btn:hover {
    transform: scale(1.1);
    background: #2980b9;
}

.menu-item-info {
    padding: 15px;
}

.menu-item-category {
    color: #999;
    font-size: 12px;
    margin-bottom: 5px;
}

.menu-item-name {
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
    font-size: 14px;
}

.menu-item-price {
    color: #3498db;
    font-weight: bold;
    font-size: 16px;
}

.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #2c3e50;
    padding: 15px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    border-radius: 15px 15px 0 0;
}

.nav-item {
    color: #bdc3c7;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    transition: all 0.3s ease;
}

.nav-item:hover {
    color: #3498db;
}

.nav-icon {
    font-size: 20px;
}

.item-detail-view {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: white;
    z-index: 2000;
    animation: slideIn 0.3s ease-out;
    overflow-y: auto;
}

.item-image-section {
    height: 40vh;
    position: relative;
    overflow: hidden;
}

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

.item-back-btn {
    position: absolute;
    top: 20px;
    left: 20px;
    background: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #34495e;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.item-info-card {
    background: white;
    border-radius: 20px 20px 0 0;
    padding: 30px;
    margin-top: -30px;
    position: relative;
    z-index: 10;
    min-height: 60vh;
}

.item-category {
    color: #999;
    font-size: 14px;
    margin-bottom: 10px;
}

.item-name {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
}

.item-price {
    color: #3498db;
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 20px;
}

.quantity-selector {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
}

.qty-btn {
    background: #3498db;
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    color: white;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.qty-btn:hover {
    background: #2980b9;
}

.qty-display {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    min-width: 30px;
    text-align: center;
}

.section-title {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
}

.description-box {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 20px;
    min-height: 60px;
}

.options-box {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 30px;
}

.option-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.option-checkbox {
    width: 20px;
    height: 20px;
    accent-color: #3498db;
}

.add-to-cart-btn {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    border: none;
    padding: 18px;
    border-radius: 25px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    margin-bottom: 20px;
}

.add-to-cart-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.4);
}

.basket-view {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: white;
    z-index: 3000;
    animation: slideIn 0.3s ease-out;
}

.basket-header {
    background: #34495e;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: white;
}

.basket-title {
    font-size: 18px;
    font-weight: bold;
}

.basket-actions {
    padding: 15px 20px;
    display: flex;
    justify-content: flex-end;
}

.delete-all-btn {
    background: #3498db;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 15px;
    font-size: 12px;
    cursor: pointer;
}

.basket-notes {
    padding: 0 20px 20px;
}

.notes-title {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
}

.notes-input {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-size: 14px;
    resize: vertical;
    min-height: 80px;
}

.basket-order {
    padding: 20px;
}

.order-btn {
    background: #3498db;
    color: white;
    border: none;
    padding: 18px;
    border-radius: 25px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    width: 100%;
}

.basket-items {
    padding: 20px;
    max-height: calc(100vh - 200px);
    overflow-y: auto;
}

.basket-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    border-bottom: 1px solid #eee;
    animation: fadeInUp 0.6s ease-out;
}

.basket-item-image {
    width: 60px;
    height: 60px;
    border-radius: 10px;
    object-fit: cover;
}

.basket-item-info {
    flex: 1;
}

.basket-item-name {
    font-weight: bold;
    color: #333;
    margin-bottom: 5px;
}

.basket-item-price {
    color: #3498db;
    font-weight: bold;
}

.basket-item-qty {
    display: flex;
    align-items: center;
    gap: 10px;
}

.basket-item-qty .qty-btn {
    background: #3498db;
    border: none;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    color: white;
    font-size: 14px;
    cursor: pointer;
}

.basket-item-qty .qty-display {
    font-weight: bold;
    color: #333;
    min-width: 20px;
    text-align: center;
}

.remove-btn {
    background: #e74c3c;
    color: white;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.basket-total {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    padding: 20px;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.total-text {
    font-size: 18px;
    font-weight: bold;
    color: #333;
}

.total-amount {
    font-size: 20px;
    font-weight: bold;
    color: #3498db;
}

.loading {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.9);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@media (min-width: 768px) {
    .content-container {
        max-width: 600px;
    }
    
    .menu-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
}

@media (max-width: 480px) {
    .item-image-section {
        height: 35vh;
    }
    
    .item-info-card {
        padding: 20px;
        min-height: 65vh;
    }
    
    .add-to-cart-btn {
        margin-bottom: 30px;
    }
} 