/* ═══════════════════════════════════════════════════
   TAXI RẠCH GIÁ — shared.css
   Theme: Xanh lá + Vàng gold + Gradient
   Dùng chung cho tất cả trang con (/pages/*.html)
═══════════════════════════════════════════════════ */

/* ── GOOGLE FONTS ── */
@import url('https://fonts.googleapis.com/css2?family=Be+Vietnam+Pro:wght@300;400;500;600;700;800;900&family=Playfair+Display:ital,wght@0,700;0,800;1,700&display=swap');

/* ── CSS VARIABLES ── */
:root {
  /* Green palette */
  --green-deep:    #14532d;
  --green-mid:     #16a34a;
  --green-bright:  #4ade80;
  --green-light:   #bbf7d0;
  --green-pale:    #f0fdf4;

  /* Gold palette */
  --gold:          #f5c518;
  --gold-deep:     #b45309;
  --gold-pale:     #fefce8;
  --accent:        #f5c518;
  --accent-light:  #fde68a;

  /* Neutral */
  --white:         #ffffff;
  --off-white:     #f8fafc;
  --charcoal:      #1a2332;
  --text:          #1e293b;
  --text-light:    #475569;
  --border:        #e2e8f0;
  --border-soft:   #dcfce7;

  /* Semantic aliases (compat với index.php) */
  --primary:       #16a34a;
  --primary-dark:  #14532d;
  --light:         #f0fdf4;
  --light2:        #bbf7d0;

  /* Gradients */
  --grad-hero:   linear-gradient(135deg, #16a34a 0%, #14532d 55%, #052e16 100%);
  --grad-gold:   linear-gradient(135deg, #f5c518 0%, #f59e0b 100%);
  --grad-fresh:  linear-gradient(135deg, #16a34a 0%, #22c55e 100%);
  --grad-mesh:   radial-gradient(ellipse at top left, rgba(22,163,74,0.18) 0%, transparent 60%),
                 radial-gradient(ellipse at bottom right, rgba(245,197,24,0.12) 0%, transparent 60%);

  /* Shadows */
  --shadow-green: rgba(22,163,74,0.15);
  --shadow-gold:  rgba(245,197,24,0.25);
  --shadow-dark:  rgba(20,83,45,0.25);
  --shadow:       rgba(22,163,74,0.12);

  /* Typography */
  --font-display: 'Playfair Display', serif;
  --font-body:    'Be Vietnam Pro', sans-serif;

  --radius: 14px;
}

/* ── RESET & BASE ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--white);
  color: var(--text);
  font-family: var(--font-body);
  overflow-x: hidden;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

/* ── TOPBAR ── */
.topbar {
  background: var(--green-deep);
  padding: 7px 0;
  position: relative;
  overflow: hidden;
}
.topbar::after {
  content: '';
  position: absolute;
  right: 0; top: 0; bottom: 0;
  width: 340px;
  background: linear-gradient(90deg, transparent, rgba(245,197,24,0.12));
  pointer-events: none;
}
.topbar-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 20px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12px; color: rgba(255,255,255,0.78); font-weight: 500;
}
.topbar-inner a { color: var(--gold); text-decoration: none; font-weight: 700; transition: color 0.2s; }
.topbar-inner a:hover { color: #fff; }
.topbar-contact { display: flex; gap: 22px; align-items: center; }
.topbar-contact span { display: flex; align-items: center; gap: 6px; }

/* ── HEADER ── */
header {
  background: var(--white);
  position: sticky; top: 0; z-index: 1000;
  border-bottom: 2.5px solid var(--green-mid);
  box-shadow: 0 3px 24px rgba(22,163,74,0.10);
}
.header-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 20px;
  display: flex; justify-content: space-between; align-items: center; height: 68px;
}

/* Logo */
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo-icon {
  width: 46px; height: 46px;
  background: var(--grad-fresh);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; color: white; flex-shrink: 0;
  box-shadow: 0 4px 14px var(--shadow-green);
  position: relative; overflow: hidden;
}
.logo-icon::after {
  content: '';
  position: absolute; top: -50%; right: -30%; width: 60%; height: 60%;
  background: radial-gradient(circle, rgba(245,197,24,0.4), transparent 70%);
}
.logo-text h1 {
  font-family: var(--font-display); font-size: 19px; font-weight: 800;
  color: var(--green-deep); line-height: 1.1;
}
.logo-text span {
  font-size: 10px; color: var(--gold-deep); letter-spacing: 2px;
  text-transform: uppercase; font-weight: 700;
}

/* Desktop nav */
nav { display: flex; gap: 2px; align-items: center; }
nav a {
  color: var(--text-light); text-decoration: none; font-size: 13px; font-weight: 700;
  padding: 8px 12px; border-radius: 9px; transition: all 0.25s; white-space: nowrap;
}
nav a:hover { color: var(--green-mid); background: var(--green-pale); }
nav a.active {
  color: var(--green-deep);
  background: linear-gradient(135deg, var(--green-pale), #dcfce7);
  border: 1.5px solid var(--green-light);
}

/* Header CTA */
.header-cta { display: flex; gap: 10px; align-items: center; }
.btn-call {
  background: var(--grad-gold);
  color: var(--charcoal); font-size: 13px; font-weight: 800;
  padding: 10px 18px; border-radius: 9px;
  text-decoration: none; display: flex; align-items: center; gap: 7px;
  transition: all 0.25s; white-space: nowrap;
  box-shadow: 0 4px 14px var(--shadow-gold);
}
.btn-call:hover { transform: translateY(-1px); box-shadow: 0 8px 22px var(--shadow-gold); }

/* Hamburger */
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 5px; }
.hamburger span { display: block; width: 24px; height: 2.5px; background: var(--green-mid); border-radius: 2px; transition: all 0.3s; }
.mobile-nav {
  display: none; flex-direction: column;
  background: var(--white); border-top: 1.5px solid var(--green-light);
  padding: 10px 20px 16px; box-shadow: 0 8px 24px rgba(0,0,0,0.09);
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  padding: 12px 10px; color: var(--text); text-decoration: none;
  font-weight: 700; font-size: 14px; border-bottom: 1px solid var(--green-pale);
  transition: color 0.2s; display: flex; align-items: center; gap: 8px;
}
.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav a:hover { color: var(--green-mid); }
.mobile-nav a::before { content: '→'; font-size: 11px; color: var(--green-bright); }

/* ── PAGE HERO (trang con) ── */
.page-hero {
  background: var(--grad-hero);
  padding: 0;
  position: relative;
  overflow: hidden;
  min-height: 260px;
  display: flex;
  align-items: center;
}
.hero-stripe {
  position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 36px 36px;
  pointer-events: none;
}
.hero-stripe::after {
  content: '';
  position: absolute; top: -40%; right: -5%; width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(245,197,24,0.18), transparent 65%);
  border-radius: 50%;
}
.page-hero-content {
  position: relative; z-index: 2;
  padding: 64px 20px 60px;
}
.breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: 12.5px; color: rgba(255,255,255,0.65); margin-bottom: 18px;
  font-weight: 600;
}
.breadcrumb a {
  color: var(--gold); text-decoration: none; transition: color 0.2s;
  display: flex; align-items: center; gap: 5px;
}
.breadcrumb a:hover { color: white; }
.page-hero-content h1 {
  font-family: var(--font-display);
  font-size: clamp(34px, 5vw, 58px);
  font-weight: 800;
  color: white; line-height: 1.1;
  margin-bottom: 14px;
}
.page-hero-content h1 em {
  font-style: normal; color: var(--gold);
}
.page-hero-content p {
  font-size: 15px; color: rgba(255,255,255,0.75);
  line-height: 1.8; max-width: 580px; font-weight: 500;
}

