:root {
  --main-color: #004044;
  --gold: #c9a65c;
  --text: #111;
  --gray: #b5b5b6;
}

* {
  margin: 0;
  padding: 0;

  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Pretendard", sans-serif;

  color: var(--text);

  overflow-x: hidden;

  background: #fff;
}

body.menu-open {
  overflow: hidden;
}

img {
  max-width: 100%;
  height: auto;

  display: block;
  margin: 0 auto;
}

section {
  width: 100%;

  margin: 0 auto;
}

/* header */
header {
  position: fixed;
  top: 0;

  width: 100%;

  background: transparent;

  transition: all 0.3s ease;

  z-index: 1000;
}

header.scrolled {
  background: rgba(255, 255, 255, 0.95);

  backdrop-filter: blur(10px);

  border-bottom: 1px solid rgba(0, 0, 0, 0.05);

  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.header-inner {
  max-width: 1400px;

  margin: 0 auto;
  padding: 26px 24px;

  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* logo */
.logo {
  width: 120px;
  height: 40px;

  display: flex;
  align-items: center;

  position: relative;

  z-index: 1002;
}

.logo a {
  width: 100%;
  height: 100%;

  display: flex;
  align-items: center;
}

.logo img {
  width: 100%;
  height: 100%;

  object-fit: contain;
}

/* nav */
nav {
  display: flex;

  gap: 28px;
}

nav a {
  color: #fff;

  text-decoration: none;

  font-size: 15px;
  font-weight: 500;

  transition: all 0.3s ease;
}

header.scrolled nav a {
  color: var(--text);
}

nav a:hover {
  color: var(--main-color);
}

/* mobile menu button */
.menu-btn {
  display: none;

  width: 22px;
  height: 16px;

  position: relative;

  cursor: pointer;

  z-index: 1002;
}

.menu-btn span {
  position: absolute;
  left: 0;

  width: 100%;
  height: 2px;

  background: #fff;

  transition: all 0.3s ease;
}

header.scrolled .menu-btn span {
  background: var(--text);
}

.menu-btn span:nth-child(1) {
  top: 0;
}

.menu-btn span:nth-child(2) {
  top: 50%;

  transform: translateY(-50%);
}

.menu-btn span:nth-child(3) {
  bottom: 0;
}

/* active */
.menu-btn.active span:nth-child(1) {
  top: 50%;

  transform: translateY(-50%) rotate(45deg);
}

.menu-btn.active span:nth-child(2) {
  opacity: 0;
}

.menu-btn.active span:nth-child(3) {
  top: 50%;

  transform: translateY(-50%) rotate(-45deg);
}

/* mobile nav */
.mobile-nav {
  position: fixed;
  top: 0;
  right: -100%;

  width: 100%;
  height: 100vh;

  background: var(--main-color);

  backdrop-filter: blur(12px);

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  gap: 32px;

  transition: right 0.4s ease;

  z-index: 1001;
}

.mobile-nav.active {
  right: 0;
}

.mobile-nav a {
  color: #fff;

  text-decoration: none;

  font-size: 24px;
  font-weight: 600;

  letter-spacing: -0.3px;
}

#overview,
#location,
#premium,
#floor,
#video,
#directions {
  width: min(1400px, calc(100% - 48px));
  margin: 0 auto;
}

/* section title */
.section-title {
  margin: 120px 0 40px;

  color: var(--main-color);

  font-size: 32px;
  font-weight: 700;
}

.section-title::after {
  content: "";

  display: block;

  width: 40px;
  height: 2px;

  margin-top: 12px;

  background: var(--gold);
}

/* home */
#home {
  overflow: hidden;
}

.home-content {
  width: 100%;
}

.home-content img {
  width: 100%;
}

/* merit */
#merit img {
  border-radius: 14px;

  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.06);
}

/* =========================
   FLOOR
========================= */

