:root {
    --primary-color: #1b4965;
    --secondary-color: #62b6cb;
    --accent-color: #cae9ff;
    --text-color: #333;
    --light-bg: #f8f9fa;
  }
  
body {
    font-family: "Poppins", sans-serif;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    color: var(--text-color);
    line-height: 1.6;
    min-height: 100vh; /* Sayfa içeriğine göre yükseklik artar */
    padding-bottom: 4rem; /* Navbar için boşluk */
    overflow-y: auto;
}



/* iOS hover sorununu çözmek için */
@media (hover: none) {
    .baslik1,
    .sub-category-header {
        -webkit-tap-highlight-color: transparent;
        cursor: pointer;
    }
    
    /* Hover efektlerini mobilde kaldır */
    .baslik1:hover,
    .sub-category-header:hover {
        background: none;
    }
}

.baslik1, .sub-category-header {
    transition: all 0.2s ease; /* Transition süresini azalt */
}

.rotate {
    transition: transform 0.2s ease;
}

  
  /* Header Styles */
  /* Updated Header Styles */
.app-header {
    background: rgba(27, 73, 101, 0.95);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1rem;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.social-media-icons {
    display: flex;
    gap: 1rem;
}

.social-media-icons a {
    color: white;
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.social-media-icons a:hover {
    transform: scale(1.2);
}

.guest-type-display {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    color: white;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    max-width: 200px;
}

.guest-type-display:hover {
    background: rgba(255, 255, 255, 0.2);
}

.guest-type-text {
    white-space: nowrap;
    /*overflow: hidden;*/
    text-overflow: ellipsis;
}

.language-selector {
    position: relative;
    margin-left: auto;
}

.language-selector .dropdown-toggle {
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.3rem 0.8rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.language-selector .dropdown-menu {
    background: rgba(27, 73, 101, 0.95);
    border: none;
    border-radius: 10px;
    margin-top: 0.5rem;
    min-width: auto;
}

.language-selector .dropdown-item {
    color: white;
    padding: 0.5rem 1rem;
    text-align: center;
}

.language-selector .dropdown-item:hover,
.language-selector .dropdown-item.active {
    background: var(--secondary-color);
    color: white;
}

/* Mobile Optimizations */
@media (max-width: 576px) {
    .app-header {
        padding: 0.4rem 0.8rem;
    }

    .social-media-icons {
        gap: 0.8rem;
    }

    .social-media-icons a {
        font-size: 1rem;
    }

    .guest-type-display {
       /* padding: 0.4rem 0.8rem;*/
        max-width: 150px;
        font-size: 0.9rem;
    }

    .guest-type-text {
        font-size: 0.8rem;
    }

    .language-selector .dropdown-toggle {
        padding: 0.2rem 0.6rem;
        font-size: 0.8rem;
    }

    .guest-type-display i.fas,
    .language-selector i.fas {
        font-size: 0.9rem;
    }
}

/* Extra Small Devices */
@media (max-width: 360px) {
    .app-header {
        padding: 0.3rem 0.6rem;
    }

    .guest-type-display {
        max-width: 120px;
    }

    .social-media-icons {
        gap: 0.6rem;
    }

    .social-media-icons a {
        font-size: 0.9rem;
    }
}
  
  /* Slider Styles */
  .slider-container {
    margin-top: 70px;
    position: relative;
    height: 300px;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  }
  
  .slider-item {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
  }
  
  .slider-item.active {
    opacity: 1;
  }
  
  .slider-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  
  
  
  /* Menu Items */
  .menu-item {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
  }
  
  .menu-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  }
  
  .menu-item-title {
    font-family: "Playfair Display", serif;
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
  }
  
  .menu-item-description {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
  }
  
  .menu-item-price {
    font-weight: 600;
    color: var(--secondary-color);
    font-size: 1.1rem;
  }
  
  /* Quantity Controls */
  .quantity-control {
    display: flex;
    align-items: center;
    background: var(--light-bg);
    border-radius: 25px;
    padding: 0.3rem;
    width: 120px;
    margin-top: 1rem;
  }
  
  .quantity-btn {
    background: white;
    border: none;
    color: var(--primary-color);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .quantity-btn:hover {
    background: var(--secondary-color);
    color: white;
  }
  
  .quantity-display {
    flex: 1;
    text-align: center;
    font-weight: 500;
  }
  
  /* Animations */
  @keyframes fadeIn {
    from {
      opacity: 0;
      transform: translateY(20px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  .menu-item {
    animation: fadeIn 0.6s ease-out;
  }
  
  /* Cart Badge */
  .cart-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--secondary-color);
    color: white;
    border-radius: 50%;
    padding: 0.25rem 0.5rem;
    font-size: 0.8rem;
    animation: pulse 2s infinite;
  }
  
  @keyframes pulse {
    0% {
      transform: scale(1);
    }
    50% {
      transform: scale(1.1);
    }
    100% {
      transform: scale(1);
    }
  }
  
  /* Category Headers */
  .baslik1 {
    background: var(--primary-color);
    color: white;
    border: none;
    width: 100%;
    padding: 1.2rem;
    text-align: left;
    border-radius: 15px;
    margin: 1rem 0;
    font-family: "Playfair Display", serif;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    cursor: pointer;
  }
  
  .baslik1:hover {
    background: var(--secondary-color);
    transform: translateX(5px);
  }
  
  .baslik1 .fa-chevron-down {
    transition: transform 0.3s ease;
  }
  
  .baslik1[aria-expanded="true"] .fa-chevron-down {
    transform: rotate(180deg);
  }
  
  .sub-category-header {
    background: #fff;
    padding: 1rem;
    margin: 0.5rem 0;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  }
  
  .sub-category-header:hover {
    background: var(--accent-color);
  }
  
  .sub-category-title {
    font-weight: 500;
    color: var(--primary-color);
  }
  
  .transition-icon {
    transition: transform 0.3s ease;
  }
  
  .sub-category-header[aria-expanded="true"] .transition-icon {
    transform: rotate(180deg);
  }
  
  .content {
    padding: 1rem;
  }
  
  .sub-content {
    padding: 1rem;
    background: var(--light-bg);
    border-radius: 10px;
    margin-top: 0.5rem;
  }
  
  /* Loading Animation */
  .loading-spinner {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2000;
    display: none;
  }
  
  .loading-spinner.show {
    display: block;
  }
  
  /* Bottom Navigation Styles */
  .bottom-navbar {
    background: rgba(27, 73, 101, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 0.2rem 0;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
  }
  
  .bottom-nav-item {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 0.75rem;
    transition: all 0.3s ease;
    padding: 0.3rem 0;
    position: relative;
  }
  
  .bottom-nav-item i {
    font-size: 1.4rem;
    margin-bottom: 0.3rem;
    transition: transform 0.3s ease;
  }
  
  .bottom-nav-item span {
    font-family: "Poppins", sans-serif;
    font-weight: 500;
  }
  
  .bottom-nav-item.active {
    color: white;
  }
  
  .bottom-nav-item.active i {
    transform: translateY(-2px);
  }
  
  .cart-badge-bottom {
    position: absolute;
    top: -2px;
    right: -5px;
    background: var(--secondary-color);
    color: white;
    border-radius: 50%;
    padding: 0.2rem 0.5rem;
    font-size: 0.7rem;
    font-weight: bold;
  }
  
  /* Search Overlay Styles */
  .search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.98);
    z-index: 2000;
    display: none;
  }
  
  .search-container {
    padding: 1rem;
    max-width: 600px;
    margin: 0 auto;
    margin-top: 2rem;
  }
  
  .search-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
  }
  
  .search-header h3 {
    font-family: "Playfair Display", serif;
    color: var(--primary-color);
    margin: 0;
  }
  
  .close-search {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary-color);
  }
  
  .search-input-container {
    position: relative;
    margin-bottom: 1rem;
  }
  
  .search-input {
    width: 100%;
    padding: 1rem 3rem;
    border: none;
    border-radius: 15px;
    background: #f5f5f5;
    font-size: 1rem;
  }
  
  .search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
  }
  
  /* Profile Modal Styles */
  .profile-menu {
    display: flex;
    flex-direction: column;
  }
  
  .profile-menu-item {
    display: flex;
    align-items: center;
    padding: 1rem;
    color: var(--text-color);
    text-decoration: none;
    border-bottom: 1px solid #eee;
    transition: all 0.3s ease;
  }
  
  .profile-menu-item:last-child {
    border-bottom: none;
  }
  
  .profile-menu-item i {
    margin-right: 1rem;
    color: var(--primary-color);
    font-size: 1.2rem;
  }
  
  .profile-menu-item:hover {
    background: var(--accent-color);
    color: var(--primary-color);
  }
  
  /* Adjust main container padding for bottom navbar */
  .container {
  }
  
  .guest-type-modal .modal-content {
    border-radius: 15px;
    overflow: hidden;
  }
  
  .guest-type-modal .modal-header {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 1.5rem;
  }
  
  .guest-type-options {
    padding: 1.5rem;
  }
  
  .guest-type-option {
    background: var(--light-bg);
    border-radius: 12px;
    padding: 1.2rem;
    margin-bottom: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    border: 2px solid transparent;
  }
  
  .guest-type-option:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
  }
  
  .guest-type-option.selected {
    border-color: var(--primary-color);
    background: var(--accent-color);
  }
  
  .guest-type-option i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-right: 1rem;
  }
  
  .guest-type-display {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    color: white;
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
  }
  
  .guest-type-display:hover {
    background: rgba(255, 255, 255, 0.2);
  }
  
  .guest-type-display i {
    margin-right: 0.5rem;
  }
  .language-selector {
    display: flex;
    gap: 0.5rem;
    margin-right: 1rem;
  }
  
  .language-selector a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
  }
  
  .language-selector a:hover {
    color: white;
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
  }
  
  .language-selector a.active {
    color: var(--primary-color);
    background: white;
    border-color: white;
  }
  
  @media (max-width: 576px) {
    .app-header {
      flex-direction: row;
      justify-content: space-between;
      align-items: center;
      padding: 0.4rem 0.6rem;
    }
    .app-header .guest-type-display {
      max-width: 100%;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }
    .language-selector a {
      padding: 0.2rem 0.6rem;
      font-size: 0.8rem;
    }
    .app-header i.fas {
      font-size: 1rem;
    }
  }
  
  /* Dropdown Menü Stil Ayarları */
  .language-selector .dropdown-toggle {
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.3rem 0.8rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
  }
  
  .language-selector .dropdown-toggle:hover,
  .language-selector .dropdown-toggle:focus {
    background: rgba(255, 255, 255, 0.2);
    color: white;
  }
  
  .language-selector .dropdown-menu {
    background: rgba(27, 73, 101, 0.95);
    border: none;
    border-radius: 10px;
    margin-top: 0.5rem;
  }
  
  .language-selector .dropdown-item {
    color: white;
    transition: background 0.3s ease;
  }
  
  .language-selector .dropdown-item:hover,
  .language-selector .dropdown-item.active {
    background: var(--secondary-color);
    color: white;
  }
  
  /* Özel Stil: Save Guest Type Butonu */
  #saveGuestType {
    background-color: var(--primary-color); /* Temanın ana rengi */
    color: white; /* Yazı rengi */
    border: none; /* Kenarlık kaldırıldı */
    border-radius: 12px; /* Köşe yuvarlama */
    padding: 0.75rem 1rem; /* İç boşluk */
    font-size: 1rem; /* Yazı boyutu */
    font-weight: 600; /* Yazı kalınlığı */
    cursor: pointer; /* İmleç pointer olarak ayarlandı */
    transition: background-color 0.3s ease, transform 0.2s ease; /* Geçiş efektleri */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Hafif gölge */
  }
  
  #saveGuestType:hover:not(:disabled) {
    background-color: var(--secondary-color); /* Hover durumunda ikincil renk */
    transform: translateY(-2px); /* Hafif yukarı kayma efekti */
  }
  
  #saveGuestType:active:not(:disabled) {
    background-color: var(
      --secondary-color
    ); /* Aktif (tıklanmış) durumda ikincil renk */
    transform: translateY(0); /* Basılma hissi için geri dönüş */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Daha hafif gölge */
  }
  
  #saveGuestType:disabled {
    background-color: var(--light-bg); /* Disabled durumda açık arka plan */
    color: var(--text-color); /* Disabled durumda yazı rengi */
    cursor: not-allowed; /* İmleç not-allowed olarak ayarlandı */
    opacity: 0.6; /* Opaklık azaltıldı */
    box-shadow: none; /* Gölge kaldırıldı */
  }
  

  .category-sticky {
    position: sticky;
    top: 0;
    background: white;
    z-index: 1000;
    padding: 15px 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    white-space: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox için scrollbar gizleme */
    -ms-overflow-style: none; /* IE için scrollbar gizleme */
}

