/* =========================================================
   DESTINATIONS PAGE — FOUNDATION
========================================================= */

.page-destinations {
  font-family: "Montserrat", sans-serif;
  background: #f8f8f8;
  color: #222;
}

.page-destinations .container {
  max-width: 1150px;
  margin: 0 auto;
  padding: 0 20px;
}

/* =========================================================
   GLOBAL HEADER — DESTINATIONS (MATCHES PAGE-GUIDE)
========================================================= */

.page-destinations .site-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 20;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.55),
    rgba(0, 0, 0, 0)
  );
  backdrop-filter: blur(4px);
}

/* 3-column global grid */
.page-destinations .site-header .container {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  padding: 14px 0;
}

/* Global logo */
.page-destinations .logo {
  color: #ffffff;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  text-shadow: 0 2px 6px rgba(0,0,0,0.75);
  margin: 0;
  padding: 0;
  padding-left: 0px;
  line-height: 1.2;
}

/* Global nav layout */
.page-destinations .main-nav {
  display: flex;
  justify-content: center;
  gap: 32px;
  align-items: center;
}

/* Global nav links */
.page-destinations .main-nav a {
  color: #ffffff;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding-top: 18px;
  padding-bottom: 0;
  margin: 0;
  line-height: 1.2;
  text-shadow: 0 2px 6px rgba(0,0,0,0.75);
  text-decoration: none;
}

.page-destinations .main-nav a.active {
  border-bottom: 3px solid #ffffff;
}

/* Header balance spacer */
.page-destinations .header-balance {
  width: 40px;
}

/* Responsive — Mobile header */
@media (max-width: 600px) {
  .page-destinations .site-header .container {
    grid-template-columns: 1fr;
    row-gap: 10px;
    text-align: center;
  }

  .page-destinations .logo {
    padding-left: 0;
  }

  .page-destinations .main-nav {
    flex-wrap: wrap;
    gap: 18px;
    justify-content: center;
  }
}

/* =========================================================
   GLOBAL BREADCRUMB — DESTINATIONS
========================================================= */

.page-destinations .breadcrumb {
  background: #f5f5f5;
  padding: 10px 0;
  font-size: 0.95rem;
  border-bottom: 1px solid #e0e0e0;
  margin-top: 60px;
}

.page-destinations .breadcrumb .container {
  display: flex;
  align-items: center;
  gap: 6px;
}

.page-destinations .breadcrumb a {
  color: #0077cc;
  text-decoration: none;
  font-weight: 600;
}

.page-destinations .breadcrumb a:hover {
  text-decoration: underline;
}

.page-destinations .breadcrumb span {
  color: #666;
}

/* =========================================================
   HERO — DESTINATIONS
========================================================= */

.page-destinations .hero-destinations {
  position: relative;
  width: 100%;
  min-height: 420px;
  background-position: top center;
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #ffffff;
  overflow: hidden;
}

.page-destinations .hero-destinations .hero-container {
  position: relative;
  z-index: 2;
  max-width: 720px;
  padding: 10px 20px 60px; 
}

.page-destinations .hero-title {
  font-size: 2.8rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  margin-bottom: 12px;
  text-shadow: 0 1px 3px rgba(0,0,0,0.35);
}

.page-destinations .hero-subtitle {
  font-size: 1.2rem;
  font-weight: 500;
  line-height: 1.6;
  opacity: 0.95;
  text-shadow: 0 1px 4px rgba(0,0,0,0.45);
}

/* Responsive — Tablet hero */
@media (max-width: 768px) {
  .page-destinations .hero-destinations {
    min-height: 360px;
  }

  .page-destinations .hero-destinations .hero-container {
    padding: 120px 20px 60px;
  }

  .page-destinations .hero-title {
    font-size: 2.2rem;
  }

  .page-destinations .hero-subtitle {
    font-size: 1.05rem;
  }
}

