/* ============================================
   BANGKOK RIDE TEMPLATE — Design System
   ============================================ */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800;900&display=swap');

:root {
  --yellow: #FFC107;
  --yellow-hover: #E0A800;
  --navy: #0F172A;
  --black: #111111;
  --white: #FFFFFF;
  --gray-light: #F8FAFC;
  --gray: #64748B;
  --light-border: #E2E8F0;
  
  --line-green: #06C755;
  --line-green-dark: #05A848;

  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 4rem;
  
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  
  --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
  --shadow-md: 0 10px 25px rgba(0,0,0,0.1);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; font-size: 16px; font-family: 'Montserrat', sans-serif; }

body {
  color: var(--black);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: all 0.2s ease; }
ul { list-style: none; }

h1, h2, h3, h4 { color: var(--navy); line-height: 1.2; font-weight: 800; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--space-sm); }
.section { padding: var(--space-2xl) 0; }
.text-center { text-align: center; }

/* ============================================
   HEADER
   ============================================ */
.header { position: sticky; top: 0; z-index: 1000; background: var(--white); box-shadow: var(--shadow-sm); }

.top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px var(--space-sm);
  max-width: 1200px;
  margin: 0 auto;
}

.brand-area { display: flex; align-items: center; gap: 15px; }

.brand-logo {
  background: var(--yellow);
  color: var(--navy);
  font-weight: 900;
  font-size: 1.2rem;
  padding: 5px 15px;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
  letter-spacing: -0.5px;
}

.brand-domain { font-weight: 600; font-size: 0.9rem; color: var(--navy); }

.lower-bar { background: var(--yellow); padding: 8px 0; font-size: 0.85rem; font-weight: 600; color: var(--navy); }

.lower-bar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.contact-info { display: flex; gap: 20px; align-items: center; }
.contact-item { display: flex; align-items: center; gap: 5px; }
.contact-item svg { width: 16px; height: 16px; }

.social-icons { display: flex; gap: 10px; }
.social-icons svg { width: 18px; height: 18px; cursor: pointer; }

/* Main Nav */
.main-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px var(--space-sm);
  max-width: 1200px;
  margin: 0 auto;
}

.nav-links { display: flex; gap: 30px; align-items: center; }
.nav-links a { font-weight: 600; font-size: 0.95rem; color: var(--navy); }
.nav-links a:hover { color: var(--yellow-hover); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  padding: 10px 24px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  border: none;
  font-size: 0.95rem;
}

.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: #1E293B; }

.btn-yellow { background: var(--yellow); color: var(--navy); }
.btn-yellow:hover { background: var(--yellow-hover); }

.hamburger { display: none; flex-direction: column; gap: 4px; cursor: pointer; }
.hamburger span { width: 24px; height: 3px; background: var(--navy); border-radius: 2px; }

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  background: var(--navy);
  padding: var(--space-2xl) 0;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('images/hero.png');
  background-size: cover;
  background-position: center;
  opacity: 0.4;
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: var(--space-2xl);
  align-items: center;
}

.hero-text h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: var(--white);
  margin-bottom: var(--space-sm);
}

.hero-text p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: var(--space-lg);
  max-width: 500px;
}

/* Booking Form */
.booking-form {
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(10px);
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

.booking-form h3 {
  color: var(--white);
  margin-bottom: var(--space-md);
  font-size: 1.5rem;
  text-align: center;
}

.form-group { margin-bottom: 15px; position: relative; }
.form-group svg {
  position: absolute; left: 14px; top: 14px;
  width: 18px; height: 18px; color: var(--gray);
}
.form-control {
  width: 100%;
  padding: 12px 12px 12px 40px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--light-border);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.95rem;
  background: var(--white);
}

.form-group.half-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; margin-bottom: 15px; }

.booking-form .btn-yellow { width: 100%; padding: 14px; font-size: 1.1rem; margin-top: 10px; }

/* ============================================
   FLEET
   ============================================ */
.fleet { background: var(--gray-light); }

.fleet-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
  margin-top: var(--space-xl);
}

.fleet-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--light-border);
  transition: transform 0.3s ease;
}

.fleet-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }

.fleet-img {
  width: 100%;
  aspect-ratio: 4/3;
  background: #F8FAFC;
  display: flex; align-items: center; justify-content: center;
  padding: 10px;
}
.fleet-img img { width: 100%; height: 100%; object-fit: contain; }

