/* ========== ROOT / GLOBAL ========== */

:root {
  --color-primary: #0b4bff;
  --color-primary-dark: #042365;
  --color-primary-soft: #e6edff;
  --color-accent: #f9b233;
  --color-bg: #f5f7fb;
  --color-surface: #ffffff;
  --color-text: #101626;
  --color-text-muted: #6b7280;
  --shadow-soft: 0 10px 30px rgba(15, 23, 42, 0.12);
  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --transition-fast: 0.2s ease-out;
  --max-width: 1120px;
}

/* Reset-ish */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  color: var(--color-text);
  background-color: var(--color-bg);
  line-height: 1.6;
}

/* Links */

a {
  color: var(--color-primary);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Headings */

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  margin: 0;
  color: var(--color-text);
}

h1 {
  color:white;
}

p {
  margin: 0;
}

/* Utility containers */

.section {
  padding: 4rem 1.5rem;
}

.section-header {
  max-width: var(--max-width);
  margin: 0 auto 2.5rem auto;
  text-align: center;
}

.section-header h2 {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.section-header p {
  color: var(--color-text-muted);
  max-width: 640px;
  margin: 0 auto;
}

/* Generic layout helpers for other pages */

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.page-main {
  flex: 1;
}

.page-header-simple {
  padding: 3rem 1.5rem 2rem;
  background: linear-gradient(
    135deg,
    rgba(11, 75, 255, 0.08),
    rgba(11, 75, 255, 0.02)
  );
  border-bottom: 1px solid rgba(148, 163, 184, 0.4);
}

.page-header-simple-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.page-header-simple h1 {
  font-size: 2.15rem;
  margin-bottom: 0.5rem;
}

.page-header-simple p {
  color: var(--color-text-muted);
}

/* Form card (for quote & contact pages) */

.form-section {
  padding: 3rem 1.5rem 4rem;
}

.form-card {
  max-width: 720px;
  margin: 0 auto;
  background-color: var(--color-surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  padding: 2.25rem 2rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem 1.5rem;
}

.form-grid-full {
  grid-column: 1 / -1;
}

label {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 0.35rem;
}

input,
select,
textarea {
  width: 100%;
  font-family: inherit;
  font-size: 0.95rem;
  padding: 0.65rem 0.75rem;
  border-radius: var(--radius-sm);
  border: 1px solid #d1d5db;
  outline: none;
  background-color: #f9fafb;
  transition: border-color var(--transition-fast),
    box-shadow var(--transition-fast), background-color var(--transition-fast);
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 1px rgba(11, 75, 255, 0.35);
  background-color: #ffffff;
}

textarea {
  min-height: 120px;
  resize: vertical;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.75rem 1.35rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: transform var(--transition-fast),
    box-shadow var(--transition-fast), background-color var(--transition-fast),
    border-color var(--transition-fast), color var(--transition-fast);
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-primary), #2b7bff);
  color: #ffffff;
  box-shadow: var(--shadow-soft);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.2);
}

.btn-outline {
  background-color: transparent;
  color: var(--color-primary-dark);
  border-color: rgba(15, 23, 42, 0.15);
  background-image: linear-gradient(
    to right,
    rgba(11, 75, 255, 0.03),
    rgba(11, 75, 255, 0.01)
  );
}

.btn-outline:hover {
  border-color: var(--color-primary);
  background-color: #ffffff;
}

.btn-ghost {
  background-color: transparent;
  color: var(--color-text);
  border-color: transparent;
}

.btn-ghost:hover {
  background-color: rgba(15, 23, 42, 0.04);
}

/* ========== NAVBAR / HEADER ========== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background-color: rgba(248, 250, 252, 0.96);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(148, 163, 184, 0.4);
}

.nav-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0.75rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
}

.brand-logo {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 0% 0%, #5fa3ff, var(--color-primary));
  color: #ffffff;
  font-weight: 700;
  letter-spacing: 1px;
  font-size: 0.9rem;
}

.brand-text {
  display: inline-flex;
  flex-direction: column;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-text-muted);
}

.brand-text strong {
  font-size: 0.9rem;
  color: var(--color-primary-dark);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text-muted);
  padding: 0.4rem 0.6rem;
  border-radius: 999px;
  text-decoration: none;
  transition: background-color var(--transition-fast), color var(--transition-fast);
}

.nav-link:hover {
  background-color: rgba(15, 23, 42, 0.06);
  color: var(--color-primary-dark);
}

.nav-link.active {
  background-color: rgba(11, 75, 255, 0.1);
  color: var(--color-primary-dark);
}

/* Mobile nav toggle (we'll hook with JS later) */

.nav-toggle {
  display: none; /* we will show this in media query */
  background: transparent;
  border: none;
  padding: 0.25rem;
  cursor: pointer;
}