.floor-container {
  width: 100%;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

/* tabs */

.floor-tabs {
  display: flex;
}

.floor-tab {
  flex: 1;
  height: 68px;

  border: none;
  border-right: 1px solid #e5e5e5;

  background: #fff;

  font-size: 17px;
  font-weight: 600;
  color: #444;

  cursor: pointer;
  transition: 0.3s;
}

.floor-tab:last-child {
  border-right: none;
}

.floor-tab.active {
  background: #004044;
  color: #fff;
}

/* info table */

.floor-info {
  display: grid;
  grid-template-columns: repeat(4, 1fr);

  border-top: 1px solid #e5e5e5;
  border-bottom: 1px solid #e5e5e5;
}

.info-item {
  border-right: 1px solid #e5e5e5;
  padding: 34px 20px;

  text-align: center;
}

.info-item:last-child {
  border-right: none;
}

.info-item span {
  display: block;

  font-size: 18px;
  font-weight: 700;
  color: #111;

  margin-bottom: 20px;
}

.info-item strong {
  font-size: 44px;
  font-weight: 800;
  color: #000;
}

/* image */

.floor-view {
  padding: 40px;
}

.floor-view img {
  width: 100%;
  display: block;
}

/* mobile */

@media (max-width: 768px) {
  .floor-tabs {
    overflow-x: auto;
  }

  .floor-tab {
    min-width: 140px;
    font-size: 15px;
  }

  .floor-info {
    grid-template-columns: repeat(2, 1fr);
  }

  .info-item {
    padding: 24px 12px;
    border-bottom: 1px solid #e5e5e5;
  }

  .info-item:nth-child(2n) {
    border-right: none;
  }

  .info-item span {
    font-size: 14px;
    margin-bottom: 12px;
  }

  .info-item strong {
    font-size: 28px;
  }

  .floor-view {
    padding: 20px;
  }
}

/* contact */
#contact {
  margin-top: 140px;
  padding: 140px 20px;

  position: relative;

  overflow: hidden;

  background:
    linear-gradient(rgba(0, 35, 37, 0.82), rgba(0, 35, 37, 0.92)),
    url("../img/sites.webp") center center / cover no-repeat;
}

#contact::before {
  content: "";

  position: absolute;
  inset: 0;

  background: radial-gradient(
    circle at top,
    rgba(255, 255, 255, 0.08),
    transparent 60%
  );
}

.contact-wrap {
  max-width: 900px;

  margin: 0 auto;

  text-align: center;

  position: relative;

  z-index: 2;
}

.contact-subtitle {
  margin-bottom: 24px;

  color: var(--gold);

  font-size: 14px;

  letter-spacing: 6px;
}

.contact-title {
  margin-bottom: 28px;

  color: #fff;

  font-size: 56px;
  font-weight: 700;

  line-height: 1.35;
}

.contact-title::after {
  content: "";

  display: block;

  width: 80px;
  height: 1px;

  margin: 28px auto 0;

  background: rgba(201, 166, 92, 0.65);
}

.contact-desc {
  margin-bottom: 60px;

  color: rgba(255, 255, 255, 0.78);

  font-size: 19px;

  line-height: 1.8;
}

/* contact info */
.contact-info {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;

  gap: 24px;

  margin-bottom: 60px;
}

.contact-card {
  min-width: 260px;

  padding: 30px 34px;

  border: 1px solid rgba(255, 255, 255, 0.12);

  background: rgba(255, 255, 255, 0.05);

  backdrop-filter: blur(10px);

  border-radius: 14px;

  transition: all 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-4px);

  background: rgba(255, 255, 255, 0.08);

  border-color: rgba(201, 166, 92, 0.35);
}

.contact-card span {
  display: block;

  margin-bottom: 14px;

  color: rgba(255, 255, 255, 0.6);

  font-size: 13px;
  font-weight: 500;

  letter-spacing: 1px;
}

.contact-card strong {
  display: block;

  color: #fff;

  font-size: 30px;
  font-weight: 700;
}

/* contact form */
.contact-form {
  max-width: 720px;

  margin: 0 auto;

  text-align: left;
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;

  margin-bottom: 10px;

  color: #fff;

  font-size: 15px;
  font-weight: 600;
}

.form-group input {
  width: 100%;

  padding: 18px 20px;

  border: 1px solid rgba(255, 255, 255, 0.14);

  background: rgba(255, 255, 255, 0.06);

  color: #fff;

  font-size: 15px;

  border-radius: 8px;

  outline: none;

  transition: all 0.3s ease;
}

.form-group input::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.form-group input:focus {
  border-color: var(--gold);

  background: rgba(255, 255, 255, 0.08);
}

/* radio */
.radio-group {
  display: flex;
  flex-wrap: wrap;

  gap: 12px;
}

.radio-item {
  position: relative;

  cursor: pointer;
}

.radio-item input {
  display: none;
}

.radio-item span {
  display: flex;
  align-items: center;
  justify-content: center;

  min-width: 120px;

  padding: 14px 18px;

  border-radius: 999px;

  border: 1px solid rgba(255, 255, 255, 0.14);

  background: rgba(255, 255, 255, 0.05);

  color: rgba(255, 255, 255, 0.82);

  font-size: 14px;
  font-weight: 500;

  transition: all 0.3s ease;
}

.radio-item input:checked + span {
  background: linear-gradient(135deg, #c9a65c 0%, #e0bf7a 100%);

  color: #002f31;

  border-color: transparent;

  font-weight: 700;
}

/* privacy */
.privacy-box {
  margin-top: 24px;
}

.privacy-check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
}

