
/* ===== Reset & Base ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background: #0b0c10;
  color: #e6e6e6;
  padding-top: 64px;
  overflow-x: hidden;
}

/* ===== Unified Scroll Reveal ===== */
.reveal-on-scroll,
.section-animate,
.card {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal-on-scroll.in-view,
.section-animate.in-view,
.card.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Site Header ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
  background: rgba(5, 6, 8, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 2px solid #ff6a00;
  transition: all 0.3s ease;
}

.nav-bar {
  width: 100%;
  padding: 10px 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #ffffff;
  text-decoration: none;
}

.nav-brand-logo {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  object-fit: cover;
  border: 2px solid #ff6a00;
  background: #ffffff;
}

.nav-brand-text {
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 14px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-links a {
  color: #ffffff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  display: flex;
  align-items: center;
  padding: 6px 10px;
  opacity: 0.85;
  transition: opacity 0.2s ease, color 0.2s ease;
}

.nav-links a:hover {
  opacity: 1;
  color: #ff6a00;
}

.nav-links a:focus-visible {
  outline: 2px solid #ff6a00;
  outline-offset: 3px;
}

/* ===== Mobile Nav Toggle ===== */
.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  background: rgba(15, 23, 42, 0.85);
  color: #e5e7eb;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease, border-color 0.2s ease;
}

.nav-toggle-line {
  position: relative;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: #e5e7eb;
  transition: background 0.2s ease;
}

.nav-toggle-line::before,
.nav-toggle-line::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: #e5e7eb;
  transition: transform 0.2s ease, top 0.2s ease, opacity 0.2s ease;
}

.nav-toggle-line::before {
  top: -6px;
}

.nav-toggle-line::after {
  top: 6px;
}

.nav-toggle:hover {
  background: rgba(30, 41, 59, 0.95);
  border-color: #ff6a00;
  transform: translateY(-1px);
}

.nav-toggle:focus-visible {
  outline: 2px solid #ff6a00;
  outline-offset: 3px;
}

.nav-toggle.open .nav-toggle-line {
  background: transparent;
}

.nav-toggle.open .nav-toggle-line::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle.open .nav-toggle-line::after {
  top: 0;
  transform: rotate(-45deg);
}

/* ===== Hero Section ===== */
/* REPLACE your entire .hero rule with this: */
.hero {
  min-height: 100vh;
  margin-top: -64px;
  padding-top: 64px;
  background:
    linear-gradient(to bottom, rgba(5, 8, 15, 0.55), rgba(5, 8, 15, 0.88)),
    url("hero-1.jpg") center center / cover no-repeat;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding-left: 20px;
  padding-right: 20px;
}

.logo {
  width: 320px;
  max-width: 55vw;
  border-radius: 16px;
  margin-bottom: 25px;
  animation: logoFade 1.2s ease forwards;
}

@keyframes logoFade {
  from { opacity: 0; transform: translateY(-40px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero h1 {
  font-family: 'Oswald', sans-serif;
  font-size: 80px;
}

.hero p {
  margin-top: 15px;
  font-size: 18px;
}

.hero-buttons {
  margin-top: 30px;
  display: flex;
  gap: 15px;
}

.hero-btn {
  display: inline-block;
  padding: 14px 34px;
  border: 2px solid #ff6a00;
  background: transparent;
  color: #ff6a00;
  border-radius: 6px;
  cursor: pointer;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  transition: background 0.2s ease;
}

.hero-btn:hover {
  background: rgba(255, 106, 0, 0.12);
}

.hero-btn:focus-visible {
  outline: 2px solid #ff6a00;
  outline-offset: 3px;
}

/* ===== Sections (General) ===== */
section {
  padding: 70px 10%;
}

h2 {
  text-align: center;
  margin-bottom: 40px;
  font-size: 32px;
  color: #ff6a00;
  font-family: 'Oswald', sans-serif;
}

/* ===== Vehicle Grid ===== */
.vehicle-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  width: 100%;
}
/* ===== Card ===== */
.card {
  background: #14161c;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.45);
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.card:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.65),
    0 0 0 1px rgba(255, 106, 0, 0.25);
}

.card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  object-position: center;
  transition: transform 0.35s ease;
}

.card:hover img {
  transform: scale(1.08);
}

