/* =====================================================================
   Giana Restaurant + Bar: site design
   Our own stylesheet. Replaces the BentoBox theme files. Organized by
   part of the page. Colors and sizes live in the variables below.
   ===================================================================== */

:root {
  --black: #000;
  --white: #fff;
  --brand: #c340a8;            /* Giana magenta: links on hover, active page, accents */
  --ink: #3e3c3c;              /* text inside form fields */
  --ink-soft: rgba(62, 60, 60, .7);
  --line: rgba(221, 221, 221, .6);
  --error: #d5413d;
  --font-body: "Jost", "Helvetica Neue", Arial, sans-serif;
  --font-display: "BenchNine", "Arial Narrow", sans-serif;
  --gutter: .9375rem;
  --gutter-wide: 1.875rem;
  --ease: .2s ease-in-out;
}

/* ---------- Base ---------- */
html { font-size: 17px; box-sizing: border-box; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; -webkit-tap-highlight-color: transparent; }
*, *::before, *::after { box-sizing: inherit; }
html, body { width: 100%; height: 100%; }
body {
  margin: 0; font-family: var(--font-body); font-size: 1rem; font-weight: 400; line-height: 1.5;
  color: var(--white); background: var(--black);
}
main, header, footer, nav, section, article, aside { display: block; }
main { position: relative; z-index: 0; }
[hidden] { display: none !important; }
img { border: 0; vertical-align: middle; }
b, strong { font-weight: bold; }
p { margin: 0 0 1rem; }
ul, ol { margin: 0 0 1rem; }
a { color: var(--white); text-decoration: underline; background: transparent; transition: color var(--ease); }
a:hover, a:focus { color: var(--brand); }
a:focus, button:focus, .btn:focus { outline: auto 5px -webkit-focus-ring-color; }
a:focus { outline-offset: -2px; }
[tabindex="-1"]:focus { outline: none !important; }
button, input, select, textarea { font: inherit; color: inherit; margin: 0; line-height: inherit; border-radius: 0; }
button { overflow: visible; text-transform: none; cursor: pointer; }
[role="button"] { cursor: pointer; }
a, button, input, label, select, textarea, [role="button"] { touch-action: manipulation; }
h1, h2, h3, h4, h5, h6, p, a, button, .btn { -webkit-font-smoothing: antialiased; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); border: 0; }
.popup-source { display: none !important; }

/* ---------- Headings ---------- */
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3 {
  margin: 0 0 1rem; font-family: var(--font-display); font-weight: 500; font-style: normal;
  line-height: 1.1; color: inherit; text-transform: uppercase;
}
h1, .h1 { font-size: 3.5rem; font-weight: 700; letter-spacing: 5px; color: var(--white); }
h2, .h2 { font-size: 3rem; font-weight: 700; letter-spacing: 5px; color: var(--white); }
h3, .h3 { font-size: 2.5rem; font-weight: 400; letter-spacing: 3px; }
@media (max-width: 768px) {
  h1, .h1 { font-size: 3rem; }
  h2, .h2 { font-size: 2.25rem; }
  h3 { font-size: 2rem; }
}

