/* =========================================================
   JS Tours & Travels — Responsive Styles
   Extracted from main.css
   Breakpoints: 1100 | 900 | 768 | 700 | 600 | 480 | 420 | 380
   ========================================================= */

/* ─── BANNER RESPONSIVE ──────────────────────────────────── */
@media (max-width: 1100px) {
  .banner-search-card form {
    padding: 0.4rem 0.4rem 0.4rem 1.2rem;
  }
  .bsc-field { padding: 0.75rem 0.85rem; }
}

@media (max-width: 900px) {
  .banner-wrap {
    padding-top: 140px;
    padding-bottom: 110px;
  }
  .banner-search-card {
    border-radius: var(--r-xl);
  }
  .banner-search-card form {
    flex-direction: column;
    padding: 1rem;
    gap: 0;
  }
  .bsc-fields {
    flex-direction: column;
    width: 100%;
  }
  .bsc-field {
    padding: 0.65rem 0.5rem;
    border-bottom: 1px solid #e8edf5;
    width: 100%;
  }
  .bsc-field:last-child { border-bottom: none; }
  .bsc-sep { display: none; }
  .bsc-btn {
    width: 100%;
    justify-content: center;
    border-radius: var(--r);
    min-height: 50px;
    margin-top: 0.5rem;
  }
}

@media (max-width: 700px) {
  .banner-title {
    letter-spacing: -0.5px;
  }
}

@media (max-width: 480px) {
  .banner-wrap {
    padding-top: 150px;
    padding-bottom: 40px;
  }
  .banner-eyebrow { font-size: 0.75rem; letter-spacing: 1.8px; }
  .eyebrow-line { width: 30px; }
  .banner-title {
    font-size: clamp(1.8rem, 9vw, 2.6rem);
    letter-spacing: 0;
    margin-bottom: 1rem;
  }
  .banner-desc-hide {
    display: none;
  }
}

@media (max-width: 900px) {
  .fleet-arrow {
    width: 42px;
    height: 42px;
    font-size: 1.35rem;
  }
  .fleet-slider-wrap {
    gap: 0.6rem;
  }
}

@media (max-width: 480px) {
  .fleet-arrow {
    width: 36px;
    height: 36px;
    font-size: 1.2rem;
  }
  .fleet-slider-wrap {
    gap: 0.4rem;
  }
}

@media (max-width: 1100px) {
  .routes-cloud { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 700px) {
  .routes-cloud { grid-template-columns: repeat(1, 1fr); gap: 0.7rem; }
}

@media (max-width: 380px) {
  .routes-cloud { grid-template-columns: 1fr; }
}

/* ─── CTA RESPONSIVE ─────────────────────────────────────── */
@media (max-width: 900px) {
  .cta-section { padding: 6rem 0; }
}

@media (max-width: 600px) {
  .cta-section { padding: 4.5rem 0; }
  .cta-buttons {
    flex-direction: row;
    justify-content: center;
    flex-wrap: nowrap;
    gap: 0.5rem;
  }
  .cta-buttons .btn {
    width: 100%;
    flex: 1;
    padding: 0.75rem 0.5rem;
    font-size: 0.82rem;
    white-space: nowrap;
    display: flex;
    justify-content: center;
  }
  .cta-br { display: inline; }
}

/* ── Large tablet (≤1100px) ─────────────────────────────── */
@media (max-width:1100px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  .why-grid {
    gap: 3rem;
  }

  .review-card {
    flex: 0 0 calc(50% - 0.9rem);
  }

  .services-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.1rem;
  }
}

