* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
a {
  text-decoration: none;
  color: inherit;
}
body {
  width: 100%;
  font-family: "Noto Sans KR", sans-serif;
  color: #000;
  line-height: 1.4;
  overflow-x: hidden;
}

header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 40px 10%;
  z-index: 1;
  top: 0;
  left: 0;
  right: 0;
}

.header-container {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  transition: transform 0.3s ease;
}
.header-hidden {
  transform: translateY(-100%);
}

.btn-kakao {
  position: fixed;
  right: 40px;
  bottom: 40px;
  z-index: 9;
  width: 56px;
  height: 56px;
  border-radius: 100px;
  font-size: 0;
  text-indent: -9999px;
  overflow: hidden;
  white-space: nowrap;
  background: #facc15 url(../img/btn_kakao.png) no-repeat center/cover;
}

.btn-menu {
  display: none;
}

.logo {
  position: relative;
  font-size: 2rem;
  font-weight: 1000;
}

.menu ul {
  position: relative;
  list-style: none;
  display: flex;
  gap: 70px;
}

.menu ul li {
  font-size: 1.2rem;
  font-weight: 400;
}

.menu ul li a {
  text-decoration: none;
  color: #000;
  text-transform: uppercase;
  font-weight: bold;
}

.hero {
  display: flex;
  align-items: end;
  justify-content: space-between;
  padding: 40px 10% 40px;
  position: relative;
  margin: 120px auto 0;
}

.hero-text {
  max-width: 700px;
}

.hero-text h2 {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.3;
}

.hero-video {
  flex: 1 1 50%;
  max-width: 575px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 60px;
}

.hero-video video {
  width: 100%;
  height: auto;
  border: none;
}

.main-title {
  width: 100%;
  text-align: center;
  margin: 10px 0;
}

.main-title h1 {
  font-size: 11.8vw;
  font-weight: 700;
  text-indent: -10px;
  letter-spacing: -10px;
}

