/**
 * responsive-overrides.css
 * 
 * Global responsive utilities & safeguards adhering to HyperFly reference architecture.
 * Breakpoints:
 *   -- 1400px (large desktop / xxl)
 *   -- 1200px (desktop / xl)
 *   -- 992px  (tablet landscape / lg)
 *   -- 768px  (tablet portrait / md)
 *   -- 576px  (mobile / sm)
 *   -- 480px  (small mobile / xs)
 */

/* ══════════════════════════════════════════════════════════════
   GLOBAL FLUID FOUNDATIONS
   ══════════════════════════════════════════════════════════════ */
html, body {
  overflow-x: hidden;
  max-width: 100%;
}

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

img, video, canvas, svg {
  max-width: 100%;
  height: auto;
}

iframe, embed, object {
  max-width: 100%;
}

p, h1, h2, h3, h4, h5, h6, a, span, label, td, th {
  overflow-wrap: break-word;
}

/* ══════════════════════════════════════════════════════════════
   GLOBAL BUTTONS & FORM INPUTS
   ══════════════════════════════════════════════════════════════ */
input, select, textarea {
  max-width: 100%;
}

@media (max-width: 767px) {
  .btn-row,
  .button-row,
  .cta-button-row {
    flex-direction: column;
    gap: 12px;
    width: 100%;
  }

  .btn-row .btn,
  .button-row .btn,
  .cta-button-row .btn {
    width: 100%;
  }
}

/* ══════════════════════════════════════════════════════════════
   PAGE HEADERS (ALL INNER PAGES)
   ══════════════════════════════════════════════════════════════ */
.page-header {
  position: relative;
  padding: 160px 0 90px;
  background-color: var(--ink);
  text-align: center;
}

.page-header__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 14px;
}

.page-header__breadcrumbs {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: var(--font-size-sm);
  color: var(--slate-light);
}

@media (max-width: 991px) {
  .page-header {
    padding: 130px 0 65px;
  }
}

@media (max-width: 767px) {
  .page-header {
    padding: 105px 0 45px;
  }

  .page-header__title {
    font-size: clamp(1.6rem, 5vw, 2.2rem);
    margin-bottom: 10px;
  }
}

@media (max-width: 575px) {
  .page-header {
    padding: 95px 0 35px;
  }

  .page-header__title {
    font-size: 1.45rem;
  }
}

/* ══════════════════════════════════════════════════════════════
   SERVICES, FLEET, DESTINATIONS LISTING & DETAILS GRIDS
   ══════════════════════════════════════════════════════════════ */
@media (max-width: 1199px) {
  .services-grid,
  .destinations-grid,
  .fleet-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

@media (max-width: 767px) {
  .services-grid,
  .destinations-grid,
  .fleet-grid,
  .destinations-page-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .service-details-layout,
  .destination-details-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

/* ══════════════════════════════════════════════════════════════
   FAQ ACCORDION COMPONENT
   ══════════════════════════════════════════════════════════════ */
.faq-one__accordion {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-one__accordion .accrodion {
  background: var(--surface-light-alt, #F3F4F8);
  border: 1px solid var(--border-on-light, #EFEFEF);
  border-radius: 7px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-one__accordion .accrodion.active {
  border-color: var(--blue);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.faq-one__accordion .accrodion-title {
  padding: 20px 24px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.faq-one__accordion .accrodion-title h4 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--heading-on-light);
}

.faq-one__accordion .accrodion-content {
  display: none;
  padding: 0 24px 20px;
  color: var(--text-on-light);
  font-size: 0.95rem;
  line-height: 1.65;
}

.faq-one__accordion .accrodion.active .accrodion-content {
  display: block;
}

@media (max-width: 767px) {
  .faq-one__accordion .accrodion-title {
    padding: 16px 18px;
  }

  .faq-one__accordion .accrodion-title h4 {
    font-size: 0.95rem;
  }

  .faq-one__accordion .accrodion-content {
    padding: 0 18px 16px;
    font-size: 0.88rem;
  }
}

/* ══════════════════════════════════════════════════════════════
   LEGAL / TERMS / PRIVACY CONTENT LAYOUT
   ══════════════════════════════════════════════════════════════ */
.legal-content-wrapper {
  max-width: 860px;
  margin-inline: auto;
  padding-block: 60px;
}

@media (max-width: 767px) {
  .legal-content-wrapper {
    padding-block: 36px;
  }
}
