/* =========================
   TRANG CHỦ – MOBILE RESPONSIVE FINAL (PRO)
   ========================= */

/* ===== MOBILE ≤ 768px ===== */
@media (max-width: 768px) {

  /* ===== BODY & HTML ===== */
  html, body {
    width: 100vw;
    overflow-x: hidden;
    overflow-y: auto;
    margin: 0;
    padding: 0;
    background: linear-gradient(180deg, #0b0806 0%, #1c150f 60%, #2a1f12 100%);
    font-family: 'Be Vietnam Pro', sans-serif;
    scroll-behavior: smooth;
  }

  /* ===== NAVBAR ===== */
  .navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
    padding: 0 12px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 500;
    background: rgba(11,8,6,0.85);
    backdrop-filter: blur(6px);
    border-bottom: 1px solid rgba(197,191,101,0.3);
  }

  .nav-toggle {
    font-size: 28px;
    color: var(--accent);
    cursor: pointer;
    z-index: 600;
  }

  .navbar ul {
    flex-direction: column;
    position: fixed;
    top: 60px;
    left: 0;
    width: 220px;
    height: calc(100vh - 60px);
    background: rgba(11,8,6,0.95);
    padding-top: 20px;
    gap: 0;
    border-right: 1px solid rgba(197,191,101,0.3);
    overflow-y: auto;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    z-index: 550;
  }

  .navbar ul.show { transform: translateX(0); }

  .navbar a {
    display: block;
    font-size: 16px;
    padding: 12px 20px;
    color: var(--accent);
    border-bottom: 1px solid rgba(197,191,101,0.15);
    text-transform: uppercase;
    letter-spacing: 0.5px;
  }

  .navbar a:hover,
  .navbar a.active {
    background: rgba(197,191,101,0.15);
    color: #fff;
  }

  /* ===== HERO ===== */
  .hero {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    text-align: center;
    width: 100%;
    padding: 100px 5% 10px; /* top để navbar, bottom gọn */
    gap: 12px;
    background: linear-gradient(180deg, rgba(11,8,6,0.85) 0%, rgba(28,21,15,0.65) 80%);
  }

  .hero-left {
    width: 90%;
    max-width: 480px;
  }

  .hero-left h1 {
    font-size: 50px;
    line-height: 1.25;
    margin: 0;
    font-weight: 700;
  }

  .hero-left h1 span {
    display: block;
    font-size: 42px;
    color: var(--accent);
    margin-top: 4px;
  }

  .hero-left p {
    font-size: 15px;
    margin: 8px 0 0;
    line-height: 1.5;
    color: rgba(255,255,255,0.9);
  }

  .cta {
    font-size: 16px;
    padding: 10px 22px;
    border-radius: 8px;
    margin-top: 10px;
    transition: all 0.2s;
  }

  .cta:hover {
    transform: scale(1.05);
    background-color: var(--accent);
    color: #000;
  }

  /* ===== HERO ART FULL WIDTH ===== */
  .trangchu {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 10px;
  }

  .trangchu img {
    width: 100%;
    max-width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 12px;
    display: block;
  }

  /* ===== INTRO CARDS ===== */
  .intro-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 8px 5%;
    margin: 0; /* loại margin dưới */
  }

  .card {
    padding: 14px;
    text-align: left;
    background: rgba(20,16,12,0.7);
    border-radius: 12px;
    transition: transform 0.2s, box-shadow 0.2s;
  }
  

  .card:hover {
    transform: translateY(-2px);
    box-shadow: 0 3px 8px rgba(0,0,0,0.25);
  }

  .card h3 { font-size: 1.1rem; margin-bottom: 4px; }
  .card p { font-size: 0.9rem; opacity: 0.85; }

  /* ===== COMMENT BOX ===== */
  .comment-box {
    width: 100%;
    margin: 12px 0; /* khoảng cách vừa đủ */
    padding: 14px;
    border-radius: 16px;
    background: rgba(20,16,12,0.6);
  }

  .comment-box h3 { font-size: 1.1rem; margin-bottom: 8px; }
  .comment-box input,
  .comment-box textarea { font-size: 0.9rem; padding: 8px 10px; }
  .comment-box button { font-size: 0.95rem; padding: 8px 14px; }

  /* ===== FOOTER ===== */
  .foot-content { 
    flex-direction: column; 
    gap: 14px; 
    text-align: center; 
    padding: 15px 5%;
  }

  .foot-section h4 { font-size: 1.15rem; }
  .foot-section p { font-size: 0.95rem; }

  .copyright { 
    font-size: 14px; 
    text-align: center; 
    padding: 8px 0 10px; 
  }

  /* ===== VISIT BOX ===== */
  .visit-box {
    position: fixed;
    bottom: 12px;
    right: 12px;
    padding: 8px 14px;
    font-weight: 600;
    border-radius: 10px;
    z-index: 700;
    font-size: 13px;
  }
}

/* ===== SMALL MOBILE ≤420px ===== */
@media (max-width: 420px) {
  .hero-left h1 { font-size: 26px; }
  .hero-left h1 span { font-size: 28px; }
  .hero-left p { font-size: 14px; }
  .cta { font-size: 15px; padding: 8px 20px; }
  .trangchu img { max-height: 260px; } /* giữ tỉ lệ đẹp */
  .intro-cards { gap: 8px; padding: 6px 5%; }
  .card h3 { font-size: 1rem; }
  .card p { font-size: 0.85rem; }
  .comment-box { margin: 10px 0; padding: 12px; }
  .comment-box input, .comment-box textarea { padding: 6px 8px; }
  .comment-box button { padding: 6px 12px; }
  .visit-box { font-size: 12px; padding: 6px 10px; }
}
@media (max-width: 768px) {
  .hero {
    min-height: unset ;
    height: auto ;
  }

  section {
    min-height: unset ;
    height: auto ;
  }
}
/* =========================
   EXHIBIT START – MOBILE FIT
   ========================= */

@media (max-width: 768px) {

  #exhibitStart {
    padding-top: 60px; /* né navbar fixed */
    background:
      radial-gradient(circle at center, rgba(197,191,101,0.06), transparent 65%),
      linear-gradient(180deg, #0b0806 0%, #1c150f 70%, #2a1f12 100%);
  }

  #exhibitStart .tap-zone .ring {
    width: 120px;
    height: 120px;
    border: 1.5px solid rgba(197,191,101,0.45);
  }

  #exhibitStart .tap-zone .hand {
    top: -90px;
    font-size: 2.2rem;
  }

  #exhibitStart .tap-zone p {
    margin-top: -45px;
    font-size: 0.95rem;
    line-height: 1.45;
    color: rgba(255,255,255,0.9);
  }

  #exhibitStart .tap-zone span {
    font-size: 0.85rem;
    color: var(--accent);
  }
}
@media (max-width: 420px) {

  #exhibitStart .tap-zone .ring {
    width: 100px;
    height: 100px;
  }

  #exhibitStart .tap-zone .hand {
    top: -78px;
    font-size: 2rem;
  }

  #exhibitStart .tap-zone p {
    font-size: 0.9rem;
  }

  #exhibitStart .tap-zone span {
    font-size: 0.8rem;
  }
}
#exhibitStart {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
