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

html,
body {
  min-height: 100vh;
  background: #f4eee2;
  font-family: "Encode Sans", sans-serif;
  color: #0a313a;
  -webkit-font-smoothing: antialiased;
  margin: 0;
  padding: 0;
}

body {
  display: block;
}

.app {
  position: relative;
  width: 100%;
  min-height: 100vh;
  background-color: #f4eee2;
  overflow: hidden;
  isolation: isolate;
}

.app::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../images/bg.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
  pointer-events: none;
}

.app::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(244, 238, 226, 0.55) 0%,
    rgba(244, 238, 226, 0.25) 45%,
    rgba(244, 238, 226, 0.15) 100%
  );
  z-index: 0;
  pointer-events: none;
}

.content {
  position: relative;
  z-index: 2;
}

/* Language switcher & dropdown */
.lang-switcher {
  position: absolute;
  top: 24px;
  right: 16px;
  background: #fff;
  border-radius: 8px;
  z-index: 100;
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  user-select: none;
  font-size: 14px;
  font-weight: 600;
  color: #0a313a;
  transition: all 0.2s ease;
}

body.rtl .lang-switcher {
  right: auto;
  left: 16px;
}

.lang-selected {
  height: 33px;
  padding: 0 12px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.lang-selected svg {
  width: 16px;
  height: 16px;
  transition: transform 0.2s ease;
}

.lang-switcher.open .lang-selected svg {
  transform: rotate(180deg);
}

.lang-dropdown {
  display: none;
  position: absolute;
  top: 38px;
  right: 0;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(10, 49, 58, 0.12);
  overflow: hidden;
  min-width: 100px;
  border: 1px solid rgba(10, 49, 58, 0.06);
}

body.rtl .lang-dropdown {
  right: auto;
  left: 0;
}

.lang-switcher.open .lang-dropdown {
  display: block;
}

.lang-option {
  padding: 10px 16px;
  transition: background 0.15s ease;
  font-weight: 500;
  text-align: left;
}

body.rtl .lang-option {
  text-align: right;
}

.lang-option:hover {
  background: #f4eee2;
}

.lang-option.active {
  color: #cb7a53;
  font-weight: 700;
}

/* Main content */
.content {
  position: relative;
  padding: 68px 24px 32px;
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: center;
  z-index: 2;
}

/* RTL Support */
body.rtl {
  direction: rtl;
  font-family: "Cairo", "Encode Sans", sans-serif;
}

body.rtl .view-menu svg {
  transform: rotate(180deg);
}

/* Logo block */
.brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  width: 365px;
  max-width: 100%;
}

.logo-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26px;
  width: 100%;
}

.logo {
  width: 187px;
  height: 195px;
}

.tagline {
  font-family: "Encode Sans", sans-serif;
  font-weight: 600;
  font-size: 20.79px;
  line-height: 37.4px;
  text-align: center;
  color: #0a313a;
}

.tagline .accent {
  color: #cb7a53;
}

/* Section Headers */
.section-header {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  margin: 32px 0 16px 0;
}

.section-title {
  font-family: "Forum", serif;
  font-size: 20px;
  color: #0a313a;
  font-weight: 400;
  margin: 0;
  white-space: nowrap;
}

.section-line {
  flex: 1;
  height: 1px;
  background-color: #cb7a53;
  opacity: 0.35;
}

/* Menu Section */
.menu-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: 100%;
  max-width: 404px;
}

.branches {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

.branch {
  text-decoration: none;
  background: #fff;
  border-radius: 8px;
  height: 55px;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 1px 2px rgba(10, 49, 58, 0.04);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  cursor: pointer;
}

.branch:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(10, 49, 58, 0.08);
}

.branch-name {
  font-size: 16px;
  font-weight: 600;
  color: #0a313a;
}

.view-menu {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  color: #728488;
  font-weight: 500;
}

.view-menu svg {
  width: 14px;
  height: 14px;
  stroke: #728488;
}

/* Reservation Cards */
.reservation-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

.info-card {
  background: #fff;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 1px 2px rgba(10, 49, 58, 0.04);
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  text-align: left;
  box-sizing: border-box;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

body.rtl .info-card {
  text-align: right;
}

.info-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(10, 49, 58, 0.08);
}

