/*-----------------------------------*\
  #MOBILE RESPONSIVE STYLES
\*-----------------------------------*/

/* Reset và Base Mobile Styles */
@media (max-width: 768px) {
  * {
    box-sizing: border-box;
  }

  body {
    overflow-x: hidden;
    font-size: 14px;
    line-height: 1.4;
  }

  .container {
    max-width: 100%;
    padding-inline: 15px;
    margin-inline: auto;
  }

  /* Typography Mobile */
  .display-1 {
    font-size: clamp(1.8rem, 5vw, 2.5rem) !important;
    line-height: 1.2;
  }

  .headline-1 {
    font-size: clamp(1.5rem, 4vw, 2rem) !important;
    line-height: 1.3;
  }

  .headline-2 {
    font-size: clamp(1.3rem, 3.5vw, 1.8rem) !important;
  }

  .title-1,
  .title-2,
  .title-3,
  .title-4 {
    font-size: clamp(1.1rem, 3vw, 1.4rem) !important;
  }

  .body-1,
  .body-2,
  .body-3,
  .body-4 {
    font-size: clamp(0.9rem, 2.5vw, 1.1rem) !important;
    line-height: 1.5;
  }

  .section-text {
    font-size: clamp(0.9rem, 2.5vw, 1rem) !important;
    line-height: 1.6;
    text-align: left;
    padding: 10px 0;
  }

  /* Header Mobile */
  .header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    padding: 10px 0;
  }

  .header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-inline: 15px;
  }

  .header .logo img {
    width: 60px;
    height: auto;
  }

  .nav-open-btn {
    background: none;
    border: none;
    color: var(--gold-crayola);
    font-size: 24px;
    cursor: pointer;
  }

  .navbar {
    position: fixed;
    top: 0;
    left: -100%;
    width: 280px;
    height: 100vh;
    background: var(--smoky-black-1);
    transition: left 0.3s ease;
    z-index: 1001;
    overflow-y: auto;
  }

  .navbar.active {
    left: 0;
  }

  .navbar-list {
    padding: 80px 20px 20px;
    list-style: none;
    margin: 0;
  }

  .navbar-item {
    margin-bottom: 20px;
  }

  .navbar-link {
    display: block;
    padding: 15px 0;
    color: var(--white);
    text-decoration: none;
    font-size: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  /* Topbar Mobile */
  .topbar {
    display: none;
  }

  /* Hero Section Mobile */
  .hero {
    margin-top: 70px;
    padding: 20px 0;
    min-height: 60vh;
  }

  .hero-slider .slider-item {
    min-height: 60vh;
  }

  .hero .slider-bg img {
    width: 100%;
    height: 60vh;
    object-fit: cover;
    object-position: center;
  }

  .hero-title {
    margin-bottom: 15px;
    padding: 0 15px;
    text-align: center;
  }

  .hero-text {
    padding: 0 15px;
    text-align: center;
    margin-bottom: 20px;
  }

  .section-subtitle {
    font-size: clamp(0.8rem, 2vw, 1rem) !important;
    margin-bottom: 10px;
  }

  /* About Section Mobile */
  .about {
    padding: 40px 0;
  }

  .about-content {
    text-align: center;
    margin-bottom: 30px;
  }

  .about-banner {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
  }

  .about-banner img {
    width: 100%;
    height: auto;
    border-radius: 10px;
  }

  /* Special Dish Mobile */
  .special-dish {
    display: flex;
    flex-direction: column;
    margin: 20px 0;
  }

  .special-dish-banner {
    width: 100%;
    height: 250px;
    order: 1;
  }

  .special-dish-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
  }

  .special-dish-content {
    order: 2;
    padding: 30px 15px;
  }

  .special-dish-content .container {
    max-width: 100%;
    padding: 0;
  }

  .special-dish-content .section-text {
    font-size: 0.9rem !important;
    line-height: 1.6;
    margin-bottom: 15px;
  }

  .special-dish-content .section-text span {
    display: block;
    margin-bottom: 10px;
    padding-left: 0;
  }

  .wrapper {
    text-align: center;
    margin-top: 20px;
  }

  .wrapper .span {
    font-size: 1.5rem !important;
    color: var(--gold-crayola);
    font-weight: bold;
  }

  /* Menu Section Mobile */
  .menu {
    padding: 40px 0;
  }

  .menu .grid-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 30px;
  }

  .menu-card {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    backdrop-filter: blur(10px);
  }

  .menu-card .card-banner {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
  }

  .menu-card .card-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .menu-card .title-wrapper {
    margin-bottom: 8px;
  }

  .menu-card .card-title {
    font-size: 1rem !important;
    line-height: 1.3;
    margin-bottom: 5px;
  }

  .mon-an {
    color: var(--gold-crayola);
    font-weight: bold;
    font-size: 1rem !important;
  }

  .menu-text {
    text-align: center;
    margin-top: 30px;
    font-size: 1rem !important;
  }

  /* Gallery Section Mobile - Ẩn cả 2 gallery cũ */
  .desktop-gallery,
  .gallery-section {
    display: none !important;
  }

  /* Gallery Mobile mới */
  .mobile-gallery {
    padding: 40px 0;
    overflow: hidden;
  }

  .mobile-gallery .section-title {
    text-align: center;
    margin-bottom: 30px;
    color: var(--gold-crayola);
  }

  .mobile-gallery-container {
    position: relative;
    width: 100%;
    overflow: hidden;
  }

  .mobile-gallery-wrapper {
    display: flex;
    transition: transform 0.3s ease;
    gap: 15px;
  }

  .mobile-gallery-slide {
    flex: 0 0 280px;
    height: 200px;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
  }

  .mobile-gallery-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
  }

  .mobile-gallery-slide:hover img {
    transform: scale(1.05);
  }

  /* Navigation buttons for mobile gallery */
  .mobile-gallery-nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
  }

  .mobile-gallery-btn {
    background: var(--gold-crayola);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: var(--smoky-black-1);
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
  }

  .mobile-gallery-btn:hover {
    background: var(--white);
    transform: scale(1.1);
  }

  /* Dots indicator */
  .mobile-gallery-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 15px;
  }

  .mobile-gallery-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
  }

  .mobile-gallery-dot.active {
    background: var(--gold-crayola);
    transform: scale(1.2);
  }

  /* Footer Mobile */
  .footer {
    padding: 40px 0 20px;
    text-align: center;
  }

  .footer-top {
    display: block;
  }

  .footer-brand {
    margin-bottom: 30px;
  }

  .footer-list {
    margin-bottom: 20px;
  }

  /* Back to top button */
  .back-top-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--gold-crayola);
    color: var(--smoky-black-1);
    border: none;
    font-size: 18px;
    cursor: pointer;
    z-index: 999;
    transition: all 0.3s ease;
  }

  .back-top-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  }

  /* Map Section Mobile */
  iframe {
    width: 100% !important;
    height: 300px !important;
    border-radius: 10px;
    margin: 20px 0;
  }

  /* Utility Classes */
  .text-center {
    text-align: center !important;
  }

  .w-100 {
    width: 100% !important;
  }

  /* Shape decorations - hide on mobile */
  .shape {
    display: none !important;
  }

  /* Preloader Mobile */
  .preload {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--smoky-black-1);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .circle {
    width: 50px;
    height: 50px;
    border: 3px solid var(--gold-crayola);
    border-top: 3px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
  }

  @keyframes spin {
    0% {
      transform: rotate(0deg);
    }
    100% {
      transform: rotate(360deg);
    }
  }
}

/* Extra small devices */
@media (max-width: 480px) {
  .container {
    padding-inline: 10px;
  }

  .hero {
    min-height: 50vh;
  }

  .hero-slider .slider-item {
    min-height: 50vh;
  }

  .hero .slider-bg img {
    height: 50vh;
  }

  .mobile-gallery-slide {
    flex: 0 0 250px;
    height: 180px;
  }

  .special-dish-banner {
    height: 200px;
  }

  .special-dish-content {
    padding: 20px 10px;
  }

  .menu-card {
    gap: 10px;
    padding: 10px;
  }

  .menu-card .card-banner {
    width: 70px;
    height: 70px;
  }
}

/* Landscape orientation */
@media (max-width: 768px) and (orientation: landscape) {
  .hero {
    min-height: 80vh;
  }

  .hero-slider .slider-item {
    min-height: 80vh;
  }

  .hero .slider-bg img {
    height: 80vh;
  }
}
