@font-face {
  font-family: 'Nomark';
  src: url('/css/Nomark-Regular.woff2') format('woff2'),
       url('/css/Nomark-Regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap; /* Optional for performance */
  font-feature-settings: "liga" 0, "clig" 0; /* Disables ligatures globally */  
}

:root {
  /* colors */
  /* other options: d4aa02 ecd51b (more yellow) d9af07*/
  --color-modal-text: #d9af07; /* light gold */
  /* other options: 786106  b29006 897106 8A7500*/
  --color-titles: #897106; /* lightest gold that passes the contrast checks */
  --color-topmenu: #786106; /* gold */
  --color-backgrounds: #222a4f; /* dark blue, for navbar */
  --color-backgrounds-rgb: 34, 42, 79; /* so we can add alpha for opacity */
  --color-modalbg: rgba(var(--color-backgrounds-rgb), 0.5);
  --color-modallinkbg: rgba(var(--color-backgrounds-rgb), 0.5);
  --color-modallinkshadow: rgba(var(--color-backgrounds-rgb), 0.5);
  --color-backgroundtopmenu: var(--color-backgrounds);

  --color-background-stanza: aliceblue;
  --color-aag-title: #dfb506; /* darkest gold that contrasts with the background */

  /* names required by bootstrap */
  /* --lightbox: rgb(0 0 0 / 0.90); */
  --lightbox: rgb(0, 0, 0, 0.9);
  --carousel-text: #fff;

  /* fonts */
  --font-titles:
    Nomark, "Playfair Display", Fertigo, Apple Chancery, Monotype Corsiva, URW Chancery,
    Lucida Calligraphy, Times, serif;

  --font-text: "Playfair Display", Montserrat, sans-serif;

  --height_carousel: 85vh;
  --width-max: 1800px;
}

#lp {
  max-width: var(--width-max);
}

#menu {
  padding-top: 0;
}
.navbar-custom {
  background-color: var(--color-backgroundtopmenu);
  max-width: var(--width-max);
}
.navbar-custom .nav-link {
  /* color: var(--color-topmenu); */
  color: white;
  font-family: var(--font-titles);
  font-weight: bold;
}
@media (min-width: 1200px) {
  .navbar-custom .nav-link {
    font-size: 1.4em;
  }
}

.navbar-custom .nav-link:hover {
  color: var(--color-titles);
}

.nav-link.disabled {
  color: lightgrey;
}

ul.navbar-nav {
  margin-left: 1em;
}

.navbar-brand a {
  padding-top: 0;
}

.navbar-brand {
    margin: .5em;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(214, 185, 119, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

#carousel_top {
  width: 100%;
  max-width: var(--width-max);
  position: fixed;
  top: 0;
  min-height: var(--height_carousel);
  z-index: 1;
display:flex;
justify-content:center;
}
#carousel_top .carousel-item {
  display: flex;
  width: 100%;
  height: var(--height_carousel);
}
#carousel_top .carousel-item img {
  height: var(--height_carousel);
  width: 100vw;
  object-fit: cover;
}
#carousel_top .carousel-control-prev,
.carousel-control-next {
  position: absolute;
  top: 95%;
}

#carousel_top .carousel-logo img {
  object-fit: contain;
  transform: translate(0, -9rem);
  padding: 2rem;
}

#main.with_carousel {
  margin-top: 77vh;
  position: relative;
  z-index: 10;
  background: white;
}

.mmodal {
  position: absolute;
  bottom: 5%;
  box-sizing: border-box;
  min-width: 350px;
  max-width: 90vw;
  background-color: var(--color-modalbg);
  z-index: 50;
  border: 1px solid black;
  border-radius: 1em;
  opacity: 1;
}

.mmodal {
  transition: opacity .2s ease;
}

.mmodal-content {
  padding: 2em;
  color: var(--color-modal-text);
  font-family: var(--font-titles);
}
.mtitle {
  font-size: clamp(1.5em, 2vw, 1.8em);
  text-align: center;
  font-style: italic;
  font-weight: bold;
  padding-bottom: 0.2em;
}
.msubtitle {
  font-size: 1.5em;
  text-align: center;
  display: none;
}
.mcontact-us {
  font-size: 1.5em;
  font-weight: bold;
  text-align: center;
  color: antiquewhite;
  background-color: var(--color-modallinkbg);
  border: 1px solid black;
  border-radius: 0.5em;
  cursor: pointer;
  box-shadow: 3px 6px var(--color-modallinkshadow);
  margin: 0.5em auto 0.5em auto;
}
.mcontact-us:hover {
  color: var(--color-modal-text);
  background-color: var(--color-backgrounds);
}
.mcontact-us:active {
  transform: translate(3px, 6px);
  box-shadow: unset;
}

