:root {
  --primary-text: #333;
  --secondary-text: #444;
  --light-text: #666;
  --background: #fcfcfc;
  --navbar-bg: #fff;
  --shadow: 0 0 12px rgba(0, 0, 0, 0.1);
  --transition: color 0.3s ease, background-color 0.3s ease, text-decoration-color 0.3s ease;
  --font-primary: "coco-sharp", sans-serif;
  --font-secondary: "magnolia-script", cursive;
}

@font-face {
  font-family: coco-sharp;
  src: url("../fonts/coco-sharp.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: magnolia-script;
  src: url("../fonts/magnolia-script.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
}

html {
  color: var(--primary-text);
  font-size: 1em;
  line-height: 1.4;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  margin: 0;
  background-color: var(--background);
}

* {
  box-sizing: border-box;
}

::-moz-selection {
  background: #b3d4fc;
  text-shadow: none;
}

::selection {
  background: #b3d4fc;
  text-shadow: none;
}

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}

audio, canvas, iframe, img, svg, video {
  vertical-align: middle;
}

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

textarea {
  resize: vertical;
}

.hidden, [hidden] {
  display: none !important;
}

.visually-hidden {
  border: 0;
  clip: rect(0, 0, 0, 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

.visually-hidden.focusable:active,
.visually-hidden.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  white-space: inherit;
  width: auto;
}

.invisible {
  visibility: hidden;
}

.clearfix::before,
.clearfix::after {
  content: "";
  display: table;
}

.clearfix::after {
  clear: both;
}

#navbar {
  position: fixed;
  display: flex;
  width: 100%;
  z-index: 1000;
  background: var(--navbar-bg);
  box-shadow: var(--shadow);
}

/*
.shape {
  position: fixed;
  width: 260px;
  height: 0;
  border-top: 110px solid var(--navbar-bg);
  border-right: 120px solid transparent;
  z-index: 2;
  filter: drop-shadow(0 0 9px rgba(0, 0, 0, .1));
}
*/

/* .shape {
  position: fixed;
  width: 220px;
  height: 110px;
  background: var(--navbar-bg);
  clip-path: polygon(50% 100%, 0% 100%, 0% 0%, 100% 0%);
  z-index: 2;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.5);
} */

.shape {
  position: fixed;
  top: 0;      /* Sticks to top edge */
  left: 0;     /* Sticks to left edge */
  width: 260px;  /* Adjusted width for a good fit in top-left corner */
  height: 130px; /* Height maintains 2:1 ratio (260/130 = 2) */
  z-index: 2;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="260" height="130" viewBox="0 0 260 130" preserveAspectRatio="xMidYMid meet"><polygon points="120,120 0,120 0,0 240,0" fill="%23fff" filter="url(%23shadow)"/><defs><filter id="shadow"><feDropShadow dx="0" dy="0" stdDeviation="4" flood-color="rgba(0,0,0,0.4)"/></filter></defs></svg>') no-repeat;
  background-size: 100% 100%; /* Fills the entire div without distortion or cropping */
}

.logo-wrapper {
  position: fixed;
  z-index: 2;
  margin: 12px 15px;
}

.logo {
  width: 107px;
}

.logo-mobile {
  display: none;
}

nav {
  display: flex;
  height: 64px;
  width: 100%;
  align-items: center;
  justify-content: flex-end;
  padding: 0 20px;
  margin-left: 189px;
}

nav ul {
  display: flex;
  list-style: none;
  justify-content: flex-end;
  width: 100%;
  height: 100%;
}

nav ul li {
  flex-grow: 1;
  height: 100%;
  text-align: center;
  transition: var(--transition);
}

nav ul li a {
  color: var(--primary-text);
  text-decoration: none;
  font-size: 19px;
  font-weight: 500;
  height: 100%;
  padding: 18px 16px;
  display: block;
}

nav ul li:hover {
  background: var(--primary-text);
}

nav ul li:hover a {
  color: #fff;
}

nav ul li.active {
  background: var(--primary-text);
}

nav ul li.active a {
  color: #fff;
}

nav ul li #lang-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 0 16px;
}

nav ul li #lang-wrapper span {
  margin: 0 10px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  height: 100%;
}

nav .menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 22px;
  color: var(--primary-text);
  cursor: pointer;
}