/* ---------- Page width + grid ---------- */
.container, .container-sm, .container-md, .tabs-nav {
  margin-left: auto; margin-right: auto; padding-left: var(--gutter); padding-right: var(--gutter);
}
.container { max-width: 1010px; }
.container-sm { max-width: 640px; }
.container-md { max-width: 790px; }
.container::after, .container-sm::after, .container-md::after, .row::after, .tabs-nav::after { content: ""; display: table; clear: both; }
.row { margin-left: calc(-1 * var(--gutter)); margin-right: calc(-1 * var(--gutter)); }
.col-md-6, .col-lg-4 { position: relative; min-height: 1px; padding-left: var(--gutter); padding-right: var(--gutter); }
@media (min-width: 544px) {
  .container, .container-sm, .container-md, .tabs-nav { padding-left: var(--gutter-wide); padding-right: var(--gutter-wide); }
  .row { margin-left: calc(-1 * var(--gutter-wide)); margin-right: calc(-1 * var(--gutter-wide)); }
  .col-md-6, .col-lg-4 { padding-left: var(--gutter-wide); padding-right: var(--gutter-wide); }
}
@media (min-width: 769px) { .col-md-6 { float: left; width: 50%; } }
@media (min-width: 992px) { .col-lg-4 { float: left; width: 33.3333%; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; padding: .5rem 1.5rem; border: 2px solid transparent; border-radius: 0;
  font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; line-height: 1.5;
  letter-spacing: 2px; text-transform: uppercase; text-align: center; text-decoration: none;
  white-space: nowrap; vertical-align: middle; user-select: none; cursor: pointer; transition: all var(--ease);
}
.btn:hover, .btn:focus { text-decoration: none; }
.btn:focus { outline-offset: -2px; }
.btn:disabled { cursor: not-allowed; opacity: .65; }
.btn-block { display: block; width: 100%; padding-left: var(--gutter); padding-right: var(--gutter); }
@media (max-width: 768px) { .btn { white-space: normal; } }

/* outlined: white frame on black, fills white on hover */
.btn-brand { color: var(--white); background: var(--black); border-color: var(--white); }
.btn-brand:hover, .btn-brand:active, .btn-brand.active { color: var(--black); background: var(--white); border-color: var(--white); }
.btn-brand:active:hover, .btn-brand.active:hover { background: #f2f2f2; border-color: #f2f2f2; }
.btn-brand:focus { color: var(--brand); background: transparent; border-width: 0 0 2px; border-bottom-color: var(--brand); }

/* menu tabs (Brunch, Lunch...): the chosen one gets a magenta frame */
.btn-tabs { color: var(--white); background: var(--black); border-color: var(--white); }
.btn-tabs:hover, .btn-tabs:focus, .btn-tabs.active { color: var(--white); background: var(--black); border-color: var(--brand); }

/* ---------- Icons (Font Awesome, free) ---------- */
.icon { display: inline-block; font-style: normal; line-height: 1; -webkit-font-smoothing: antialiased; }
.icon::before { font-family: "Font Awesome 6 Free"; font-weight: 900; }
.icon--brand::before { font-family: "Font Awesome 6 Brands"; font-weight: 400; }
.icon--chevron-down::before { content: "\f078"; }
.icon--clock::before { content: "\f017"; font-weight: 400; }
.icon--facebook::before { content: "\f39e"; }
.icon--instagram::before { content: "\f16d"; }

/* ---------- Forms ---------- */
form { text-align: left; margin-bottom: 1.5rem; }
label { display: block; width: 100%; margin-bottom: 1.5rem; position: relative; }
label > span { display: block; margin-bottom: .5rem; padding: 0 .75rem; }
input[type="text"], input[type="email"], input[type="tel"], input[type="date"], textarea, select { -webkit-appearance: none; appearance: none; }
[type="submit"] { width: 100%; margin-bottom: .75rem; }
@media (min-width: 769px) { [type="submit"]:not(.btn-block) { width: auto; display: inline-block; } }

.form-control {
  display: block; width: 100%; height: 3.5rem; padding: .75rem; font-size: 16px; line-height: 1.5;
  color: var(--ink); background: var(--white); border: 1px solid var(--line); border-radius: 0;
  transition: all .2s linear;
}
.form-control:focus { border-color: var(--ink); outline: auto 5px -webkit-focus-ring-color; }
.form-control::placeholder { color: var(--ink-soft); opacity: 1; }
select.form-control.unselected { color: var(--ink-soft); }
textarea.form-control { width: 100%; min-width: 100%; max-width: 100%; min-height: 9rem; max-height: 12rem; resize: vertical; overflow: auto; }

.form-ui::after { content: ""; display: block; width: 100%; height: 1px; margin-bottom: -1px; }
.form-header { text-align: center; margin-bottom: 2rem; }
.form-heading { font-size: 2.33333rem; }
@media (max-width: 768px) { .form-heading { font-size: 1.75rem; } }
.form-actions { text-align: center; }
.form-actions .btn[type="submit"] { margin-left: 0; margin-right: 0; }

/* the small label sitting just above each box */
.form-ui .input-label { position: absolute; top: -20px; margin: -1px; padding: 0 .75rem 0 3px; font-size: .8rem; font-weight: bold; color: var(--white); }
.form-ui .input-label-required, .form-ui .input-label-optional { display: inline; padding: 0; margin: 0; color: var(--white); font-style: italic; }
.input--hidden { display: none !important; }

/* boxes with an icon (dropdown arrow, clock) */
.form-control-group { position: relative; }
.form-control-group.has-icon-left .form-control { padding-left: 2.25rem; }
.form-control-group.has-icon-right .form-control { padding-right: 2.25rem; }
.form-control-group--icon {
  position: absolute; top: 0; bottom: 0; z-index: 1; height: 1em; margin: auto 0; padding: 0 .75rem;
  font-size: 1.2em; line-height: 1em; text-align: center; pointer-events: none; color: var(--line);
}
.form-control-group--icon.is-positioned-right { right: 0; }
.form-control-group--icon.is-positioned-left { left: 0; }

/* error and thank-you messages */
.error-label, .error-message-email { display: none; }
.error-label.is-shown, .error-message-email.is-shown { display: inline; }
.error-label, .error-message-email, .form-error-msg {
  font-size: 14px; font-style: italic; color: var(--error); background: var(--white);
  border: 1px solid var(--error); padding: 0 .25rem;
}
.form-error-msg { display: none; text-align: center; margin-bottom: .75rem; }
.form-error-msg.is-shown { display: block; }
@media (min-width: 769px) { .form-error-msg { padding-left: .75rem; padding-right: .75rem; } }
.form-success-msg { display: none; text-align: center; }
.form-success-msg > span { display: block; margin-bottom: 1.5rem; }
form.is-sent .form-ui, form.is-sent .form-actions, form.is-sent .cf-turnstile { display: none; }
form.is-sent .form-success-msg { display: block; }
.recaptcha-form-footer { width: 100%; margin: 1em 0; text-align: center; color: var(--white); }

/* forms inside popups: black text on the white popup background */
.form-alt { color: var(--black); }
.form-alt h1, .form-alt .h1, .form-alt .form-ui .input-label, .form-alt .form-ui .input-label-required,
.form-alt .form-ui .input-label-optional, .form-alt .form-success-msg > span, .form-alt .recaptcha-form-footer { color: var(--black); }
.form-alt .form-control { border-color: rgba(62, 60, 60, .5); }
.form-alt .form-control:focus { border-color: var(--ink); }
.form-alt .form-control-group--icon { color: rgba(62, 60, 60, .5); }
.form-alt .btn { color: var(--white); background: var(--black); border: 2px solid var(--white); }
.form-alt .btn:hover, .form-alt .btn:active, .form-alt .btn:focus { color: var(--black); background: var(--white); border: 2px solid var(--white); }

/* ---------- Fade-in as sections scroll into view ---------- */
.js .revealable { opacity: 0; transform: translateY(20px); transition: all 1s; }
.js .revealable.revealed { opacity: 1; transform: translateY(0); }

/* ---------- Header: desktop ---------- */
.site-notifications { position: relative; z-index: 50; }
.site-header .skip { position: absolute; top: -1000px; left: -1000px; width: 1px; height: 1px; overflow: hidden; text-align: left; }
.site-header .skip:focus { top: 0; left: 0; width: auto; height: auto; overflow: visible; padding: 7px; z-index: 1000; color: var(--white); background: var(--black); }

.site-header-desktop { display: none; position: relative; z-index: 10; width: 100%; }
@media (min-width: 998px) { .site-header-desktop { display: block; } }

/* top bar with address and phone */
.site-header-desktop-secondary { width: 100%; padding: .5em 0; font-size: .8rem; background: var(--black); }
.site-header-desktop-secondary .site-location { float: left; width: 100%; min-height: 1px; padding: 0 var(--gutter); }
@media (min-width: 544px) { .site-header-desktop-secondary .site-location { padding: 0 var(--gutter-wide); } }

/* logo + menu bar */
.site-header-desktop-primary {
  position: absolute; top: var(--topbar, 34px); left: 0; right: 0; z-index: 10; width: 100%;
  padding: 1rem 0; background: var(--black); transform: translateZ(0);
}
.site-header-desktop-primary.is-floating { background: transparent; }
.site-header-desktop-primary.is-stuck { position: fixed; top: 0; }
.site-header-desktop-primary::before,
.site-header-mobi::before {
  content: ""; position: absolute; top: 0; left: 0; z-index: -1; display: block; width: 100%; height: 200%;
  pointer-events: none; background: linear-gradient(0deg, transparent 0%, var(--black) 100%);
}
.site-header-desktop-primary > .container { max-width: none; text-align: justify; line-height: 0; }
.site-header-desktop-primary > .container::after { content: ""; display: inline-block; width: 100%; height: 0; font-size: 0; line-height: 0; vertical-align: middle; clear: none; }
.site-header-desktop .site-logo { display: inline-block; margin: 0; }
.site-logo__btn { display: block; text-align: center; transition: all var(--ease); }
.site-logo__btn > img { display: inline-block; max-width: 100%; max-height: 100%; height: auto; }
.site-header-desktop .site-logo__btn { width: 160px; height: 77px; margin: 0 auto; line-height: 77px; text-align: left; }
.site-header-spacer-desktop { display: none; }
@media (min-width: 769px) { .site-header-spacer-desktop { display: block; } }
.site-header-spacer-mobile { display: none; }
@media (max-width: 768px) { .site-header.is-stuck ~ .site-content > .site-header-spacer-mobile { display: block; } }

/* address + phone (top bar, mobile bar, mobile menu) */
.site-location { text-align: center; letter-spacing: 1px; }
.site-location__address, .site-location__tel { display: block; color: var(--white); text-decoration: none; }
.site-location__address:hover, .site-location__tel:hover, .site-location__address:focus, .site-location__tel:focus { color: var(--brand); text-decoration: none; }
.site-header-desktop .site-location span { white-space: nowrap; }
@media (min-width: 544px) {
  .site-header-desktop .site-location__address, .site-header-desktop .site-location__tel { display: inline-block; }
  .site-header-desktop .site-location__address { margin-right: 1em; }
}

/* ---------- Navigation links (header, mobile menu, footer) ---------- */
.site-nav {
  font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; text-align: center;
}
.site-nav ul { display: block; margin: 0; padding: 0; list-style: none; }
.site-nav li { display: block; }
.site-nav a, .site-nav button { text-decoration: none; }
.site-nav-menu a:not(.btn), .site-nav-menu button:not(.btn) {
  display: inline-block; padding: .5em; color: var(--white); transition: all var(--ease);
}
.site-nav-menu a:not(.btn):hover, .site-nav-menu button:not(.btn):hover, .site-nav .is-active > a:not(.btn) { color: var(--brand); }
.site-nav button:not(.btn) {
  border: 1px solid transparent; border-radius: 0; background: transparent; box-shadow: none;
  font-weight: inherit; text-transform: inherit; letter-spacing: inherit;
}
.site-nav-menu > li > .btn { margin-left: .5em; padding: .5em 1.5em; letter-spacing: 2px; }
@media (min-width: 769px) {
  .site-nav { font-size: 1.1rem; }
  .site-nav-menu > li > a { padding-top: .25em; padding-bottom: .25em; }
}
.site-header-desktop .site-nav { position: relative; z-index: 1; display: inline-block; vertical-align: middle; line-height: 1.5; }
.site-header-desktop .site-nav-menu > li { display: inline-block; }

/* ---------- Header: phone + tablet ---------- */
.site-header-mobi {
  position: fixed; z-index: 40; display: flex; flex-flow: column-reverse wrap; width: 100%;
  padding: 0 0 var(--gutter); background: transparent; transform: translateZ(0);
}
.site-header:not(.is-stuck) .site-header-mobi { position: absolute; top: 0; left: 0; right: 0; }
.site-header.is-stuck .site-header-mobi { top: 0; left: 0; right: 0; }
@media (min-width: 998px) { .site-header-mobi { display: none; } }
.site-header-mobi .site-logo { display: block; width: 100%; margin-left: 0; padding: var(--gutter) var(--gutter) 0; }
.site-header-mobi .site-logo__btn { height: 60px; max-width: 125px; line-height: 60px; text-align: left; }
.site-header-mobi .site-location { font-size: .8rem; padding-left: var(--gutter); padding-right: var(--gutter); }
.site-header-mobi .site-location__tel { display: none; }
.site-header-mobi > .site-location { margin: 0; padding-top: .5em; padding-bottom: .5em; background: var(--black); }
.site-header.is-stuck .site-header-mobi > .site-location { display: none; }

/* hamburger button */
.nav-toggle-btn {
  position: absolute; top: 50%; right: 0; z-index: 20; transform: translateY(-50%);
  padding: var(--gutter); background: transparent; border: 1px solid transparent; border-radius: 2px;
  line-height: 1.5; transition: all var(--ease);
}
.has-nav-address-bar .site-header:not(.is-stuck) .nav-toggle-btn { top: calc(30px + 1.4375rem); transform: none; }
.nav-toggle-btn:focus, .nav-toggle-btn:hover, .nav-toggle-btn:active { outline: 0; }
.nav-toggle-btn__line { display: block; width: 25px; height: 2px; margin-bottom: 6px; background: var(--white); transform-origin: 50% 50%; transition: all var(--ease); }
.nav-toggle-btn__line:last-child { margin-bottom: 0; }
.nav-toggle-btn.is-open .nav-toggle-btn__line:nth-of-type(2) { transform: translateY(8px) rotate(45deg); }
.nav-toggle-btn.is-open .nav-toggle-btn__line:nth-of-type(3) { transform: translateY(8px); opacity: 0; }
.nav-toggle-btn.is-open .nav-toggle-btn__line:nth-of-type(4) { transform: translateY(-8px) rotate(-45deg); }

/* slide-down menu panel */
.site-header-mobi-panel {
  position: fixed; bottom: 100%; left: 0; z-index: 10; width: 100%; overflow: hidden; visibility: hidden;
  background: var(--black); transform: translateY(0); transition: transform .5s cubic-bezier(.77, 0, .175, 1);
}
.site-header-mobi-panel.is-open { transform: translateY(100%); overflow: auto; visibility: visible; }
/* the open menu fills the screen and scrolls on its own, so the links at the bottom (social, address) can be reached */
.site-header-mobi-panel { height: 100vh; height: 100dvh; overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; }
.site-header-mobi-panel__inner { min-height: 100%; padding-bottom: 2.8125rem; }
.site-header-mobi .site-nav { padding: 4rem var(--gutter) 1.5rem; font-size: 1.2rem; }
.site-header-mobi .site-nav button:not(.btn) { padding: .5rem; }
.site-header-mobi-panel .site-location { margin: var(--gutter) 0; }
.site-social { padding: 0; }
.site-header-mobi .site-social { padding-left: var(--gutter); padding-right: var(--gutter); }
.site-social--bordered::before { content: ""; display: block; margin-bottom: var(--gutter-wide); border-bottom: 1px solid var(--brand); }
.site-social > .social-accounts { margin-top: var(--gutter-wide); margin-bottom: .5em; }
@media (max-width: 997px) {
  .no-hero-intent .site-content { padding-top: calc(60px + 2rem); }
}

/* ---------- Social icons (round) ---------- */
.social-accounts { display: block; margin-top: 0; padding: 0; list-style: none; text-align: center; font-size: 1rem; }
.social-accounts > li { display: inline-block; width: 26px; height: 26px; margin: 0 2px .5em; line-height: 26px; }
.social-accounts a { display: inline-block; width: 100%; height: 100%; color: var(--black); background: var(--white); border-radius: 50%; transition: all var(--ease); }
.social-accounts a:hover { color: var(--black); background: var(--brand); }
.social-accounts .icon { line-height: inherit; letter-spacing: 0; }

/* ---------- Footer ---------- */
footer { background: var(--black); }
.site-footer-desktop { display: none; width: 100%; }
@media (min-width: 769px), (pointer: fine) { .site-footer-desktop { display: block; } }
.site-footer-desktop-primary { width: 100%; background: var(--black); }
.site-footer-desktop-primary__container { max-width: none; padding-top: 1em; padding-bottom: 1em; text-align: justify; line-height: 0; }
.site-footer-desktop-primary__container::after { content: ""; position: relative; z-index: -1; display: inline-block; width: 100%; height: 0; font-size: 0; line-height: 0; vertical-align: middle; clear: none; }
.site-footer-desktop-primary .social-accounts, .site-footer-desktop-primary .site-nav { position: relative; z-index: 0; }
.site-footer-desktop-primary .social-accounts { display: block; margin-bottom: 1rem; }
.site-footer-desktop-primary .social-accounts > li { margin-top: .25em; margin-bottom: .25em; }
.site-footer-desktop-primary .site-nav { display: block; font-size: 1.1rem; line-height: 1.5; }
.site-footer-desktop-primary .site-nav li { display: inline-block; }
@media (min-width: 769px) {
  .site-footer-desktop-primary .site-nav, .site-footer-desktop-primary .social-accounts { display: inline-block; }
  .site-footer-desktop-primary .social-accounts { margin-bottom: 0; }
}
.site-footer-desktop-secondary { width: 100%; color: var(--white); background: var(--black); }

/* phone: sticky Reservations / Order Now bar */
.mobi-footer { width: 100%; }
.mobi-footer--sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; }
.mobi-footer__list { margin: 0; padding: 0; list-style: none; }
.mobi-footer__item { border-bottom: 1px solid var(--black); }
.mobi-footer__item:last-child { border-bottom: 0; }
.mobi-footer__item .btn { padding-top: .75rem; padding-bottom: .75rem; }
@media (min-width: 769px), (pointer: fine) { .mobi-footer { display: none; } }
.site-content { position: relative; }

/* ---------- Page sections ---------- */
.content { padding-top: 5rem; padding-bottom: 4.5rem; text-align: center; }
.content + .content { padding-top: 0; }
.content > h2 { margin-bottom: 1.5rem; }
.content .btn { margin: 1rem var(--gutter); }
.c-intro h1 { margin-bottom: 1.5rem; }
.c-intro .btn { min-width: 12rem; }
.contact-template .c-intro { padding-bottom: 0; }

/* photo boxes */
.image-thumbnail {
  width: 100%; margin-bottom: 1.625rem; padding-top: 70%;
  background: var(--white) no-repeat center / cover;
}
.c-two-col-thumbs { margin-bottom: -1rem; }
.c-two-col-thumbs [class^="col-"] { margin-bottom: 2rem; }
@media (min-width: 769px) {
  .c-two-col-thumbs { max-width: 1300px; margin-bottom: 0; }
  .c-two-col-thumbs [class^="col-"] { margin-bottom: 0; }
}

/* half photo / half text bands (Menu, Gift Cards) */
.c-split {
  display: block; width: 100%; overflow: hidden;
  background: var(--black) url("/images/palms-asset-2.png") repeat center / 874px auto;
}
.c-split__col {
  position: relative; z-index: 0; display: flex; align-items: center; width: 100%; min-height: 40vh;
  padding: 0 var(--gutter); overflow: hidden; text-align: center; vertical-align: middle;
}
.c-split__col-inner { width: 100%; }
.c-split__content { max-width: 90%; margin: auto; }
.c-split .btn { margin: 1rem auto; }
.c-split__image { position: absolute; top: 0; left: 0; z-index: -2; width: 100%; height: 100%; background: no-repeat center / cover; }
@media (min-width: 544px) { .c-split__col { padding: 0 var(--gutter-wide); } }
@media (min-width: 769px) {
  .c-split { display: table; table-layout: fixed; }
  .c-split__col { display: table-cell; width: 50%; height: 40vh; min-height: 65vh; }
  .c-split--alternate .c-split__col:first-child { left: 50%; }
  .c-split--alternate .c-split__col:last-child { left: -50%; }
  .c-split__col-inner { display: flex; align-items: center; height: 100%; }
  .c-split__content { max-width: 80%; }
}

/* full-width photo with text over it (Catering) */
.c-tout-overlay {
  position: relative; z-index: 0; height: 65vh; overflow: hidden; text-align: center; color: var(--white);
  background: var(--white) no-repeat center / cover;
}
.c-tout-overlay > div { position: absolute; top: 50%; left: 0; right: 0; z-index: 1; width: 100%; padding-top: 4rem; padding-bottom: 4rem; transform: translateY(-50%); }
.c-tout-overlay h1, .c-tout-overlay .h1, .c-tout-overlay h2, .c-tout-overlay p { color: var(--white); }
.c-tout-overlay--dimmed::after { content: ""; position: absolute; top: 0; left: 0; z-index: 0; display: block; width: 100%; height: 100%; background: rgba(0, 0, 0, .55); }
@media (max-width: 768px) { .c-tout-overlay { height: 60vh; } }
@media (min-width: 991px) { .c-tout-overlay { background-attachment: fixed; z-index: -1; transform: none !important; } }

/* ---------- Big header photo / slideshow ---------- */
.hero {
  position: relative; z-index: 0; height: calc(100vh - 280px); padding: 0 4rem; overflow: hidden;
  text-align: center; color: var(--white); background: var(--black);
}
.index-template .hero { height: calc(100vh - 34px); }
@media (max-width: 768px) {
  .hero { height: calc(100vh - 125px); }
  .index-template .hero { height: calc(100vh - 117px); }
}
@media (min-width: 991px) { .hero { z-index: -1; transform: none !important; } }
.hero .gallery { position: absolute; top: 0; left: 0; z-index: 0; width: 100%; height: 100%; }
.hero__content {
  position: absolute; top: 56%; left: 3rem; right: 3rem; z-index: 1; width: calc(100% - 6rem);
  padding: 4rem 0; transform: translateY(-50%); pointer-events: none;
}
.hero__content * { pointer-events: auto; }
.hero h1 { font-size: 4.5rem; color: var(--white); }
@media (max-width: 768px) {
  .hero__content { left: 0; right: 0; width: 90%; }
  .hero h1 { font-size: 3.5rem; }
}
.hero .motion-controls { position: absolute; left: 0; right: 0; bottom: 80px; z-index: 1; width: 100%; margin: auto; }
@media (max-width: 768px) { .hero .motion-controls { bottom: 2rem; } }
.motion-btn {
  padding: 0; border: 0; background: transparent; color: var(--white); line-height: 1;
  filter: drop-shadow(0 0 5px var(--black)); transform: rotate(90deg); transition: all var(--ease);
}
.motion-btn:hover { color: rgba(255, 255, 255, .65); }
.motion-btn[hidden] { display: none; }
.motion-btn::before { display: block; font-family: "Roboto", sans-serif; font-weight: 400; }
.motion-btn--pause::before { content: "="; font-size: 60px; }
.motion-btn--play::before { content: "\25B2"; font-size: 35px; margin-right: 25px; }
@font-face { font-family: "Roboto"; src: url("/fonts/roboto-regular.ttf"); font-display: swap; }

/* ---------- Photo galleries (slideshows) ---------- */
.gallery { position: relative; z-index: 0; width: 100%; background: var(--black); }
.gallery__item { position: relative; z-index: 0; width: 100%; overflow: hidden; background: no-repeat center / cover; }
.gallery--fit, .gallery--fit > div, .gallery--fit .slides, .gallery--fit .slide, .gallery--fit .gallery__item { height: 100%; }
/* a single header photo stays still while the page scrolls over it (wide screens) */
/* single-photo headers scroll with the page (the old theme's "fixed" setting never took effect) */
.gallery--dimmed .gallery__item::before { content: ""; position: absolute; top: 0; left: 0; z-index: 10; display: block; width: 100%; height: 100%; background: rgba(0, 0, 0, .55); }
.gallery--std .gallery__item { height: 20rem; }
@media (min-width: 769px) { .gallery--std .gallery__item { height: auto; padding-top: 56.25%; } }
.article .gallery { margin-bottom: 2rem; }

.slides { position: relative; margin: 0; padding: 0; list-style: none; overflow: hidden; }
.slide { position: absolute; top: 0; left: 0; width: 100%; opacity: 0; z-index: 1; transition: opacity 2s ease; }
.slide.is-current { position: relative; opacity: 1; z-index: 2; }
.gallery--fit .slide { position: absolute; }
.gallery--fit .slide.is-current { position: absolute; }

/* left / right arrows */
.arrow-btn {
  position: absolute; top: 50%; z-index: 10; width: 28px; height: 54px; padding: 0 var(--gutter);
  box-sizing: content-box; border: 1px solid transparent; background: transparent; transform: translateY(-50%);
  line-height: 1.5; cursor: pointer; transition: all var(--ease);
}
@media (min-width: 544px) { .arrow-btn { padding: 0 var(--gutter-wide); } }
.arrow-btn::before {
  content: "\f104"; display: block; width: 100%; height: 100%;
  font-family: "Font Awesome 6 Free"; font-weight: 900; font-size: 50px; line-height: 1;
  color: var(--white); text-shadow: 0 0 10px var(--black); transition: all var(--ease);
}
.arrow-btn:hover::before { color: rgba(255, 255, 255, .65); }
.arrow-btn--left { left: 0; }
.arrow-btn--right { right: 0; }
.arrow-btn--right::before { transform: scaleX(-1); }

/* ---------- Popups (reservations, galleries, Toast forms) ---------- */
.modal-bg { position: fixed; top: 0; left: 0; z-index: 1042; width: 100%; height: 100%; background: var(--white); opacity: 0; transition: opacity .3s; }
.modal-bg.is-ready { opacity: .95; }
.modal-wrap { position: fixed; top: 0; left: 0; z-index: 1043; width: 100%; height: 100%; overflow: hidden auto; outline: none !important; -webkit-backface-visibility: hidden; }
.modal-container { position: absolute; top: 0; left: 0; width: 100%; height: 100%; padding: 0 8px; text-align: center; }
.modal-container::before { content: ""; display: inline-block; height: 100%; vertical-align: middle; }
@media (max-width: 900px) { .modal-container { padding: 0 6px; } }
.modal-content {
  position: relative; z-index: 1045; display: inline-block; width: 100%; margin: 0 auto; text-align: left;
  vertical-align: middle; opacity: 0; transform: scale(.5); transition: all .3s;
}
.modal-wrap.is-ready .modal-content { opacity: 1; transform: none; }
.modal-wrap--fit .modal-content { height: 100%; }
.modal-close {
  position: absolute; top: 0; right: 0; z-index: 1046; display: block; width: 70px; height: 70px;
  padding: 0 0 18px 10px; border: 0; background: transparent; box-shadow: none; text-align: center;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 60px; font-style: normal;
  line-height: 70px; color: var(--black); text-decoration: none; cursor: pointer; user-select: none; transition: all var(--ease);
}
.modal-close:hover, .modal-close:focus { color: rgba(0, 0, 0, .7); }
html.has-modal { overflow: hidden; }

.popup { position: relative; z-index: 0; flex: 1 1 0%; margin: 2rem auto; }
.popup .btn { margin-top: 1rem; margin-bottom: 1rem; }
.popup--form { margin-top: 5rem; margin-bottom: 5rem; }
.popup--gallery { height: 100%; margin: auto; }
.gallery--popup { background: transparent; }
.gallery--popup, .gallery--popup .slides, .gallery--popup .slide, .gallery--popup > div, .gallery--popup .gallery__item { height: 100%; }
.gallery--popup .slide { position: absolute; padding: 0; }
/* a gallery with one photo has no slides: same frame, no arrows */
.gallery--popup > div { position: relative; padding: 0; }
.gallery--popup .gallery__item { background-size: contain; }
@media (min-width: 544px) { .gallery--popup .slide, .gallery--popup > div { padding: 2rem 5rem; } }
@media (min-width: 769px) { .gallery--popup .slide, .gallery--popup > div { padding: 5rem 8rem; } }
@media (min-width: 992px) { .gallery--popup .slide, .gallery--popup > div { padding: 10rem 15rem; } }

/* ---------- Event cards and private-room cards ---------- */
ul.card-listing { margin-bottom: 0; padding: 0; list-style: none; }
.card { margin-bottom: 3rem; color: var(--white); }
.card:last-child { margin-bottom: 1rem; }
.card__media { overflow: hidden; margin-bottom: 1.625rem; background: var(--white); }
.card__image { margin-bottom: 0; transition: all .8s cubic-bezier(.19, 1, .22, 1); }
.card .image-thumbnail:hover { opacity: .65; transition: all .5s; }
.card__btn { display: block; color: var(--white); text-decoration: none; cursor: pointer; transition: all .8s cubic-bezier(.19, 1, .22, 1); }
.card__btn:hover, .card__btn:focus { color: var(--white); text-decoration: none; }
.card__btn:hover .card__image { transform: scale(1.1); }
.card__heading { font-family: var(--font-display); font-size: 2.5rem; font-weight: 400; letter-spacing: 3px; text-transform: uppercase; }
@media (min-width: 769px) {
  .card:nth-child(2n+1) { clear: left; }
  .card-listing .card:nth-last-child(1):nth-child(2n+1) { float: none; margin-left: auto; margin-right: auto; }
}
@media (min-width: 992px) {
  .card--cols-three:nth-child(2n+1) { clear: none; }
  .card--cols-three:nth-child(3n+1) { clear: left; }
  .card-listing .card--cols-three:nth-last-child(1):nth-child(2n+1) { float: left; }
  .card-listing .card--cols-three:nth-last-child(-n+3):nth-child(3n+1):nth-last-child(1) { float: none; margin-left: auto; margin-right: auto; }
}
article .container h1 { margin-bottom: 1.5rem; }

/* ---------- Menus page ---------- */
.tabs-nav { max-width: 1010px; margin-top: -1rem; margin-bottom: 2rem; list-style: none; }
.tabs-nav > li { display: inline-block; }
.content .tabs-nav .btn { margin: 0 .25rem 1rem; }
.tabs-panel { display: none; opacity: 0; transition: opacity .3s ease-in .1s; }
.tabs-panel.is-active { display: block; }
.tabs-panel.is-shown { opacity: 1; }
.menu-description { max-width: 90%; margin-bottom: 2.5rem; }
#menus .btn-brand { margin: .3rem; border-width: 0 0 2px; }
#menus .btn-brand:hover { color: var(--brand); background: transparent; border-bottom-color: var(--brand); }
@media (max-width: 768px) {
  #menus { padding-top: 3rem; padding-bottom: 0; margin-bottom: 0; }
  .tabs-nav { margin-top: 0; }
}

/* one boxed menu section, palm leaves faintly behind it */
.menu-section {
  position: relative; overflow: hidden; margin-bottom: 3.5rem; padding: 2rem 2rem 1rem;
  color: var(--white); border: 2px solid var(--white);
}
.menu-section + .menu-section { z-index: 0; padding-top: 2.5rem; }
.menu-section::after {
  content: ""; position: absolute; top: 0; left: 0; z-index: -1; width: 100%; height: 100%; opacity: .5;
  background: url("/images/palms-asset-2.png") no-repeat center / cover;
}
@media (max-width: 768px) { .menu-section { margin-bottom: 1.5rem; } }
.menu-section > div, .menu-item { margin-bottom: 1.5rem; }
.menu-section > ul { padding: 0; list-style: none; }
.menu-section h2 { margin-bottom: 0; color: var(--brand); }
.menu-section__header h2 { font-size: 2.5rem; }
.menu-item p { margin-bottom: 0; }
.menu-item .menu-item__heading { margin-bottom: 0; font-family: var(--font-body); font-size: 1.4rem; font-weight: 400; line-height: 1.5; letter-spacing: 3px; text-transform: uppercase; }
.menu-item__details--price strong { font-weight: 400; }
.menu-item__currency { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); border: 0; }

/* ---------- Hours & Location map ---------- */
.gmaps__container { position: relative; z-index: 0; }
.gmaps__directions-btn { position: absolute; left: 50%; bottom: 0; z-index: 1; margin-bottom: 4rem; transform: translateX(-50%); }
@media (max-width: 768px) { .gmaps__directions-btn { width: 60%; } }

@media (min-width: 769px) { main { min-height: 90vh; } }
