/* =========================================================
   THE WANN — FINAL MASTER CSS (1000+ lines) ✅
   Pages: index / about / gallery / menu / booking / contact
   Goal:
   - GIỮ NGUYÊN BỐ CỤC CŨ
   - Fix tất cả lỗi: chữ đen, bottom bar, booking/contact kỳ, mobile vỡ, lag
   - Không sửa HTML
========================================================= */

/* =========================================================
   01) RESET + BASE
========================================================= */
*,
*::before,
*::after{
  box-sizing: border-box;
}

html{
  scroll-behavior: smooth;
}

body{
  margin: 0;
  font-family: "Montserrat","Poppins",system-ui,-apple-system,Arial,sans-serif;
  line-height: 1.6;
  overflow-x: hidden;

  color: rgba(255,255,255,0.88);

  /* safe space header + bottom bar */
  padding-top: calc(96px + env(safe-area-inset-top));
  padding-bottom: calc(120px + env(safe-area-inset-bottom));

  background:
    radial-gradient(circle at 20% 0%, rgba(212,175,55,0.08), transparent 42%),
    radial-gradient(circle at 90% 35%, rgba(247,215,122,0.05), transparent 55%),
    radial-gradient(circle at 40% 120%, rgba(255,255,255,0.02), transparent 50%),
    #000;
}

img,
video{
  max-width: 100%;
  display: block;
}

a{
  text-decoration: none;
  color: inherit;
  transition: 0.25s ease;
}

button,
input,
textarea{
  font-family: inherit;
}

::selection{
  background: rgba(212,175,55,0.28);
  color: #fff;
}

/* =========================================================
   02) THEME VARIABLES
========================================================= */
:root{
  --bg: #000;
  --bg2: #0b0b0f;
  --panel: rgba(15,15,18,0.92);
  --panel-soft: rgba(255,255,255,0.03);

  --gold: #d4af37;
  --gold2: #f7d77a;
  --gold3: #c9932c;

  --text: rgba(255,255,255,0.90);
  --muted: rgba(255,255,255,0.62);
  --muted2: rgba(255,255,255,0.42);

  --line: rgba(255,255,255,0.10);
  --line2: rgba(255,255,255,0.06);

  --radius: 18px;
  --radius2: 22px;
  --pill: 999px;

  --shadow: 0 16px 42px rgba(0,0,0,0.55);
  --shadow2: 0 22px 70px rgba(0,0,0,0.75);

  --container: 1120px;
}

/* =========================================================
   03) CONTAINER
========================================================= */
.container{
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 18px;
}

/* =========================================================
   04) TYPOGRAPHY GLOBAL
========================================================= */
h1,h2,h3{
  margin: 0;
  line-height: 1.15;
}

p{
  margin: 0;
  color: rgba(255,255,255,0.84);
}

small{
  color: var(--muted);
}

/* =========================================================
   05) HEADER + NAVBAR (FIXED)
========================================================= */
.header{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;

  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.96),
    rgba(0,0,0,0.72)
  );

  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.header-inner{
  position: relative;
  padding: 14px 20px 10px;
}

/* Logo text */
.logo{
  font-size: 24px;
  font-weight: 900;
  letter-spacing: 2px;
  color: rgba(255,255,255,0.92);
}

/* Logo image */
.header-logo{
  position: absolute;
  top: 14px;
  right: 16px;
  width: 44px;
  height: auto;
  filter: drop-shadow(0 6px 18px rgba(0,0,0,0.7));
}

/* Navbar */
.navbar{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;

  margin-top: 8px;
  padding-bottom: 6px;

  overflow-x: auto;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
}

.navbar::-webkit-scrollbar{
  display: none;
}

.navbar a{
  flex: 0 0 auto;

  font-size: 13px;
  letter-spacing: 1px;
  font-weight: 900;

  color: rgba(255,255,255,0.86);
  padding: 8px 12px;
  border-radius: var(--pill);

  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
}

.navbar a:hover{
  color: #111;
  background: linear-gradient(90deg, var(--gold2), var(--gold));
  border-color: rgba(212,175,55,0.35);
  box-shadow: 0 0 18px rgba(212,175,55,0.18);
}

/* =========================================================
   06) HERO VIDEO
========================================================= */
.hero{
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.hero video{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  z-index: 0;
}

/* Overlay giữ chữ rõ */
.hero::after{
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 15%, rgba(212,175,55,0.14), transparent 45%),
    linear-gradient(to bottom, rgba(0,0,0,0.35), rgba(0,0,0,0.25), rgba(0,0,0,0.85));
  z-index: 1;
}

/* Content */
.hero-content{
  position: relative;
  z-index: 2;
  text-align: center;

  top: 50%;
  transform: translateY(-50%);
  padding: 0 20px;
}