#content {
  max-width: var(--width-max);
  margin: 2em auto 1em auto;
  padding: 1em 0 0 0;
}
p {
  font-family: var(--font-text);
}

p.footer {
  text-align: center;
}

.main_footer {
  text-align: center;
  font-size: 0.8em;
}
.main_footer p {
  line-height: 1em;
  margin-bottom: 0.5em;
}

.main_footer .title {
  font-family: serif;
  font-weight: bold;
}
p.social {
  margin: 20px 0;
  font-size: 0pt;
}
p.social a {
  padding: 5px 18px;
}
p.cookie_disclaimer {
  font-style: italic;
  font-size: 70%;
  margin-top: 1em;
}

.badges {
  display: grid;
  grid-template-columns: repeat(6, 1fr); /* 6 per row */
  gap: 1rem; /* Optional: space between badges */
  margin: 1em 2em 2em 2em;
}

@media (max-width: 900px) {
  .badges {
    grid-template-columns: repeat(3, 1fr); /* 3 per row */
  }
}

@media (max-width: 600px) {
  .badges {
    grid-template-columns: repeat(2, 1fr); /* 2 per row */
  }
}

.badge img {
  width: 100%;
  height: auto;
  display: block;
}

.image-break {
  margin: 1em auto;
}
.image-break img {
  width: 100%;
  object-fit: cover;
}

@media (max-width: 815px) {
  .pbanner {
    display: none;
  }
}

p.link {
  font-size: 1.5em;
  text-align: center;
  background-color: var(--color-backgrounds);
  border: 1px solid black;
  border-radius: 0.5em;
  cursor: pointer;
  margin: 2em auto 2em auto;
}

.stanza .text a {
  color: #0000aa;
}
p.link {
  padding: 0.7em;
}
p.link a {
  color: antiquewhite;
  font-family: var(--font-titles);
  font-size: 1.5em;
  text-decoration: none;
  font-weight: bold;
}
p.link a:hover {
  color: var(--color-titles);
}

picture.half-width img {
  width: 100%;
}

h1,
h2 {
  font-family: var(--font-titles);
  color: var(--color-titles);
  font-weight: bold;
  /* text-transform: uppercase; */
  /* word-spacing: .3em; */
  /* background-color: var(--color-background-stanza); */
}

h1 {
  font-size: 4em;
  text-align: center;
  margin-top: 0.2em;
}
h2 {
  font-size: 3em;
  text-align: center;
  margin-top: 0;
  padding: 0.5em 1em 1em 1em;
}

p.quote {
  text-align: center;
  font-style: italic;
  font-family: var(--font-titles);
}

p.intro {
  padding-top: 2em;
  font-size: 120%;
}

.pbanner {
  text-align: center;
}

.pbanner picture {
  display: inline-block;
}

.container-fluid.stanza,
.container.stanza {
  margin-top: 2em;
  margin-bottom: 2em;
  padding: 1em;
  background-color: var(--color-background-stanza);
}

.container.stanza .text.after,
.container-fluid.stanza .text.after {
  padding-left: 2em;
}
.container.stanza .text.before .container-fluid.stanza .text.before {
  padding-right: 2em;
}

/* add separation line between image and text when displayed side-by-side */
/* margin-right: -1px; makes the 2 borders overlap, so the resulting line always stretches */
@media (min-width: 576px) {
  div.before,
  div.qbefore {
    border-right: 1px solid lightgrey;
    margin-right: -1px;
  }
  div.after,
  div.qafter {
    border-left: 1px solid lightgrey;
  }
}

/* gallery format */
@media (min-width: 576px) {
  .photo-gallery .col img {
    object-fit: cover;
  }
  .photo-gallery .col img.venue-p,
  .photo-gallery .col img.gallery-p {
    height: 50vh;
  }
  .photo-gallery .col {
    padding: 1em;
  }
}

@media (max-width: 576px) {
  .photo-gallery .col img {
    width: 100%;
    object-fit: cover;
  }
  .photo-gallery .col {
    padding: 1em 0;
  }
}

.modal.lightbox.show {
  background-color: #000a;
}

.form-label {
  font-size: 85%;
  font-style: italic;
  color: var(--color-backgrounds);
}
.fhelp {
  display: none;
}
/* .fhelp { font-size: 70%; font-style: italic; color: #222222; text-align: right; } */
.frow {
  margin-top: 1em;
}

@media (max-width: 700px) {
  .qimg {
    padding-bottom: 2em;
  }
}

.qimg-portrait {
  display: flex;
  justify-content: center;
}