/* Responsive — Mobile hero */
@media (max-width: 480px) {
  .page-destinations .hero-destinations {
    min-height: 320px;
  }

  .page-destinations .hero-destinations .hero-container {
    padding: 110px 16px 50px;
  }

  .page-destinations .hero-title {
    font-size: 1.9rem;
  }

  .page-destinations .hero-subtitle {
    font-size: 1rem;
  }
}

/* =========================================================
   GLOBAL SECTION TITLES — DESTINATIONS
========================================================= */

.page-destinations section {
  padding: 60px 0;
}

.page-destinations .section-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 10px;
  text-align: center;
  color: #0a2a43;
}

.page-destinations .section-subtitle {
  font-size: 1rem;
  margin-bottom: 30px;
  text-align: center;
  color: #555;
}

/* =========================================================
   NEW DROPDOWN SYSTEM — STATIC HTML
========================================================= */

.page-destinations .destinations-regions {
  padding: 60px 0;
}

/* Horizontal menu */
.page-destinations .region-menu {
  display: flex;
  justify-content: center;
  gap: 32px;
  padding: 20px 0;
  background: #ffffff;
  border-bottom: 1px solid #e0e0e0;
}

.page-destinations .region-tab {
  background: none;
  border: none;
  font-size: 1rem;
  font-weight: 700;
  color: #0a2a43;
  cursor: pointer;
  padding: 10px 6px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: color 0.25s ease;
}

.page-destinations .region-tab:hover {
  color: #005fa3;
}

/* Panels wrapper */
.page-destinations .region-panel-wrapper {
  position: relative;
  max-width: 1150px;
  margin: 0 auto;
  padding-top: 20px;
}

/* Individual panels */
.page-destinations .region-panel {
  display: none;
  background: #ffffff;
  border: 1px solid #d7e2ee;
  border-radius: 10px;
  padding: 30px;
  margin-bottom: 40px;
}

.page-destinations .region-panel.active {
  display: block;
}

/* Region headings inside panels */
.page-destinations .region-panel h3 {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: #0a2a43;
}

.page-destinations .region-panel h4 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-top: 30px;
  margin-bottom: 12px;
  color: #0a2a43;
}

/* Region lists */
.page-destinations .region-list {
  list-style: none;
  margin: 0;
  padding: 0;
  columns: 2;
  column-gap: 40px;
}

.page-destinations .region-list li {
  padding: 8px 0;
  font-size: 0.95rem;
  color: #222;
  border-bottom: 1px solid #f0f0f0;
}

.page-destinations .region-list li:last-child {
  border-bottom: none;
}

/* Responsive — Tablet */
@media (max-width: 992px) {
  .page-destinations .region-list {
    columns: 1;
  }
}

/* Responsive — Mobile */
@media (max-width: 600px) {
  .page-destinations .region-menu {
    flex-direction: column;
    gap: 16px;
  }

  .page-destinations .region-tab {
    text-align: center;
  }
}

/* =========================================================
   PORT DIRECTORY — PREMIUM GRID SYSTEM
========================================================= */

.page-destinations .port-directory {
  padding: 60px 0;
}

.page-destinations .port-directory .port-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}

/* Port Card */
.page-destinations .port-card {
  background: #ffffff;
  border: 1px solid #d7e2ee;
  border-radius: 10px;
  padding: 30px 25px;
  text-align: center;
  transition: all 0.25s ease;
}

.page-destinations .port-card:hover {
  border-color: #0a2a43;
  transform: translateY(-4px);
}

/* Port Image */
.page-destinations .port-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 18px;
}

.page-destinations .port-card img {
  transition: transform 0.3s ease;   /* smooth animation */
}

.page-destinations .port-card:hover img {
  transform: scale(1.08);            /* enlarge image on hover */
}

/* Port Title */
.page-destinations .port-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: #0a2a43;
}

/* Port Description */
.page-destinations .port-card p {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 20px;
  line-height: 1.5;
}

