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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 50%, #1a1a1a 100%);
    min-height: 100vh;
    padding: 20px;
}

.container {
    max-width: 480px;
    margin: 0 auto;
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    overflow: hidden;
    animation: slideUp 0.8s ease-out;
}

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

.header {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 50%, #1a1a1a 100%);
    color: white;
    padding: 30px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-bottom: 3px solid #4a7c59;
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(74, 124, 89, 0.1) 0%, transparent 70%);
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.6; }
}

.logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.logo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 3px solid #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    background: #fff;
    font-size: 1.5rem;
}

.header h1 {
    font-size: 2.2rem;
    margin: 0;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    letter-spacing: 1px;
    color: #fff;
}

.header .subtitle {
    font-size: 0.9rem;
    color: #4a7c59;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 8px;
}

.header p {
    font-size: 1rem;
    opacity: 0.85;
    position: relative;
    z-index: 1;
    font-style: italic;
}

.category-tabs {
    display: flex;
    background: #f8f9fa;
    border-bottom: 2px solid #eee;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
  
}

.category-tabs::-webkit-scrollbar {
    display: none;
}

.category-tab {
    flex: 1;
    width: max-content;
    padding: 15px 10px;
    text-align: center;
    cursor: pointer;
    border: none;
    background: transparent;
    font-size: 0.9rem;
    font-weight: 500;
    color: #666;
    transition: all 0.3s ease;
    position: relative;
    white-space: nowrap;
}

.category-tab:hover {
    background: rgba(74, 124, 89, 0.1);
    color: #4a7c59;
}

