/* ============================================================
   SANBONG.VN – SHARED DESIGN TOKENS & COMPONENTS
   Matched from Document/sanbong_web/common.css
============================================================ */
:root {
  --green-primary: #16a34a;
  --green-dark:    #15803d;
  --green-light:   #dcfce7;
  --green-accent:  #4ade80;
  --grey-50:  #f9fafb;
  --grey-100: #f3f4f6;
  --grey-200: #e5e7eb;
  --grey-400: #9ca3af;
  --grey-600: #4b5563;
  --grey-700: #374151;
  --grey-800: #1f2937;
  --grey-900: #111827;
  --white: #ffffff;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.05);
  --shadow-md: 0 4px 16px rgba(0,0,0,.10);
  --shadow-lg: 0 10px 40px rgba(0,0,0,.14);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --font-display: 'Lexend', sans-serif;
  --font-body: 'Be Vietnam Pro', sans-serif;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); background: var(--white); color: var(--grey-800); overflow-x: hidden; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; }

/* NAVBAR */
.navbar { position: sticky; top: 0; z-index: 1000; background: rgba(255,255,255,0.96); backdrop-filter: blur(12px); border-bottom: 1px solid var(--grey-200); padding: 12px 0; transition: box-shadow .25s; }
.navbar.scrolled { box-shadow: var(--shadow-md); }
.nav-brand { font-family: var(--font-display); font-size: 1.45rem; font-weight: 800; color: var(--green-primary); letter-spacing: -0.5px; }
.nav-brand span { color: var(--grey-800); }
.nav-link { font-size: .9rem; font-weight: 500; color: var(--grey-600) !important; padding: 6px 14px !important; border-radius: var(--radius-sm); transition: background .18s, color .18s; }
.nav-link:hover { background: var(--green-light); color: var(--green-dark) !important; }
.nav-link.active { color: var(--green-primary) !important; background: var(--green-light); }
.btn-nav-cta { background: var(--green-primary); color: var(--white) !important; border-radius: var(--radius-sm); padding: 8px 20px !important; font-weight: 600; font-size: .9rem; transition: background .18s, transform .15s; }
.btn-nav-cta:hover { background: var(--green-dark); transform: translateY(-1px); }

/* SECTION LABELS */
.section-label { display: inline-flex; align-items: center; gap: 6px; background: var(--green-light); color: var(--green-dark); border-radius: 999px; padding: 4px 12px; font-size: .78rem; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; margin-bottom: 10px; }
.section-title { font-family: var(--font-display); font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 800; color: var(--grey-900); margin-bottom: 8px; line-height: 1.2; }
.section-sub { color: var(--grey-600); font-size: .95rem; }

/* COURT CARD */
.court-card { background: var(--white); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); border: 1.5px solid var(--grey-200); transition: box-shadow .2s, transform .2s; height: 100%; }
.court-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.court-img-wrap { position: relative; overflow: hidden; height: 190px; }
.court-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.court-card:hover .court-img-wrap img { transform: scale(1.06); }
.court-badge { position: absolute; top: 12px; left: 12px; background: var(--green-primary); color: var(--white); font-size: .72rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; }
.court-fav { position: absolute; top: 12px; right: 12px; background: var(--white); border: none; width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--grey-400); cursor: pointer; transition: color .2s; font-size: .9rem; }
.court-fav:hover { color: #ef4444; }
.court-body { padding: 16px; }
.court-type-tag { font-size: .72rem; font-weight: 600; color: var(--green-dark); background: var(--green-light); padding: 2px 8px; border-radius: 999px; display: inline-block; margin-bottom: 7px; }
.court-name { font-family: var(--font-display); font-size: 1rem; font-weight: 700; color: var(--grey-900); margin-bottom: 5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.court-addr { font-size: .82rem; color: var(--grey-600); margin-bottom: 10px; display: flex; align-items: center; gap: 4px; }
.court-meta { display: flex; align-items: center; justify-content: space-between; padding-top: 10px; border-top: 1px solid var(--grey-100); }
.court-price { font-family: var(--font-display); font-size: 1rem; font-weight: 800; color: var(--green-primary); }
.court-price span { font-size: .75rem; font-weight: 400; color: var(--grey-400); }
.court-rating { display: flex; align-items: center; gap: 4px; font-size: .82rem; font-weight: 600; color: var(--grey-700); }
.court-rating i { color: #f59e0b; font-size: .82rem; }
.btn-book { display: block; width: 100%; background: var(--green-primary); color: var(--white); border: none; border-radius: var(--radius-sm); padding: 9px; font-family: var(--font-display); font-size: .88rem; font-weight: 700; margin-top: 12px; cursor: pointer; transition: background .18s, transform .15s; text-align: center; text-decoration: none; }
.btn-book:hover { background: var(--green-dark); color: var(--white); transform: translateY(-1px); }

/* FOOTER */
footer { background: var(--grey-900); color: rgba(255,255,255,.65); padding: 60px 0 28px; font-size: .88rem; }
.footer-brand { font-family: var(--font-display); font-size: 1.5rem; font-weight: 800; color: var(--white); margin-bottom: 12px; }
.footer-brand span { color: var(--green-accent); }
.footer-desc { color: rgba(255,255,255,.45); line-height: 1.65; max-width: 280px; }
.footer-heading { font-family: var(--font-display); font-size: .82rem; font-weight: 700; color: var(--white); letter-spacing: .6px; text-transform: uppercase; margin-bottom: 16px; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 9px; }
.footer-links a { color: rgba(255,255,255,.5); transition: color .18s; font-size: .88rem; }
.footer-links a:hover { color: var(--green-accent); }
.footer-divider { border-color: rgba(255,255,255,.1); margin: 36px 0 20px; }
.footer-copy { color: rgba(255,255,255,.3); font-size: .8rem; }
.social-links { display: flex; gap: 10px; margin-top: 18px; }
.social-link { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.08); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.5); transition: background .18s, color .18s; font-size: .88rem; }
.social-link:hover { background: var(--green-primary); color: var(--white); }

/* FLOATING CTA */
.floating-cta { position: fixed; bottom: 24px; right: 24px; z-index: 999; display: flex; flex-direction: column; gap: 10px; }
.float-btn { width: 52px; height: 52px; border-radius: 50%; border: none; display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: var(--shadow-lg); transition: transform .2s; text-decoration: none; font-size: 1.2rem; }
.float-btn:hover { transform: scale(1.1); }
.float-zalo { background: #0068ff; color: var(--white); }
.float-phone { background: var(--green-primary); color: var(--white); }

/* ANIMATIONS */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
.fade-in-up { animation: fadeInUp .6s ease both; }
.delay-1 { animation-delay: .1s; } .delay-2 { animation-delay: .2s; } .delay-3 { animation-delay: .3s; } .delay-4 { animation-delay: .4s; }