/* Port Button */
.page-destinations .port-card .btn {
  display: inline-block;
  padding: 10px 22px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 6px;
  background: #0a2a43;
  color: #fff;
  text-decoration: none;
  transition: background 0.25s ease;
}

.page-destinations .port-card .btn:hover {
  background: #0d3a5f;
}

/* Responsive — Tablet */
@media (max-width: 992px) {
  .page-destinations .port-directory .port-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Responsive — Mobile */
@media (max-width: 600px) {
  .page-destinations .port-directory .port-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   FEATURED DESTINATION — PREMIUM SPOTLIGHT CARD
========================================================= */

.page-destinations .featured-destination {
  padding: 60px 0;
}

.page-destinations .featured-destination .featured-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  max-width: 1000px;   /* reduced from 1100px */
  margin: 0 auto;
  background: #ffffff;
  border: 1px solid #d7e2ee;
  border-radius: 12px;
  padding: 30px;       /* reduced from 40px */
  overflow: hidden;    /* prevents horizontal scroll */
}

.page-destinations .featured-image img {
  width: 100%;
  max-height: 300px;   /* reduced from 350px */
  object-fit: cover;
  border-radius: 10px;
}

.page-destinations .featured-text {
  width: 100%;
}

.page-destinations .featured-text h3 {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: #0a2a43;
}

.page-destinations .featured-text p {
  font-size: 1rem;
  color: #555;
  margin-bottom: 20px;
  line-height: 1.6;
}

.page-destinations .featured-text .btn {
  display: inline-block;
  padding: 12px 20px;
  background: #0a2a43;
  color: #fff;
  border-radius: 6px;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  transition: background 0.25s ease;
}

.page-destinations .featured-text .btn:hover {
  background: #0d3a5f;
}

/* Responsive — Tablet */
@media (max-width: 992px) {
  .page-destinations .featured-destination .featured-wrapper {
    grid-template-columns: 1fr;
    text-align: center;
  }
}


/* Responsive — Mobile */
@media (max-width: 600px) {
  .page-destinations .featured-destination .featured-wrapper {
    padding: 25px;
  }

  .page-destinations .featured-text h3 {
    font-size: 1.4rem;
  }

  .page-destinations .featured-text p {
    font-size: 0.95rem;
  }
}

/* =========================================================
   GLOBAL FOOTER — DESTINATIONS (MATCHES CRUISE HOME)
========================================================= */

.page-destinations .site-footer {
  font-family: 'Montserrat', sans-serif;
  background: #0d2247;
  padding: 28px 0 18px;
  border-top: 1px solid #0b1a33;
  margin-top: 0;
}

.page-destinations .footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  padding-bottom: 16px;
  border-bottom: 1px solid #0b1a33;
}

.page-destinations .footer-col h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #ffffff;
}

.page-destinations .footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-destinations .footer-col ul li {
  margin-bottom: 4px;
}

.page-destinations .footer-col ul li a {
  font-size: 0.97rem;
  color: #dbe4f3;
  text-decoration: none;
  transition: 0.2s ease;
  position: relative;
  padding-left: 14px;
}

.page-destinations .footer-col ul li a::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 1px;
  color: #9bb0d4;
  font-size: 0.7rem;
}

.page-destinations .footer-col ul li a:hover {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.page-destinations .footer-bottom {
  text-align: center;
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid #0b1a33;
}

.page-destinations .footer-bottom p {
  font-size: 0.93rem;
  color: #dbe4f3;
  letter-spacing: 0.25px;
}

.page-destinations .back-to-top {
  background: #005fa3;
  color: #fff;
  border: none;
  padding: 10px 16px;
  border-radius: 6px;
  cursor: pointer;
  margin-bottom: 10px;
}

.page-destinations .back-to-top:hover {
  background: #0077cc;
}

@media (max-width: 768px) {
  .page-destinations .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
}
