/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Cairo', sans-serif;
  background-color: #231F20;
  color: #FFFFFF;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* App Container */
.app-container {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
}

.background-pattern {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.05;
  background-image: 
    radial-gradient(circle at 25% 25%, #D7B068 1px, transparent 1px),
    radial-gradient(circle at 75% 75%, #C72239 1px, transparent 1px);
  background-size: 50px 50px;
}

.content-wrapper {
  position: relative;
  z-index: 10;
  max-width: 448px;
  margin: 0 auto;
  min-height: 100vh;
  background-color: #231F20;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* Header */
.sticky-header {
  position: sticky;
  top: 0;
  z-index: 20;
}



/* // قبل التعديل 
.header-bg {
  position: absolute;
  inset: 0;
}

.header-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
} */

.header {
  position: relative;
  padding: 2rem 1rem;
  overflow: hidden;
}

.header-bg {
  position: relative;
  width: 100%;
  height: 30vh;
  overflow: hidden;
}

.header-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center
}

.header-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, 
    rgba(51, 44, 38, 0.85), 
    rgba(51, 44, 38, 0.75), 
    rgba(51, 44, 38, 0.95));
}

.header-content {
  position: relative;
  z-index: 10;
  text-align: center;
}

.header-icon {
  display: inline-block;
  background-color: #D7B068;
  padding: 0.75rem;
  border-radius: 50%;
  margin-bottom: 0.75rem;
  border: 2px solid #C72239;
}

.header-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #D7B068;
  margin-bottom: 0.25rem;
}

.header-subtitle {
  font-size: 0.875rem;
  font-weight: 600;
  color: #FFFFFF;
}

.header-location {
  font-size: 0.75rem;
  color: rgba(215, 176, 104, 0.6);
  margin-top: 0.5rem;
}

/* Tabs Navigation */
.tabs-nav {
  background-color: #D7B068;
  padding: 0.75rem 0;
  display: flex;
  align-items: center;
}

.nav-arrow {
  flex-shrink: 0;
  background-color: #231F20;
  color: #D7B068;
  padding: 0.5rem;
  margin: 0 0.25rem;
  border-radius: 0.5rem;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-arrow:hover {
  background-color: #C72239;
  color: #FFFFFF;
}

.tabs-container {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  flex: 1;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-behavior: smooth;
}

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

.tab-btn {
  flex-shrink: 0;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  text-align: center;
  min-width: 100px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  background-color: #231F20;
  color: #D7B068;
}

.tab-btn:hover {
  background-color: #050504;
}

.tab-btn.active {
  background-color: #C72239;
  color: #FFFFFF;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.tab-ar {
  display: block;
  font-weight: 600;
  font-size: 0.875rem;
}

.tab-en {
  display: block;
  font-size: 0.75rem;
  opacity: 0.8;
}

/* Main Content */
.main-content {
  padding: 1rem 0;
}

/* Accordion Section */
.accordion-section {
  margin: 0 1rem 0.75rem;
}

.accordion-header {
  width: 100%;
  background-color: #d7b068;
  border-radius: 0.5rem;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 2px solid #231F20;
  cursor: pointer;
  transition: all 0.3s ease;
}

.accordion-header:hover {
  border-color: #C72239;
}

.accordion-title {
  text-align: right;
}

.accordion-title-ar {
  font-size: 1.125rem;
  font-weight: 700;
  color: #231F20;
}

.accordion-title-en {
  font-size: 0.875rem;
  color: rgba(5, 5, 4, 0.7);
}

.accordion-icon {
  color: #C72239;
  transition: transform 0.3s ease;
  width: 24px;
  height: 24px;
}

.accordion-header.open .accordion-icon {
  transform: rotate(180deg);
}

.accordion-content {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: all 0.3s ease;
}

.accordion-content.open {
  max-height: 3000px;
  opacity: 1;
  margin-top: 0.75rem;
}

.accordion-items {
  background-color: #231F20;
  border-radius: 0.5rem;
  padding: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

/* Menu Item */
.menu-item {
  background-color: #3d352e;
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(215, 176, 104, 0.3);
  display: flex;
  align-items: center;
}

.menu-item-image {
  width: 96px;
  height: 96px;
  border-left: 2px solid #C72239 ;
  flex-shrink: 0;
  object-fit: cover;
}

.menu-item-content {
  flex: 1;
  padding: 0.75rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.menu-item-info {
  text-align: right;
  flex: 1;
}

.menu-item-name-ar {
  font-size: 1rem;
  font-weight: 600;
  color: #FFFFFF;
}

.menu-item-name-en {
  font-size: 0.75rem;
  color: #D7B068;
}

.menu-item-description {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 0.25rem;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.menu-item-price {
  font-size: 0.875rem;
  font-weight: 700;
  color: #C72239;
  white-space: nowrap;
  margin-right: 0.5rem;
}

/* Footer */
.footer {
  background-color: #050504;
  padding: 1.5rem;
  border-top: 2px solid #D7B068;
}

.footer-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-info {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.contact-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-decoration: none;
  transition: color 0.3s ease;
}

.phone-link {
  color: #D7B068;
  font-weight: 600;
  font-size: 0.875rem;
}

.phone-link:hover {
  color: #C72239;
}

.address-link {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
}

.address-link:hover {
  color: #C72239;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.social-btn {
  padding: 0.5rem;
  border-radius: 50%;
  transition: background-color 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.social-btn.instagram {
  background-color: #C72239;
}

.social-btn.instagram:hover {
  background-color: #D7B068;
}

.social-btn.snapchat {
  background-color: #D7B068;
}

.social-btn.snapchat:hover {
  background-color: #C72239;
}

.footer-brand {
  font-size: 0.75rem;
  text-align: center;
  color: #D7B068;
}

.footer-note {
  font-size: 0.75rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.4);
}

/* Responsive */
@media (min-width: 640px) {
  .header-title {
    font-size: 1.75rem;
  }
}