/* ── Tablet / mobile nav breakpoint (≤900px) ────────────── */
@media (max-width:900px) {

  /* ─ Nav (hamburger removed — header shows logo + action buttons only) ─ */
  .nav-links,
  .nav-close,
  .nav-toggle,
  .nav-overlay {
    display: none !important;
  }

  .nav-actions .btn-outline {
    display: none;
  }

  /* ─ Hero ─ */
  .hero {
    min-height: auto;
    flex-direction: column;
    padding-bottom: 0;
    overflow: hidden;
  }

  /* ─ Services ─ */
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem;
  }

  /* ─ Fleet ─ */
  .fleet-grid {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory !important;
    scrollbar-width: none; /* Hide scrollbar for Firefox */
    gap: 1.25rem;
    padding-bottom: 1rem;
    -webkit-overflow-scrolling: touch;
  }
  .fleet-grid::-webkit-scrollbar {
    display: none; /* Hide scrollbar for Chrome/Safari */
  }
  .car-card {
    opacity: 1 !important;
    transform: none !important;
    visibility: visible !important;
    flex: 0 0 100% !important;
    scroll-snap-align: center !important;
  }
  .fleet-arrow, .fleet-nav-row {
    display: none !important;
  }
  
  #fleet {
    padding-bottom: 1.5rem !important;
  }
  
  #about {
    padding-top: 1.5rem !important;
  }

  /* ─ Why section ─ */
  .why-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .why-visuals {
    order: 1;
    grid-template-columns: repeat(2, 1fr);
  }

  .why-visuals img {
    height: 210px;
    padding: 0.25rem;
  }

  .why-visuals img:nth-child(odd),
  .why-visuals img:nth-child(even) {
    transform: none;
  }

  .why-features {
    grid-template-columns: repeat(2, 1fr);
  }

  /* ─ Testimonials ─ */
  .review-card {
    flex: 0 0 100%;
  }

  /* ─ Stats ─ */
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .stat-num {
    font-size: 2.5rem;
  }

  /* ─ Footer ─ */
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .footer-brand {
    grid-column: 1/-1;
  }
}

