/* ======== أجهزة التابلت ======== */
@media (max-width: 992px) {
  .navbar {
    flex-direction: column;
    gap: 1rem;
    width: 95%;
    padding: 1rem 2rem;
  }
  
  .reservation-btn {
    margin-bottom: 10px;
  }

  .hero {
    flex-direction: column;
    padding: 3rem 2rem;
    height: auto;
  }

  .hero-text {
    max-width: 90%;
    margin-bottom: 2rem;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero p {
    font-size: 1rem;
  }



  .about-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .about-image img {
    width: 250px;
    height: 250px;
  }

  .about-text {
    width: 90%;
  }

  .contact h1 {
    padding-left: 0;
    padding-bottom: 200px;
    font-size: 1.8rem;
  }

  .hotline {
    left: 50%;
    transform: translateX(-50%);
    font-size: 18px;
    padding: 10px 30px;
  }

  .social-frame {
    margin: 0 auto;
    margin-top: 50px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .menu-text {
    max-width: 80%;
    margin-bottom: 2rem;
  }

  .menu-text h2 {
    font-size: 2rem;
  }

  .menu-text p {
    font-size: 1rem;
  }

  .menu-image img {
    width: 300px;
  }

  .app-content {
    width: 90%;
  }

  .store-buttons {
    gap: 15px;
    justify-content: center;
  }

  .apps-container {
    gap: 20px;
  }

  .branch-card {
    width: 90%;
    height: auto;
  }

  .branch-card img {
    height: 200px;
  }
  .hero-logo {
    margin-top: 100px;
  }
  .contact {
    background-image: url("assets/tablet-contact-bg.png");
  }
}

/* ======== أجهزة الموبايل ======== */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 0.95rem;
  }

  .hero-img img, .hero-img video {
    width: 100%;
    margin-top: 1.5rem;
  }

  .hamburger {
    display: flex;
    right: 0;
  }

  .nav-links {
    right: 0;
    width: 80%;
    padding: 1rem;
    top: 70px;
  }

  .reservation-btn {
    text-align: center;
  }

  .about-image img {
    width: 200px;
    height: 200px;
  }

  .contact h1 {
    font-size: 1.5rem;
    padding-bottom: 150px;
  }

  .hotline {
    font-size: 16px;
    padding: 8px 25px;
  }

  .social-frame {
    margin-top: 30px;
    gap: 15px;
  }

  .menu-image img {
    width: 250px;
  }

  .menu-text h2 {
    font-size: 1.8rem;
  }

  .menu-text p {
    font-size: 0.9rem;
  }
}

@media (max-width: 768px) {
  .navbar {
    flex-direction: row;   /* خلي الصف أفقي */
    justify-content: space-between; /* زر الحجز على اليسار، الهامبرغر على اليمين */
    align-items: center;
    padding: 1rem 1.5rem;
    width: 95%;
  }

  .hamburger {
    display: flex;
    margin-right: auto; /* يدفع الهامبرغر لأقصى اليمين */
  }

  .nav-links {
    position: absolute;
    top: 60px; /* تحت navbar */
    right: 0;  /* من اليمين */
    flex-direction: column;
    background-color: rgba(110, 3, 30, 0.95);
    border-radius: 20px;
    padding: 1rem 2rem;
    box-shadow: 0 0 20px rgba(255,0,76,0.4);
    display: none;
  }

  .nav-links.show {
    display: flex;
    animation: fadeIn 0.4s ease forwards;
  }
}

/* ======== موبايل صغير جداً ======== */
@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.6rem;
  }

  .hero p {
    font-size: 0.85rem;
  }

  .hero-img img, .hero-img video {
    width: 100%;
  }

  .about-image img {
    width: 150px;
    height: 150px;
  }

  .menu-text {
    max-width: 100%;
  }

  .menu-image img {
    width: 100%;
  }

  .hotline {
    font-size: 14px;
    padding: 6px 20px;
  }

  .store-buttons {
    flex-direction: column;
    gap: 10px;
  }

  .apps-container {
    gap: 15px;
  }
  
  .branch-card img {
    height: auto;
    width: 90%;
    object-fit: cover;
  }

  .hero-logo {
    width: 80%;
  }

  .contact {
    background-image: url("assets/phone-contact-bg.png");
  }

  .menu-preview {
    flex-direction: column;
  }
}