@media (max-width: 900px) {
  nav {
    margin-left: 0;
    padding: 0 20px;
    justify-content: space-between;
  }

  .shape, .logo {
    display: none;
  }

  .logo-mobile {
    display: block;
    width: 300px;
    padding: 10px 0;
  }

  nav .menu-btn {
    display: block;
  }

  nav ul {
    position: fixed;
    top: 64px;
    left: -100%;
    background: var(--navbar-bg);
    height: calc(100vh - 64px);
    width: 100%;
    flex-direction: column;
    transition: left .4s;
    margin: 0;
    padding: 0;
  }

  nav ul.open {
    left: 0;
  }

  nav ul li {
    margin: 20px 0;
    width: 100%;
    padding: 0;
  }

  nav ul li a {
    font-size: 20px;
    padding: 18px 0;
    width: 100%;
    margin: 0;
    color: var(--primary-text);
    background: var(--navbar-bg);
    text-decoration: none;
  }

  nav ul li a:hover {
    background: #fff;
    color: var(--primary-text);
    text-decoration: underline;
    text-decoration-color: var(--navbar-bg);
  }

  nav ul li a.active {
    background: #fff;
    color: var(--primary-text);
    border-bottom: 3px solid var(--navbar-bg);
  }

  nav ul li #lang-wrapper {
    margin-top: 25px;
    padding: 0;
    height: auto;
  }

  nav ul li #lang-wrapper span {
    margin: 0 25px;
  }
}

.content {
  padding-top: 64px;
}

section {
  min-height: 100vh;
  padding: 0;
  color: var(--light-text);
  background: #fff;
}

#hero {
  padding: 0;
}

#video {
  height: 100vh;
  width: 100%;
  object-fit: cover;
  position: relative;
  display: block;
}

article {
  width: 90%;
  max-width: 800px;
  padding: 25px 20px;
  margin: 0 auto;
}

.section-container {
  width: 90%;
  max-width: 800px;
  padding: 25px 20px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.contact {
  width: 50%;
  padding: 15px 30px;
}

.form input, .form textarea {
  width: 100%;
  border: 1px solid #ddd;
  margin: 5px 0 15px;
  padding: 8px;
}

.form input:focus, .form textarea:focus {
  outline: 2px solid var(--primary-text);
}

.form button {
  background: var(--primary-text);
  color: #fff;
  border: none;
  padding: 10px 20px;
  cursor: pointer;
  transition: var(--transition);
}

.form button:hover {
  background: #555;
}

label {
  margin: 5px 0;
  display: block;
}

h2 {
  font-family: var(--font-secondary);
  text-align: center;
  margin: 10px auto;
  font-size: 3em;
  color: var(--secondary-text);
}

p {
  font-size: 1.2em;
  text-align: center;
  margin: 5px 0;
}

#map-wrapper {
  width: 100%;
  margin: 0 auto;
  background: #fff;
  position: relative;
}

#map {
  border: none;
  pointer-events: none;
}

#map-wrapper.active #map {
  pointer-events: auto;
}

.map-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, .3);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1;
}

#map-wrapper.active .map-overlay {
  display: none;
}

.map-toggle-btn {
  background: var(--primary-text);
  color: #fff;
  border: none;
  padding: 10px 20px;
  cursor: pointer;
  font-size: 16px;
  border-radius: 5px;
  transition: var(--transition);
}

.map-toggle-btn:hover {
  background: #555;
}

#hero, #home, #menu, #book, #contact {
  scroll-margin-top: 64px;
}

.parallax {
  min-height: 80vh;
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.pic1 {
  background-image: url("../img/05.webp");
}

.pic2 {
  background-image: url("../img/07.webp");
}

.pic3 {
  background-image: url("../img/06.webp");
}

#footer {
  width: 100%;
  padding: 12px 0;
  background: var(--background);
  box-shadow: var(--shadow);
  text-align: center;
}

#footer p {
  font-size: 15px;
  color: var(--light-text);
  margin: 5px 0;
}

@media print {
  *, ::after, ::before {
    background: #fff !important;
    color: #000 !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }

  a, a:visited {
    text-decoration: underline;
  }

  a[href]::after {
    content: " (" attr(href) ")";
  }

  a[href^="#"]::after, a[href^="javascript:"]::after {
    content: "";
  }

  pre, blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }

  tr, img {
    page-break-inside: avoid;
  }

  p, h2, h3 {
    orphans: 3;
    widows: 3;
  }

  h2, h3 {
    page-break-after: avoid;
  }
}