@import url("https://fonts.googleapis.com/css2?family=Work+Sans:ital,wght@0,100..900;1,100..900&display=swap");

@import url("https://fonts.googleapis.com/css2?family=Work+Sans:ital,wght@0,100..900;1,100..900&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Bliss", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  -webkit-tap-highlight-color: transparent;
  -webkit-user-select: none;
  user-select: none;
}
@font-face {
  font-family: "HotThinRoof";
  src: url("../fonts/Hot Thin Roof.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "Bliss";
  src: url("../fonts/bliss/Bliss2Bd.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "Bliss";
  src: url("../fonts/bliss/Bliss2-Bold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: "Bliss";
  src: url("../fonts/bliss/Bliss2-Light.otf") format("opentype");
  font-weight: 200;
  font-style: normal;
}

:root {
  --logo: #364f74;
  --primary: rgba(0, 0, 0, 0);
  --secondary: #9ba086;
  --red: #fe4a49;
  --black: #181b22;
  --yellow: #ff9c12;
  --footer1: #dcdcdc;
  --orange: #be673a;

  --black2: #252323;

  --blue: #0078d6;
  --pink: #ce60a4;
  --purple: #6900d9;
  --gold: #fde077;
  --white2: #fdfcfc;

  --white: #ffffff;
  --gray: #808080;
  --black: #2b2b2b;
  --text: #605e5e;
  --orange: #e87722;
  --purple: rgb(117, 102, 160);
  --lightblue: #7da1c4;
  --green: rgb(116, 170, 80);
}
html {
  font-size: 10px;
  scroll-behavior: smooth;
}
body {
  font-size: 1.6rem;
  background-color: var(--white);
  overflow-x: hidden;
  margin: 0;
  padding: 0;
}
a {
  color: var(--text);
  text-decoration: none;
}
ul {
  list-style: none;
}
button,
a {
  user-select: none; /* prevent text from being selected */
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}
header {
  position: absolute;
  background-color: #00000086;

  display: flex;
  /* justify-content: space-between; */
  justify-content: center;
  align-items: end;
  /* padding: 0 25rem; */
  width: 100%;
  z-index: 999;
  transition: top 0.5s ease;
  user-select: none;
  border-bottom: 1px solid var(--gray);
}
header a {
  color: #cacaca;
}

.logo {
  display: flex;
  align-items: center;
  padding-left: 1rem;
  height: 15rem;
  cursor: pointer;
}

.logo img {
  height: 15rem;
  margin-right: auto;
  transition: filter 0.5s ease;
}
.logo:hover img {
  filter: brightness(0.8);
}

.desktop_menu {
  /* margin-left: auto; */
  height: 15rem;
}

.desktop_menu ul {
  display: flex;
  flex-direction: column;
  align-items: space-between;
}
.desktop_menu ul li {
  position: relative;
  padding: 1.5rem 1rem;
  /* text-align: end; */
}
.desktop_menu ul li > a {
  padding: 1rem;
  letter-spacing: 1px;
  font-weight: 500;
  transition: 0.5s ease;
  cursor: pointer;
}

.desktop_menu ul li:hover > a {
  color: #ffffff;
}

.desktop_menu ul li ul {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 100%;
  padding: 0;
  background-color: var(--black2);
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.5s ease-in-out;
  display: flex;
  flex-direction: column;
}
.desktop_menu ul li.has_submenu {
  cursor: pointer;
}
.desktop_menu ul li.has_submenu:hover ul {
  max-height: 800px;
}

.desktop_menu ul li ul li {
  white-space: nowrap;
  margin-left: 0;
}
/* .desktop_menu ul li ul li:last-child{
  border-bottom: 5px solid var(--secondary);
} */
.desktop_menu ul li ul li a {
  transition: 0.5s ease;
  color: var(--white2);
}
.desktop_menu ul li ul li:hover {
  background-color: var(--white2);
  border: 1px solid var(--black);
}
.desktop_menu ul li ul li:hover > a {
  color: var(--secondary);
}

.fixed-header {
  top: 0;
}
.disabled-button {
  pointer-events: none !important;
  background-color: #bbbbbb !important;
}

.homepage {
  width: 100vw;
  position: relative;
}
.contact-section {
  position: absolute;
  width: 100%;
  height: 100vh;
  top: 0;
  left: 0;
}
.contact-wrapper {
  position: relative;
  margin: calc(151px + 8vh) auto;
  width: 600px;
  min-height: 60vh;
  background-color: #252323;
  display: flex;
  flex-direction: column;
  gap: 28px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  color: #f0f0f0;
  font-family: "Bliss", sans-serif;
  padding: 50px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 10px 30px;
  z-index: 10;
}

.contact-logo {
  font-size: 28px;
  width: 40px;
  text-align: center;
  margin-top: 4px;
}

.contact-details {
  display: flex;
  flex-direction: column;
}

.contact-header {
  font-size: 14px;
  font-weight: bold;
  margin-bottom: 4px;
  font-family: "Bliss", sans-serif;
  letter-spacing: 1px;
}

.contact-text {
  font-size: 15px;
  color: #ccc;
  font-family: "Bliss", sans-serif;
}

.contact-text a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-text a:hover {
  color: #ffcc70;
}
.contact-wrapper::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  background-image: url("../img/hane_logo_white.png");
  background-repeat: no-repeat;
  background-size: 100px; /* Adjust pattern size */
  background-position: center bottom;
  opacity: 0.3;

  background-color: #252323;
}
.banner {
  width: 100%;
  height: 100vh;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.banner img {
  width: 100%;
  object-fit: cover;
}
.banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
}

.banner-text {
  color: white;
  font-weight: bold;
  padding: 3rem 25rem;
  font-size: 5rem;
  font-family: "Work Sans", sans-serif;
}

.info {
  margin: 0 auto;
  width: 70rem;
  color: var(--text);
  text-align: center;
  padding: 2rem;
  max-width: 100%;
  position: relative;
}

.row {
  display: flex;
}

.column-2 {
  flex: 0 0 50%;
  width: 50%;
}

.menu-section {
  position: relative;
  width: 100%;
  min-height: 100vh;
  padding-top: 20vh;
  background-color: #252323;
  transition: padding-top 0.3s ease;
}
.menu-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  background-image: url("../img/hane_logo_white.png");
  background-repeat: no-repeat;
  background-size: 150px; /* Adjust pattern size */
  background-position: center calc(100% - 50px);
  opacity: 0.3;

  background-color: #252323;
}
.menu-items {
  position: relative;
  max-width: 800px;
  margin: 0 auto 0;
  background: white;
  border-radius: 12px;
  /* box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05); */
  padding: 2rem;
  z-index: 3;
  background-color: #252323;
}
.menu-section.pdf-open {
  padding-top: 50px;
}
.menu-item {
  border-bottom: 1px solid #ddd;
  padding: 1rem 0;
}

.menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-size: 1.2rem;
  transition: color 0.2s ease;
}

