/* =====================================================
   GLOBAL / BODY
===================================================== */

html, body {
  height: 100%;
}

body {
  background: #f5f7fa;
  display: flex;
  flex-direction: column;
  margin: 0;
}

main {
  flex: 1 0 auto;
}

.site-footer {
  flex-shrink: 0;
}


/* =====================================================
   TOPBAR
===================================================== */
.topbar {
  background: #111;
  color: #fff;
  font-size: 0.87rem;
  padding: 6px 0;
  z-index: 1040;
  position: relative;
}

.topbar-text {
  margin-right: 8px;
  color: #ccc;
}

.topbar-left img,
.topbar-small-icon {
  width: 18px;
  height: 18px;
  filter: brightness(0) invert(1);
  opacity: 0.8;
  transition: 0.2s;
}

.topbar-small-icon {
  margin-right: 4px;
}

.topbar-icon img:hover {
  opacity: 1;
  transform: scale(1.1);
}

.topbar-icon {
  margin-right: 10px;
}

/* =====================================================
   NAVBAR
===================================================== */
.main-navbar {
  position: sticky;
  top: 0;
  z-index: 1020;
}

.navbar-brand strong {
  color: #d32f2f;
  font-size: 1.5rem;
}

.tagline {
  color: #f9a825;
  font-size: 0.95rem;
  font-weight: 600;
}

.navbar-nav .nav-link {
  font-weight: 500;
  font-size: 1rem;
  padding: 8px 16px;
  color: #333 !important;
  transition: 0.2s;
}

.navbar-nav .nav-link:hover {
  color: #f9a825 !important;
}

.navbar-nav .nav-link.active {
  color: #d32f2f !important;
}

/* ===============================
   HERO SECTION – FINAL FIX (CLEAN)
================================ */

.hero-section {
  background: #f5f7fa;
  padding: 30px 0 10px;
  text-align: center;
}

/* Title ABOVE car */
.hero-title {
  font-size: 2.6rem;
  font-weight: 800;
  color: #d32f2f;
  margin-bottom: 18px;
}

/* Carousel wrapper */
.hero-carousel {
  position: relative;
}

/* Car image */
.hero-slide {
  height: 60vh;
  min-height: 340px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

/* Thin arrows */
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  color: #f9a825;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 5;
}

.carousel-control-prev.hero-arrow { left: 10px; }
.carousel-control-next.hero-arrow { right: 10px; }

/* Buttons BELOW image */
.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin: 18px 0 8px;
  flex-wrap: wrap;
}

.btn-book {
  background: #d32f2f;
  color: #fff;
  font-weight: 700;
  border-radius: 999px;
  padding: 12px 32px;
}

.btn-book:hover {
  background: #b71c1c;
  color: #fff;
}

.btn-call {
  background: #fff8e1;
  border: 2px solid #f9a825;
  color: #8a4b00;
  font-weight: 700;
  border-radius: 999px;
  padding: 12px 32px;
}

.btn-call:hover {
  background: #f9a825;
  color: #000;
}

/* Fare Calculator button */
.hero-fare-btn {
  text-align: center;
  margin-top: 10px;
}

.btn-fare {
  background: transparent;
  border: 2px dashed #d32f2f;
  color: #d32f2f;
  font-weight: 700;
  border-radius: 999px;
  padding: 10px 28px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-fare:hover {
  background: #d32f2f;
  color: #fff;
}

/* ===============================
   MOBILE OPTIMIZATION (KEY FIX)
================================ */
@media (max-width: 768px) {

  /* Title */
  .hero-title {
    font-size: 1.9rem;
    margin-bottom: 12px;
  }

  /* Move car UP */
  .hero-slide {
    height: 38vh;        /* reduced from 42vh */
    min-height: 240px;
  }

  /* Move buttons UP */
  .hero-buttons {
    margin-top: -8px;
    margin-bottom: 6px;
  }

  /* Smaller buttons for mobile */
  .btn-book,
  .btn-call {
    padding: 10px 26px;
    font-size: 0.95rem;
  }
}

.home-services {
  margin-top: 50px;
}

@media (max-width: 768px) {
  .hero-slide {
    height: 40vh;   /* currently ~42vh */
  }
}
.view-fare-btn {
  transition: all 0.2s ease;
}

.view-fare-btn:hover {
  background: #fff8e1;
  border-color: #f9a825;
}



/* ===============================
   ABOUT SECTION – CENTERED
================================ */

.about-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: #d32f2f;
}