/* Fix chữ bị đen */
.hero-content h1{
  font-size: 38px;
  letter-spacing: 2px;
  margin-bottom: 10px;

  color: #fff !important;
  text-shadow: 0 6px 22px rgba(0,0,0,0.75);
}

.hero-content p{
  color: rgba(255,255,255,0.78) !important;
  margin-bottom: 18px;
  text-shadow: 0 4px 18px rgba(0,0,0,0.65);
}

/* CTA nút vàng */
.hero-cta{
  display: inline-block;
  margin-top: 18px;
  padding: 14px 28px;
  border-radius: var(--pill);
  background: linear-gradient(90deg, #f7d77a, #d4a73d);
  color: #111;
  font-weight: 900;
  letter-spacing: 0.5px;
  box-shadow: 0 0 22px rgba(255, 200, 60, 0.25);
}

/* =========================================================
   07) HERO INFO BAR
========================================================= */
.hero-info-bar{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;

  margin-top: -40px;
  padding: 14px 16px;
  width: calc(100% - 32px);
  max-width: 920px;

  margin-left: auto;
  margin-right: auto;

  border-radius: var(--radius);
  background: rgba(0,0,0,0.60);
  border: 1px solid rgba(255,255,255,0.10);

  position: relative;
  z-index: 3;

  box-shadow: 0 20px 55px rgba(0,0,0,0.55);
}

.info-item{
  text-align: center;
}

.info-label{
  display: block;
  font-size: 11px;
  letter-spacing: 2px;
  font-weight: 900;
  color: rgba(255,255,255,0.55);
}

.info-value{
  display: block;
  margin-top: 2px;
  font-size: 13px;
  font-weight: 900;
  color: rgba(255,255,255,0.92);
}

.info-divider{
  width: 1px;
  height: 28px;
  background: rgba(255,255,255,0.10);
}

/* =========================================================
   08) HERO EXTRAS (USP + TRUST + PREVIEW)
========================================================= */
.hero-extras{
  padding: 24px 16px 10px;
  position: relative;
  z-index: 3;
}

.hero-usp{
  text-align: center;
  color: rgba(255,255,255,0.80);
  font-weight: 900;
  letter-spacing: 0.6px;
  margin-bottom: 14px;
}

.hero-trust{
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.hero-trust > div{
  padding: 8px 12px;
  border-radius: var(--pill);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.82);
  font-weight: 900;
  font-size: 13px;
}

.hero-preview{
  overflow: hidden;
  border-radius: var(--radius);
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 18px 45px rgba(0,0,0,0.55);
}

.preview-track{
  display: flex;
  gap: 10px;
  padding: 10px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.preview-track::-webkit-scrollbar{
  display: none;
}

.preview-track video{
  width: 76vw;
  max-width: 320px;
  height: 190px;
  object-fit: cover;
  border-radius: 14px;
  flex-shrink: 0;
  background: #000;
  border: 1px solid rgba(255,255,255,0.08);
}

.hero-quote{
  text-align: center;
  margin-top: 14px;
  color: rgba(255,255,255,0.70);
  font-style: italic;
}

/* =========================================================
   09) SECTION GLOBAL
========================================================= */
section{
  padding: 70px 20px;
}

.section-title{
  text-align: center;
  margin-bottom: 40px;
}

.section-title h2{
  font-size: 30px;
  letter-spacing: 1.5px;
  color: rgba(255,255,255,0.94);
  text-shadow: 0 3px 18px rgba(0,0,0,0.65);
}

.section-title span{
  color: var(--gold);
}

/* =========================================================
   10) ABOUT
========================================================= */
.about{
  padding: 70px 16px;
}

.about .container{
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius2);
  padding: 26px 20px;
  box-shadow: 0 0 45px rgba(0,0,0,0.60);
}

.about h2{
  font-size: 30px;
  font-weight: 900;
  letter-spacing: 1px;
  margin-bottom: 14px;
  text-transform: uppercase;
  color: #fff;
}

.about p{
  max-width: 900px;
  margin: 0 auto;
  line-height: 1.85;
  color: rgba(255,255,255,0.82);
  font-size: 15px;
}

/* =========================================================
   11) GALLERY
========================================================= */
.gallery-section{
  padding-top: 50px;
}

.gallery-scroll{
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding: 0 20px 20px;
  -webkit-overflow-scrolling: touch;
}

.gallery-scroll::-webkit-scrollbar{
  display: none;
}

.gallery-item{
  min-width: 280px;
  height: 420px;
  border-radius: 20px;
  overflow: hidden;

  box-shadow: 0 20px 55px rgba(0,0,0,0.65);
  border: 1px solid rgba(255,255,255,0.10);
  background: #000;
}

.gallery-item img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* =========================================================
   12) EXPERIENCE