/* ── CONTAINER & SECTIONS ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
section { padding: 80px 0; }

/* ── SECTION TYPOGRAPHY ── */
.section-label {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 11px; letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--green-mid); font-weight: 800;
  background: var(--green-pale); padding: 5px 14px;
  border-radius: 30px; margin-bottom: 14px;
  border: 1.5px solid var(--green-light);
}
.section-label::before {
  content: ''; width: 6px; height: 6px;
  background: var(--green-mid); border-radius: 50%;
  animation: pulse-dot 2.5s infinite;
}
@keyframes pulse-dot {
  0%,100% { opacity:1; transform:scale(1); }
  50% { opacity:0.4; transform:scale(1.5); }
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 800; color: var(--text);
  line-height: 1.15; margin-bottom: 12px;
}
.section-title span { color: var(--green-mid); }
.section-title em { font-style: italic; color: var(--gold-deep); }
.section-desc {
  font-size: 15px; color: var(--text-light);
  line-height: 1.85; max-width: 580px; font-weight: 500;
}
.green-divider {
  width: 52px; height: 3px;
  background: linear-gradient(90deg, var(--green-mid), var(--gold));
  border-radius: 3px; margin: 16px 0 36px;
}

/* ── BUTTONS ── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--grad-fresh);
  color: white; font-family: var(--font-body); font-size: 14px; font-weight: 800;
  padding: 14px 28px; border-radius: 10px; text-decoration: none; border: none;
  cursor: pointer; transition: all 0.3s;
  box-shadow: 0 6px 20px var(--shadow-green);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 32px var(--shadow-dark); }

.btn-gold {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--grad-gold);
  color: var(--charcoal); font-family: var(--font-body); font-size: 14px; font-weight: 800;
  padding: 14px 28px; border-radius: 10px; text-decoration: none; border: none;
  cursor: pointer; transition: all 0.3s;
  box-shadow: 0 6px 20px var(--shadow-gold);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 12px 30px var(--shadow-gold); }

.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent;
  color: var(--green-mid); font-family: var(--font-body); font-size: 14px; font-weight: 800;
  padding: 13px 26px; border-radius: 10px; text-decoration: none;
  border: 2px solid var(--green-mid); cursor: pointer; transition: all 0.3s;
}
.btn-outline:hover { background: var(--green-pale); }

/* ── FADE-UP ANIMATION ── */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ── FOOTER ── */
footer {
  background: var(--charcoal);
  color: #cbd5e1; padding: 60px 0 0;
  position: relative; overflow: hidden;
}
footer::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--green-mid), var(--gold), var(--green-mid));
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px; margin-bottom: 44px;
}
.footer-logo {
  font-family: var(--font-display); font-size: 22px; font-weight: 800;
  color: white; margin-bottom: 14px; display: flex; align-items: center; gap: 9px;
}
.footer-logo i { color: var(--gold); }
.footer-brand p { font-size: 13px; line-height: 1.8; color: #94a3b8; margin-bottom: 22px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 9px;
  background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  color: #94a3b8; font-size: 15px; text-decoration: none; transition: all 0.3s;
}
.footer-social a:hover { background: var(--green-mid); border-color: var(--green-mid); color: white; }