.about-text {
  font-size: 1.05rem;
  color: #444;
  line-height: 1.7;
}

.about-divider {
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #d32f2f, #f9a825);
  border-radius: 10px;
  margin-left: auto;
  margin-right: auto;
}

.about-highlights {
  list-style: none;
  padding-left: 0;
  max-width: 520px;
}

.about-highlights li {
  padding-left: 28px;
  position: relative;
  margin-bottom: 10px;
  font-size: 1rem;
}

.about-highlights li::before {
  content: "★";
  position: absolute;
  left: 0;
  color: #f9a825;
  font-size: 1.1rem;
}

/* Mobile polish */
@media (max-width: 768px) {
  .about-title {
    font-size: 1.8rem;
  }

  .about-text {
    font-size: 0.95rem;
  }
}

/* Golden star */
.about-highlights li::before {
  content: "★";
  position: absolute;
  left: 0;
  top: 2px;
  color: #f4b400; /* golden star */
  font-size: 18px;
}

/* =====================================================
   SERVICES / CARDS
===================================================== */
.services-section {
  background: #f5f7fa;
}

.services-title {
  font-size: 2.1rem;
  font-weight: 700;
  color: #d32f2f;
}

.service-card {
  background: linear-gradient(135deg, #ffffff, #fffdf3);
  border-radius: 14px;
  padding: 20px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
}

.service-name {
  color: #f9a825;
  font-weight: 600;
}

/* =====================================================
   WHY CHOOSE JK CITY TAXI – PREMIUM VERSION
===================================================== */

.highlights-section {
  background: linear-gradient(180deg, #ffffff, #f8f9fb);
}

/* Title */
.highlights-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: #d32f2f;
  margin-bottom: 12px;
}

/* Intro text */
.highlights-intro {
  font-size: 1.05rem;
  color: #444;
  margin-bottom: 20px;
  max-width: 600px;
}

/* Bullet list */
.highlights-list {
  list-style: none;
  padding-left: 0;
}

.highlights-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  font-size: 1rem;
  color: #333;
}

.highlights-list li::before {
  content: "★";
  position: absolute;
  left: 0;
  top: 2px;
  color: #ffb300;
  font-size: 1rem;
  text-shadow: 0 0 6px rgba(255,179,0,0.45);
}



/* =====================
   STAT CARDS
===================== */

.stat-card {
  background: #ffffff;
  border-radius: 14px;
  padding: 22px 14px;
  text-align: center;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  border: 1px solid #f1f1f1;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.stat-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(211,47,47,0.18);
}

/* Big number */
.stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: #d32f2f;
  line-height: 1;
}

/* Label */
.stat-label {
  margin-top: 6px;
  font-size: 0.9rem;
  color: #555;
  font-weight: 600;
}

/* =====================
   MOBILE OPTIMIZATION
===================== */
@media (max-width: 767px) {
  .highlights-title {
    font-size: 1.6rem;
    text-align: center;
  }

  .highlights-intro {
    text-align: center;
    font-size: 0.95rem;
    margin-left: auto;
    margin-right: auto;
  }

  .highlights-list li {
    font-size: 0.95rem;
  }

  .stat-number {
    font-size: 1.6rem;
  }
}

/* ===============================
   FLOATING SOCIAL BUTTONS
================================ */

.social-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 9999;
}

.social-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 22px;
  box-shadow: 0 6px 14px rgba(0,0,0,0.3);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

/* Hover effect (desktop) */
.social-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 10px 20px rgba(0,0,0,0.4);
}

/* Brand colors */
.social-btn.whatsapp {
  background-color: #25D366;
}