.nav-toggle-line {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background-color: var(--color-text);
  margin: 3px 0;
}

/* ========== HERO ========== */

.hero {
  position: relative;
  min-height: 70vh;
  color: #ffffff;
  display: flex;
  align-items: stretch;
  justify-content: center;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.6);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(
      circle at 10% 0%,
      rgba(94, 234, 212, 0.2),
      transparent 50%
    ),
    linear-gradient(135deg, rgba(11, 75, 255, 0.78), rgba(15, 23, 42, 0.95));
  mix-blend-mode: multiply;
}

.hero-content {
  position: relative;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 5rem 1.5rem 4.5rem;
  z-index: 2;
}

.hero h1 {
  font-size: clamp(2.3rem, 4vw, 3rem);
  margin-bottom: 1rem;
}

.hero p {
  max-width: 640px;
  font-size: 1rem;
  color: rgba(241, 245, 249, 0.9);
  margin-bottom: 1.5rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.8rem;
}

.hero-badges span {
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background-color: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(241, 245, 249, 0.35);
}

/* ========== SERVICES PREVIEW CARDS ========== */

.services-preview {
  background-color: var(--color-bg);
}

.card-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.card {
  background-color: var(--color-surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.22);
}

.card-image {
  width: 100%;
  height: 190px;
  object-fit: cover;
}

.card-body {
  padding: 1.35rem 1.35rem 1.25rem;
}

.card-body h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.card-body p {
  color: var(--color-text-muted);
  font-size: 0.92rem;
}

.card-highlight {
  margin-top: 0.85rem;
  font-size: 0.9rem;
  color: var(--color-primary-dark);
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.9rem;
  font-weight: 500;
  margin-top: 0.8rem;
}

/* ========== ROUTES & RATES ========== */

.routes {
  background-color: #ffffff;
}

.routes-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.routes-card {
  background-color: var(--color-surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  padding: 1.5rem 1.3rem 1.35rem;
}

.routes-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.85rem;
}

.routes-card table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.routes-card th,
.routes-card td {
  padding: 0.4rem 0.3rem;
  text-align: left;
}

.routes-card th {
  border-bottom: 1px solid #e5e7eb;
  font-weight: 600;
  color: var(--color-text-muted);
}

.routes-card tbody tr:nth-child(even) {
  background-color: #f9fafb;
}

.routes-card small {
  color: var(--color-text-muted);
  font-size: 0.78rem;
}

.routes-subheading td {
  padding-top: 0.7rem;
  border-top: 1px dashed #e5e7eb;
}

.routes-note {
  margin-top: 0.75rem;
  font-size: 0.87rem;
  color: var(--color-text-muted);
}

.section-cta {
  margin-top: 2.5rem;
  text-align: center;
}

/* ========== FLEET GALLERY ========== */

.fleet {
  background: radial-gradient(circle at top left, #e7efff, #f5f7fb);
}

.fleet-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.fleet-item {
  background-color: var(--color-surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  text-align: center;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.fleet-item img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  display: block;
}

.fleet-item figcaption {
  padding: 0.85rem 0.9rem 1rem;
}

/* ========== EXPERIENCE VIDEO SECTION ========== */

.experience {
  background-color: #ffffff;
}

.experience-layout {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: center;
}

.experience-text h2 {
  font-size: 1.7rem;
  margin-bottom: 0.75rem;
}

.experience-text p {
  color: var(--color-text-muted);
  margin-bottom: 1rem;
}

.experience-text ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1.2rem;
  color: var(--color-text-muted);
  font-size: 0.92rem;
}

.experience-text li {
  padding-left: 1.15rem;
  position: relative;
  margin-bottom: 0.45rem;
}

.experience-text li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--color-accent);
}

.experience-video-wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.experience-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ========== FOOTER ========== */
.site-footer {
  background-color: #020617;
  color: #ffffff; /* default text color */
  padding: 2.5rem 1.5rem 1.5rem;
  margin-top: 3rem;
}

.footer-top {
  max-width: var(--max-width);
  margin: 0 auto 1.75rem auto;
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 0.9fr;
  gap: 1.75rem;
}

/* Brand */
.footer-brand h3 {
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
  color: #ffffff; /* force white */
}

.footer-brand p {
  font-size: 0.9rem;
  color: #ffffff; /* force white */
}

/* Footer links */
.footer-links h4,
.footer-contact h4 {
  margin-bottom: 0.7rem;
  font-size: 0.95rem;
  color: #ffffff; /* force white */
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.35rem;
}

.footer-links a {
  color: #ffffff; /* force white */
  font-size: 0.9rem;
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--color-accent); /* visible hover color */
}