.privacy-check input[type="checkbox"] {
  width: 18px;
  height: 18px;

  margin-top: 2px;

  accent-color: var(--gold);

  cursor: pointer;

  flex-shrink: 0;
}

.privacy-check span {
  color: rgba(255, 255, 255, 0.82);

  font-size: 14px;
  font-weight: 500;

  line-height: 1.6;
}

/* contact button */
.contact-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 100%;
  height: 68px;

  margin-top: 28px;

  border: none;

  background: linear-gradient(135deg, #c9a65c 0%, #e0bf7a 100%);

  color: #002f31;

  font-size: 18px;
  font-weight: 700;

  cursor: pointer;

  transition: all 0.3s ease;

  border-radius: 4px;

  -webkit-tap-highlight-color: transparent;
}

.contact-btn:hover {
  transform: translateY(-3px);

  box-shadow: 0 12px 30px rgba(201, 166, 92, 0.3);
}

/* footer */
.footer {
  position: relative;

  overflow: hidden;

  background: linear-gradient(to bottom, #00282a 0%, #002426 40%, #001b1d 100%);
}

.footer::after {
  content: "";

  position: absolute;
  top: 0;
  left: 50%;

  width: 1200px;
  height: 1px;

  transform: translateX(-50%);

  background: linear-gradient(
    to right,
    transparent,
    rgba(201, 166, 92, 0.18),
    transparent
  );
}

.footer-inner {
  max-width: 1400px;

  margin: 0 auto;
  padding: 34px 20px 30px;

  text-align: center;
}

.footer-title {
  margin-bottom: 10px;

  color: var(--gold);

  font-size: 12px;
  font-weight: 400;

  letter-spacing: 8px;
}

.footer-subtitle {
  margin-bottom: 24px;

  color: rgba(255, 255, 255, 0.7);

  font-size: 10px;
  font-weight: 300;

  letter-spacing: 5px;
}

.footer-line {
  width: 100%;
  max-width: 420px;

  margin: 0 auto 26px;

  position: relative;
}

.footer-line::before {
  content: "";

  display: block;

  width: 100%;
  height: 1px;

  background: rgba(201, 166, 92, 0.16);
}

.footer-line span {
  position: absolute;
  top: 50%;
  left: 50%;

  width: 7px;
  height: 7px;

  background: var(--gold);

  transform: translate(-50%, -50%) rotate(45deg);
}

.footer-copy {
  color: rgba(255, 255, 255, 0.38);

  font-size: 11px;

  letter-spacing: 0.3px;
}

/* mobile */
@media (max-width: 768px) {
  .header-inner {
    padding: 20px 0;
  }

  .logo {
    width: 130px;
    height: 28px;
  }

  nav {
    display: none;
  }

  .menu-btn {
    display: block;

    margin-right: 24px;
  }

  #overview,
  #location,
  #premium,
  #floor,
  #video,
  #directions {
    width: calc(100% - 32px);
  }

  #merit img {
    border-radius: 0;
  }

  .section-title {
    margin: 80px 0 28px;

    font-size: 24px;
  }

  .section-title::after {
    width: 32px;
  }

  .floor-tabs {
    flex-wrap: wrap;
  }

  .floor-tab {
    flex: 1 1 calc(50% - 4px);

    padding: 14px 10px;

    font-size: 13px;
  }

  .floor-view {
    padding: 20px;
  }

  #contact {
    margin-top: 100px;

    padding: 100px 20px;
  }

  .contact-subtitle {
    font-size: 11px;

    letter-spacing: 4px;
  }

  .contact-title {
    font-size: 34px;

    line-height: 1.4;
  }

  .contact-desc {
    margin-bottom: 40px;

    font-size: 15px;

    line-height: 1.7;
  }

  .contact-info {
    gap: 12px;

    margin-bottom: 40px;
  }

  .contact-card {
    width: 100%;
    min-width: auto;

    padding: 22px;
  }

  .contact-card strong {
    font-size: 24px;
  }

  .radio-item span {
    min-width: calc(50% - 6px);

    font-size: 13px;
  }

  .form-group input {
    padding: 16px;

    font-size: 14px;
  }

  .privacy-check {
    padding: 16px;
  }

  .privacy-check span {
    font-size: 13px;
  }

  .contact-btn {
    height: 60px;

    font-size: 16px;
  }

  .footer-title {
    font-size: 10px;

    letter-spacing: 4px;
  }

  .footer-subtitle {
    letter-spacing: 3px;
  }

  .footer-copy {
    font-size: 10px;

    line-height: 1.6;
  }
}