.wave-section {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.wave-section video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.wave-content {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  padding-bottom: 50px;
  color: #fff;
  text-align: center;
}

.wave-content h1 {
  font-size: 7rem;
  font-weight: 700;
  letter-spacing: 5px;
  text-transform: uppercase;
}

.wave-arrow {
  margin-top: 20px;
  animation: bounce 2s infinite;
  cursor: pointer;
}

.wave-arrow img {
  width: 60px;
  height: auto;
}

.third-section {
  position: relative;
  width: 100%;
  height: 100vh;
  background-color: #000;
  color: #fff;
}

.section-top {
  position: absolute;
  top: 15%;
  left: 5%;
  max-width: 800px;
}

.section-top h5 {
  font-size: 1rem;
  letter-spacing: 0px;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.section-top h2 {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 60px;
}

.section-top p {
  font-size: 1.5rem;
  font-weight: bold;
}

.big-text {
  position: absolute;
  bottom: 10%;
  left: 50%;
  transform: translateX(-50%);
  font-size: 6rem;
  font-weight: 700;
  line-height: 1;
  display: flex;
  font-family: "Pretendard";
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.big-text span {
  display: inline-block;
}

.big-text .outline {
  color: transparent;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 1px #fff;
}

.image-box a {
  display: block;
  width: 100%;
  height:100%;
}
.image-box {
  overflow:hidden;
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 1.2s cubic-bezier(0.22, 1, 0.36, 1),
    transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.image-box img {
  display:block;
  width:100%;
  height:100%;
  object-fit: cover;
}

.image-box.show {
  opacity: 1;
  transform: translateX(0);
}

.services-section {
  width: 100%;
  margin: 0;
  margin-bottom: 200px;
}

.service-box {
  overflow: hidden;
  background-color: #000;
  color: #fff;
  padding: 40px 5%;
  align-items: center;
  display: flex;
  transition: background-color 0.3s, color 0.3s;
}

.left-text {
  width: 50%;
  text-align: left;
}

.left-text h3 {
  position: relative;
  line-height: 1.2;
  font-size: 3.5rem;
  word-break: keep-all;
  font-weight: 700;
  margin: 0;
}

.right-text {
  width: 50%;
  text-align: right;
  opacity: 0;
  transition: opacity 0.3s;
}

.right-text p {
  position: relative;
  font-size: 2rem;
  line-height: 1.4;
  margin: 0;
}

.what-we-do {
  width: 90%;
  padding: 50px;
  margin: 0 auto;
  margin-top: -200px;
  color: #000;
  font-family: sans-serif;
}

.wwd-header {
  margin-bottom: 40px;
}

.wwd-header h5 {
  margin: 0;
  font-size: 1rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 5px;
}

.wwd-header h2 {
  margin: 0;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.wwd-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 250px);
}

.wwd-item {
  position: relative;
  border: none;
  background: linear-gradient(
        to right,
        transparent 0,
        transparent 10px,
        #000 10px,
        #000 calc(100% - 10px),
        transparent calc(100% - 10px),
        transparent 100%
      )
      no-repeat top,
    linear-gradient(
        to right,
        transparent 0,
        transparent 10px,
        #000 10px,
        #000 calc(100% - 10px),
        transparent calc(100% - 10px),
        transparent 100%
      )
      no-repeat bottom,
    linear-gradient(
        to bottom,
        transparent 0,
        transparent 10px,
        #000 10px,
        #000 calc(100% - 10px),
        transparent calc(100% - 10px),
        transparent 100%
      )
      no-repeat left,
    linear-gradient(
        to bottom,
        transparent 0,
        transparent 10px,
        #000 10px,
        #000 calc(100% - 10px),
        transparent calc(100% - 10px),
        transparent 100%
      )
      no-repeat right;
  background-size: 100% 1px, 100% 1px, 1px 100%, 1px 100%;
}

.wwd-item h3 {
  position: absolute;
  top: 40px;
  left: 40px;
  margin: 0;
  font-size: 2rem;
  font-weight: 700;
}

.wwd-item img {
  position: absolute;
  bottom: 40px;
  right: 60px;
  width: 70px;
  height: auto;
}

.wwd-item p {
  display: none;
  position: relative;
  font-size: 1rem;
  font-weight: bold;
  width: 300px;
  top: 150px;
  left: 40px;
  color: #fff;
}

.wwd-item:hover h3,
.wwd-item:active h3,
.wwd-item:focus h3 {
  color: #fff;
}

.wwd-item:hover p,
.wwd-item:active p,
.wwd-item:focus p {
  display: block;
  color: #fff;
}

.wwd-item:hover,
.wwd-item:active,
.wwd-item:focus {
  transition: background-color 1s ease, transform 1.5s ease;
  background-color: #000;
  background-image: none;
  z-index: 10;
  transform: scale(1.03);
}

.wwd-item:hover img,
.wwd-item:active img,
.wwd-item:focus img {
  display: none;
}

.portfolio-section {
  width: 90%;
  margin: 0 auto;
  padding: 60px 0;
  color: #000;
  font-family: sans-serif;
}

.portfolio-header {
  max-width: 1100px;
  margin: 0 auto;
}

.portfolio-header h5 {
  margin: 0;
  font-size: 1rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 5px;
}

.portfolio-header h2 {
  margin: 0;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.portfolio-content {
  display: flex;
  max-width: 1100px;
  margin: 0 auto;
  align-items: center;
  gap: 20px;
}

.slider-container {
  position: relative;
  width: 1100px;
  overflow: hidden;
}

.arrow-icons {
  display: flex;
  width: 100px;
  float: right;
  margin-bottom: 20px;
  margin-right: 10px;
  gap: 10px;
}

.arrow-icons img {
  width: 40px;
  float: left;
  gap: 10px;
}

.arrow {
  margin-left: 10px;
  cursor: pointer;
}

.image-row {
  display: flex;
  width: 1300px;
  transition: transform 0.8s ease-in-out;
}

.image-box {
  position: relative;
  width: 280px;
  height: 350px;
  background-color: #ccc;
  margin-right: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: #fff;
  font-weight: bold;
}

.image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.image-box:last-child {
  margin-right: 0;
}

.footer-section {
  background-color: #000;
  overflow: hidden;
  color: #fff;
  text-align: center;
  font-family: sans-serif;
  padding: 40px 0 0;
}

.footer-heading {
  font-size: 4rem;
  margin-bottom: 30px;
  text-transform: uppercase;
  letter-spacing: 2px;
  position: relative;
}

.footer-contact-btn {
  display: inline-block;
  padding: 15px 30px;
  border: 2px solid #fff;
  background: transparent;
  color: #fff;
  font-size: 1rem;
  cursor: pointer;
  text-transform: uppercase;
  transition: background-color 0.3s, color 0.3s;
  margin-bottom: 40px;
  border-radius: 50px;
}

.footer-contact-btn:hover {
  background-color: #fff;
  color: #000;
}

.footer-info {
  font-size: 0.9rem;
  line-height: 1.4;
  margin-bottom: 60px;
}

.footer-title {
  font-size: 11.5vw;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -10px;
  margin-bottom: 0px;
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-100px);
  transition: all 1s ease-out;
}

.fade-in-left.show {
  opacity: 1;
  transform: translateX(0);
}

.scale-up {
  opacity: 0;
  transform: scale(0.9);
  transition: transform 1.6s ease-out, opacity 1.6s ease-out;
}

.scale-up.show {
  opacity: 1;
  transform: scale(1);
}

@media screen and (max-width: 1500px) {
  .hero-text h2 {
    font-size: 44px;
  }
}
@media screen and (max-width: 1370px) {
  .hero-text h2 {
    font-size: 36px;
  }

  header {
    padding: 30px;
  }
  .hero {
    padding: 30px;
  }
}

@media screen and (max-width: 1024px) {
  header {
    padding: 24px;
  }

  .logo {
    font-size: 26px;
  }

  .menu ul {
    gap: 20px;
  }

  .hero {
    display: block;
    align-items: stretch;
    height: auto;
    padding: 0;
    margin: 210px 0 140px;
  }

  .hero-text {
    text-align: left;
    width: 100%;
    padding: 0 20px;
  }

  .hero-text h2 {
    font-size: 20px;
    line-height: 1.5;
    word-break: keep-all;
    white-space: normal;
    text-align: left;
    font-weight: 600;
  }

  .hero-video {
    display: none;
  }

  .main-title {
    position: absolute;
    top: 100px;
    margin: 0;
  }

  .main-title h1 {
    font-size: 5rem;
    white-space: pre-line;
    text-align: left;
    letter-spacing: -2px;
    line-height: 1.1;
    padding: 0 18px;
    font-weight: 1000;
    text-indent: 0;
  }
}

@media screen and (max-width: 767px) {
  .btn-kakao {
    right: 20px;
    bottom: 20px;
    width: 44px;
    height: 44px;
  }

  header {
    align-items: center;
    height: auto;
    padding: 13px 15px;
    gap: 12px;
  }

  .header-container.active {
    background-color: #fff;
  }

  .logo {
    white-space: nowrap;
    font-size: 20px;
    position: static;
  }

  .btn-menu {
    display: inline-flex;
    width: 24px;
    height: 24px;
    font-size: 0;
    border: 0;
    text-indent: -9999px;
    overflow: hidden;
    background: transparent url(../img/btn_menu.svg) no-repeat center/20px;
  }

  .menu {
    width: 100%;
    display: flex;
    position: fixed;
    top: 54px;
    background: #fff;
    left: 0;
    bottom: 0;
    background: #fff;
    padding: 15px;
    opacity: 0;
    z-index: -1;
    transition: all 0.3s ease;
    pointer-events: none;
  }

  .menu.active {
    opacity: 1;
    z-index: 11;
    pointer-events: inherit;
  }

  .menu ul {
    flex-direction: column;
    gap: 14px;
  }

  .menu ul li {
    font-size: 50px;
  }

  .menu ul li a {
    font-weight: 1000;
  }

  .hero {
    margin: 160px 0 140px;
  }

  .hero-text {
    padding: 0 15px;
  }

  .main-title {
    top: 68px;
  }

  .main-title h1 {
    font-size: 4rem;
    letter-spacing: -2px;
    padding: 0 12px;
  }

  .wave-section {
    height: 80vh;
  }
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }

  40% {
    transform: translateY(10px);
  }

  60% {
    transform: translateY(5px);
  }
}

@media screen and (max-width: 767px) {
  .wave-content h1 {
    font-size: 4rem;
    letter-spacing: 2px;
  }

  .wave-arrow img {
    width: 50px;
  }
}

@media screen and (max-width: 602px) {
  .hero {
    margin: 230px 0 140px;
  }
}

@media screen and (max-width: 540px) {
  .wave-content h1 {
    font-size: 3rem;
    letter-spacing: 2px;
  }

  .wave-arrow img {
    width: 40px;
  }
}

@media screen and (max-width: 1024px) {
  .section-top {
    top: 10%;
    left: 5%;
    right: 5%;
    width: auto;
  }

  .section-top h5 {
    font-size: 18px;
    margin-bottom: 14px;
  }

  .section-top h2 {
    font-size: 32px;
    line-height: 1.4;
    word-break: keep-all;
    margin-bottom: 16px;
  }

  .section-top p {
    font-size: 20px;
    font-weight: 500;
    color: #ddd;
  }

  .big-text {
    font-size: 4rem;
    gap: 10px;
    padding: 0 5%;
    text-align: center;
  }

  .third-section {
    height: 80vh;
  }
}

@media screen and (orientation: landscape) and (max-width: 1370px) {
  .third-section {
    height: 700px;
  }

  .big-text {
    font-size: 5rem;
  }
}

@media screen and (orientation: landscape) and (max-width: 1024px) {
  .third-section {
    height: 600px;
  }

  .big-text {
    font-size: 5rem;
  }
}

@media screen and (max-width: 540px) {
  .section-top {
    top: 15%;
    left: 5%;
    right: 5%;
    width: auto;
  }

  .section-top h5 {
    font-size: 13px;
    margin-bottom: 14px;
  }

  .section-top h2 {
    font-size: 20px;
    line-height: 1.4;
    word-break: keep-all;
    margin-bottom: 10px;
  }

  .section-top p {
    font-size: 15px;
    font-weight: 500;
    color: #ddd;
  }

  .big-text {
    font-size: 16vw;
    gap: 10px;
    padding: 0 5%;
    text-align: center;
  }

  .third-section {
    height: 75vh;
  }
}

@media screen and (min-width: 768px) {
  .service-box:hover .right-text,
  .service-box:active .right-text,
  .service-box:focus .right-text {
    color: #000;
    opacity: 1;
  }

  .service-box:hover,
  .service-box:active,
  .service-box:focus {
    background-color: #fff;
    background-image: none;
    z-index: 10;
    transform: scale(1.03);
    transition: background-color 1s ease, transform 1.5s ease;
  }

  .service-box:hover h3,
  .service-box:active h3,
  .service-box:focus h3 {
    color: #000;
  }
}

@media screen and (max-width: 1370px) {
  .service-box {
    padding: 36px 30px;
  }

  .left-text {
    width: 40%;
  }

  .left-text h3 {
    font-size: 28px;
  }

  .right-text {
    width: 60%;
  }

  .right-text p {
    font-size: 22px;
    word-break: keep-all;
  }

  .wwd-item h3 {
    left: 30px;
    top: 30px;
  }

  .wwd-item p {
    left: 0;
    right: 0;
    width: 100%;
    padding: 0 30px;
    top: 100px;
  }
}

@media screen and (max-width: 767px) {
  .left-text h3 {
    line-height: 1.4;
    font-size: 20px;
  }

  .left-text {
    width: 42%;
    margin-bottom: 7px;
  }

  .right-text {
    width: 58%;
    text-align: left;
    color: #eee;
    opacity: 1;
  }

  .right-text p {
    position: relative;
    font-size: 14px;
    line-height: 1.4;
    margin: 0;
    display: block;
    transform: translateX(0);
    transition: all 1s ease;
  }

  .service-box {
    border-bottom: 1px solid #ddd;
    padding: 24px 0;
  }

  .service-box:last-child {
    border-bottom: 0;
  }

  .services-section {
    display: block;
    padding: 0 24px 40px;
    background-color: #000;
  }
}

@media screen and (max-width: 540px) {
  .left-text h3 {
    font-size: 18px;
  }

  .left-text {
    width: 100%;
  }

  .right-text p {
    font-size: 12px;
  }

  .right-text {
    width: 100%;
  }

  .services-section {
    display: block;
    padding: 0 15px 20px;
    background-color: #000;
  }

  .service-box {
    flex-direction: column;
    align-items: stretch;
  }
}

@media screen and (max-width: 1024px) {
  .what-we-do {
    width: 95%;
    padding: 30px 20px;
    margin-top: -100px;
  }

  .wwd-header h5 {
    font-size: 0.9rem;
    letter-spacing: 1px;
  }

  .wwd-header h2 {
    font-size: 1.8rem;
  }

  .wwd-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, 200px);
    gap: 20px;
  }

  .wwd-item {
    background-size: 100% 1px, 100% 1px, 1px 100%, 1px 100%;
  }

  .wwd-item h3 {
    font-size: 1.5rem;
    top: 20px;
    left: 20px;
  }

  .wwd-item img {
    width: 50px;
    bottom: 20px;
    right: 20px;
  }

  .wwd-item p {
    font-size: 0.9rem;
    top: 100px;
    padding: 0 20px;
  }

  .wwd-item:hover h3 {
    font-size: 1.5rem;
  }

  .wwd-item:hover p {
    width: 90%;
    font-size: 0.9rem;
  }

  .wwd-item:hover img {
    display: none;
  }

  .wwd-item:hover {
    transform: scale(1.01);
  }
}