/* Footer contact */
.footer-contact p {
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
  color: #ffffff; /* force white */
}

.footer-contact a {
  color: #ffffff; /* force white */
  text-decoration: none;
}

.footer-contact a:hover {
  color: var(--color-accent); /* visible hover color */
}

/* Footer bottom */
.footer-bottom {
  border-top: 1px solid rgba(148, 163, 184, 0.4);
  max-width: var(--max-width);
  margin: 0 auto;
  padding-top: 0.9rem;
  font-size: 0.8rem;
  color: #ffffff; /* force white */
  text-align: center;
}


/* ========== 404 & SIMPLE CONTENT PAGES ========== */

.simple-wrapper {
  max-width: 720px;
  margin: 0 auto;
  background-color: var(--color-surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  padding: 2.2rem 2rem;
  font-size: 0.95rem;
}

.simple-wrapper h2 {
  margin-bottom: 0.9rem;
}

.simple-wrapper p,
.simple-wrapper li {
  color: var(--color-text-muted);
}

.simple-wrapper ul {
  padding-left: 1.2rem;
}

/* ========== RESPONSIVE ========== */

@media (max-width: 960px) {
  .card-grid,
  .routes-grid,
  .fleet-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .experience-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-top {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .nav-container {
    padding-inline: 1rem;
  }

  .hero {
    min-height: 80vh;
  }

  .hero-content {
    padding-top: 4.25rem;
  }

  .hero-cta {
    flex-direction: column;
    align-items: flex-start;
  }

  .card-grid,
  .routes-grid,
  .fleet-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .section {
    padding-inline: 1.25rem;
  }

  .form-card {
    padding-inline: 1.4rem;
  }

  .form-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-top {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Extra small tweaks */

@media (max-width: 480px) {
  .brand-text {
    display: none;
  }

  .hero h1 {
    font-size: 2.1rem;
  }

  .hero p {
    font-size: 0.96rem;
  }
}


/* ========== FADE-IN ANIMATIONS ========== */

.fade-in {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.6s ease-out,
    transform 0.6s ease-out;
  will-change: opacity, transform;
}

.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Optional small stagger delays */
.fade-in.delay-1 {
  transition-delay: 0.1s;
}

.fade-in.delay-2 {
  transition-delay: 0.2s;
}

.fade-in.delay-3 {
  transition-delay: 0.3s;
}

/* ===== Booking Section Styling ===== */

.booking-section {
  position: relative;
  padding: 60px 20px;
  color: #ffffff; 
  background-image: url('images/pic4.jpeg'); /* responsive background */
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  border-radius: 0px;
  overflow: hidden;
}

/* Dark overlay for readability */
.booking-section .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3); /* semi-transparent dark overlay */
  z-index: 1;
}

.booking-section .section-header,
.booking-section .simple-wrapper {
  position: relative; /* bring content above overlay */
  z-index: 2;
}

.booking-section .section-header h2 {
  font-size: 2.2rem;
  margin-bottom: 10px;
  font-weight: 700;
  color: #ffdd57; /* accent color to stand out */
}

.booking-section .section-header p {
  font-size: 1rem;
  line-height: 1.6;
  max-width: 600px;
  color: #ffffff; /* ensure contrast */
}

/* Article / content styling */
.booking-section .simple-wrapper {
  margin-top: 30px;
  background: rgba(255, 255, 255, 0.1); /* subtle transparent background */
  padding: 20px;
  border-radius: 10px;
  backdrop-filter: blur(8px);
  color: #ffffff; /* all text white */
}

.booking-section .simple-wrapper ul {
  list-style-type: disc;
  margin-left: 20px;
}

.booking-section .simple-wrapper li {
  margin-bottom: 10px;
  line-height: 1.5;
  color: #ffffff; /* ensure list items are white */
}

.booking-section .simple-wrapper p {
  color: #ffffff; /* paragraphs white */
}

.booking-section .simple-wrapper a {
  color: #f9b233; /* bright accent color for links */
  text-decoration: underline;
}

.booking-section .simple-wrapper a:hover {
  color: #ffdd57; /* hover color for links */
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .booking-section {
    padding: 50px 15px;
  }
  .booking-section .section-header h2 {
    font-size: 2rem;
  }
  .booking-section .section-header p {
    font-size: 0.95rem;
  }
}

@media (max-width: 768px) {
  .booking-section {
    padding: 40px 15px;
  }
  .booking-section .section-header h2 {
    font-size: 1.8rem;
  }
  .booking-section .section-header p {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .booking-section {
    padding: 30px 10px;
  }
  .booking-section .section-header h2 {
    font-size: 1.5rem;
  }
  .booking-section .section-header p {
    font-size: 0.85rem;
  }
}
