/* =========================
   INLETCAM GLOBAL SITE CSS
   Homepage + Archive Pages
========================= */

/* =========================
   RESET
========================= */
*{
  box-sizing:border-box;
}

html,body{
  margin:0;
  padding:0;
}

img{
  max-width:100%;
  display:block;
}

video{
  max-width:100%;
  display:block;
}

/* =========================
   DESIGN TOKENS
========================= */
:root{
  --bgTop:#9cc7dc;
  --bgMid:#c9e1ee;
  --bgBot:#edf7fb;

  --ink:#1f3138;
  --muted:#4d6470;
  --line:rgba(31,49,56,.12);

  --card:rgba(255,255,255,.92);
  --cardSoft:rgba(255,255,255,.72);
  --cardWarm:#fff8e6;

  --red:#cc2a2a;
  --blue:#2b6f9e;
  --green:#2f8a57;
  --yellow:#d6a51f;

  --shadow:0 16px 38px rgba(0,0,0,.10);
  --shadowSoft:0 10px 24px rgba(0,0,0,.06);
  --shadowHover:0 18px 42px rgba(0,0,0,.14);

  --radius:18px;
  --radiusSm:12px;
  --max:1180px;

  --spaceXs:8px;
  --spaceSm:12px;
  --spaceMd:18px;
  --spaceLg:26px;
  --spaceXl:36px;
  --space2x:52px;
}

/* =========================
   BASE
========================= */
body{
  font-family:Arial, Helvetica, sans-serif;
  color:var(--ink);
  line-height:1.58;
  background:
    linear-gradient(to bottom, rgba(255,255,255,.28), rgba(255,255,255,.08)),
    linear-gradient(180deg, var(--bgTop) 0%, var(--bgMid) 40%, var(--bgBot) 100%);
}

body.lightbox-open{
  overflow:hidden;
}

a{
  color:var(--red);
  text-decoration:none;
}

a:hover{
  text-decoration:underline;
}

p{
  margin:0 0 12px;
}

h1,h2,h3,h4{
  margin:0 0 10px;
  line-height:1.2;
  color:var(--ink);
}

h1{
  font-size:clamp(1.55rem, 2.3vw, 2.25rem);
}

h2{
  font-size:clamp(1.22rem, 1.8vw, 1.65rem);
}

h3{
  font-size:1rem;
}

small{
  font-size:.84rem;
}

/* =========================
   LAYOUT
========================= */
.wrap{
  width:min(calc(100% - 28px), var(--max));
  margin:0 auto;
}

.section{
  padding:18px 0 28px;
}

.section-tight{
  padding:6px 0 14px;
}

.section-lg{
  padding:28px 0 40px;
}

.section-head{
  display:flex;
  justify-content:space-between;
  gap:20px;
  margin-bottom:16px;
  align-items:flex-start;
}

.section-head > div{
  min-width:0;
}

.section-head p{
  max-width:460px;
  font-size:.94rem;
  color:var(--muted);
}

.eyebrow{
  text-transform:uppercase;
  letter-spacing:.12em;
  font-size:.72rem;
  font-weight:700;
  color:var(--yellow);
  margin-bottom:6px;
}

.lead{
  font-size:.98rem;
  color:var(--muted);
}

.page-intro{
  background:var(--card);
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:22px;
  box-shadow:var(--shadow);
}

.page-intro p:last-child{
  margin-bottom:0;
}

/* =========================
   RENOVATION BANNER
========================= */
.renovation-banner{
  background:#f6e8b5;
  border-bottom:1px solid #e2d089;
  font-size:.82rem;
  color:#5b4a14;
  text-align:center;
  padding:6px 10px;
}

/* =========================
   HEADER
========================= */
.topbar{
  background:rgba(255,255,255,.92);
  border-bottom:1px solid var(--line);
  backdrop-filter:blur(8px);
  position:sticky;
  top:0;
  z-index:100;
}

.topbar-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  padding:10px 0;
}

.brand{
  display:flex;
  align-items:center;
  gap:12px;
  min-width:0;
}