========================================================= */
.experience-section{
  padding: 70px 16px;
}

.experience-inner{
  max-width: 1020px;
  margin: 0 auto;
  text-align: center;
}

.experience-title{
  font-size: 28px;
  letter-spacing: 2px;
  color: rgba(255,255,255,0.94);
  margin-bottom: 10px;
}

.experience-title span{
  color: var(--gold);
}

.experience-desc{
  color: rgba(255,255,255,0.72);
  margin-bottom: 26px;
}

.experience-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 18px;
}

.experience-item{
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 18px 14px;
  box-shadow: 0 18px 45px rgba(0,0,0,0.45);
}

.experience-item span{
  font-size: 22px;
  display: inline-block;
  margin-bottom: 8px;
}

.experience-item h3{
  font-size: 16px;
  color: rgba(255,255,255,0.92);
  margin-bottom: 6px;
}

.experience-item p{
  font-size: 14px;
  color: rgba(255,255,255,0.72);
}

.experience-note{
  margin-top: 18px;
  color: rgba(255,255,255,0.70);
  font-weight: 900;
}

/* =========================================================
   13) MENU PAGE
========================================================= */
.menu-section{
  padding: 40px 16px;
  background: #000;
}

.menu-title{
  color: #fff;
  text-align: center;
  margin-bottom: 18px;
  letter-spacing: 2px;
  font-size: 22px;
}

.menu-grid{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  max-width: 900px;
  margin: 0 auto;
}

.menu-grid img{
  width: 100%;
  height: auto;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 16px 40px rgba(0,0,0,0.55);
}

/* =========================================================
   14) BOOKING PAGE (FIX TRỐNG + TO ĐÙNG)
========================================================= */
.booking-section{
  padding: 28px 14px 120px !important;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.booking-card{
  width: 100%;
  max-width: 520px !important;

  background: var(--panel);
  border: 1px solid rgba(212,175,55,0.22);
  border-radius: var(--radius2);

  padding: 22px 18px 24px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.65);
}

.booking-card h2{
  text-align: center;
  font-size: 26px;
  letter-spacing: 1.2px;
  margin-bottom: 8px;
  color: #fff;
}

.booking-desc{
  text-align: center;
  font-size: 14px;
  color: rgba(255,255,255,0.70);
  margin-bottom: 18px;
}

.booking-card ul{
  margin: 12px 0 0;
  padding-left: 18px;
  color: rgba(255,255,255,0.82);
  line-height: 1.8;
}

.booking-form input,
.booking-form textarea{
  width: 100%;
  background: rgba(0,0,0,0.55);
  border: 1px solid rgba(212,175,55,0.28);
  color: #fff;
  padding: 14px 16px;
  border-radius: 14px;
  margin-bottom: 14px;
  font-size: 15px;
}

.booking-form textarea{
  min-height: 92px;
  resize: none;
}

.booking-form input::placeholder,
.booking-form textarea::placeholder{
  color: rgba(255,255,255,0.35);
}

.booking-form input:focus,
.booking-form textarea:focus{
  outline: none;
  border-color: rgba(247,215,122,0.85);
  box-shadow: 0 0 0 2px rgba(212,175,55,0.18);
}

.booking-submit{
  width: 100%;
  margin-top: 10px;
  padding: 16px;
  border-radius: var(--pill);
  background: linear-gradient(135deg, var(--gold2), var(--gold));
  color: #000;
  font-weight: 950;
  letter-spacing: 1px;
  border: none;
  box-shadow: 0 15px 40px rgba(212,175,55,0.55);
}

/* =========================================================
   15) CONTACT PAGE (FIX TRỐNG + TO ĐÙNG)
========================================================= */
.contact-section{
  padding: 28px 14px 120px !important;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.contact-card{
  width: 100%;
  max-width: 520px !important;

  background: var(--panel);
  border: 1px solid rgba(212,175,55,0.22);
  border-radius: var(--radius2);

  padding: 22px 18px 24px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.65);
}

.contact-card h2{
  text-align: center;
  font-size: 26px;
  letter-spacing: 1.2px;
  margin-bottom: 6px;
  color: #fff;
}

.contact-sub{
  text-align: center;
  font-size: 14px;
  color: rgba(255,255,255,0.70);
  margin-bottom: 18px;
}

.contact-item{
  margin-bottom: 14px;
}

.contact-item strong{
  display: block;
  font-size: 13px;
  letter-spacing: 1px;
  color: var(--gold);
  margin-bottom: 4px;
  text-transform: uppercase;
}

.contact-item p{
  font-size: 15px;
  color: rgba(255,255,255,0.86);
}

.contact-item a{
  color: rgba(255,255,255,0.90);
}

