/* style.css */

/* 기본 (모바일 우선) */
body {
  font-size: 14px; /* = 14px */
}

/* 중소형 모바일 (SM: 576px 이상) */
@media (min-width: 576px) {
  body {
    font-size: 14.5px;
  }
}

/* 태블릿 (MD: 768px 이상) */
@media (min-width: 768px) {
  body {
    font-size: 15px;
  }
}

/* 작은 데스크탑 (LG: 992px 이상) */
@media (min-width: 992px) {
  body {
    font-size: 16px;
  }
}

/* 일반 데스크탑 (XL: 1200px 이상) */
@media (min-width: 1200px) {
  body {
    font-size: 16px;
  }
}

/* 대형 화면 (XXL: 1400px 이상) */
@media (min-width: 1400px) {
  body {
    font-size: 17px;
  }
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s ease;
}

a:hover {
  color: inherit;
}

.text-left {
  text-align: left !important;
}
.text-right {
  text-align: right !important;
}
.text-center {
  text-align: center !important;
}

hr.part {
  border: none;
  border-top: 1px solid #414141; /* 연한 회색 */
  width: 90%;
  margin: 20px auto; /* 가운데 정렬 + 위아래 여백 */
}

.space-10 {
  position: relative;
  margin-bottom: 10px;
}
.small {
  font-size: 0.9em;
  font-weight: 300;
}

.w-100 {
  width: 100% !important;
}
section {
  padding-top: 20vh;
}
#top {
  background-image: url(../img/bg-top.jpg);
  background-position: left bottom;
  background-size: cover;
  background-repeat: no-repeat;
  height: 100vh;
  padding: 3rem;
  display: grid;
  grid-template-columns: 1fr 1fr; /* 좌우 1:1 */
}

.hero_content {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  width: 40vw;
  max-width: 600px;
  padding-bottom: 10vh;
}

h1.intro-text {
  font-size: 1.7rem;
  font-weight: 500;
  line-height: 1.2;
}

@media (max-width: 768px) {
  #top {
    background-image: url(../img/bg-top-mobile.jpg);
    background-position: left bottom;
    background-size: cover;
    background-repeat: no-repeat;

    grid-template-columns: 1fr;
    grid-template-rows: 1fr 15fr; /* ⬅️ 1:4 비율로 나눔 */
    padding: 2rem;
  }

  .hero_content {
    display: flex;
    width: 70vw;
    justify-content: flex-start;
  }

  h1.intro-text {
    font-size: 1.2rem;
    font-weight: 500;
    line-height: 1.3;
  }
}

.solution-box {
  border: 1px solid #919191;
  border-radius: 2em;
  overflow: hidden;
}

.display-ex {
  text-align: center;
  padding: 0 6px;
  font-size: 1.5em;
  font-weight: 400;
  line-height: 1.3;
  /*  */
  background-image: -webkit-linear-gradient(
    45deg,
    hsl(349, 87%, 50%),
    hsl(169, 87%, 50%)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.display-ready {
  text-align: center;
  font-size: 2.4rem;
  font-weight: 300;
  color: #cfcfcf;
  line-height: 1.2;
  padding-bottom: 2rem;
}

@media (max-width: 640px) {
  .display-ready {
    font-size: 1.4rem;
  }
}

.section_top_text {
  letter-spacing: 2px;
  color: #919191;
  font-size: 0.85em;
  text-transform: uppercase;
  margin-bottom: 1.2em;
  display: block;
}

h3.expertise {
  position: relative;
  padding-left: 1rem;
  font-size: 1.6rem;
  margin: 0;
  padding-bottom: 0.6rem;
  font-weight: 300;
  line-height: 1.1;
}

.expertise::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0.6rem;
  height: 0.6rem;
  background-color: #ff1515;
  border-radius: 50%;
}

.workarea h2.title {
  font-size: 1.7rem;
  font-weight: 500;
  line-height: 1.2;
  margin: 0;
  padding-bottom: 1.6rem;
}

@media (max-width: 768px) {
  .workarea h2.title {
    font-size: 1.2rem;
    line-height: 1.4;
  }
}

.workarea p.text-secondary {
  font-size: 1.2em;
  padding-left: 1rem;
  font-weight: 400;
  line-height: 1.2;
  margin: 0;
  padding-bottom: 1.5rem;
}

.btn-modern {
  background-color: #0dd2dd;
  color: white;
  font-size: 1em;
  font-weight: 600;
  padding: 0.8em 2.5em;
  border-radius: 99px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
}

.btn-modern:hover {
  background-color: #7cf8ff;
  color: #111;
}

.btn-large {
  padding: 1.2rem 1.5rem;
  font-size: 1.2rem;
}

/* Honeypot 필드 */
.fuck {
  display: none !important;
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
  pointer-events: none;
}
.contact_wrap {
  padding-right: 1rem;
}
.contact_info {
  padding: 0 1.5rem;
}

.contact_info h3 {
  font-size: 1.3rem;
  font-weight: 400;
  line-height: 1.3;
  color: #c9c9c9;
}

.contact_info_top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: end;
}