.menu-header span:hover {
  color: #ffffff;
}
.menu-header span {
  font-size: 16px;
  transition: color 0.2s ease;
  font-weight: 200;
  letter-spacing: 1.1px;
  color: #d7d4d4;
}

.pdf-viewer {
  display: none;
}

.pdf-viewer.fullscreen {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  width: 100vw;
  height: 100vh;
  background: #252323;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1rem;
}

.pdf-viewer canvas {
  margin-bottom: 1rem;
  max-width: 100%;
  height: auto;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

#close-pdf {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 10000;
  background: #fff;
  color: #252323;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  display: none;
  border: 1px solid #252323;
}
.pdf-viewer.dragging {
  cursor: grabbing;
  user-select: none;
}

.pdf-viewer .pdf-pages {
  display: inline-flex;
  flex-direction: column;
  gap: 20px;
}

@media screen and (max-width: 680px) {
  .desktop_menu ul li > a {
    padding: 1rem;
    letter-spacing: 1px;
    font-weight: 500;
    transition: 0.5s ease;
    cursor: pointer;
  }

  .desktop_menu ul li:hover > a {
    color: #fff;
  }
  .banner img {
    width: auto;
    height: 100%;
  }
  .contact-wrapper {
    width: 90%;
    margin: 180px auto;
    padding: 20px;
  }

  .contact-item {
    flex-direction: row;
    align-items: flex-start;
    padding: 10px 15px;
  }

  .contact-logo {
    font-size: 1.8rem;
  }

  .contact-header {
    font-size: 1rem;
  }

  .contact-text {
    font-size: 0.95rem;
  }
}

@media screen and (max-width: 940px) {
  header {
    padding-top: 1rem;
  }
  .desktop_menu {
    margin-left: auto;
  }
  .desktop_menu ul li {
    text-align: end;
  }
  .row {
    flex-direction: column;
  }
  .column-2 {
    flex: 0 0 100%;
    width: 100%;
  }
  .mobile-hide {
    display: none;
  }

  #pdf-container canvas {
    display: block;
    margin: 5px auto;
    max-width: 100%;
    height: auto;
  }
  .contact-section {
    height: 100vh;
  }
}