/* ── Small tablet / large phone (≤700px) ───────────────── */
@media (max-width:700px) {
  .section {
    padding: 4.5rem 0;
  }

  /* .container {
    padding: 0 1.1rem;
  } */

  /* ─ Nav ─ */
  .header {
    padding: 0; /* Override previous media query padding */
    background: #ffffff;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom: 1px solid rgba(0,0,0,0.07);
  }

  .header > .container {
    padding: 0.85rem 1.1rem;
  }

  .nav-logo img {
    height: 48px;
  }

  .nav-logo {
    margin-left: 0;
    gap: 0.5rem;
  }

  .nav-actions .btn-gold {
    padding: 0.5rem 0.95rem;
    font-size: 0.78rem;
  }

  /* ─ Hero ─ */
  .hero {
    min-height: auto;
  }

  /* ─ Services (horizontal swipe slider) ─ */
  .services-grid {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory !important;
    scrollbar-width: none;
    gap: 1rem;
    padding-bottom: 0.5rem;
    -webkit-overflow-scrolling: touch;
  }
  .services-grid::-webkit-scrollbar {
    display: none;
  }

  .service-card {
    flex: 0 0 100%;
    scroll-snap-align: center;
    padding: 1.5rem 1.1rem;
  }

  .svc-icon {
    width: 54px;
    height: 54px;
    font-size: 1.4rem;
  }

  /* ─ Fleet ─ */
  .fleet-grid {
    gap: 1rem;
  }
  .car-card {
    flex: 0 0 100% !important;
  }
  .fleet-arrow { display: none !important; }

  .car-img-wrap {
    height: 180px;
    padding: 0.25rem;
  }

  .car-img-wrap img {
    max-height: 100%;
    max-width: 100%;
    transform: none !important;
    object-fit: contain;
  }

  .car-info {
    padding: 1rem;
  }

  .car-name {
    font-size: 1rem;
  }

  .car-desc {
    font-size: 0.9rem;
  }

  .car-actions .btn {
    font-size: 0.78rem;
    padding: 0.55rem 0.4rem;
  }

  /* ─ Stats ─ */
  .stats-strip {
    padding: 2.5rem 0;
  }

  .stat-num {
    font-size: 2.2rem;
  }

  .stat-lbl {
    font-size: 0.8rem;
  }

  /* ─ Section headers ─ */
  .sh-title {
    font-size: clamp(1.6rem, 6vw, 2.2rem);
  }

  .sh-desc {
    font-size: 0.92rem;
  }

  .sh-label {
    font-size: 0.72rem;
  }
  
  .sh-label i {
    font-size: 1.25rem;
  }

  /* ─ Why section ─ */
  .why-features {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.9rem;
  }

  .why-feat {
    padding: 1rem;
  }

  .why-feat h4 {
    font-size: 0.82rem;
  }

  .why-feat p {
    font-size: 0.75rem;
  }

  /* ─ Routes ─ */
  .rc-city { font-size: 0.95rem; }

  /* ─ Testimonials ─ */
  .review-card {
    padding: 1.5rem;
  }

  .review-text {
    font-size: 0.88rem;
  }

  .test-controls {
    margin-top: 1.5rem;
  }

  /* ─ CTA handled by its own responsive block above ─ */

  /* ─ Footer ─ */
  .footer-grid {
    grid-template-columns: 35% 61%;
    gap: 1.5rem 4%;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
  
  .footer-col:last-child {
    grid-column: 1 / -1;
  }

  .footer-desc {
    max-width: 100%;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 0.75rem;
  }

  .footer-legal {
    justify-content: center;
  }

  /* ─ Floating buttons ─ */
  .float-wa {
    width: 50px;
    height: 50px;
    font-size: 1.4rem;
    bottom: 1.2rem;
    right: 1.2rem;
  }

  .float-call {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
    bottom: 1.2rem;
    right: 4.5rem;
  }
}

/* ── Mobile phone (≤480px) ──────────────────────────────── */
@media (max-width:480px) {
  /* .container {
    padding: 0 0.9rem;
  } */

  .section {
    padding: 3.5rem 0;
  }

  #fleet {
    padding-bottom: 1rem !important;
  }
  
  #about {
    padding-top: 1rem !important;
  }

  /* ─ Hero ─ */
  .hero {
    min-height: auto;
  }

  /* ─ Services ─ */
  .service-card {
    flex: 0 0 100%;
    padding: 1.5rem 1rem;
  }

  .svc-icon {
    width: 52px;
    height: 52px;
    font-size: 1.3rem;
    margin-bottom: 1rem;
  }

  /* ─ Fleet ─ */
  .fleet-grid {
    gap: 1rem;
  }
  .car-card {
    flex: 0 0 100% !important;
  }

  .car-img-wrap {
    height: 190px;
    padding: 0.25rem;
  }

  .car-img-wrap img {
    max-height: 100%;
    max-width: 100%;
    transform: none !important;
    object-fit: contain;
  }

  .car-actions {
    gap: 0.5rem;
  }

  .car-actions .btn {
    font-size: 0.82rem;
    padding: 0.65rem 0.5rem;
  }

  /* ─ Stats ─ */
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }

  .stat-num {
    font-size: 2rem;
  }

  /* ─ Why section ─ */
  .why-features {
    grid-template-columns: 1fr;
  }

  .why-visuals {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }

  .why-visuals img {
    height: 180px;
    padding: 0.1rem;
    object-fit: contain;
  }

  /* ─ Filter row ─ */
  .filter-row {
    gap: 0.5rem;
  }

  .filter-btn {
    padding: 0.5rem 1rem;
    font-size: 0.78rem;
  }

  /* ─ Section headers ─ */
  .sh {
    margin-bottom: 2.5rem;
  }

  .sh-title {
    font-size: clamp(1.5rem, 8vw, 2rem);
  }

  /* ─ Footer ─ */
  .footer {
    padding: 3.5rem 0 0;
  }

  .footer-col-title {
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
  }

  .f-link {
    font-size: 0.82rem;
    line-height: 1.6;
  }

  .contact-item {
    font-size: 0.85rem;
    white-space: nowrap;
  }

  .footer-bottom p {
    font-size: 0.86rem;
  }

  /* ─ Floating buttons ─ */
  .float-wa {
    bottom: 1rem;
    right: 1rem;
    width: 52px;
    height: 52px;
  }

  .float-call {
    display: flex;
    bottom: 1rem;
    right: 4.2rem;
    width: 52px;
    height: 52px;
    font-size: 1.2rem;
  }

}

/* ── Tiny phones (≤380px) ───────────────────────────────── */
@media (max-width:380px) {
  .nav-logo img {
    height: 44px;
  }

  .nav-actions .btn-gold {
    font-size: 0.78rem;
    padding: 0.5rem 0.9rem;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .stat-num {
    font-size: 1.8rem;
  }

  .filter-btn {
    padding: 0.45rem 0.85rem;
    font-size: 0.75rem;
  }
}

@media (max-width: 768px) {
  .faq-grid { grid-template-columns: 1fr; }
  .footer-brand img {height: 120px;}
.footer-links {gap: 0.4rem;}
.contact-list {gap: 0.4rem;}
.banner-desc {line-height: 1.5;}
.bsc-input {font-size: 1rem;}

}

@media (max-width: 420px) {
  .nav-logo img { height: 80px; }
  .nav-actions .btn-gold { 
    padding: 0.4rem 0.65rem; 
    font-size: 0.7rem; 
  }
}

