/* Site header: logo centred, two links left, three right (Ocean Group layout).
   Shared by every page. Default is dark ink on light heroes; add .on-media for white over video. */
.site-header{position:absolute; top:0; left:0; right:0; z-index:20; padding:26px 40px;}
.site-header.on-media{background:linear-gradient(180deg, rgba(8,14,20,.45) 0%, rgba(8,14,20,0) 100%);}
.sh-nav{display:grid; grid-template-columns:1fr auto 1fr; align-items:center; gap:24px; max-width:1360px; margin:0 auto;}
.sh-links{display:flex; gap:34px; list-style:none; margin:0; padding:0;}
.sh-left{justify-content:flex-start;}
.sh-right{justify-content:flex-end;}
.sh-links > li{position:relative;}
.sh-links > li > a{display:block; padding:10px 0; font-family:var(--font-body); font-size:13px; font-weight:600; letter-spacing:.14em; text-transform:uppercase; color:var(--ink);}
.sh-links > li > a:hover, .sh-links > li > a[aria-current="page"]{opacity:.6;}
.sh-logo{display:block; line-height:0;}
.sh-logo img{height:46px; width:auto;}
.on-media .sh-links > li > a{color:#fff;}
.on-media .sh-logo img{filter:invert(1);}

/* Resorts dropdown: hover or keyboard focus on wide screens only */
.sh-menu{position:absolute; top:100%; left:-22px; min-width:270px; margin:0; padding:12px 0; list-style:none;
  background:#fff; border-radius:18px; box-shadow:var(--shadow); opacity:0; visibility:hidden; transform:translateY(6px);
  transition:opacity .18s ease, transform .18s ease, visibility 0s linear .18s;}
.sh-menu a{display:block; padding:9px 22px; font-size:14px; color:var(--ink-soft); white-space:nowrap;}
.sh-menu a:hover{color:var(--ink); background:#F4F4F4;}
.sh-drop:hover .sh-menu, .sh-drop:focus-within .sh-menu{opacity:1; visibility:visible; transform:none; transition-delay:0s;}

/* Socials float bottom left on every page */
.float-socials{position:fixed; left:18px; bottom:18px; z-index:40; display:flex; flex-direction:column; gap:10px;}
.float-socials a{width:38px; height:38px; border:1px solid var(--line); border-radius:50%; display:flex; align-items:center; justify-content:center; color:var(--ink-soft); background:#fff; box-shadow:var(--shadow);}

@media (max-width:1000px){ .sh-links{gap:22px;} .sh-links > li > a{letter-spacing:.1em; font-size:12px;} }
/* Phones and small tablets: logo on top, the five links in one row under it */
@media (max-width:860px){
  .site-header{padding:18px 16px 10px;}
  .sh-nav{display:flex; flex-wrap:wrap; justify-content:center; column-gap:14px; row-gap:6px;}
  .sh-logo{order:-1; flex-basis:100%; display:flex; justify-content:center; margin-bottom:4px;}
  .sh-logo img{height:36px;}
  .sh-links{gap:14px;}
  .sh-links > li > a{font-size:11px; letter-spacing:.06em; padding:8px 0;}
  .sh-menu{display:none;}
  .float-socials{left:12px; bottom:12px;}
  .float-socials a{width:34px; height:34px;}
}
/* Phones: one 24px gutter instead of section padding plus wrap padding,
   and the socials sit in a row at the end of the page so they never cover text */
@media (max-width:640px){
  .section-pad,.about{padding-left:24px; padding-right:24px;}
  .section-pad .wrap,.about .wrap{padding-left:0; padding-right:0;}
  .float-socials{position:static; flex-direction:row; justify-content:center; gap:14px; padding:22px 0 28px; background:#fff;}
  .float-socials a{box-shadow:none;}
  body:has(.site-footer) .float-socials{background:var(--ink); padding-top:0;}
  body:has(.site-footer) .float-socials a{background:transparent; color:#fff; border-color:rgba(255,255,255,.25);}
}