.brand a{
  display:block;
  flex:0 0 auto;
}

.site-logo{
  height:58px;
  width:auto;
}

.brand-subtitle{
  font-size:.82rem;
  color:var(--muted);
  max-width:520px;
}

.nav{
  display:flex;
  flex-wrap:wrap;
  justify-content:flex-end;
  gap:14px;
  font-size:.9rem;
}

.nav a{
  color:var(--blue);
  font-weight:700;
}

.nav a[aria-current="page"]{
  color:var(--red);
}

/* =========================
   SHARED CARDS
========================= */
.card-grid{
  display:grid;
  grid-template-columns:repeat(4, minmax(0, 1fr));
  gap:16px;
}

.card-grid.card-grid-3{
  grid-template-columns:repeat(3, minmax(0, 1fr));
}

.card-grid.card-grid-2{
  grid-template-columns:repeat(2, minmax(0, 1fr));
}

.card{
  background:var(--card);
  border:1px solid var(--line);
  border-radius:var(--radius);
  overflow:hidden;
  box-shadow:var(--shadow);
}

.card img{
  width:100%;
  height:160px;
  object-fit:cover;
}

.card-body{
  padding:14px;
}

.card-body p:last-child{
  margin-bottom:0;
}

.card p{
  color:var(--muted);
  font-size:.9rem;
}

.card-link{
  display:inline-block;
  margin-top:4px;
  font-weight:700;
}

.card-link-muted{
  color:var(--blue);
  font-weight:700;
}

.card-note{
  font-size:.84rem;
  color:var(--muted);
}

/* =========================
   FEATURE BLOCKS
========================= */
.feature{
  padding:14px 0 24px;
}

.feature-grid{
  display:grid;
  grid-template-columns:.9fr 1.1fr;
  gap:16px;
  background:var(--card);
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:12px;
  box-shadow:var(--shadow);
}

.feature-grid img{
  width:100%;
  height:100%;
  min-height:240px;
  object-fit:cover;
  border-radius:12px;
}

.feature-copy{
  display:flex;
  flex-direction:column;
  justify-content:center;
}

.feature-copy p{
  color:var(--muted);
  font-size:.92rem;
}

/* =========================
   UPDATE PANEL
========================= */
.update{
  padding:10px 0 22px;
}

.update-card{
  background:linear-gradient(135deg, #fff7e0, #fff1c8);
  border:1px solid rgba(0,0,0,.06);
  border-left:6px solid var(--red);
  border-radius:16px;
  box-shadow:var(--shadow);
  padding:20px 22px;
}

.update-card h2{
  margin-bottom:6px;
}

.update-card p{
  font-size:.93rem;
  color:#45555d;
}

.update-highlight{
  font-weight:700;
  color:var(--red);
}

/* =========================
   HOMEPAGE HERO
========================= */
.hero{
  padding:26px 0 18px;
}

.hero-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:22px;
}

.hero-copy{
  background:var(--card);
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:22px;
  box-shadow:var(--shadow);
}

.hero-note{
  margin-top:12px;
  padding:12px 14px;
  background:var(--cardSoft);
  border:1px solid var(--line);
  border-radius:12px;
  font-size:.92rem;
}

.hero-note strong{
  display:block;
  color:var(--red);
  margin-bottom:4px;
}

.cruise-lines{
  display:block;
  margin-top:6px;
  font-size:.8rem;
  color:var(--muted);
  line-height:1.4;
}

.hero-media{
  background:var(--card);
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:12px;
  box-shadow:var(--shadow);
}

.video-wrap{
  position:relative;
  width:100%;
  padding-bottom:75%;
  overflow:hidden;
  border-radius:12px;
  background:#000;
}

.hero-video-file,
.video-wrap iframe{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  border:0;
  object-fit:cover;
}

.hero-video-caption{
  font-size:.88rem;
  color:var(--muted);
  margin:8px 0 0;
}

/* =========================
   FILM STRIP
========================= */
.film-strip-section{
  padding:8px 0 24px;
}

