/* =============================================
   SHARED.CSS — Taxi Long Xuyên
   Dùng chung cho toàn bộ website
   SĐT: 0782 807 826
============================================= */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700;800;900&family=Be+Vietnam+Pro:wght@300;400;500;600;700&display=swap');

/* ---- CSS Variables ---- */
:root {
  --primary:        #0057B8;
  --primary-dark:   #003d85;
  --primary-light:  #e8f0fb;
  --accent:         #FFD200;
  --accent-dark:    #e6b800;
  --text:           #0d1b2e;
  --text-light:     #4a5568;
  --gray-dark:      #6b7280;
  --white:          #ffffff;
  --off-white:      #f8f9fc;
  --border:         #e2e8f0;
  --shadow-sm:      0 2px 8px rgba(0,0,0,0.06);
  --shadow-md:      0 8px 32px rgba(0,0,0,0.10);
  --shadow-lg:      0 20px 60px rgba(0,0,0,0.14);
  --radius-sm:      8px;
  --radius-md:      14px;
  --radius-lg:      24px;
  --font-display:   'Montserrat', sans-serif;
  --font-body:      'Be Vietnam Pro', sans-serif;
}

/* ---- Reset & Base ---- */
*, *::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(--text);
  line-height: 1.7;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ---- Container ---- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- Navbar ---- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1.5px solid var(--border);
  transition: box-shadow 0.3s;
}
.navbar.scrolled { box-shadow: var(--shadow-md); }
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 20px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 19px;
  color: var(--primary);
  flex-shrink: 0;
}
.nav-logo .logo-icon {
  width: 38px; height: 38px;
  background: var(--primary);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-size: 18px;
}
.nav-logo span { color: var(--accent-dark); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-links a {
  font-size: 13.5px;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 8px;
  color: var(--text-light);
  transition: all 0.2s;
  white-space: nowrap;
}
.nav-links a:hover, .nav-links a.active {
  color: var(--primary);
  background: var(--primary-light);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.nav-phone {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 16px;
  color: var(--primary);
  letter-spacing: 0.5px;
}
.nav-phone i { margin-right: 5px; color: var(--accent-dark); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
  background: none;
  border: none;
}
.hamburger span {
  width: 24px; height: 2.5px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s;
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

@media (max-width: 900px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 68px; left: 0; right: 0;
    background: #fff;
    flex-direction: column;
    padding: 16px 24px 24px;
    border-bottom: 1.5px solid var(--border);
    box-shadow: var(--shadow-md);
    gap: 4px;
    align-items: flex-start;
  }
  .nav-links.open { display: flex; }
  .nav-links a { width: 100%; padding: 10px 14px; }
  .hamburger { display: flex; }
  .nav-phone { display: none; }
}

/* ---- Buttons ---- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary);
  color: #fff;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  padding: 13px 26px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: all 0.25s;
  white-space: nowrap;
}
.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,87,184,0.28);
}

.btn-accent {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: var(--text);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 800;
  padding: 13px 26px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: all 0.25s;
}
.btn-accent:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255,210,0,0.4);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  padding: 11px 24px;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.25s;
}
.btn-outline:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}

/* ---- Cards ---- */
.card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.3s, transform 0.3s;
}
.card:hover { box-shadow: var(--shadow-md); }

/* ---- Section Helpers ---- */
.section-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--primary-light);
  padding: 5px 14px;
  border-radius: 50px;
  margin-bottom: 14px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 800;
  line-height: 1.25;
  color: var(--text);
  margin-bottom: 12px;
}
.section-title span { color: var(--primary); }
.section-desc {
  font-size: 16px;
  color: var(--text-light);
  max-width: 560px;
  line-height: 1.75;
}
.blue-divider {
  width: 48px;
  height: 4px;
  background: var(--primary);
  border-radius: 2px;
  margin-bottom: 20px;
}

/* ---- Page Hero ---- */
.page-hero {
  padding: 130px 0 70px;
  background: linear-gradient(135deg, #0d1b2e 0%, #0057B8 100%);
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  right: -80px; top: -80px;
  width: 400px; height: 400px;
  background: rgba(255,210,0,0.07);
  border-radius: 50%;
}
.page-hero-content {
  position: relative;
  z-index: 1;
}
.breadcrumb {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 16px;
}
.breadcrumb a {
  color: rgba(255,255,255,0.75);
  transition: color 0.2s;
}
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span { color: rgba(255,255,255,0.9); }
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(30px, 5vw, 50px);
  font-weight: 900;
  color: #fff;
  margin-bottom: 16px;
  line-height: 1.2;
}
.page-hero h1 em {
  font-style: normal;
  color: var(--accent);
}
.page-hero p {
  font-size: 16px;
  color: rgba(255,255,255,0.8);
  max-width: 600px;
  line-height: 1.7;
}

/* ---- Sections Padding ---- */
.contact-page,
.terms-page,
.pricing-page,
.about-page,
.ev-page,
.commitment-page { padding: 80px 0 100px; }

/* ---- Icon Box ---- */
.icon-box {
  width: 52px; height: 52px;
  background: var(--primary-light);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--primary);
  font-size: 20px;
  margin-bottom: 16px;
  flex-shrink: 0;
}

/* ---- Footer ---- */
.footer {
  background: var(--text);
  color: rgba(255,255,255,0.75);
  padding: 60px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}
.footer-brand .nav-logo { color: #fff; margin-bottom: 14px; }
.footer-brand .nav-logo .logo-icon { background: var(--accent); color: var(--text); }
.footer-brand p { font-size: 14px; line-height: 1.8; max-width: 280px; }
.footer-col h5 {
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-bottom: 18px;
}
.footer-col a {
  display: block;
  font-size: 14px;
  padding: 5px 0;
  color: rgba(255,255,255,0.7);
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--accent); }
.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  padding: 5px 0;
}
.footer-contact-item i { color: var(--accent); width: 16px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-bottom a { color: rgba(255,255,255,0.5); }
.footer-bottom a:hover { color: var(--accent); }

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* ---- Float CTA ---- */
.float-cta {
  position: fixed;
  bottom: 24px; right: 24px;
  z-index: 900;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-end;
}
.float-btn {
  width: 52px; height: 52px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  color: #fff;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
  transition: transform 0.2s;
  animation: pulse-float 2.5s infinite;
}
.float-btn:hover { transform: scale(1.1); }
.float-phone { background: var(--primary); }
.float-zalo  { background: #0068ff; }

@keyframes pulse-float {
  0%, 100% { box-shadow: 0 4px 20px rgba(0,0,0,0.2); }
  50% { box-shadow: 0 4px 28px rgba(0,87,184,0.5); }
}

/* ---- Fade-up animation ---- */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---- Scrollbar ---- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }