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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f8f9fa;
    color: #333;
    line-height: 1.6;
}

body.dark-mode {
    background: #181c24;
    color: #e0e0e0;
}

/* Header Styles */
.header {
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    color: white;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

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

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

.header-logo {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.menu-toggle {
    background: none;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: background 0.3s ease;
}

.menu-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
}

.logo {
    font-size: 24px;
    font-weight: 700;
    margin: 0;
}

.cart-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    padding: 12px;
    border-radius: 12px;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.cart-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
}

.cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #e74c3c;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

/* Navigation Menu */
.nav-menu {
    position: fixed;
    top: 0;
    left: -300px;
    width: 300px;
    height: 100vh;
    background: white;
    z-index: 1100;
    transition: left 0.3s ease;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    overflow-y: auto;
}

.nav-menu.open {
    left: 0;
}

.nav-header {
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    color: white;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-header h3 {
    margin: 0;
    font-size: 20px;
}

.nav-close {
    background: none;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: background 0.3s ease;
}

.nav-close:hover {
    background: rgba(255, 255, 255, 0.1);
}

.nav-list {
    list-style: none;
    padding: 20px 0;
}

.nav-item {
    margin-bottom: 5px;
}

.nav-item a {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
}

.nav-item a:hover,
.nav-item.active a {
    background: #f8f9fa;
    border-left-color: #ff6b35;
    color: #ff6b35;
}

.nav-item i {
    margin-right: 15px;
    width: 20px;
    text-align: center;
}

/* Main Content */
.main-content {
    margin-top: 70px;
    padding: 20px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.dark-mode .main-content {
    background: #181c24;
    color: #e0e0e0;
}

/* Hero Section */
.hero {
    background: url('../images/326sokak-cafe-com.jpg') center center/cover no-repeat;
    border-radius: 20px;
    padding: 80px 30px;
    text-align: center;
    margin-bottom: 30px;
    margin-top: 20px;
    position: relative;
    min-height: 380px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hero-content-inner {
    background: rgba(30, 30, 30, 0.32);
    border-radius: 16px;
    padding: 24px 32px;
    display: inline-block;
    box-shadow: 0 2px 8px rgba(0,0,0,0.10);
    backdrop-filter: blur(2px);
}

.hero-content-inner h2, .hero-content-inner p {
    color: #fff;
}

.hero-logo {
    display: block;
    margin: 0 auto 16px auto;
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    opacity: 0.92;
}

/* Section Styles */
.section-title {
    font-size: 24px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 20px;
}

.dark-mode .section-title {
    color: #fff;
}

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

.search-container {
    position: relative;
    max-width: 300px;
    width: 100%;
}

.search-container input {
    width: 100%;
    padding: 12px 45px 12px 15px;
    border: 2px solid #e9ecef;
    border-radius: 25px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.search-container input:focus {
    outline: none;
    border-color: #ff6b35;
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.search-container i {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #95a5a6;
}

/* Yatay kaydırmalı kategori görünümü */
.categories-section {
    padding: 0 24px;
}

.categories-scroll {
    display: flex;
    flex-direction: row;
    gap: 24px;
    overflow-x: auto;
    overflow-y: visible;
    padding: 24px 0 24px 0;
    margin-bottom: 24px;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
    cursor: grab;
}

.categories-scroll::-webkit-scrollbar {
    display: none;
}

.category-card {
    min-width: 180px;
    flex: 0 0 auto;
    background: white;
    border-radius: 20px;
    padding: 24px 16px 24px 16px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid #ff9800;
    user-select: none;
}

.category-card.active {
    border: 3px solid #ff9800;
    box-shadow: 0 0 0 3px rgba(255,152,0,0.18);
    background: linear-gradient(135deg, rgba(255, 152, 0, 0.10), rgba(247, 147, 30, 0.10), #232733 90%);
}

.dark-mode .category-card {
    background: #232733;
    color: #fff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.25);
    border: 2px solid #ff9800;
}

.dark-mode .category-card.active {
    border: 3px solid #ff9800;
    box-shadow: 0 0 0 3px rgba(255,152,0,0.18);
    background: linear-gradient(135deg, rgba(255, 152, 0, 0.10), rgba(247, 147, 30, 0.10), #232733 90%);
}

.category-image {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #ff9800, #f7931e);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 28px;
    color: white;
}

.dark-mode .category-image {
    background: linear-gradient(135deg, #232733, #232733);
    color: #ff9800;
}

.category-card h3, .category-name {
    font-size: 16px;
    font-weight: 600;
    color: #2c3e50;
    margin: 0;
}

.dark-mode .category-card h3, .dark-mode .category-name {
    color: #e0e0e0;
}

/* Eski grid görünümünü devre dışı bırak */
.categories-grid {
    display: block !important;
    padding: 0;
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.product-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid #ff9800;
}

.product-card:hover {
    transform: translateY(-5px) scale(1.04);
    box-shadow: 0 8px 25px rgba(255, 152, 0, 0.18);
    border: 3px solid #ff9800;
}

.dark-mode .product-card {
    background: #232733;
    color: #fff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.25);
    border: 2px solid #ff9800;
}

.dark-mode .product-card:hover {
    box-shadow: 0 8px 25px rgba(255, 152, 0, 0.18);
    border: 3px solid #ff9800;
}

.product-image {
    width: 100%;
    height: 180px;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: #bdc3c7;
    position: relative;
    overflow: hidden;
}

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

.product-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #ff6b35;
    color: white;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
}

.product-info {
    padding: 20px;
}

.product-name {
    font-size: 18px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 8px;
}

.dark-mode .product-name {
    color: #fff;
}

.product-description {
    font-size: 14px;
    color: #7f8c8d;
    margin-bottom: 15px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.dark-mode .product-description {
    color: #fff;
}

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

.product-price {
    font-size: 20px;
    font-weight: 700;
    color: #ff6b35;
}

.dark-mode .product-price {
    color: #fff;
}

.add-to-cart {
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
}

.dark-mode .add-to-cart {
    background: linear-gradient(135deg, #ff9800, #f7931e);
    color: #fff;
}

.add-to-cart:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

/* Cart Sidebar */
.cart-sidebar {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100vh;
    background: white;
    z-index: 1200;
    transition: right 0.3s ease;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
}

.cart-sidebar.open {
    right: 0;
}

.cart-header {
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    color: white;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-header h3 {
    margin: 0;
    font-size: 20px;
}

.cart-close {
    background: none;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: background 0.3s ease;
}

.cart-close:hover {
    background: rgba(255, 255, 255, 0.1);
}

.cart-content {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.empty-cart {
    text-align: center;
    padding: 40px 20px;
    color: #95a5a6;
}

.empty-cart i {
    font-size: 48px;
    margin-bottom: 15px;
}

.empty-cart p {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 5px;
}

.cart-item {
    display: flex;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #e9ecef;
}

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

.cart-item-image {
    width: 60px;
    height: 60px;
    background: #f8f9fa;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    font-size: 20px;
    color: #bdc3c7;
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

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

.cart-item-name {
    font-size: 16px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 5px;
}

.cart-item-price {
    font-size: 14px;
    color: #ff6b35;
    font-weight: 600;
}

.cart-item-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

.quantity-btn {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.quantity-btn:hover {
    background: #ff6b35;
    color: white;
    border-color: #ff6b35;
}

.quantity {
    font-weight: 600;
    min-width: 30px;
    text-align: center;
}

.cart-footer {
    padding: 20px;
    border-top: 1px solid #e9ecef;
    background: #f8f9fa;
}

.cart-total {
    text-align: center;
    margin-bottom: 15px;
    font-size: 18px;
    color: #2c3e50;
}

.order-btn {
    width: 100%;
    background: linear-gradient(135deg, #27ae60, #2ecc71);
    color: white;
    border: none;
    padding: 15px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.order-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(39, 174, 96, 0.3);
}

.order-btn:disabled {
    background: #95a5a6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Overlay */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal {
    background: white;
    border-radius: 15px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    animation: slideIn 0.3s ease;
}

.modal-header {
    padding: 20px 25px;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    margin: 0;
    color: #2c3e50;
    font-size: 20px;
}

.modal-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #95a5a6;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: #f8f9fa;
    color: #e74c3c;
}

.modal-body {
    padding: 25px;
}

.modal-footer {
    padding: 20px 25px;
    border-top: 1px solid #e9ecef;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.table-selection {
    margin-bottom: 20px;
}

.table-selection label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #2c3e50;
}

.table-selection select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.table-selection select:focus {
    outline: none;
    border-color: #ff6b35;
}

.order-summary {
    margin-bottom: 20px;
}

.order-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #f8f9fa;
}

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

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

.order-item-name {
    font-weight: 600;
    color: #2c3e50;
}

.order-item-quantity {
    font-size: 14px;
    color: #7f8c8d;
}

.order-item-price {
    font-weight: 600;
    color: #ff6b35;
}

.order-total {
    text-align: center;
    font-size: 20px;
    color: #2c3e50;
    padding: 15px 0;
    border-top: 2px solid #e9ecef;
}

.success-content {
    text-align: center;
    padding: 20px 0;
}

.success-content i {
    font-size: 64px;
    color: #27ae60;
    margin-bottom: 20px;
}

.success-content p {
    margin-bottom: 10px;
    font-size: 16px;
}

/* Buttons */
.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary {
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.3);
}

.btn-secondary {
    background: #95a5a6;
    color: white;
}

.btn-secondary:hover {
    background: #7f8c8d;
    transform: translateY(-2px);
}

/* Animations */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-content {
        padding: 12px 15px;
    }
    
    .header-logo {
        width: 32px;
        height: 32px;
    }
    
    .logo {
        font-size: 20px;
    }
    
    .main-content {
        padding: 15px;
        margin-top: 60px;
    }
    
    .hero {
        padding: 30px 10px;
        min-height: 180px;
    }
    
    .hero-content-inner {
        padding: 18px 8px;
    }
    
    .section-header {
        flex-direction: column;
        align-items: stretch;
    }
    
    .search-container {
        max-width: none;
    }
    
    .categories-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 10px;
    }
    
    .category-card {
        padding: 15px;
    }
    
    .category-image {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .cart-sidebar {
        width: 100%;
        right: -100%;
    }
    
    .nav-menu {
        width: 280px;
    }
    
    .modal {
        width: 95%;
        margin: 20px;
    }
    
    .modal-footer {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .product-info {
        padding: 15px;
    }
    
    .product-footer {
        flex-direction: column;
        gap: 10px;
        align-items: stretch;
    }
    
    .add-to-cart {
        width: 100%;
        justify-content: center;
    }
}

/* Benzer ürünler için stil */
.similar-products-list {
  display: flex;
  flex-direction: row;
  gap: 18px;
  overflow-x: auto;
  padding-bottom: 8px;
  margin-bottom: 24px;
  scrollbar-width: thin;
  scrollbar-color: #ff9800 #f5f5f5;
  justify-content: center;
}
.similar-products-list::-webkit-scrollbar {
  height: 8px;
}
.similar-products-list::-webkit-scrollbar-thumb {
  background: #ff9800;
  border-radius: 8px;
}
.similar-products-list::-webkit-scrollbar-track {
  background: #f5f5f5;
  border-radius: 8px;
}
.similar-product-card {
  min-width: 130px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
  padding: 12px 8px 10px 8px;
  text-align: center;
  transition: box-shadow 0.2s, transform 0.2s;
}
.similar-product-card:hover {
  box-shadow: 0 6px 18px rgba(0,0,0,0.13);
  transform: translateY(-3px) scale(1.04);
}
.similar-product-card img {
  margin-bottom: 6px;
}

/* Ürün detay sayfası ortalama ve modern görünüm */
.product-detail-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: 70vh;
  padding: 32px 0 0 0;
}
.product-detail-card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.10);
  padding: 32px 32px 28px 32px;
  max-width: 420px;
  width: 100%;
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-left: auto;
  margin-right: auto;
}
.product-detail-card img {
  margin-bottom: 18px;
  max-width: 100%;
  max-height: 220px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
}
.product-detail-card h2 {
  margin-bottom: 8px;
  font-size: 1.5rem;
  font-weight: 700;
  text-align: center;
}
.product-detail-card > div {
  text-align: center;
}
@media (max-width: 600px) {
  .product-detail-card {
    padding: 18px 8px 18px 8px;
    max-width: 98vw;
  }
}

.dark-mode .product-detail-card {
    background: #232733;
    color: #fff;
    box-shadow: 0 4px 24px rgba(0,0,0,0.25);
}
.dark-mode .product-detail-card h2 {
    color: #fff;
}
.dark-mode .product-detail-card div,
.dark-mode .product-detail-card span {
    color: #e0e0e0;
}
.dark-mode .similar-product-card {
    background: #232733;
    color: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.18);
}
.dark-mode .similar-product-card .product-price,
.dark-mode .similar-product-card .product-name {
    color: #fff;
}