.contact-note{
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px dashed rgba(212,175,55,0.30);
  font-size: 14px;
  color: rgba(255,255,255,0.62);
  text-align: center;
}

.contact-actions{
  display: flex;
  gap: 10px;
  margin-top: 14px;
}

.contact-actions .btn{
  flex: 1;
  text-align: center;
  padding: 14px 18px;
  border-radius: var(--pill);
  font-weight: 950;
  background: linear-gradient(135deg, var(--gold2), var(--gold));
  color: #111;
}

.btn-outline{
  background: transparent !important;
  color: var(--gold) !important;
  border: 1px solid rgba(212,175,55,0.65) !important;
  box-shadow: none !important;
}

/* =========================================================
   16) FOOTER
========================================================= */
.footer,
footer{
  background: #000;
  border-top: 1px solid rgba(212,175,55,0.20);
  padding: 30px 20px;
  text-align: center;
  font-size: 14px;
  color: rgba(255,255,255,0.55);
}

/* =========================================================
   17) BOTTOM BAR (KIỂU CŨ) — FIX ĐỦ 4 NÚT + HOTLINE TRÒN
========================================================= */
.bottom-bar{
  position: fixed !important;
  left: 14px !important;
  right: 14px !important;
  bottom: 14px !important;
  z-index: 99999 !important;

  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 10px !important;

  padding: 10px 14px !important;
  border-radius: var(--pill) !important;

  background: rgba(0,0,0,0.75) !important;
  border: 1px solid rgba(255,255,255,0.08) !important;
  box-shadow: 0 10px 30px rgba(0,0,0,0.45) !important;

  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}

.bottom-bar a{
  flex: 1 1 0 !important;
  min-width: 0 !important;
  white-space: nowrap !important;

  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;

  padding: 10px 8px !important;
  border-radius: var(--pill) !important;

  color: rgba(255,255,255,0.85) !important;
  font-weight: 950 !important;
  font-size: 14px !important;

  background: rgba(255,255,255,0.06) !important;
  border: 1px solid rgba(255,255,255,0.06) !important;
}

.bottom-bar .icon{
  font-size: 16px !important;
  opacity: 0.95 !important;
}

.bottom-bar a.hotline{
  flex: 0 0 auto !important;
  width: 64px !important;
  height: 64px !important;
  padding: 0 !important;
  margin: 0 6px !important;

  border-radius: var(--pill) !important;
  background: linear-gradient(180deg, var(--gold2), var(--gold)) !important;
  color: #111 !important;

  display: flex !important;
  align-items: center !important;
  justify-content: center !important;

  box-shadow: 0 10px 25px rgba(255,200,60,0.28) !important;
  border: 1px solid rgba(255,255,255,0.10) !important;
}

.bottom-bar a.hotline span:last-child{
  display: none !important;
}

.bottom-bar a.hotline .icon{
  font-size: 20px !important;
}

/* =========================================================
   18) RESPONSIVE
========================================================= */
@media (max-width: 900px){
  .experience-grid{
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px){
  body{
    padding-top: calc(92px + env(safe-area-inset-top));
  }

  section{
    padding: 60px 16px;
  }

  .header-logo{
    width: 40px;
  }

  .hero-content h1{
    font-size: 28px;
  }

  .gallery-item{
    min-width: 240px;
    height: 360px;
  }

  .menu-grid{
    grid-template-columns: repeat(2, 1fr);
  }

  .preview-track video{
    height: 170px;
  }
}

@media (max-width: 480px){
  .hero-info-bar{
    gap: 10px;
    padding: 12px;
  }

  .info-value{
    font-size: 12px;
  }

  .bottom-bar{
    left: 10px !important;
    right: 10px !important;
    bottom: 10px !important;
    padding: 8px 10px !important;
    gap: 8px !important;
  }

  .bottom-bar a{
    font-size: 13px !important;
    padding: 9px 6px !important;
  }

  .bottom-bar a.hotline{
    width: 58px !important;
    height: 58px !important;
  }

  .booking-card,
  .contact-card{
    padding: 20px 14px 22px;
  }
}

/* =========================================================
   19) ANTI-LAG MODE (CSS ONLY) — KHÔNG ĐỤNG HTML
   (giữ đẹp nhưng mượt hơn)
========================================================= */
.header,
.hero-info-bar,
.bottom-bar,
.about .container,
.hero-preview{
  /* tắt blur nặng iPhone */
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.hero-preview,
.gallery-item,
.experience-item{
  box-shadow: 0 12px 28px rgba(0,0,0,0.45);
}

/* đảm bảo chữ không bị đen ở trang khác */
.hero h1,
.hero p,
.section-title h2,
.section-title span{
  color: inherit;
}

.hero-content h1,
.hero-content p{
  color: #fff !important;
}