.fleet-info { padding: var(--space-sm); text-align: center; }
.fleet-info h4 { font-size: 1.1rem; margin-bottom: 10px; }
.fleet-info .btn-yellow { width: 100%; padding: 8px; font-size: 0.85rem; }

/* ============================================
   DRIVERS
   ============================================ */
.drivers { background: var(--white); }

.drivers-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xl);
  margin-top: var(--space-xl);
  max-width: 900px;
  margin-left: auto; margin-right: auto;
}

.driver-card {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  background: var(--gray-light);
  padding: var(--space-md);
  border-radius: var(--radius-lg);
  border: 1px solid var(--light-border);
}

.driver-img {
  width: 120px; height: 120px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid var(--yellow);
  flex-shrink: 0;
}
.driver-img img { width: 100%; height: 100%; object-fit: cover; }

.driver-info h4 { font-size: 1.2rem; margin-bottom: 5px; }
.driver-stars { color: var(--yellow); margin-bottom: 8px; display: flex; gap: 2px; }
.driver-stars svg { width: 14px; height: 14px; fill: currentColor; }
.driver-info p { font-size: 0.85rem; color: var(--gray); margin-bottom: 15px; }

.driver-actions { display: flex; gap: 10px; }
.driver-actions .btn { padding: 6px 12px; font-size: 0.8rem; border-radius: 4px; }

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--navy);
  color: var(--white);
  text-align: center;
  padding: var(--space-lg) 0;
}

.footer-logo {
  display: inline-block;
  background: var(--yellow);
  color: var(--navy);
  font-weight: 900;
  padding: 5px 15px;
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-sm);
}

.footer p { font-size: 0.85rem; color: rgba(255,255,255,0.6); }

/* ============================================
   FLOATING CTAs
   ============================================ */
.floating-ctas {
  position: fixed;
  bottom: 20px; right: 20px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: flex-end;
  z-index: 9999;
}

.float-phone {
  width: 55px; height: 55px;
  background: #E63946;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: white;
  box-shadow: 0 4px 15px rgba(230, 57, 70, 0.4);
}
.float-phone svg { width: 24px; height: 24px; }

/* GIGANTIC GLOWING LINE BUTTON */
.float-line-huge {
  background: var(--line-green);
  color: white;
  font-weight: 900;
  font-size: 1.5rem;
  padding: 18px 36px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 12px;
  border: 4px solid white;
  box-shadow: 0 0 40px rgba(6, 199, 85, 0.6), 0 10px 20px rgba(0,0,0,0.2);
  animation: line-pulse-huge 2s infinite;
  text-transform: uppercase;
}
.float-line-huge svg { width: 40px; height: 40px; }

@keyframes line-pulse-huge {
  0%, 100% { transform: scale(1); box-shadow: 0 0 30px rgba(6, 199, 85, 0.5), 0 10px 20px rgba(0,0,0,0.2); }
  50% { transform: scale(1.05); box-shadow: 0 0 60px rgba(6, 199, 85, 0.8), 0 15px 25px rgba(0,0,0,0.3); border-color: #E8FDEE; }
}

/* Responsive */
@media (max-width: 1024px) {
  .hero .container { grid-template-columns: 1fr; text-align: center; }
  .hero-text p { margin: 0 auto 30px; }
  .booking-form { max-width: 500px; margin: 0 auto; }
  .fleet-grid { grid-template-columns: repeat(2, 1fr); }
  .drivers-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .top-bar { display: none; }
  .nav-links { display: none; }
  .main-nav .btn-navy { display: none; }
  .hamburger { display: flex; z-index: 1001; }
  .hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .hamburger.active span:nth-child(2) { opacity: 0; }
  .hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .hamburger span { transition: all 0.3s ease; }
  
  .nav-links.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 20px;
    box-shadow: 0 10px 15px rgba(0,0,0,0.1);
    align-items: flex-start;
    border-top: 1px solid var(--light-border);
  }
  .nav-links.active a {
    width: 100%;
    padding: 10px 0;
    border-bottom: 1px solid var(--light-border);
  }
  .float-line-huge { font-size: 1.1rem; padding: 12px 20px; border-width: 2px; }
  .float-line-huge svg { width: 28px; height: 28px; }
}
