/* =====================
   STYLE.CSS – MOBILE FIRST (CHUẨN)
   TIỆM CẦM ĐỒ 206
===================== */

/* ===== BIẾN MÀU ===== */
:root {
  --yellow: #f5c400;
  --black: #111;
  --bg: #f7f7f7;
  --gray: #666;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--black);
  line-height: 1.6;
}

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

/* ===================== NAVBAR ===================== */
/* ===================== NAVBAR ===================== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 999;
  background: var(--black);
  width: 100%;
}

/* container căn giữa */
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 16px;

  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* LOGO */
.logo {
  color: var(--yellow);
  font-weight: 800;
  font-size: 16px;
  white-space: nowrap;
}

/* ===================== HAMBURGER (MOBILE) ===================== */
.hamburger {
  width: 28px;
  height: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
}

.hamburger span {
  height: 3px;
  width: 100%;
  background: #fff;
  border-radius: 2px;
}

/* ===================== MENU MOBILE ===================== */
.nav-menu {
  position: absolute;
  top: 100%;
  left: 0;

  width: 100%;
  background: var(--black);

  display: none;
  flex-direction: column;
}

.nav-menu a {
  color: #fff;
  padding: 14px 16px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

/* BUTTON HOTLINE */
.nav-menu .hotline {
  margin: 12px 16px;
  padding: 12px 16px;

  background: linear-gradient(135deg, #f5c400, #ffdd55);
  color: #111;
  font-weight: 800;
  text-align: center;

  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(245,196,0,0.45);
}

/* MENU OPEN */
.nav-menu.active {
  display: flex;
}

/* ===================== DESKTOP ===================== */
@media (min-width: 1024px) {

  /* Ẩn hamburger */
  .hamburger {
    display: none;
  }

  /* MENU NẰM NGANG */
  .nav-menu {
    position: static;
    display: flex !important;
    flex-direction: row;
    align-items: center;

    width: auto;
    background: none;
    gap: 20px;
  }

  .nav-menu a {
    padding: 0;
    border: none;
  }

  .nav-menu .hotline {
    margin: 0;
    padding: 8px 16px;
  }
}

/* ===================== HERO ===================== */
.hero {
  background: linear-gradient(135deg, #000, #222);
  color: #fff;
  text-align: center;
  padding: 64px 16px;
}

.hero h1 {
  font-size: 26px;
  color: var(--yellow);
  margin-bottom: 8px;
}

.hero p {
  font-size: 14px;
  opacity: 0.9;
}

/* ===================== SECTION ===================== */
section {
  padding: 40px 16px;
}

section h2 {
  text-align: center;
  font-size: 22px;
  margin-bottom: 20px;
}

/* ===================== ASSETS ===================== */
/* ===================== ASSETS (FIXED) ===================== */
.asset-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

/* CARD */
.asset {
  background: #fff;
  border-radius: 16px;
  padding: 12px 10px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);

  display: flex;
  flex-direction: column;
  justify-content: space-between;

  min-height: 180px; /* đảm bảo card đều nhau */
}

/* IMAGE */
.asset-img {
  width: 100%;
  height: 90px;
  background: #f2f2f2;
  border-radius: 12px;
  overflow: hidden;

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

  margin-bottom: 6px;
}

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

/* TEXT */
.asset p {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  margin-top: 6px;
}

/* ===== TABLET ===== */
@media (min-width: 768px) {
  .asset-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .asset-img {
    height: 120px;
  }

  .asset {
    min-height: 210px;
  }
}

/* ===== DESKTOP ===== */
@media (min-width: 1024px) {
  .asset-img {
    height: 150px;
  }

  .asset {
    min-height: 240px;
  }
}


/* ===================== PRICING ===================== */
.pricing {
  background: #fff;
  border-radius: 20px;
  padding: 32px 16px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.price-btn {
  background: var(--yellow);
  border: none;
  padding: 14px 28px;
  border-radius: 30px;
  font-weight: 800;
  cursor: pointer;
}

/* ===================== POPUP ===================== */
.popup {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.6);
  display: none;
  align-items: center;
  justify-content: center;
}

.popup.show {
  display: flex;
}

.popup-content {
  background: #fff;
  width: 90%;
  max-width: 360px;
  border-radius: 20px;
  padding: 24px;
  text-align: center;
  position: relative;
}

.popup-btn {
  display: block;
  margin-top: 12px;
  padding: 14px;
  border-radius: 30px;
  font-weight: 700;
}

.popup-btn.call { background: #28a745; color: #fff; }
.popup-btn.zalo { background: #0068ff; color: #fff; }

.close {
  position: absolute;
  top: 10px;
  right: 14px;
  font-size: 22px;
  cursor: pointer;
}

/* ===================== ABOUT ===================== */
.about-card {
  background: #fff;
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.about-highlight {
  margin-top: 20px;
  background: #fff8d6;
  border-left: 4px solid var(--yellow);
  padding: 12px;
  border-radius: 10px;
}

/* ===================== FOOTER ===================== */
.footer {
  background: var(--black);
  color: #fff;
}

.footer-inner {
  padding: 32px 16px;
  text-align: center;
}

.footer-logo {
  color: var(--yellow);
  font-weight: 800;
}

/* ===================== TABLET ===================== */
@media (min-width: 768px) {
  .asset-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .asset-img {
    height: 120px;
  }
}

/* ===================== DESKTOP ===================== */
@media (min-width: 1024px) {

  .hamburger {
    display: none;
  }

  .nav-inner {
    max-width: 1200px;
    margin: auto;
  }

  .nav-menu {
    display: flex !important;
    position: static;
    flex-direction: row;
    background: none;
    gap: 20px;
  }

  .nav-menu a {
    border: none;
    padding: 0;
  }

  section {
    padding: 96px 16px;
  }

  .hero {
    padding: 140px 16px;
  }

  .hero h1 {
    font-size: 44px;
  }

  .assets,
  .pricing,
  .about {
    max-width: 1200px;
    margin: auto;
  }

  .asset-img {
    height: 150px;
  }
}
/* ===== GALLERY ===== */
.gallery {
  padding: 40px 16px;
  background: #fff;
}

.gallery h2 {
  text-align: center;
  font-size: 22px;
  margin-bottom: 20px;
}

.myGallery {
  width: 100%;
}

.swiper-slide {
  border-radius: 16px;
  overflow: hidden;
}

.swiper-slide img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

/* DESKTOP */
@media (min-width: 1024px) {
  .swiper-slide img {
    height: 360px;
  }
}