.contact_info_top img {
  max-width: 250px;
}

.contact_image {
  max-width: 100%;
  display: block;
  height: auto;
}

.contact h2.title {
  font-size: 2rem;
  font-weight: 500;
  padding: 0;
  margin: 0;
  line-height: 1.2;
  background-image: -webkit-linear-gradient(
    45deg,
    hsl(324.52deg 100% 62.32%),
    hsl(58.67deg 100% 50.69%)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.contact p.summary {
  font-size: 1.1rem;
  line-height: 1.6;
}
@media (max-width: 768px) {
  .contact_info h3 {
    font-size: 1.1rem;
  }

  .contact h2.title {
    font-size: 1.6rem;
  }
}

footer {
  color: #414141;
  padding-top: 1rem;
  padding-bottom: 2rem;
  border-top: 1px solid #2f2f2f;
  margin-top: 2rem;
}
.copyright {
  font-size: 0.8rem;
}

.space-5 {
  display: block;
  height: 1px;
  padding: 5vh;
}

.space-10 {
  display: block;
  height: 1px;
  padding: 10vh;
}

.solution-box {
  border: 1px solid #919191;
  border-radius: 2em;
  padding: 1rem;
  overflow: hidden;
  margin-bottom: 1.6rem;
}

.solution-box img {
  border-radius: 1.5em;
}

.solution_summary {
  padding-top: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
  height: 100%; /* 이거 중요 */
}

.solution_summary h3.title {
  font-size: 1.3rem;
  padding: 0;
  margin: 0;
  font-weight: 500;
  color: #23ffe2;
}

.solution_summary p.summary {
  padding: 0;
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.4;
  font-weight: 300;
}

@media (max-width: 768px) {
  .solution_summary p.summary {
    font-size: 1rem;
  }
}

.btn-modern {
  background-color: #0dd2dd;
  color: white;
  font-size: 1.15rem;
  font-weight: 600;
  padding: 0.6em 2.5em;
  border-radius: 99px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.expertise {
  position: relative;
  padding-left: 1.5rem;
  font-weight: 200;
  font-size: 2rem;
  margin: 0;
  line-height: 1.2;
}
.expertise_ex {
  font-weight: 500;
  font-size: 0.95rem;
  padding-left: 1.5rem;
}

@media (max-width: 768px) {
  .workarea h2.title {
    font-size: 1.4rem;
  }
}

.expertise::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0.6rem;
  height: 0.6rem;
  background-color: #ff1515;
  border-radius: 50%;
}

/* DB-connecting */
.connecting {
  position: fixed;
  top: 10px;
  right: 10px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: gray; /* 기본은 회색 */
}
.connecting.ok {
  background: rgb(255, 0, 200); /* 접속 성공시 빨간색 */
}