.film-strip-marquee{
  overflow:hidden;
  background:var(--card);
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:12px;
  box-shadow:var(--shadow);
}

.film-strip-track{
  display:flex;
  gap:10px;
  width:max-content;
  animation:filmStripScroll 42s linear infinite;
}

.film-strip-marquee:hover .film-strip-track{
  animation-play-state:paused;
}

.film-frame{
  flex:0 0 240px;
  position:relative;
  background:#111;
  border-radius:12px;
  padding:16px 8px;
  overflow:hidden;
}

.film-frame::before,
.film-frame::after{
  content:"";
  position:absolute;
  left:6px;
  right:6px;
  height:6px;
  background:repeating-linear-gradient(
    to right,
    #d8d8d8 0 10px,
    transparent 10px 18px
  );
  opacity:.65;
}

.film-frame::before{
  top:6px;
}

.film-frame::after{
  bottom:6px;
}

.film-frame img{
  width:100%;
  aspect-ratio:16 / 9;
  object-fit:cover;
  border-radius:8px;
  border:1px solid rgba(255,255,255,.18);
}

@keyframes filmStripScroll{
  from{
    transform:translateX(0);
  }
  to{
    transform:translateX(calc(-50% - 5px));
  }
}

/* =========================
   ARCHIVE GATEWAY PAGES
========================= */
.archive-intro{
  background:var(--card);
  border:1px solid var(--line);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  padding:20px 22px;
}

.archive-intro p:last-child{
  margin-bottom:0;
}

.browse-grid{
  display:grid;
  grid-template-columns:repeat(4, minmax(0, 1fr));
  gap:14px;
}

.browse-card{
  display:block;
  background:var(--card);
  border:1px solid var(--line);
  border-radius:var(--radius);
  overflow:hidden;
  box-shadow:var(--shadowSoft);
  color:inherit;
  text-decoration:none;
  transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.browse-card:hover{
  text-decoration:none;
  transform:translateY(-3px);
  box-shadow:var(--shadowHover);
  border-color:rgba(43,111,158,.22);
}

.browse-card:hover h3{
  color:var(--blue);
}

.browse-card img{
  width:100%;
  height:105px;
  object-fit:cover;
}

.browse-card-body{
  padding:8px 10px;
}

.browse-card-body h3{
  font-size:.95rem;
  margin-bottom:4px;
}

.browse-card-body p{
  font-size:.82rem;
  line-height:1.35;
  color:var(--muted);
}

.browse-card-body p:last-child{
  margin-bottom:0;
}

.browse-card-body a{
  color:inherit;
  text-decoration:none;
}

/* =========================
   CRUISE LINE PAGES
========================= */
.line-ship-grid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:16px;
}

.ship-card{
  display:block;
  background:var(--card);
  border:1px solid var(--line);
  border-radius:var(--radius);
  overflow:hidden;
  box-shadow:var(--shadow);
  color:inherit;
  text-decoration:none;
  transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.ship-card:hover{
  text-decoration:none;
  transform:translateY(-3px);
  box-shadow:var(--shadowHover);
  border-color:rgba(43,111,158,.22);
}

.ship-card:hover h3{
  color:var(--blue);
}

.ship-card img{
  width:100%;
  height:120px;
  object-fit:cover;
}

.ship-card-body{
  padding:10px 12px;
}

.ship-card-body p{
  color:var(--muted);
  font-size:.80rem;
}

.ship-card-body p:last-child{
  margin-bottom:0;
}

/* =========================
   SHIP DETAIL PAGES
========================= */
.ship-hero{
  display:grid;
  grid-template-columns:1.05fr .95fr;
  gap:18px;
  align-items:start;
}

.ship-hero-copy{
  background:var(--card);
  border:1px solid var(--line);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  padding:22px;
}

.ship-hero-media{
  background:var(--card);
  border:1px solid var(--line);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  padding:12px;
}

.ship-hero-media img{
  width:100%;
  border-radius:12px;
  object-fit:cover;
}

.narrative-block{
  background:var(--card);
  border:1px solid var(--line);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  padding:20px 22px;
}

.narrative-block p{
  color:var(--muted);
  font-size:.95rem;
}

/* =========================
   PHOTO GALLERY
========================= */
.gallery-grid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:16px;
}