@media screen and (max-width: 540px) {
  .wwd-grid {
    grid-template-columns: repeat(1, 1fr);
    grid-template-rows: repeat(6, 200px);
  }
}

@media screen and (max-width: 1024px) {
  .portfolio-section {
    margin-top: 100px;
    width: 95%;
    padding: 40px 0;
  }

  .portfolio-header h5,
  .portfolio-header h2 {
    transform: none;
    text-align: center;
  }

  .portfolio-content {
    flex-direction: column;
    width: 100%;
    align-items: center;
    gap: 30px;
  }

  .slider-container {
    width: 100%;
    overflow: visible;
  }

  .image-row {
    flex-wrap: wrap;
    align-items: center;
    width: 100%;
    gap: 20px;
    animation: slideUp 2s ease-in-out both;
  }

  .image-box {
    width: calc((100% - 20px) / 2);
    height: 250px;
    font-size: 1.5rem;
    margin: 0 auto !important;
    opacity: 0;
    animation: fadeInUp 1.5s ease forwards;
  }

  .image-box:last-child {
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .image-box:nth-child(2) {
    animation-delay: 0.2s;
  }

  .image-box:nth-child(3) {
    animation-delay: 0.4s;
  }

  .image-box:nth-child(4) {
    animation-delay: 0.6s;
  }

  .arrow-icons {
    display: none;
  }
}

@media screen and (max-width: 540px) {
  .portfolio-section {
    margin-top: 100px;
    width: 95%;
    padding: 40px 0;
  }

  .portfolio-header h5,
  .portfolio-header h2 {
    transform: none;
    text-align: center;
  }

  .portfolio-content {
    flex-direction: column;
    width: 100%;
    align-items: center;
    gap: 30px;
  }

  .slider-container {
    width: 100%;
    overflow: visible;
  }

  .image-row {
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: 20px;
    animation: slideUp 2s ease-in-out both;
  }

  .image-box {
    width: 90%;
    height: 250px;
    font-size: 1.5rem;
    margin: 0 auto !important;
    opacity: 0;
    animation: fadeInUp 1.5s ease forwards;
  }

  .image-box:last-child {
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .image-box:nth-child(2) {
    animation-delay: 0.2s;
  }

  .image-box:nth-child(3) {
    animation-delay: 0.4s;
  }

  .image-box:nth-child(4) {
    animation-delay: 0.6s;
  }

  .arrow-icons {
    display: none;
  }
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@media screen and (max-width: 1024px) {
  .btn-kakao {
    right: 24px;
    bottom: 24px;
  }

  .footer-section {
    padding: 30px 15px 22px;
    text-align: left;
  }

  .footer-contact {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
  }

  .footer-heading {
    font-size: 16px;
    text-align: left;
    margin: 0;
  }

  .footer-contact-btn {
    font-size: 12px;
    padding: 8px 16px;
    margin: 0;
    font-weight: 500;
  }

  .footer-info {
    font-size: 12px;
    line-height: 1.6;
    margin-bottom: 36px;
  }

  .footer-title {
    font-size: 26px;
    letter-spacing: 0;
  }
}
