/* Reset */
*, *:before, *:after {
  box-sizing: border-box;
}
* {
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
img, picture, video, svg {
  display: block;
  max-width: 100%;
  height: auto;
}
h1, h2, h3, h4, h5, h6 {
  text-wrap: balance;
  overflow-wrap: break-word;
}
p {
  text-wrap: pretty;
  overflow-wrap: break-word;
}
input, button, textarea, select {
  font: inherit;
}
*:focus {
  outline: none;
}

/* Fonts */
@font-face {
  font-family: 'Blacker';
  src: url('/assets/fonts/BlackerDisplay/BlackerDisplay-Light.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Blacker';
  src: url('/assets/fonts/BlackerDisplay/BlackerDisplay-LightItalic.woff2') format('woff2');
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Jost';
  src: url('/assets/fonts/Jost/Jost400Book.woff') format('woff');
  font-style: normal;
  font-weight: normal;
}
@font-face {
  font-family: 'Jost';
  src: url('/assets/fonts/Jost/Jost400BookItalic.woff') format('woff');
  font-style: italic;
  font-weight: normal;
}
@font-face {
  font-family: 'Jost';
  src: url('/assets/fonts/Jost/Jost600Semi.woff') format('woff');
  font-style: normal;
  font-weight: bold;
}


/* Variables */
:root {
  /* Font Families */
  --sans: 'Jost', system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --serif: 'Blacker', Iowan Old Style, Apple Garamond, Baskerville, Times New Roman, Droid Serif, Times, Source Serif Pro, serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";

  /* Colors */
  --color-primary: #cdbba6;
  --color-primary-dark: #bdae9e;
  --color-secondary: #c8cdd1;
  --color-secondary-dark: #345f88;
  --color-background: #ffffff;
  --color-text: #000000;
  /* --color-text-light: #757474; */

  /* Typography */
  --font-size-base: 14px;
  --font-weight-light: 300;
  --font-weight-normal: 400;
  --font-weight-bold: 600;

  /* Radius */
  --radius: 6px;

  /* Spacing */
  /* --base-spacing: 8px; */
  --base-spacing: clamp(4px, 2vw, 8px);
  --s-0: calc(var(--base-spacing) * 0.5);  /* up to 4px */
  --s-1: calc(var(--base-spacing) * 1);    /* up to 8px */
  --s-2: calc(var(--base-spacing) * 2);    /* up to 16px */
  --s-3: calc(var(--base-spacing) * 4);    /* up to 32px */
  --s-4: calc(var(--base-spacing) * 8);    /* up to 64px */
  --s-5: calc(var(--base-spacing) * 16);   /* up to 128px */
  
  /* Containers */
  --container: 1320px;
  --container-sm: 1140px;
  --container-text: 78ch;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 2px 4px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 4px 8px rgba(0, 0, 0, 0.1);

  /* Transitions */
  --transition-duration: 0.4s;
  --transition-ease: ease;
}

/* Containers */
.container,
.container-fluid,
.container-sm,
.container-text {
	padding-inline: var(--s-2);
	margin-inline: auto;
}
.container-fluid {
  max-width: 100%;
}
/* Text Container */
@media (min-width: 75ch) {
  .container-text {
    max-width: var(--container-text);
  }
}
/* Small Container */
@media (min-width: 920px) {
  .container-sm {
    max-width: var(--container-sm);
  }
}
/* Regular Container */
@media (min-width: 1320px) {
  .container {
    max-width: var(--container);
  }
}

/* Global */
html {
  font-size: 100%;
}
body {
  font-family: var(--sans);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-normal);
  font-style: normal;
  line-height: 1.4;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  background-color: var(--color-background);
  color: var(--color-text);
}
a {
  color: var(--color-text); 
}
a:hover {
  text-decoration: underline;
  cursor: pointer;
}
/* a:focus {
  outline: 2px solid var(--color-text); 
  outline-offset: 2px;
} */
hr {
  border:0;
  border-bottom: 1px solid var(--color-text);
  margin-block: var(--font-size-base);
}
strong {
  font-weight: var(--font-weight-bold);
}
blockquote {
  margin: var(--s-2) 0;
  padding: var(--s-2);
  border-left: 4px solid var(--color-text);
}
details {
  padding-top: var(--s-2);
}
details summary {
  font-size: 1.2em;
  line-height: 1.2;
  cursor: pointer;
  padding-bottom: var(--s-2);
}
p {
  margin-bottom: var(--font-size-base);
}
img + p,
img + h2,
img + h3,
img + h4,
img + h5,
img + h6 {
  padding-top: 1em;
}
p + h2, p + h3, p + h4, p + h5, p + h6,
ul + h2, ul + h3, ul + h4, ul + h5, ul + h6 {
  padding-top: 1em;
}
main ul {
  margin-bottom: var(--font-size-base);
}
li > p {
  margin-bottom: 0;
}
@media screen and (max-width: 75ch) {
  main ul, main ol {
    margin-left: 1em;
  }
}
/* Headlines */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--serif);
  font-weight: var(--font-weight-light);
  margin-bottom: 0.5em;
  line-height: 1.2;
}