.gallery-grid.gallery-grid-compact{
  grid-template-columns:repeat(6, minmax(0, 1fr));
  gap:10px;
}

.photo-card{
  background:var(--card);
  border:1px solid var(--line);
  border-radius:10px;
  overflow:hidden;
  box-shadow:none;
}

.photo-card img{
  width:100%;
  height:250px;
  object-fit:cover;
}

.gallery-grid-compact .photo-card img{
  height:92px;
}

.photo-card-body{
  padding:5px 6px 6px;
}

.photo-card-body p:last-child{
  margin-bottom:0;
}

.gallery-trigger{
  display:block;
  overflow:hidden;
  background:#d7e6ef;
}

.gallery-trigger img{
  transition:transform .18s ease;
}

.gallery-trigger:hover img{
  transform:scale(1.02);
}

.photo-caption{
  font-size:.74rem;
  line-height:1.25;
  color:var(--ink);
  margin-bottom:0;
}

.photo-meta{
  font-size:.8rem;
  color:var(--muted);
  line-height:1.45;
}

.photo-meta strong{
  color:var(--blue);
}

/* =========================
   LIGHTBOX
========================= */
.lightbox-overlay{
  position:fixed;
  inset:0;
  background:rgba(9,16,20,.88);
  display:none;
  align-items:center;
  justify-content:center;
  padding:28px 88px;
  z-index:9999;
}

.lightbox-overlay.is-open{
  display:flex;
}

.lightbox-stage{
  position:relative;
  width:min(1100px, 100%);
  max-height:100%;
  text-align:center;
  margin:0 auto;
}

.lightbox-image{
  display:block;
  max-width:100%;
  max-height:78vh;
  width:auto;
  height:auto;
  margin:0 auto;
  border-radius:14px;
  box-shadow:0 18px 46px rgba(0,0,0,.28);
  background:#fff;
}

.lightbox-caption{
  color:#eef5f8;
  font-size:.92rem;
  margin:12px auto 0;
  max-width:900px;
  line-height:1.45;
}

.lightbox-close{
  position:absolute;
  top:16px;
  right:20px;
  border:0;
  background:rgba(255,255,255,.12);
  color:#fff;
  font-size:2rem;
  line-height:1;
  cursor:pointer;
  padding:8px 12px;
  border-radius:999px;
  transition:background .18s ease;
}

.lightbox-close:hover{
  background:rgba(255,255,255,.22);
}

.lightbox-nav{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  width:52px;
  height:52px;
  border:0;
  border-radius:999px;
  background:rgba(255,255,255,.14);
  color:#fff;
  font-size:1.55rem;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
  transition:background .18s ease;
  z-index:2;
}

.lightbox-nav:hover{
  background:rgba(255,255,255,.24);
}

.lightbox-prev{
  left:22px;
}

.lightbox-next{
  right:22px;
}

/* =========================
   RELATED LINKS / ARCHIVE NAV
========================= */
.related-block{
  background:var(--card);
  border:1px solid var(--line);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  padding:18px 20px;
}

.related-links{
  display:flex;
  flex-wrap:wrap;
  gap:10px 14px;
  margin-top:10px;
}

.related-links a{
  color:var(--blue);
  font-weight:700;
}

/* =========================
   SIMPLE LIST BLOCKS
========================= */
.archive-list{
  background:var(--card);
  border:1px solid var(--line);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  padding:18px 20px;
}

.archive-list ul{
  margin:12px 0 0;
  padding-left:18px;
}

.archive-list li{
  margin:0 0 8px;
  color:var(--muted);
}

/* =========================
   FAQ ACCORDION
========================= */
.faq-accordion{
  display:grid;
  gap:10px;
}

.faq-item{
  background:var(--card);
  border:1px solid var(--line);
  border-radius:14px;
  box-shadow:var(--shadowSoft);
  overflow:hidden;
}

