﻿* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  width: 100%;
  min-height: 100%;
}

body {
  font-family: "Malgun Gothic", Arial, sans-serif;
  background: #f5f1e9;
  color: #173c80;
}

/* 상단 메뉴 */
header {
  display: none;
  padding: 0 3%;
  background: white;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}

.logo {
  font-size: 26px;
  font-weight: bold;
}

.logo span {
  color: #7653d6;
}

.script-logo {
  font-family: "Great Vibes", cursive;
  font-size: 42px;
}

nav {
  justify-self: end;
  display: flex;
  gap: 20px;
}

nav a {
  color: #173c80;
  text-decoration: none;
  font-size: 14px;
}

/* 산과 바다를 포함한 메인 이미지 */
main {
  position: relative;
  width: 100%;
  aspect-ratio: 1648 / 928;
  background-image: url("designplot-best-final.png");
  background-position: center;
  background-size: 100% 100%;
  background-repeat: no-repeat;
}

/* 기존 중복 화면 숨기기 */
.hero,
.products,
.about,
.contact,
.service-banners {
  display: none;
}

/* 이미지 속 버튼 클릭 영역 */
.banner-links {
  position: absolute;
  inset: 0;
  z-index: 10;
  pointer-events: none;
}

.banner-links a {
  position: absolute;
  left: 66%;
  width: 32%;
  height: 12%;
  display: block;
  pointer-events: auto;
  cursor: pointer;
}

.banner-links a:nth-child(1) {
  top: 10%;
}

.banner-links a:nth-child(2) {
  top: 23%;
}

.banner-links a:nth-child(3) {
  top: 37%;
}

/* 하단 저작권 */
footer {
  background: #17233d;
  color: white;
  text-align: center;
  padding: 10px;
  font-size: 12px;
}

footer p {
  margin: 0;
}

/* 중복된 상단 메뉴와 하단 저작권 숨기기 */
header,
footer {
  display: none !important;
}

/* 디자인플롯 화면 전체 맞춤 */
html, body {
  margin: 0 !important;
  width: 100% !important;
  height: 100% !important;
  overflow: hidden !important;
}

main {
  position: relative !important;
  width: 100vw !important;
  max-width: none !important;
  height: 100dvh !important;
  aspect-ratio: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  background-size: 100% 100% !important;
}

/* 디자인플롯 메인 버튼 클릭 위치 조정 */

.banner-links a {
  left: 61.5%;
  width: 23.5%;
  height: 8.5%;
}

.banner-links a:nth-child(1) {
  top: 22.5%;
}

.banner-links a:nth-child(2) {
  top: 33%;
}

.banner-links a:nth-child(3) {
  top: 43.5%;
}

/* DP-HAND-HOVER */
.banner-links a::before{display:none!important;}
.banner-links a::after{content:'☞';position:absolute;right:103%;top:50%;font-size:clamp(20px,3vw,46px);font-weight:bold;color:#7900e8;text-shadow:0 0 8px #ffffff,1px 2px 3px #31005c;transform:translateY(-50%);transition:transform .25s ease;pointer-events:none;}
.banner-links a:hover::after{transform:translate(6px,-50%) scale(1.3);}
.banner-links a:hover{border-radius:16px;box-shadow:0 0 18px #ffdb70;}

.banner-links a:hover::after{color:#b000ff;text-shadow:0 0 12px #ffffff,0 0 20px #a020ff;}

/* DP NEW MAIN DESIGN */

main {
  background-image: url("images/designplot-main-bg.png") !important;
}

.banner-links a {
  left: 61.5%;
  width: 24%;
  height: 11%;
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-position: center;
  transition: transform .3s ease, filter .3s ease;
}

.banner-links a:nth-child(1) {
  top: 21%;
  background-image: url("images/menu-digital-card.png");
}

.banner-links a:nth-child(2) {
  top: 32%;
  background-image: url("images/menu-creative.png");
}

.banner-links a:nth-child(3) {
  top: 43%;
  background-image: url("images/menu-shopping.png");
}

.banner-links a::after {
  display: none !important;
}

.banner-links a:hover {
  transform: perspective(800px) translateZ(30px) scale(1.08);
  filter: brightness(1.15) drop-shadow(0 5px 12px gold);
  box-shadow: none;
  z-index: 30;
}
/* DP MENU SIZE */
.banner-links a {
  height: 14%;
  background-size: contain;
}

.banner-links a:nth-child(1) {
  top: 19%;
}

.banner-links a:nth-child(2) {
  top: 31%;
}

.banner-links a:nth-child(3) {
  top: 43%;
}
/* DP STAFF CONTACT */
#dp-main-nav button:last-child {
  position: fixed;
  left: 13%;
  top: 56%;
  transform: translateX(-50%);
  background: linear-gradient(145deg,#172d50,#07152c);
  color: #ffe18a;
  border: 2px solid #d4af37;
  border-radius: 20px !important;
  padding: 10px 20px !important;
  font-size: 15px !important;
  box-shadow: 0 0 12px #ffda70;
}

#dp-main-nav button:last-child::after {
  content: '';
  position: absolute;
  top: 100%;
  left: calc(50% - 8px);
  border: 8px solid transparent;
  border-top-color: #d4af37;
}

#dp-main-nav button:last-child:hover {
  transform: translateX(-50%) scale(1.08);
}

/* 남자 비서 상담 버튼 정리 */
#man-talk {
  display: none !important;
}

#dp-main-nav button:last-child {
  top: 54% !important;
  left: 13% !important;
  z-index: 9999;
  padding: 12px 24px !important;
  font-size: 16px !important;
}