.qimg-portrait img {
  max-height: 70vh;
  height: auto;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  display: block;
}

.quote-overlayed-pic {
  position: relative;
}

.quote-overlayed-p {
  position: absolute;
  color: white;
  top: 80%;
  left: 50%;
  transform: translate(-50%, -80%);
  text-align: center;
  background: rgba(0, 0, 0, 0.3); /* optional, for readability */
  border-radius: 0.5em;
  z-index: 1;
  pointer-events: none; /* optional: allows image clicks */
}

.carousel-inner .carousel-item.active.zoom img {
  animation: zoomie 5s linear 0.2s;
}
@keyframes zoomie {
  from {
    transform: scale(1, 1);
  }
  to {
    transform: scale(1.2, 1.2);
  }
}

.carousel-inner .active.carousel-logo img {
  animation: zoomie-logo 2s linear 0.2s;
}

@keyframes zoomie-logo {
  from {
    transform: translate(0, -9rem) scale(0.8, 0.8);
  }
  to {
    transform: translate(0, -9rem) scale(1, 1);
  }
}

body {
  margin: 0 0 3.5rem;
}

@keyframes zoomin {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

/* image menus */
.img-card {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  cursor: pointer;
}

.img-card img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  transition: transform 0.5s ease;
}

.img-card.hover img,
.img-card:hover img {
  transform: scale(1.1);
}

.vtitleo,
.img-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  top: 0;
  width: 100%;
  color: white;
  display: flex;
  flex-direction: column;
  padding: 20px;
  transition: opacity 0.4s ease;
}

.img-overlay {
  opacity: 0;
  background: rgba(0, 0, 0, 0.4);
}
.image-card:hover img,
.image-card.hover img {
  transform: scale(1.1);
}

.img-card.hover .img-overlay,
.img-card:hover .img-overlay {
  opacity: 1;
}

.img-overlay h3 {
  margin: 0;
  font-size: 1.2rem;
}

.img-overlay p {
  margin: 5px 0 0;
  font-size: 0.9rem;
}
.vtitleo,
.vtitle {
  font-size: 1.8em;
  text-align: center;
}
.vdesc {
  font-size: 1.5em;
}
.vlink {
  color: white;
  text-decoration: none;
}
.vlink:hover {
  color: white;
  border-radius: 6px;
  background-color: rgb(80, 80, 80, 0.9);
}

.show_on_hover {
  position: absolute;
  right: 1em;
  bottom: 1em;
  font-size: 0.8em;
  font-style: italic;
}

/* text after the main title and before the stanzas */
.content > .intro {
  text-align: center;
  font-style: italic;
  font-size: 1.2em;
  margin: 1em 2em;
}

.stanza p {
  font-family: var(--font-text);
}

.lquote {
  font-size: clamp(1rem, 2.5vw, 2rem);
}

.mquote {
  font-size: clamp(1.5rem, 3vw, 3rem);
  width: 80%;
}

.squote {
  font-size: clamp(2rem, 4vw, 4rem);
}

.stanza h3 {
  font-family: serif;
  margin-bottom: 1em;
  color: var(--color-titles);
  font-size: clamp(1.2rem, 1.8vw, 2.2rem);
}

/* highlighted para in a stanza, usually the first one */
p.stitle {
  font-weight: bold;
  font-family: "Playfair Display";
}

/* [more] button in testimonials */
.tmore {
  float: right;
  margin-top: 0;
  background-color: aliceblue;
  border: 1px solid gold;
  border-radius: 0.7em;
  transition: filter 0.2s ease;
}
.tmore:hover {
  filter: brightness(85%);
  cursor: pointer;
}

a.tmore {
  padding: 0.1em 0.6em;
  margin-right: 1em;
  text-decoration: none;
  color: black;
}

/* at-a-glance section (in venue pages) */
#at_a_glance {
  max-width: 800px;
  padding: 0.3em 1.2em;
  border: 1px solid gray;
  box-shadow: 5px 5px lightgray;
  margin-bottom: 2em;
  background-color: var(--color-backgrounds);
}

.aag_row:not(:last-child) {
  border-bottom: 1px solid var(--color-titles);
}

.aag_col {
  padding: 0.3em;
}

.aag_field {
  color: var(--color-aag-title);
  /* font-weight: bold; */
}

.aag_text {
  color: white;
}

/* FAQ specific formating */
.accordion-header button {
  font-size: 0.8em;
  background-color: var(--color-background-stanza);
}

/* move icon for the top modal */
.move-icon {
  position: absolute;
  top: 4px;
  right: 6px;
  cursor: move;
  font-size: 16px;
  user-select: none;
  color: #666;
}