.faq-item summary{
  list-style:none;
  cursor:pointer;
  padding:14px 16px;
  font-weight:700;
  color:var(--ink);
  position:relative;
}

.faq-item summary::-webkit-details-marker{
  display:none;
}

.faq-item summary::after{
  content:"+";
  position:absolute;
  right:16px;
  top:50%;
  transform:translateY(-50%);
  font-size:1.1rem;
  color:var(--blue);
}

.faq-item[open] summary::after{
  content:"–";
}

.faq-answer{
  padding:0 16px 14px;
}

.faq-answer p{
  color:var(--muted);
  font-size:.92rem;
}

/* =========================
   RESERVED SLOT PLACEHOLDERS
========================= */
.slot-placeholder{
  max-width:920px;
  margin:0 auto;
  padding:22px 18px;
  text-align:center;
  border:1px dashed rgba(31,49,56,.20);
  border-radius:14px;
  background:rgba(255,255,255,.52);
  box-shadow:var(--shadowSoft);
}

.slot-label{
  display:inline-block;
  font-size:.78rem;
  font-weight:700;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:var(--muted);
}

/* =========================
   FOOTER
========================= */
footer{
  padding:20px 0 40px;
  color:var(--muted);
  font-size:.88rem;
}

.footer-card{
  border-top:1px solid var(--line);
  padding-top:14px;
}

footer .copyright{
  font-size:.82rem;
  color:var(--muted);
  margin-top:6px;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 1080px){
  .card-grid{
    grid-template-columns:repeat(2, minmax(0, 1fr));
  }

  .browse-grid,
  .line-ship-grid,
  .gallery-grid{
    grid-template-columns:repeat(2, minmax(0, 1fr));
  }

  .gallery-grid.gallery-grid-compact{
    grid-template-columns:repeat(4, minmax(0, 1fr));
  }

  .film-strip{
    grid-template-columns:repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 900px){
  .topbar-inner{
    flex-direction:column;
    align-items:flex-start;
  }

  .nav{
    justify-content:flex-start;
  }

  .hero-grid,
  .feature-grid,
  .ship-hero,
  .section-head{
    grid-template-columns:1fr;
    display:grid;
  }

  .section-head{
    gap:8px;
  }

  .brand-subtitle{
    max-width:none;
  }

  .lightbox-overlay{
    padding:24px 56px;
  }
}
@media (max-width: 1080px){
  .film-frame{
    flex:0 0 210px;
  }
}

@media (max-width: 680px){
  .film-frame{
    flex:0 0 180px;
  }
}

@media (max-width: 680px){
  .card-grid,
  .line-ship-grid,
  .gallery-grid{
    grid-template-columns:1fr;
  }

  .browse-grid{
    grid-template-columns:repeat(2, minmax(0, 1fr));
  }

  .gallery-grid.gallery-grid-compact{
    grid-template-columns:repeat(2, minmax(0, 1fr));
  }

  .film-strip{
    grid-template-columns:repeat(2, minmax(0, 1fr));
  }

  .film-frame img{
    height:110px;
  }

  .card img,
  .browse-card img,
  .ship-card img{
    height:190px;
  }

  .browse-card img{
    height:95px;
  }

  .photo-card img{
    height:240px;
  }

  .gallery-grid-compact .photo-card img{
    height:105px;
  }

  .hero-copy,
  .page-intro,
  .archive-intro,
  .narrative-block,
  .ship-hero-copy{
    padding:18px;
  }

  .lightbox-overlay{
    padding:16px 14px 24px;
  }

  .lightbox-stage{
    width:100%;
    padding:0 40px;
  }

  .lightbox-nav{
    width:42px;
    height:42px;
    font-size:1.3rem;
  }

  .lightbox-prev{
    left:6px;
  }

  .lightbox-next{
    right:6px;
  }

  .lightbox-close{
    top:8px;
    right:8px;
    font-size:1.7rem;
    padding:6px 10px;
  }
}