.social-btn.instagram {
  background: radial-gradient(circle at 30% 30%, #feda75, #d62976, #962fbf, #4f5bd5);
}

.social-btn.facebook {
  background-color: #1877F2;
}

/* ===============================
   MOBILE OPTIMIZATION
================================ */
@media (max-width: 768px) {
  .social-btn {
    width: 48px;
    height: 48px;
    font-size: 20px;
  }
}

/* ===============================
   MOBILE UX FIX – HIDE EXTRA FLOATING ICONS
================================ */

@media (max-width: 768px) {
  /* Hide Instagram & Facebook on mobile */
  .social-btn.instagram,
  .social-btn.facebook {
    display: none;
  }

  /* Slightly adjust WhatsApp position */
  .social-float {
    bottom: 20px;
    right: 16px;
  }
}

/* ===============================
   GOOGLE REVIEW SECTION
================================ */

.google-review-section {
  background: #f9f9f9;
  padding: 40px 25px;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.reviews-subtext {
  font-size: 1.05rem;
  color: #555;
}

.google-qr-box {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.google-review-qr {
  width: 180px;
  height: 180px;
}

.qr-note {
  font-size: 0.9rem;
  color: #666;
}

/* =====================================================
   PLANS & PACKAGES
===================================================== */
.plan-card {
  background: #ffffff;
  border-radius: 14px;
  padding: 16px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
}

.plan-name {
  color: #d32f2f;
  font-weight: 700;
}

/* ===============================
   CONTACT – QUICK CONNECT PANEL
================================ */

.contact-quick-connect {
  background: #ffffff;
  padding: 35px;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.contact-quick-connect h3 {
  font-weight: 700;
  color: #222;
}

.social-connect a {
  text-decoration: none;
  font-weight: 500;
  color: #d32f2f;
}

.social-connect a:hover {
  text-decoration: underline;
}

/* Mobile spacing polish */
@media (max-width: 768px) {
  .contact-quick-connect {
    margin-top: 20px;
  }
}


/* =====================================================
   FOOTER
===================================================== */
.site-footer {
  background: #1f1f1f;
  color: #dcdcdc;
  padding-top: 40px;
}

.footer-title {
  color: #fff;
  font-weight: 600;
}

.footer-links a {
  color: #c8c8c8;
}

.footer-links a:hover {
  color: #ffb300;
}

.footer-bottom {
  background: #111;
  color: #aaa;
  padding: 12px 0;
}

.site-footer {
  margin-top: auto;
}


/* =====================================================
   ROTATING LOGO (SCREEN ONLY)
===================================================== */
.brand-rotate-logo,
.rotate-logo {
  width: 50px;
  height: 50px;
  object-fit: contain;
  animation: spinLogo 4.5s linear infinite;
}

.brand-rotate-logo:hover,
.rotate-logo:hover {
  animation-play-state: paused;
  transform: scale(1.1);
}

@keyframes spinLogo {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 576px) {
  .brand-rotate-logo,
  .rotate-logo {
    width: 38px;
    height: 38px;
  }
}

/* =====================================================
   INFIWAY DESIGN CREDIT
===================================================== */
.designer-credit {
  display: block;
  margin-top: 6px;
  font-size: 0.85rem;
  color: #aaa;
}

.designer-credit a {
  color: #ffb300;
  text-decoration: none;
  font-weight: 600;
}

.designer-credit a:hover {
  text-decoration: underline;
}

/* ===============================
   PLANS PAGE – FINAL OVERRIDES
   (Must stay at bottom)
================================ */

.plans-section-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: #d32f2f;
  position: relative;
}

.plans-section-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, #d32f2f, #f9a825);
  margin-top: 6px;
  border-radius: 6px;
}

/* Highlight chip */
.plans-chip {
  background: linear-gradient(135deg, #fff8e1, #ffecb3);
  border: 1px solid #ffd54f;
  color: #8a4b00;
  font-weight: 600;
}

/* Plan card premium look */
.plan-card {
  background: linear-gradient(180deg, #ffffff, #fffdf5);
  border-radius: 16px;
  border: 1px solid #ffe082;
  box-shadow: 0 8px 26px rgba(211,47,47,0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.plan-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 40px rgba(211,47,47,0.18);
}

/* Badge */
.plan-badge {
  background: linear-gradient(135deg, #ffe0b2, #ffcc80);
  color: #bf360c;
  font-weight: 700;
}

/* Plan title */
.plan-name {
  font-size: 1.25rem;
  font-weight: 800;
  color: #d32f2f;
}

/* Tagline */
.plan-tagline {
  font-size: 0.95rem;
  color: #555;
}


/* CTA button */
.plan-card .btn {
  border-radius: 999px;
  font-weight: 700;
  border: 2px solid #f9a825;
  color: #8a4b00;
  background: #fff8e1;
  transition: all 0.25s ease;
}

.plan-card .btn:hover {
  background: #d32f2f;
  border-color: #d32f2f;
  color: #fff;
}

/* Section spacing */
section.mb-5 {
  margin-bottom: 70px !important;
}

/* Mobile polish */
@media (max-width: 767px) {
  .plans-section-title {
    font-size: 1.35rem;
  }

  .plan-card {
    padding: 16px 14px;
  }
}

.available-soon {
  display: inline-block;
  background: #ffca28;
  color: #000;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.85rem;
}
    /* PAGE ONLY STYLES */
    .coming-soon-box {
      border: 2px solid #ffb300;
      border-radius: 14px;
      padding: 30px;
      background: #fffef8;
    }


/* Portrait-style carousel images */
.plan-card .carousel-item {
  aspect-ratio: 4 / 5;   /* Portrait */
}

.plan-card .carousel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

/* Mobile – slightly shorter but still portrait */
@media (max-width: 576px) {
  .plan-card .carousel-item {
    aspect-ratio: 3 / 4;
  }
}

.tour-img {
  width: 100%;
  aspect-ratio: 3 / 4;   /* portrait */
  object-fit: cover;
  border-radius: 10px;
}

.tour-img {
  height: 240px;          /* perfect for mobile */
  object-fit: cover;      /* keeps portrait look */
  border-radius: 12px;
}

@media (min-width: 768px) {
  .tour-img {
    height: 280px;        /* desktop balance */
  }
}

@media (max-width: 768px) {
  .site-footer {
    padding-bottom: 90px; /* space for WhatsApp button */
  }
}


/* ===== FOOTER STICK FIX ===== */
body > footer {
  margin-top: auto;
}

/* ===== MOBILE FLOAT SAFETY ===== */
@media (max-width: 768px) {
  .site-footer {
    padding-bottom: 90px;
  }
}

/* =========================================
   MOBILE NAVBAR FIX (NO PC IMPACT)
========================================= */

/* Desktop untouched */
@media (min-width: 992px) {
  .navbar-collapse {
    position: static !important;
    background: transparent !important;
    box-shadow: none !important;
  }
}

/* Mobile only */
@media (max-width: 991px) {

  /* Keep navbar above hero */
  .main-navbar {
    position: sticky;
    top: 0;
    z-index: 1200;
  }

  /* Dropdown panel */
  .navbar-collapse {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #ffffff;
    z-index: 1201;
    padding: 12px 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.18);
  }

  /* Menu items spacing */
  .navbar-nav {
    padding: 0 16px;
  }

  .navbar-nav .nav-link {
    padding: 12px 10px;
    font-size: 1.05rem;
    border-bottom: 1px solid #f1f1f1;
  }

  .navbar-nav .nav-link:last-child {
    border-bottom: none;
  }
}
body {
  overflow-x: hidden;
}

/* ===============================
   FOOTER GAP FIX (FINAL)
================================ */

/* Remove default browser spacing */
html, body {
  margin: 0;
  padding: 0;
}

/* Footer container cleanup */
.site-footer {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

/* Bottom copyright strip */
.footer-bottom {
  margin-bottom: 0 !important;
  padding-bottom: 12px;
}

/* Remove accidental spacing from paragraphs */
.site-footer p {
  margin-bottom: 8px;
}

/* Fix mobile-only gap */
@media (max-width: 576px) {
  .site-footer {
    padding-bottom: 0 !important;
  }
}