.card-content {
  padding: 20px;
  text-align: center;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.price {
  color: #ff6a00;
  font-weight: 500;
}

/* ===== Check Availability Button ===== */
.check-availability {
  margin-top: auto;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid #ff6a00;
  background: rgba(255, 106, 0, 0.08);
  color: #ffddb8;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.15s ease;
}

.check-availability:hover {
  background: #ff6a00;
  border-color: #ff6a00;
  color: #0b0c10;
  transform: translateY(-1px);
}

.check-availability:focus-visible {
  outline: 2px solid #ff6a00;
  outline-offset: 3px;
}

/* ===== Availability Indicator ===== */
.availability-indicator {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  margin: 6px auto 10px;
}

.availability-indicator .availability-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.availability-indicator.available {
  background: rgba(34, 197, 94, 0.15);
  color: #4ade80;
}

.availability-indicator.available .availability-dot {
  background: #22c55e;
}

.availability-indicator.unavailable {
  background: rgba(239, 68, 68, 0.18);
  color: #fca5a5;
}

.availability-indicator.unavailable .availability-dot {
  background: #ef4444;
}

/* ===== About Section ===== */
.about {
  background: #101218;
  text-align: center;
}

.about p {
  max-width: 750px;
  margin: auto;
  line-height: 1.7;
}

/* ===== Contact Section ===== */
.contact {
  background: #ff6a00;
  color: white;
  text-align: center;
}

.contact h2 {
  color: white;
}

.contact-link {
  color: white;
  text-decoration: none;
}

.contact-link:hover {
  text-decoration: underline;
}

.map-container {
  margin-top: 30px;
  border-radius: 10px;
  overflow: hidden;
}

/* ===== Scroll-to-Top Button ===== */
.scroll-top-btn {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: none;
  background: #ff6a00;
  color: #0b0c10;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 25;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease, background 0.2s ease;
}

.scroll-top-btn.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top-btn:hover {
  background: #ffffff;
}

.scroll-top-btn:focus-visible {
  outline: 2px solid #ff6a00;
  outline-offset: 3px;
}

/* ===== Footer ===== */
footer {
  background: #050608;
  text-align: center;
  padding: 18px;
  color: #7c8596;
  position: relative;
}

/* ===== WhatsApp Floating Button ===== */
@keyframes whatsappPulse {
  0%   { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
  70%  { box-shadow: 0 0 0 18px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.whatsapp-btn {
  position: fixed;
  bottom: 90px;
  right: 25px;
  width: 70px;
  height: 70px;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: white;
  font-size: 30px;
  text-decoration: none;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.45);
  z-index: 9999;
  animation: whatsappPulse 2s infinite;
  transition: transform 0.2s ease;
}

.whatsapp-btn:hover {
  transform: scale(1.1);
  animation: none;
}

.whatsapp-btn:focus-visible {
  outline: 2px solid #25D366;
  outline-offset: 3px;
}

/* ===== Background Moving Bikes ===== */
.bike-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.bike-float {
  position: absolute;
  width: 200px;
  opacity: 0.20;
  will-change: transform;
  filter:
    drop-shadow(0 0 40px rgba(255, 106, 0, 0.6))
    drop-shadow(0 0 80px rgba(255, 106, 0, 0.4))
    drop-shadow(0 0 120px rgba(255, 106, 0, 0.2));
  transition: transform 0.3s ease;
}

.bike1 { top: 20%; left: 10%; }
.bike2 { top: 60%; left: 70%; }
.bike3 { top: 40%; left: 40%; }

/* Ensure content stays above background */
.hero,
section,
footer {
  position: relative;
  z-index: 2;
}

/* ===== Calendar Modal ===== */
#calendar-modal {
  border: 2px solid #ff6a00;
  border-radius: 10px;
  padding: 22px;
  background: #050608;
  color: #e6e6e6;
  width: min(520px, calc(100vw - 32px));
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.7);
}

#calendar-modal::backdrop {
  background: rgba(0, 0, 0, 0.7);
}

.cal-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.cal-title h3 {
  font-size: 20px;
  font-weight: 600;
  margin: 0;
  color: #ffddb8;
}

.cal-title .cal-model {
  font-size: 14px;
  opacity: 0.8;
  color: #9ca3af;
}

.cal-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 10px 0 12px;
}

.cal-nav button {
  background: #111827;
  color: #e5e7eb;
  border: 1px solid #4b5563;
  padding: 8px 12px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.2s ease;
}

.cal-nav button:hover {
  background: #ff6a00;
  border-color: #ff6a00;
  color: #0b0c10;
}

.cal-month-label {
  font-weight: 600;
  color: #f9fafb;
  font-size: 16px;
}

.cal-weekdays,
.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
}

.cal-weekdays div {
  text-align: center;
  font-size: 12px;
  letter-spacing: 0.02em;
  opacity: 0.75;
  padding: 4px 0;
  color: #9ca3af;
  font-weight: 500;
}

.cal-day {
  height: 42px;
  border-radius: 8px;
  border: 1px solid #1f2933;
  background: #0b0c10;
  color: #e5e7eb;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.18s ease;
}

.cal-day:hover:not(:disabled) {
  border-color: #ff6a00;
  background: #111827;
}

.cal-day.available {
  background: rgba(255, 106, 0, 0.16);
  color: #ffedd5;
  border-color: #ff6a00;
  font-weight: 500;
}

.cal-day.unavailable,
.cal-day:disabled {
  background: #111827;
  color: #6b7280;
  border-color: #1f2937;
  cursor: not-allowed;
}

.cal-day.selected {
  outline: 2px solid #ff6a00;
  outline-offset: 1px;
  background: #ff6a00;
  color: #0b0c10;
  font-weight: 600;
}

.cal-spacer {
  height: 42px;
}

.cal-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
}