/* Utilities */
.animate {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s var(--transition-ease);
}
.animate.show {
  opacity: 1;
  transform: translateY(0);
}
.underline-link {
  position: relative; 
  text-decoration: none;
  color: inherit;
  text-transform: lowercase;
  display: inline-block;
}
.underline-link:hover {
  text-decoration: none;
}
.underline-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 100%;
  height: 1px;
  background-color: currentColor;
  transition: width var(--transition-duration) var(--transition-ease);
}
.underline-link:hover::after {
  width: 130%; 
}

/* Font sizes */
h1, .h1 { font-size: clamp(3.052em, 5vw, 3.815em); } /* font-size: clamp(2em, 5vw, 2.986em); */
h2, .h2 { font-size: clamp(2.441em, 4vw, 3.052em); }
h3, .h3 { font-size: clamp(1.953em, 3vw, 2.441em); }
h4, .h4 { font-size: clamp(1.754em, 2vw, 1.953em); }
h5, .h5 { font-size: 1.563em; }
h6, .h6 { font-size: 1.25em; }
p { font-size: 1em; }
small { font-size: 0.8em; }
.tiny { font-size: 0.64em; }

/* Rounded corners*/
pre, code, input, select, textarea {
  border-radius: var(--radius)
}

/* Tables */
table {
  border-collapse: collapse;
  border-spacing: 0;
  margin: 1em 0;
  width: 100%;
}
th, td {
  text-align: left;
  vertical-align: top;
  border: 1px solid var(--color-text);;
  padding: var(--s-1);
}
thead, tfoot {
  background: var(--color-secondary);
}

/* Forms */
fieldset {
  border: none;
}
fieldset + p {
  padding-top: 1rem;
}
form .form-group {
  margin-bottom: var(--s-2);
}
input, select, textarea {
  color: var(--color-text);
  background: var(--color-primary);
  padding: var(--s-0);
  font-family: var(--sans);
  display: block;
  width: 100%;
  border: 0;
}
input[aria-hidden=true]{
  visibility: hidden;
  display: none;
}
form input[type=submit] {
  width: auto;
  min-width: 160px;
}

/* Buttons */
button, input[type=submit], input[type=reset], input[type="button"], a.button {
  display: inline-block;
  color: var(--color-text);
  background: var(--color-primary);
  border: 0;
  border-radius: var(--radius);
  padding: var(--s-1) var(--s-3);
  cursor: pointer;
  text-align: center;
  font-size: 0.9em;
  font-weight: 300;
  text-transform: uppercase;
}
button:hover, button:focus, input[type="submit"]:hover, input[type="reset"]:hover, input[type="button"]:hover, a.button:hover {
  background: var(--color-primary-dark);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  opacity: 1;
}

/* Header */
header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2;
  padding-block: var(--s-3);
}
header .header-content {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: var(--s-1);
}
header .book-button {
  position: relative;
  color: var(--color-background);
  padding: var(--s-1) var(--s-3);
  border: 1px solid var(--color-background);
  text-decoration: none;
  text-transform: uppercase;
  font-size: 0.9em;
  overflow: hidden;
  transition: color var(--transition-duration) ease;
}
header .book-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%; 
  height: 100%;
  background: var(--color-background);
  transition: left var(--transition-duration) ease; 
  z-index: -1;
}
header .book-button:hover::before {
  left: 0; 
}
header .book-button:hover {
  color: var(--color-secondary-dark); 
}