.card-title {
  font-size: 16px;
  font-weight: 600;
  color: #0a313a;
  margin: 0;
}

.card-address {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  color: #728488;
  line-height: 1.4;
}

.card-address svg {
  flex-shrink: 0;
  margin-top: 2px;
}

.card-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 4px;
  gap: 12px;
}

.card-phone-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  border: 1px solid #e8e3df;
  border-radius: 6px;
  padding: 10px 14px;
  font-weight: 600;
  font-size: 14px;
  color: #0a313a;
  background-color: #fff;
  transition: all 0.2s ease;
  box-sizing: border-box;
}

.card-phone-btn:hover {
  border-color: #cb7a53;
  background-color: #faf8f5;
}

.card-phone-btn span {
  direction: ltr;
  display: inline-block;
}

.card-phone-btn svg {
  flex-shrink: 0;
}

.card-social-links {
  display: flex;
  gap: 8px;
  align-items: center;
}

.card-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid #e8e3df;
  border-radius: 6px;
  text-decoration: none;
  background-color: #fff;
  transition: all 0.2s ease;
}

.card-social-link:hover {
  transform: scale(1.08);
  border-color: #cb7a53;
  background-color: #faf8f5;
}

.card-social-link svg {
  width: 18px;
  height: 18px;
  stroke: #0a313a;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
  transition: stroke 0.2s ease;
}

.card-social-link:hover svg {
  stroke: #cb7a53;
}

/* Footer */
.footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  margin-top: 32px;
}

.copyright {
  font-size: 14px;
  font-weight: 600;
  color: #0a313a;
  line-height: 23.6px;
}

.copyright a {
  color: inherit;
  text-decoration: none;
}

.copyright a:hover {
  text-decoration: underline;
}

@media (min-width: 768px) {
  .content {
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 64px;
    max-width: 1100px;
    margin: 0 auto;
    min-height: 100vh;
    padding: 80px 48px;
  }

  .brand {
    flex: 1.1;
    max-width: 450px;
    align-items: center;
  }

  .menu-section {
    flex: 1;
    max-width: 450px;
  }
}

/* --- Animations & Micro-interactions --- */

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

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

@keyframes pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(203, 122, 83, 0.4);
  }
  70% {
    transform: scale(1.06);
    box-shadow: 0 0 0 8px rgba(203, 122, 83, 0);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(203, 122, 83, 0);
  }
}

/* Apply initial animations on load */
.lang-switcher {
  animation: fadeInDown 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: 0.1s;
}

.logo-block {
  animation: fadeInDown 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: 0.2s;
}

/* Section headers fade in */
.section-header {
  animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: 0.4s;
}

/* Staggered branch animations */
.branch {
  animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.branch:nth-child(1) { animation-delay: 0.5s; }
.branch:nth-child(2) { animation-delay: 0.6s; }
.branch:nth-child(3) { animation-delay: 0.7s; }

/* Staggered reservation cards animations */
.info-card {
  animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.info-card:nth-child(1) { animation-delay: 0.8s; }
.info-card:nth-child(2) { animation-delay: 0.9s; }
.info-card:nth-child(3) { animation-delay: 1.0s; }

.footer {
  animation: fadeIn 1s ease both;
  animation-delay: 1.2s;
}

/* Enhanced Interactive Hover states */
.branch {
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.25s ease !important;
}

.branch:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 6px 20px rgba(10, 49, 58, 0.1) !important;
  background-color: #fdfcf9 !important;
}

.lang-switcher:hover {
  background: #fdfcf9;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.call-btn {
  transition: transform 0.2s ease, background-color 0.2s ease;
  animation: pulse 2s infinite ease-in-out;
}

.call-btn:hover {
  background-color: #cb7a53;
  transform: scale(1.1);
}

.call-btn:hover svg path {
  fill: #fff;
}

.call-btn svg path {
  transition: fill 0.2s ease;
}

.social-icon {
  border-radius: 50%;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
}

.social:hover .social-icon {
  transform: scale(1.15) rotate(8deg);
  box-shadow: 0 4px 10px rgba(203, 122, 83, 0.15);
}