.category-sticky::-webkit-scrollbar {
    display: none; /* Chrome, Safari ve Opera için scrollbar gizleme */
}

.category-sticky a {
    display: inline-block;
    padding: 8px 16px;
    margin: 0 8px;
    color: #333;
    text-decoration: none;
    border-radius: 20px;
    background: #f5f5f5;
    transition: all 0.3s ease;
}

.category-sticky a:first-child {
    margin-left: 16px;
}

.category-sticky a:last-child {
    margin-right: 16px;
}

.category-sticky a.active {
    background: #1b4965;
    color: white;
}

/* Mobil cihazlar için optimizasyon */
@media (max-width: 768px) {
    .category-sticky {
        padding: 10px 0;
    }
    
    .category-sticky a {
        padding: 6px 12px;
        margin: 0 4px;
        font-size: 14px;
    }
}




.custom-notification {
    position: fixed;
    bottom: -100px;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    border-radius: 8px;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 9999;
    transition: all 0.3s ease;
}

.custom-notification.show {
    bottom: 20px;
}

.notification-icon {
    color: #4CAF50;
    font-size: 20px;
}

.notification-message {
    color: #333;
    font-size: 14px;
    font-weight: 500;
}

/* Mobil responsive tasarım */
@media (max-width: 768px) {
    .custom-notification {
        width: 90%;
        max-width: 320px;
        padding: 10px 16px;
    }
    
    .notification-icon {
        font-size: 18px;
    }
    
    .notification-message {
        font-size: 13px;
    }
}

/* Modal stil güncellemeleri */
.modal-content {
    border-radius: 12px;
    border: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.modal-header {
    border-bottom: 1px solid #eee;
    padding: 15px 20px;
}

.modal-footer {
    border-top: 1px solid #eee;
    padding: 15px 20px;
}

.btn {
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.btn-primary {
    background: #2196F3;
    border: none;
}

.btn-primary:hover {
    background: #1976D2;
}

.btn-secondary {
    background: #f5f5f5;
    border: none;
    color: #333;
}

.btn-secondary:hover {
    background: #e0e0e0;
}