.footer-col h4 {
  font-size: 12.5px; font-weight: 800; color: white;
  letter-spacing: 2px; text-transform: uppercase;
  margin-bottom: 20px; padding-bottom: 10px;
  border-bottom: 1.5px solid rgba(255,255,255,0.07);
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  color: #94a3b8; text-decoration: none; font-size: 13px; font-weight: 500;
  transition: all 0.25s; display: flex; align-items: center; gap: 7px;
}
.footer-col ul li a::before {
  content: '›'; color: var(--green-mid); font-size: 14px; font-weight: 700;
  transition: transform 0.2s;
}
.footer-col ul li a:hover { color: var(--gold); padding-left: 4px; }
.footer-col ul li a:hover::before { transform: translateX(3px); }
.footer-col .contact-line {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 13px; color: #94a3b8; margin-bottom: 12px; font-weight: 500;
}
.footer-col .contact-line i { color: var(--green-bright); width: 16px; margin-top: 2px; flex-shrink: 0; }
.footer-col .contact-line a { color: #94a3b8; text-decoration: none; transition: color 0.2s; }
.footer-col .contact-line a:hover { color: var(--gold); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 20px 0;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12px; color: #475569;
}
.footer-bottom a { color: var(--gold); text-decoration: none; }
.footer-bottom a:hover { color: var(--green-bright); }

/* ── FLOATING BUTTONS ── */
.float-group {
  position: fixed; bottom: 28px; right: 22px; z-index: 999;
  display: flex; flex-direction: column; gap: 12px;
}
.float-btn {
  width: 52px; height: 52px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; text-decoration: none;
  box-shadow: 0 6px 20px rgba(0,0,0,0.22);
  transition: all 0.3s; position: relative;
}
.float-btn.phone {
  background: var(--grad-fresh); color: white;
  animation: ring-anim 3s infinite;
}
.float-btn.zalo { background: #0068ff; color: white; }
.float-btn:hover { transform: scale(1.12); }
@keyframes ring-anim {
  0%,75%,100% { transform:scale(1); }
  10%,30% { transform:scale(1.1) rotate(-6deg); }
  20%,40% { transform:scale(1.1) rotate(6deg); }
}
.float-tooltip {
  position: absolute; right: 62px;
  background: var(--charcoal); color: white;
  font-size: 12px; font-weight: 700; padding: 6px 12px;
  border-radius: 7px; white-space: nowrap;
  opacity: 0; pointer-events: none; transition: opacity 0.25s;
  font-family: var(--font-body);
}
.float-btn:hover .float-tooltip { opacity: 1; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
}
@media (max-width: 768px) {
  nav { display: none; }
  .hamburger { display: flex; }
  section { padding: 60px 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .page-hero-content { padding: 50px 20px 44px; }
}
@media (max-width: 480px) {
  .topbar-contact { gap: 12px; }
  .float-group { bottom: 18px; right: 14px; }
}