.cal-legend {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: #9ca3af;
  flex-wrap: wrap;
}

.cal-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  display: inline-block;
  margin-right: 6px;
}

.cal-dot.available {
  background: #ff6a00;
}

.cal-dot.unavailable {
  background: transparent;
  border: 1px solid #6b7280;
}

.cal-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

.cal-actions button {
  background: #ff6a00;
  color: #0b0c10;
  border: none;
  padding: 10px 16px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.2s ease;
}

.cal-actions button:hover:not(:disabled) {
  background: #ffd7a3;
  color: #14151b;
}

.cal-actions button:disabled {
  background: #1f2933;
  color: #6b7280;
  cursor: not-allowed;
}

.cal-selected {
  margin-top: 12px;
  font-size: 14px;
  color: #d1d5db;
  line-height: 1.5;
}

/* ===========================
   RESPONSIVE BREAKPOINTS
   =========================== */

@media (min-width: 1440px) {
  .nav-bar {
    padding-inline: 10%;
  }
  section {
    max-width: 1280px;
    margin: auto;
  }
  .hero h1 {
    font-size: 86px;
  }
}

@media (max-width: 1024px) {
  .hero h1 {
    font-size: 64px;
  }
  section {
    padding: 60px 7%;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }
  .hero {
  background-attachment: scroll;
  }
  .nav-links {
    position: fixed;
    top: 60px;
    left: 0;
    width: 100%;
    padding: 0 5%;
    background: rgba(5, 6, 8, 0.98);
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-6px);
    transition: max-height 0.35s ease, opacity 0.25s ease, transform 0.25s ease, padding 0.25s ease;
  }

  .nav-links.open {
    max-height: 260px;
    padding-top: 12px;
    padding-bottom: 16px;
    opacity: 1;
    transform: translateY(0);
  }

  .nav-links a {
    font-size: 15px;
    padding: 4px 0;
  }

  .hero {
    padding: 40px 18px;
  }

  .hero h1 {
    font-size: 48px;
  }

  .hero p {
    font-size: 16px;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .hero-btn {
    width: 220px;
    text-align: center;
  }

  section {
    padding: 56px 6%;
  }

  /* Disable card hover transform on touch devices */
  .card {
    transition: none;
  }

  .card:hover {
    transform: none;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.45);
  }

  .card:hover img {
    transform: none;
  }
}

@media (max-width: 576px) {
  #calendar-modal {
    padding: 16px;
    width: calc(100vw - 24px);
    margin: 12px;
  }

  .cal-title h3 {
    font-size: 18px;
  }

  .cal-title .cal-model {
    font-size: 12px;
  }

  .cal-nav {
    margin: 8px 0 10px;
  }

  .cal-nav button {
    padding: 6px 8px;
    font-size: 12px;
  }

  .cal-month-label {
    font-size: 14px;
  }

  .cal-weekdays div {
    font-size: 11px;
    padding: 2px 0;
  }

  .cal-day {
    height: 36px;
    font-size: 12px;
  }

  .cal-spacer {
    height: 36px;
  }

  .cal-legend {
    font-size: 11px;
    gap: 8px;
  }

  .cal-dot {
    width: 8px;
    height: 8px;
  }

  .cal-actions button {
    padding: 8px 12px;
    font-size: 12px;
  }

  .cal-selected {
    font-size: 12px;
    margin-top: 8px;
  }
}

@media (max-width: 480px) {
  .nav-bar {
    padding: 8px 4%;
  }

  .logo {
    width: 320px;
    max-width: 70vw;
  }

  .hero h1 {
    font-size: 40px;
  }

  .hero p {
    font-size: 15px;
  }

  .hero-buttons {
    gap: 10px;
  }

  .hero-btn {
    padding: 12px 20px;
    font-size: 14px;
  }

  .vehicle-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  #calendar-modal {
    padding: 12px;
    width: calc(100vw - 20px);
    margin: 10px;
  }

  .cal-title {
    margin-bottom: 8px;
  }

  .cal-title h3 {
    font-size: 16px;
  }

  .cal-nav {
    gap: 6px;
  }

  .cal-nav button {
    padding: 4px 6px;
    font-size: 11px;
  }

  .cal-month-label {
    font-size: 13px;
  }

  .cal-weekdays,
  .cal-grid {
    gap: 4px;
  }

  .cal-weekdays div {
    font-size: 10px;
  }

  .cal-day {
    height: 32px;
    font-size: 11px;
  }

  .cal-spacer {
    height: 32px;
  }

  .cal-footer {
    margin-top: 10px;
    flex-direction: column;
    gap: 10px;
    align-items: stretch;
  }

  .cal-legend {
    justify-content: center;
  }

  .cal-actions {
    justify-content: center;
    gap: 8px;
  }

  .cal-actions button {
    flex: 1;
    padding: 6px 10px;
    font-size: 11px;
  }
}

@media (max-width: 320px) {
  .hero h1 {
    font-size: 34px;
  }

  .hero p {
    font-size: 14px;
  }

  .hero-btn {
    width: 100%;
  }
}