.category-tab.active {
    background: linear-gradient(135deg, #4a7c59, #5a8c69);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(74, 124, 89, 0.4);
}

.category-tab .emoji {
    display: block;
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.menu-content {
    min-height: 400px;
    position: relative;
}

.category-content {
    display: none;
    animation: fadeIn 0.4s ease-in;
}

.category-content.active {
    display: block;
}

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

.menu-item {
    padding: 20px;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.menu-item:hover {
    background: linear-gradient(45deg, #f8fff8, #fff);
    transform: translateX(5px);
    box-shadow: inset 4px 0 0 #4a7c59;
}

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

.item-content {
    display: flex;
    gap: 15px;
    align-items: center;
}

.item-image {
    width: 80px;
    height: 80px;
    border-radius: 15px;
    object-fit: cover;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

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

.item-details {
    flex: 1;
}

.item-name {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.item-description {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.4;
    margin-bottom: 8px;
}

.item-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: #4a7c59;
}

.no-image-item {
    padding-left: 0;
}

.loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    color: #666;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #4a7c59;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}

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

.error {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    color: #e74c3c;
    text-align: center;
}

.error-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.retry-btn {
    margin-top: 20px;
    padding: 12px 24px;
    background: linear-gradient(135deg, #4a7c59, #5a8c69);
    color: white;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(74, 124, 89, 0.3);
}

.retry-btn:hover {
    background: linear-gradient(135deg, #5a8c69, #6a9c79);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(74, 124, 89, 0.4);
}

.empty-category {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    color: #999;
    text-align: center;
}

.empty-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.footer {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 30px 20px;
    color: #333;
    border-top: 3px solid #4a7c59;
}

.contact-info {
    width: 100%;
    margin-bottom: 30px;
    display: block;
}

.contact-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    width: 100%;
}

.contact-info-grid .contact-section {
    text-align: center;
    padding: 20px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
    width: 100%;
    box-sizing: border-box;
}

.contact-info-grid .contact-section:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.contact-info-grid .contact-section h3 {
    color: #4a7c59;
    font-size: 1.1rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.contact-info-grid .contact-section p {
    color: #666;
    margin: 5px 0;
    font-size: 0.9rem;
}

.contact-info {
    display: block !important;
}

.contact-section {
    grid-column: unset !important;
    min-width: unset !important;
}
.contact-btn {
    margin-top: 15px;
    padding: 10px 20px;
    background: linear-gradient(135deg, #4a7c59, #5a8c69);
    color: white;
    border: none;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 140px;
    box-shadow: 0 3px 10px rgba(74, 124, 89, 0.3);
    position: relative;
    overflow: hidden;
}

.contact-btn:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.contact-btn:hover:before {
    left: 100%;
}

.contact-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(74, 124, 89, 0.4);
    background: linear-gradient(135deg, #5a8c69, #6a9c79);
}

.contact-btn:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(74, 124, 89, 0.3);
}

/* Buton ikonları için ek stil */
.contact-btn i {
    margin-right: 8px;
    font-size: 0.9rem;
}

/* Harita butonu özel stil */
.contact-btn.map-btn {
    background: linear-gradient(135deg, #2196F3, #1976D2);
    box-shadow: 0 3px 10px rgba(33, 150, 243, 0.3);
}

.contact-btn.map-btn:hover {
    background: linear-gradient(135deg, #1976D2, #1565C0);
    box-shadow: 0 6px 20px rgba(33, 150, 243, 0.4);
}

/* Arama butonu özel stil */
.contact-btn.call-btn {
    background: linear-gradient(135deg, #4CAF50, #388E3C);
    box-shadow: 0 3px 10px rgba(76, 175, 80, 0.3);
}

.contact-btn.call-btn:hover {
    background: linear-gradient(135deg, #388E3C, #2E7D32);
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4);
}

/* Buton container */
.contact-btn-container {
    display: flex;
    justify-content: center;
    margin-top: 15px;
    gap: 10px;
}
/* Şube seçici için CSS */
.branch-selector {
    width: 100%;
    margin-bottom: 25px;
}

.branch-selector .contact-section {
    background: linear-gradient(135deg, #4a7c59, #5a8c69);
    color: white;
    border-radius: 15px;
    padding: 20px 25px;
    box-shadow: 0 6px 20px rgba(74, 124, 89, 0.3);
    width: 100%;
    box-sizing: border-box;
    transition: all 0.3s ease;
}

.branch-selector .contact-section:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(74, 124, 89, 0.4);
}

.branch-selector .contact-section h3 {
    color: white;
    margin-bottom: 15px;
    font-size: 1.2rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
    text-align: center;
    font-weight: 600;
}

.branch-selector select {
    width: 100%;
    padding: 15px 20px;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    background: white;
    color: #333;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    font-weight: 500;
    box-sizing: border-box;
    appearance: none;
    background-image: url('data:image/svg+xml;charset=US-ASCII,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 4 5"><path fill="%23666" d="M2 0L0 2h4zm0 5L0 3h4z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 12px;
    padding-right: 40px;
}

.branch-selector select:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.4);
    transform: translateY(-1px);
    background-color: #f8f9fa;
}

.branch-selector select:hover {
    background-color: #f8f9fa;
    transform: translateY(-1px);
}

.branch-selector select option {
    padding: 12px 15px;
    color: #333;
    background: white;
    font-weight: 500;
}

.branch-selector select option {
    padding: 12px 15px;
    color: #333;
    background: white;
    font-weight: 500;
}

.social-media {
    text-align: center;
    margin-bottom: 25px;
}

.social-media h3 {
    color: #4a7c59;
    font-size: 1.2rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.social-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
}

.social-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 18px;
    border: none;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    color: white;
    min-width: 120px;
    justify-content: center;
    text-decoration: none;
}

.social-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

.social-btn.instagram {
    background: linear-gradient(45deg, #833ab4, #fd1d1d, #fcb045);
}

.social-btn.facebook {
    background: linear-gradient(45deg, #1877f2, #42a5f5);
}

.social-btn.whatsapp {
    background: linear-gradient(45deg, #25d366, #128c7e);
}

.social-btn.google {
    background: linear-gradient(45deg, #4285f4, #34a853, #ea4335);
}

.working-hours {
    background: white;
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 25px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.working-hours h3 {
    color: #4a7c59;
    font-size: 1.1rem;
    margin-bottom: 15px;
    font-weight: 600;
    text-align: center;
}

.hours-list {
    display: grid;
    gap: 8px;
}

.hour-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

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

.hour-day {
    font-weight: 500;
    color: #333;
}

.hour-time {
    color: #666;
}

/* Bugünkü gün vurgulama - geliştirilmiş */
.hour-item.today {
    background: linear-gradient(135deg, #4a7c59, #5a8c69);
    color: white;
    border-radius: 10px;
    padding: 10px 15px;
    margin: 2px 0;
    box-shadow: 0 4px 12px rgba(74, 124, 89, 0.3);
    transform: translateX(5px);
    border-bottom: none !important;
}

.hour-item.today .hour-day {
    font-weight: 600;
    color: white;
}

.hour-item.today .hour-time {
    font-weight: 500;
    color: white;
}

.features {
    background: white;
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 25px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.features h3 {
    color: #4a7c59;
    font-size: 1.1rem;
    margin-bottom: 15px;
    font-weight: 600;
    text-align: center;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 15px;
}

.feature-item {
    text-align: center;
    padding: 15px 10px;
    background: rgba(74, 124, 89, 0.05);
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-2px);
    background: rgba(74, 124, 89, 0.1);
}

.feature-icon {
    font-size: 1.5rem;
    margin-bottom: 8px;
    display: block;
}

.feature-text {
    font-size: 0.8rem;
    color: #666;
    font-weight: 500;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #ddd;
}

.footer-bottom p {
    margin: 5px 0;
    font-size: 0.9rem;
    color: #666;
}

.copyright {
    font-size: 0.8rem !important;
    color: #999 !important;
}
@media (max-width: 768px) {
    .branch-selector {
        margin-bottom: 20px;
    }
    
    .branch-selector .contact-section {
        padding: 18px 20px;
        border-radius: 12px;
    }
    
    .branch-selector .contact-section h3 {
        font-size: 1.1rem;
        margin-bottom: 12px;
    }
    
    .branch-selector select {
        padding: 12px 15px;
        font-size: 1rem;
        border-radius: 10px;
        padding-right: 35px;
        background-size: 10px;
        background-position: right 12px center;
    }
    
    .contact-info-grid .contact-section {
        padding: 15px;
        margin-bottom: 15px;
    }
}

/* Mobil uyumluluk */
@media (max-width: 480px) {
    body {
        padding: 5px;
    }
    .branch-selector {
        margin-bottom: 15px;
    }
    
    .branch-selector .contact-section {
        padding: 15px;
        border-radius: 10px;
    }
    
    .branch-selector .contact-section h3 {
        font-size: 1rem;
        margin-bottom: 10px;
    }
    
    .branch-selector select {
        padding: 10px 12px;
        font-size: 0.9rem;
        padding-right: 30px;
        background-size: 8px;
        background-position: right 10px center;
    }
    
    .contact-info-grid .contact-section {
        padding: 12px;
        margin-bottom: 12px;
    }
    .container {
        margin: 0;
        border-radius: 10px;
        min-height: calc(100vh - 10px);
    }
    
    .header {
        padding: 20px 15px;
    }
    
    .logo-container {
        gap: 15px;
    }
    
    .logo {
        width: 50px;
        height: 50px;
    }
    
    .header h1 {
        font-size: 1.8rem;
    }
    
    .header .subtitle {
        font-size: 0.8rem;
        letter-spacing: 1px;
    }
    
    .category-tab {
        min-width: 100px;
        padding: 12px 8px;
        font-size: 0.8rem;
    }
    
    .menu-item {
        padding: 15px;
    }
    
    .item-content {
        gap: 12px;
    }
    
    .item-image {
        width: 70px;
        height: 70px;
    }
    
    .footer {
        padding: 20px 15px;
    }
    
    .contact-info {
        width: 100%;
        margin-bottom: 30px;
    }
    
    .contact-info-grid {
        display: block;
        width: 100%;
    }
    
    .contact-info-grid .contact-section {
        text-align: center;
        padding: 20px;
        background: white;
        border-radius: 15px;
        box-shadow: 0 4px 12px rgba(0,0,0,0.05);
        transition: transform 0.3s ease;
        margin-bottom: 20px;
        width: 100%;
    }
    
    .contact-info-grid .contact-section:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    }
    
    .contact-info-grid .contact-section h3 {
        color: #4a7c59;
        font-size: 1.1rem;
        margin-bottom: 10px;
        font-weight: 600;
    }
    
    .contact-info-grid .contact-section p {
        color: #666;
        margin: 5px 0;
        font-size: 0.9rem;
    }
    
    .contact-info-grid .contact-section:last-child {
        margin-bottom: 0;
    }
    .social-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .social-btn {
        width: 200px;
        min-width: auto;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Mobil şube seçici */
    .branch-selector .contact-section {
        padding: 15px;
        margin-bottom: 15px;
    }
    
    .branch-selector select {
        padding: 10px 12px;
        font-size: 0.9rem;
    }
    
    .hour-item.today {
        padding: 8px 12px;
        transform: translateX(3px);
    }
}


/**/
/* Çoklu fiyat gösterimi stilleri */
.item-prices.multiple-prices {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.price-summary {
    font-weight: bold;
    color: #4a7c59;
    font-size: 1.1em;
}

.price-options {
    display: flex;
    flex-direction: row;
    gap: 10px;
    margin-top: 4px;
}

.price-option {
    font-size: 0.9em;
    color: #666;
    padding: 2px 0;
}

/* Çoklu fiyatlı ürünler için özel işaretleme */
.menu-item.has-multiple-prices {
    position: relative;
}

.menu-item.has-multiple-prices::after {
    content: "📏";
    position: absolute;
    top: 8px;
    right: 8px;
    font-size: 0.8em;
    opacity: 0.7;
}

/* Modal stilleri */
.price-option-btn:hover {
    border-color: #4a7c59 !important;
    background-color: #f8f9fa !important;
    transform: translateY(-1px);
}

.price-option-btn:active {
    transform: translateY(0);
}

/* Responsive tasarım */
@media (max-width: 768px) {
    .price-options {
        font-size: 0.85em;
    }
    
    .price-summary {
        font-size: 1em;
    }
    
    .menu-item.has-multiple-prices::after {
        font-size: 0.7em;
        top: 6px;
        right: 6px;
    }
}

/* Fiyat seçim modalı animasyonları */
#priceSelectionModal {
    animation: modalFadeIn 0.3s ease-out;
}

#priceSelectionModal > div {
    animation: modalSlideUp 0.3s ease-out;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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