/* Owner-requested responsive corrections. The imported source CSS stays intact. */
@media (min-width: 851px) {
  .hero.ref-home-hero {
    /* A 1280px photograph must not grow without limit on wide monitors.
       Keep a consistent landscape crop and keep the bridge in the frame. */
    max-width: 1600px;
    margin-inline: auto;
    height: clamp(414px, 37.5vw, 600px);
    min-height: 414px;
    background-position: center, center;
  }
}

@media (max-width: 850px) {
  .menu-toggle {
    min-width: 44px;
    min-height: 44px;
  }

  .hero-mobile-image {
    height: auto;
    aspect-ratio: 16 / 9;
    max-height: 420px;
    background-position: center;
  }
}

/* The hub uses a panoramic photo while the ship guide uses a taller one.
   Their intrinsic ratios preserve the whole photograph at every viewport. */
.page-hero .hero-side > img {
  display: block;
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
}

@media (max-width: 860px) {
  .page-hero .hero-side {
    gap: 24px;
  }

  .page-hero .hero-side > img {
    max-width: 640px;
    justify-self: center;
  }
}

/* Give the hub photo equal space on desktop and bring the boat into view. */
@media (min-width: 861px) {
  .page-hero .hero-side:has(> img[src="/assets/img/Bosphorus-Cruise/Hero_-min.webp"]) {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 40px;
  }

  .page-hero .hero-side > img[src="/assets/img/Bosphorus-Cruise/Hero_-min.webp"] {
    aspect-ratio: 16 / 9;
    object-fit: cover;
    object-position: 65% center;
  }
}

/* Source quick-contact link color otherwise hides blue primary button text. */
.quick-contact a.btn:not(.outline):not(.light):not(.btn--whatsapp) {
  color: #fff;
}

/* Quieter actions drawn from the existing navy and pale-blue palette. */
.btn:not(.outline):not(.light):not(.gold):not(.btn--whatsapp) {
  background: var(--navy2);
  border-color: var(--navy2);
  color: #fff;
}

.btn:not(.outline):not(.light):not(.gold):not(.btn--whatsapp):hover {
  background: var(--navy);
  border-color: var(--navy);
}

.btn.outline,
.btn.btn--whatsapp {
  background: var(--bg);
  border-color: #c4d2e1;
  color: var(--navy2);
}

.btn.outline:hover,
.btn.btn--whatsapp:hover {
  background: var(--pale);
  border-color: #9bafc5;
  color: var(--navy);
}

.btn:focus-visible {
  outline: 3px solid #627d93;
  outline-offset: 3px;
}

/* The full desktop header does not fit between the source's two breakpoints. */
@media (min-width: 851px) and (max-width: 1023px) {
  .nav-inner { gap: 12px; }
  .nav-links { gap: 14px; }
  .nav-links a { font-size: 12px; }
  .nav-actions { gap: 14px; }
  .nav-book { min-width: 120px; }
}