header .book-button span {
    position: relative; /* Position text above the pseudo-element */
    z-index: 1; /* Ensure text is above the background */
    transition: color var(--transition-duration) ease; /* Transition for text color */
}

header .language-switcher {
  display: flex;
  gap: var(--s-1);
  justify-self: flex-end;
  margin-right: var(--s-3);
  font-size: 0.9em;
}
@media screen and (max-width: 768px) {
  header .language-switcher {
    margin-right: var(--s-2);
  }
}
header .language-switcher {
  color: var(--color-background);
}
header .language-switcher a {
  color: var(--color-background);
  text-decoration: none;
  opacity: .7;
}
header .language-switcher a:hover {
  opacity: 1;
}
header .burger-icon {
  display: flex;
  flex-direction: column;
  justify-content: center;
  cursor: pointer;
}
header .burger-icon .line {
  width: 50px;
  height: 1px;
  background: var(--color-background);
  margin: 3px 0;
  transition: margin var(--transition-duration) var(--transition-ease);
}
header .burger-icon:hover .line {
  margin: 2px 0; /* Decrease the margin on hover */
}

/* Overlay Menu */
header .overlay-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  background: linear-gradient(195deg, rgba(52, 95, 136, .98) 0%, rgba(200, 205, 209, .86) 100%);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  overflow: hidden;
}
header .overlay-menu .overlay-menu-content {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
}
header .overlay-menu .menu-close {
  position: absolute;
  top: 24px;
  right: var(--s-2);
  width: 50px;
  height: 50px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 10;
}
header .overlay-menu .close-line {
  width: 50px;
  height: 1px;
  background: var(--color-background);
  position: absolute;
  transition: all var(--transition-duration) var(--transition-ease);
}
header .overlay-menu .close-line:first-child {
  transform: rotate(45deg);
}
header .overlay-menu .close-line:last-child {
  transform: rotate(-45deg);
}
header .overlay-menu .menu-main {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: var(--s-4) var(--s-2);
  gap: var(--s-3);
}
@media screen and (max-width: 768px) {
  header .overlay-menu .menu-main {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr auto;
    text-align: center;
    padding: var(--s-2);
  }
}
header .overlay-menu .menu-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
header .overlay-menu .menu-item {
  margin-bottom: var(--s-2);
  overflow: hidden;
}
header .overlay-menu .menu-item a {
  display: block;
  font-family: var(--serif);
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: var(--font-weight-light);
  color: var(--color-background);
  text-decoration: none;
  line-height: 1.1;
  position: relative;
  transform: translateY(100%);
  transition: all var(--transition-duration) var(--transition-ease);
}
header .overlay-menu .menu-item a:hover {
  text-decoration: none;
  transform: translateY(100%) translateX(20px);
}
header .overlay-menu .menu-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
}
header .overlay-menu .floating-elements {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}
header .overlay-menu .floating-circle {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}
header .overlay-menu .circle-1 {
  width: 120px;
  height: 120px;
  top: 20%;
  right: 10%;
}
header .overlay-menu .circle-2 {
  width: 80px;
  height: 80px;
  bottom: 30%;
  left: 15%;
}
header .overlay-menu .circle-3 {
  width: 200px;
  height: 200px;
  top: 50%;
  right: 20%;
  opacity: 0.5;
}
header .overlay-menu .menu-text {
  text-align: center;
  color: var(--color-background);
  z-index: 2;
}
header .overlay-menu .menu-title {
  margin-bottom: var(--s-1);
  opacity: 0;
  transform: translateY(50px);
}
header .overlay-menu .menu-title img {
  margin-inline: auto;
}
header .overlay-menu .menu-subtitle {
  font-size: clamp(1rem, 2vw, 1.5rem);
  opacity: 0;
  transform: translateY(30px);
  margin-block: var(--s-3) 0;
}
header .overlay-menu .menu-subtitle a {
  color: var(--color-background);
  text-decoration: none;
  line-height: 2;
}
@media screen and (max-width: 768px) {
  header .overlay-menu .menu-visual {
    order: -1;
    height: 30vh;
  }
  header .overlay-menu .circle-1 {
    top: 10%;
    right: 5%;
    width: 80px;
    height: 80px;
  }
  header .overlay-menu .circle-2 {
    bottom: 10%;
    left: 5%;
    width: 60px;
    height: 60px;
  }
  header .overlay-menu .circle-3 {
    top: 30%;
    right: 10%;
    width: 120px;
    height: 120px;
  }
  header .overlay-menu .menu-title img {
    max-width: 140px;
  }
}
/* Burger icon animation when menu is open */
.burger-active .line:first-child {
  transform: rotate(45deg) translate(6px, 6px);
}
.burger-active .line:last-child {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Main */
main {
  padding-top: var(--s-5);
}

/* CTA Image - Fixed positioning */
.cta-image {
  background-image: url('/assets/images/2025/covers/281.jpg');
  width: 100%;
  height: 100vh;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  position: relative;
  z-index: 1;
}
@media (max-width: 1600px) {
  .cta-image {
    background-image: url('/assets/images/2025/1600/281.jpg');
  }
}
/* Remove background-attachment on mobile for better performance */
@media (max-width: 768px) {
  .cta-image {
    background-attachment: scroll;
  }
}

/* Footer container*/
.home + .footer-wrapper {
  margin-top: -80px;
}
.footer-wrapper {
  position: relative;
  z-index: 2;
  background: transparent;
}
/* Waves*/
.waves {
  position: relative;
  width: 100%;
  height: 80px;
  overflow: hidden;
  margin: 0;
  padding: 0;
  bottom: -2px;
}
.waves svg {
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  display: block;
}
/* Footer */
footer {
  background-color: var(--color-primary);
  padding-block: var(--s-4) var(--s-5);
  position: sticky;
  margin: 0;
  z-index: 2;
}
.footer-wrapper.pinned {
  position: relative;
}
/* .footer-wrapper,
.cta-image {
  will-change: transform;
} */
/* Footer / Top */
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr; 
  gap: var(--s-2);
  margin: 0 auto;
}
.footer-top .footer-menu ul {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.footer-top .footer-menu ul,
.footer-top .footer-social ul,
.footer-top .footer-contact ul {
  list-style: none; 
  padding: 0;
}
.footer-top .footer-menu li,
.footer-top .footer-social li {
  margin-bottom: var(--s-2);
}
.footer-top .footer-contact li {
  margin-bottom: var(--s-1);
  text-align: right;
}
.footer-top .footer-menu a,
.footer-top .footer-social a,
.footer-top .footer-contact a {
  position: relative;
  text-decoration: none;
  color: inherit;
}
.footer-top .footer-menu a::after,
.footer-top .footer-social a::after,
.footer-top .footer-contact a::after {
  content: ''; 
  position: absolute;
  left: 0; 
  bottom: -2px;
  width: 0;
  height: 1px; 
  background-color: currentColor; 
  transition: width var(--transition-duration) var(--transition-ease);
}
.footer-top .footer-menu a:hover::after,
.footer-top .footer-social a:hover::after,
.footer-top .footer-contact a:hover::after {
  width: 100%;
}
.footer-top .footer-menu a,
.footer-top .footer-social a {
  text-transform: uppercase;
  font-size: 1.1em;
}
.footer-top .footer-contact a {
  font-size: 1.2em;
}
@media screen and (max-width: 960px) {
  .footer-top {
    grid-template-columns: 1fr;
    text-align: center;
    gap: var(--s-3);
  }
  .footer-top .footer-menu ul {
    grid-template-columns: 1fr;
    gap: var(--s-1);
  }
  .footer-top .footer-menu li,
  .footer-top .footer-social li {
    margin-bottom: var(--s-2);
  }
  .footer-top .footer-contact li {
    text-align: center;
  }
}
/* Footer / Middle */
.footer-middle {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.footer-middle .footer-column {
  margin-block: var(--s-4);
}
.footer-middle .footer-column p {
  font-size: 0.833em;
  margin-bottom: 0;
}
.footer-middle .footer-column.right {
  text-align: right;
}
@media (max-width: 960px) {
  .footer-middle {
    grid-template-columns: 1fr; 
     margin-block: var(--s-3);
  }
  .footer-middle .footer-column {
    margin-block: var(--s-2);
  }
  .footer-middle .footer-column.left {
    text-align: center;
  }
  .footer-middle .footer-column.right {
    text-align: center;
  }
}
/* Footer / Bottom */
.footer-bottom {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}
.footer-bottom .footer-column.left {
  text-align: left;
}
.footer-bottom .footer-column.right {
  text-align: right;
}
.footer-bottom .footer-icon {
  width: 50px;
  height: auto;
}
@media (max-width: 960px) {
  .footer-bottom {
    grid-template-columns: 1fr;
    text-align: center;
    gap: var(--s-3);
  }
  .footer-bottom .footer-column {
    justify-content: center;
  }
  .footer-bottom .footer-column.left {
    order: 2;
    text-align: center;
  }
  .footer-bottom .footer-column.right {
    order: 3;
    text-align: center;
  }
  .footer-bottom .footer-icon {
    order: 1;
    margin-inline: auto;
  }
}

/* Hero */
.hero {
  position: relative;
  height: 100vh;
  height: 100dvh;
  background-image: url('/assets/images/2025/covers/032.jpg');
  background-size: cover;
  background-position: center;
  display: grid;
  grid-template-rows: 1fr auto;
  text-align: center;
  color: var(--color-background);
  overflow: hidden;
}
.hero.inner-hero {
  height: 60vh;
  background-image: url('/assets/images/2025/covers/032.jpg');
}
.hero.hero-about { background-image: url('/assets/images/2025/covers/084.jpg'); }
.hero.hero-contact { background-image: url('/assets/images/2025/covers/153.jpg'); }
.hero.hero-experience { background-image: url('/assets/images/2025/covers/205.jpg'); }
.hero.hero-gallery { background-image: url('/assets/images/2025/covers/entrance.jpg'); }
.hero.hero-location { background-image: url('/assets/images/2025/covers/157.jpg'); }
.hero.hero-story { background-image: url('/assets/images/2025/covers/248.jpg'); }
@media (max-width: 1600px) {
  .hero, .hero.inner-hero { background-image: url('/assets/images/2025/1600/032.jpg'); }
  .hero.hero-about { background-image: url('/assets/images/2025/1600/084.jpg'); }
  .hero.hero-contact { background-image: url('/assets/images/2025/1600/153.jpg'); }
  .hero.hero-experience { background-image: url('/assets/images/2025/1600/205.jpg'); }
  .hero.hero-gallery { background-image: url('/assets/images/2025/1600/entrance.jpg'); }
  .hero.hero-location { background-image: url('/assets/images/2025/1600/157.jpg'); }
  .hero.hero-story { background-image: url('/assets/images/2025/1600/248.jpg'); }
}
.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.1);
  z-index: 0;
}
.hero.hero-contact::after,
.hero.hero-story::after {
  background-color: rgba(0, 0, 0, 0.2);
}
.hero.hero-story {
  height: 100vh;
  height: 100dvh;
}
.hero .hero-content {
  z-index: 1;
  display: grid;
  align-content: center;
  justify-content: center;
}
.hero .hero-footer {
  z-index: 1;
  display: grid;
  align-content: center;
  justify-content: center;
  padding: var(--s-4); 
}
.home .hero .hero-footer {
  padding: var(--s-5); 
}
.hero .hero-content span {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  display: inline-block;
  padding-bottom: var(--s-2);
}
.hero p {
  font-size: 1.2em;
  max-width: 60ch;
  margin: 0;
}
.hero .breadcrumb {
  text-transform: uppercase;
}
.hero .breadcrumb a {
  color: var(--color-background);
  text-decoration: none;
}
@media screen and (max-width: 768px) {
  .hero .hero-content img {
    max-width: 140px;
  }
  .hero .hero-footer {
    padding: var(--s-3) var(--s-2); 
  }
}

/* 404 */
main.error {
  padding-bottom: var(--s-5);
}
/* Privacy */
main.privacy {
  padding-bottom: var(--s-4);
}