/* Import Fonts */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@400;700&display=swap');

/* Global Styles */
body {
  font-family: 'Noto Sans KR', sans-serif;
  text-align: center;
  margin: 0;
  font-size: 16px; 
  word-break: keep-all;
}

.content {
  padding: 2rem;
}

/* Utility Classes */
.primary-color { color: #282AC0; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.text-center { text-align: center; }
.text-red { color: red; }
.text-white { color: #ffffff; }
.text-mint { color: #6cf6ff; }
.light-text { font-weight: 400; }

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: white;
  backdrop-filter: blur(10px);
  padding: 5px 0;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 15px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo-symbol {
  height: 30px;
  margin-left: 20px;
  width: auto;
}

.logo-ko {
  height: 15px;
}

.main-nav {
  display: none;
}

.main-nav.active{
  display:flex;
}

.main-nav ul {
  display: flex;
  flex-direction: column;
  list-style: none;
  margin: 0;
  padding: 20px 0;
  gap: 20px;
}

.main-nav a {
  position: relative;
  color: #333;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  transition: color 0.3s ease;
}

.main-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background-color: #282AC0;
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.main-nav a:hover {
  color: #282AC0;
}

.main-nav a:hover::after {
  width: 100%;
}

/* Social Icons */
.social-icons {
  display: none;
  gap: 25px;
  margin-left: 30px;
}

.social-icons img {
  width: 24px;
  height: 24px;
  filter: brightness(0);
  transition: opacity 0.3s ease;
}

.social-icons a:hover img {
  opacity: 0.7;
}

/* Hamburger Menu */
.hamburger-menu {
  display: flex;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  padding: 5px;
}

.hamburger-menu span {
  display: block;
  width: 25px;
  height: 2px;
  background-color: #333;
  transition: all 0.3s ease;
}

.hamburger-menu.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.hamburger-menu.active span:nth-child(2) {
  opacity: 0;
}

.hamburger-menu.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Vertical Walls */
.vertical-wall,
.right-wall {
  display: none;
  position: fixed;
  top: 0;
  width: 60px;
  height: 100vh;
  background-color: #fff;
  justify-content: center;
  align-items: center;
  z-index: 999;
  pointer-events: none;
}

.vertical-wall { left: 0; }
.right-wall { right: 0; }

.vertical-logo {
  width: 100px;
  transform: rotate(-90deg);
  pointer-events: auto;
}

.vertical-bottom-logo {
  width: 100px;
  transform: rotate(90deg);
  margin-top: 100px;
}

/* Sections */
.section-background-gap {
  padding: 100px 0 0;
}

#section1 {
  position: relative;
  overflow: hidden;
  background-color: black;
  z-index: 0;
}

.bg-video {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100vw;
  height: 100vh;
  object-fit: contain; /* ✅ 모바일 기본값 */
  object-position: center;
  z-index: 1;
  min-width: 100%;
  min-height: 100%;
  max-width: none;
  max-height: none;
}

#section2 {
  background-image: url('../images/dbo_main_p2_ver2.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

#section3 {
  background-image: url('../images/dbo_main_p3_ver2.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Typography */
h2 {
  font-size: 2.5rem;
  margin-bottom: -15px;
  letter-spacing: 1px;
}

.s2-title {
  font-size: 3rem;
}

.s2-p {
  margin-top: 2rem;
}

h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.sub-header {
  font-size: 1.8rem;
  margin-bottom: 2rem;
}

.upper-sub-header {
  font-size: 1.2rem;
  margin-left: 0.3rem;
  font-weight: bold;
}

.section4-header {
  margin-top: 0.1rem;
  line-height: 0.9;
  letter-spacing: -0.1rem;
}

.section4-h4 {
  margin: 2rem 0;
  font-weight: 400;
}

.section p {
  font-size: 1.1rem;
  line-height: 1.6;
}

.blue-marker {
  background-color: #2927C3;
  font-weight: bold;
}

.accent {
  position: relative;
}

.accent::before {
  content: '';
  position: absolute;
  width: 8px;
  height: 8px;
  background-color: #282AC0;
  border-radius: 50%;
  left: 50%;
  transform: translateX(-50%);
}

/* Logos */
.logos-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
}

.logo-image {
  height: 40px;
  width: auto;
  filter: brightness(0) invert(1);
  margin-left: -20px;
}

.logo-image:first-child {
  margin-left: 0;
}

.columns {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  max-width: 90%;
  margin: 3rem auto 0 auto;  
}

.column {
  background-color: #fff;
  height: 385px;
  position: relative;
  display: flex;
  flex-direction: column;
}

.column h4 {
  color: white;
  font-size: 1.3rem;
  margin: 0;
  text-align: center;
  position: absolute;
  top: 75%;
  text-shadow: 0 0 5px rgba(0, 0, 0, 0.6), 0 0 10px rgba(0, 0, 0, 0.4);
}

.column h4 .card-sub-title {
  font-size: 0.9rem;
  font-weight: 400;
  display: block;
}

.column-content {
  height: 80%;
  background-color: gray;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px;
  border-radius: 15px;
  transition: transform 0.3s ease;
}

.column-content::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(39, 41, 194, 1);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
  border-radius: 15px;
}

.column-content .column-hover-content {
  opacity: 0;
  transition: opacity 0.3s ease;
  color: white;
  z-index: 2;
}

.column:hover .column-content::after,
.column:hover .column-content .column-hover-content {
  opacity: 1;
}

.hover-title {
  font-size: 1.4rem;
  font-weight: bold;
  margin-bottom: 8px;
}

.hover-sub-title {
  font-size: 0.9rem;
}

.hover-divider {
  width: 30px;
  height: 2px;
  background-color: white;
  margin: 15px auto;
  opacity: 0.6;
}

.column ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
  text-align: center;
}

.column li {
  font-size: 1rem;
  margin-bottom: 8px;
}

/* Production Section */
.production-container {
  display: flex;
  flex-direction: column;
  gap: 30px;
  padding: 30px 5%;
  color: #000;
}

.production-left {
  flex: 1 1 100%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 15px;
  margin-top: 2rem;
}

.production-left .logos {
  display: flex;
  gap: 10px;
}

.production-left .logos img {
  max-width: 100px;
}

.main-title {
  font-size: 2rem;
  font-weight: bold;
  color: white;
  margin: 0;
}

.sub-title {
  font-size: 1.2rem;
  color: white;
  opacity: 0.9;
  margin-top: -0.8rem;
}

.production-right {
  flex: 1 1 100%;
  min-width: 0;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
}

.feature-card {
  position: relative;
  background-color: rgba(200, 200, 200, 0.7);
  border: 2px solid #2729C0;
  border-top-right-radius: 15px;
  border-bottom-left-radius: 15px;
  padding: 15px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  aspect-ratio: 2.2 / 2.5;
  box-sizing: border-box;
}

.feature-tag {
  position: absolute;
  top: 0;
  left: 0;
  background-color: #2729C0;
  color: white;
  font-size: 0.8rem;
  font-weight: bold;
  padding: 5px 10px;
  border-bottom-right-radius: 8px;
}

.feature-title {
  font-size: 1.2rem;
  font-weight: 600;
  text-align: center;
  margin: 20px auto 8px;
  padding: 0 1rem;
  color: #000;
  word-break: keep-all;
  overflow-wrap: break-word;
  max-width: 80%;
}

.feature-divider {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  width: 50%;
  height: 1px;
  background-color: #2729C0;
  pointer-events: none;
}

.feature-desc {
  font-size: 1rem;
  position: absolute;
  top: 75%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #000;
  line-height: 1.4;
  text-align: center;
  width: 80%;
}

/* Features List */
.features-container {
  max-width: 100%;
  margin: 0 auto;
}

ul.features {
  margin-top: 2rem;
  font-size: 1rem;
  list-style-type: none;
  padding: 0;
  text-align: left;
}

ul.features li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.8rem;
}

ul.features li::before {
  content: '✔';
  position: absolute;
  left: 0;
  color: #3153a5;
  font-weight: 900;
}

.section7-h2{
  font-weight: 400;
  line-height: 0.9;
}

.section7-subtitle{
  margin: 3rem 0;
}

/* DBO Introduce */
#dbo-introduce {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
}

.dbo-team {
  flex: 1;
  padding: 1rem;
  width: 100%;
}

.dbo-map {
  flex: 1;
  width: 100%;
  min-height: 300px;
}

.dbo-map img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

/* Form (Contact Form - 복원된 원본 스타일) */
form {
  max-width: 400px;
  margin: 30px auto;
  padding: 20px;
}

.form-group {
  margin-bottom: 20px;
}

.label {
  display: block;
  text-align: left;
  font-size: 1.1em;
  font-weight: 500;
  margin-bottom: 4px;
  color: #333;
}

.required {
  color: #ff0000;
}

input[type='text'],
input[type='tel'],
textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #333;
  border-radius: 0;
  font-size: 15px;
  background-color: #fff;
}

.tel-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.tel-group input[type='tel'] {
  width: calc((100% - 96px) / 3);
  flex: none;
  text-align: center;
}

.tel-separator {
  color: #333;
  font-weight: bold;
  flex: none;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  font-size: 14px;
  color: #333;
}

.checkbox-group input[type='checkbox'] {
  margin-right: 8px;
  margin-top: 4px;
}

button {
  width: 100%;
  padding: 12px;
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 4px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

button:hover {
  background-color: #0056b3;
}

#submitButton:disabled {
  background-color: #838fc9;
  cursor: not-allowed;
}

.details-link {
  cursor: pointer;
  color: darkblue;
  text-decoration: underline;
  margin-left: 0.5em;
  font-size: 0.8em;
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: background-color 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
}

.modal.show {
  display: block;
  opacity: 1;
  visibility: visible;
  background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
  position: relative;
  background-color: #fefefe;
  margin: 10vh auto;
  padding: 15px;
  border-radius: 8px;
  width: 90%;
  max-width: 600px;
  transform: translateY(-20px);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.modal.show .modal-content {
  transform: translateY(0);
  opacity: 1;
}

.close {
  color: #aaa;
  float: right;
  font-size: 24px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

.privacy-content {
  padding: 15px;
}

.privacy-title {
  color: #3153a5;
  text-align: center;
  margin-bottom: 15px;
}

.privacy-description {
  margin: 8px 0;
}

.privacy-list {
  margin: 15px 0;
  padding: 0;
  list-style: none;
}

.privacy-item {
  margin-bottom: 10px;
  padding: 8px;
  background-color: #fff;
  border: 1px solid #aaa;
}

.privacy-item-title {
  color: #3153a5;
  display: block;
  margin-bottom: 5px;
}

.privacy-sublist {
  margin: 8px 0 0 15px;
  padding: 0;
  list-style: disc;
}

.privacy-sublist li,
.privacy-text {
  margin: 5px 0;
  color: #555;
}

/* Quick Consult */
.quick-consult {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
}

.quick-consult button {
  width: 60px;
  height: 60px;
  border-radius: 8px;
  background-color: #337AB7;
  color: white;
  border: none;
  font-size: 14px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.quick-consult button:hover {
  background-color: #286090;
  transform: translateY(-2px);
  box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

/* Timeline */
.timeline-wrapper {
  margin-top: 3rem;
}

.event__date {
  font-size: 1.3rem;
  margin-bottom: 0.8rem;
}

.event__content {
  font-size: 1.1rem;
}

.step-number {
  font-size: 3rem;
  font-weight: bold;
}

.step-title {
  margin-top: 0;
  width: 90%;
  margin: 0 auto;
  word-break: keep-all;
}

.step-content{
  width: 60%;
  margin: 0 auto;
  text-align: center;
  word-break: keep-all;
}

.step-wrapper {
  padding: 80px 20px;
}

.step-image {
  width: 70px;
  display: block;
  margin: 20px auto 0;
  padding-top: 20px;
}

.horizontal-line {
  position: absolute;
  top: 34%;
  left: 0;
  right: 0;
  height: 2px;
  background-color: #3153a5;
}

.swiper-slide {
  margin: 0;
  position: relative;
  height: 300px;
}

.swiper-slide:first-child .horizontal-line::before,
.swiper-slide:nth-last-child(2) .horizontal-line::after {
  content: "";
  width: 12px;
  height: 12px;
  border: 2px solid #3153a5;
  border-radius: 50%;
  position: absolute;
  top: 34%;
  background-color: white;
}

.swiper-slide:first-child .horizontal-line::before {
  left: 0;
  transform: translate(-50%, -50%);
}

.swiper-slide:nth-last-child(2) .horizontal-line::after {
  right: 0;
  transform: translate(0, -50%);
}

/* Video Section */
.video-container {
  position: relative;
  max-width: 100%;
  margin: 0 auto;
  padding: 15px;
}

.video-item {
  padding: 0 0.5rem;
  cursor: pointer;
}

.video-item img:hover {
  transform: scale(1.05);
  transition: transform 0.3s ease;
}

.video-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transition: transform 0.3s ease;
  transform-origin: center center;
}

.video-title {
  font-size: 1rem;
  display: block;
  margin-top: 0.8rem;
  text-align: center;
}

.video-list {
  margin-top: 2rem;
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
}

.video-list .video-item {
  background-color: rgb(164, 164, 179);
  flex-basis: 100%;
  height: 12rem;
  margin: 0.8rem;
}

.video-modal {
  display: flex;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  z-index: 2000;
  justify-content: center;
  align-items: center;
}

.video-modal-content {
  position: relative;
  width: 95%;
  max-width: 800px;
  aspect-ratio: 16 / 9;
}

.video-modal-close {
  position: absolute;
  top: -30px;
  right: 5px;
  color: #fff;
  font-size: 28px;
  cursor: pointer;
  z-index: 2001;
}

.video-modal iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* Query Container */
.query-container {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.query-container .map {
  background-color: lightgray;
  flex: 1;
}

.query-container .query {
  background-color: lightgray;
  flex: 1;
}

/* FullPage Navigation */
#fp-nav {
  z-index: 1000;
}

#fp-nav ul li a span {
  background-color: black;
}

#fp-nav ul li a.active span {
  background-color: black;
}

#fp-nav ul li .fp-tooltip {
  color: black;
}

/* Slick Slider */
.slick-prev:before,
.slick-next:before {
  display: none;
}

.slick-arrow {
  width: 30px;
  height: 30px;
  position: absolute;
  z-index: 1;
  opacity: 0.6;
  transition: opacity 0.3s ease;
}

.slick-arrow:hover {
  opacity: 1;
}

.slick-arrow.slick-prev {
  left: -15px;
  background: url('../images/btn-slick-prev.png') no-repeat center;
  background-size: contain;
}

.slick-arrow.slick-next {
  right: -15px;
  background: url('../images/btn-slick-next.png') no-repeat center;
  background-size: contain;
}

@media (min-width: 576px) {
  .content {
    padding: 2rem;
  }

  .swiper-wrapper {
    padding-left: 3rem;
  }

  .step-number {
    font-size: 4rem;
    font-weight: bold;
  }

  .step-wrapper {
    padding: 80px 80px 80px 3rem;
  }

  .step-image {
    width: 80px;
  }


  .columns {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  .column {
    height: 400px;
  }

  .video-list .video-item {
    flex-basis: 45%;
    height: 14rem;
  }

  .main-title {
    font-size: 2.5rem;
  }

  .sub-title {
    font-size: 1.4rem;
  }

  .feature-title {
    font-size: 1.2rem;
  }

  .feature-desc {
    font-size: 1rem;
  }

  .section p {
    font-size: 1.2rem;
  }

  .video-title {
    font-size: 1.1rem;
  }

  .making-category li {
    font-size: 1.2rem;
  }
}

@media (min-width: 600px) {
  .feature-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 768px) {
  .bg-video {
    object-fit: cover;
  }

  .content{
    padding: 4rem;
  }

  .main-nav {
    display: flex;
  }

  .step-content{
    width: 80%;
  }
  .main-nav ul {
    flex-direction: row;
    gap: 3rem;
  }

  .main-nav.active {
    display: flex;
    position: static;
    background-color: transparent;
    padding: 0;
    box-shadow: none;
  }

  .main-nav.active ul {
    flex-direction: row;
    align-items: center;
  }

  .main-nav a {
    font-size: 1.1rem;
  }

  .social-icons {
    display: flex;
  }

  .hamburger-menu {
    display: none;
  }

  .vertical-wall,
  .right-wall {
    display: flex;
  }

  .swiper-wrapper{
    padding-left: 100px;
  }

  .columns {
    grid-template-columns: repeat(3, 1fr);
  }

  .production-left {
    flex: 1 1 35%;
    margin-top: 0;
  }

  .production-right {
    flex: 1 1 60%;
  }

  #dbo-introduce {
    flex-direction: row;
  }

  .dbo-team {
    flex: 2;
    padding: 2rem;
  }

  .dbo-map {
    flex: 3;
    min-height: 400px;
  }

  .query-container {
    flex-direction: row;
  }

  .query-container .map {
    flex: 5;
  }

  .query-container .query {
    flex: 3;
  }

  .video-container {
    padding: 20px 40px;
    max-width: 1000px;
  }

  .video-modal-content {
    width: 90%;
    max-width: 960px;
  }

  .video-modal-close {
    top: -40px;
    right: 0;
  }

  h2 {
    font-size: 3.5rem;
  }

  .s2-title {
    font-size: 4rem;
  }

  h3 {
    font-size: 1.6rem;
  }

  .sub-header {
    font-size: 2rem;
  }

  .upper-sub-header {
    font-size: 1.3rem;
  }

  .section4-h4 {
    margin: 3rem 0;
  }

  .logo-symbol {
    height: 40px;
    margin-left: 40px;
  }

  .logo-ko {
    height: 20px;
  }

  .quick-consult button {
    width: 80px;
    height: 80px;
    font-size: 16px;
  }

  .slick-arrow {
    width: 40px;
    height: 40px;
  }

  .slick-arrow.slick-prev {
    left: -25px;
  }

  .slick-arrow.slick-next {
    right: -25px;
  }
}

@media (min-width: 992px) {
  .columns {
    grid-template-columns: repeat(4, 1fr);
  }

  h2 {
    font-size: 4rem;
  }

  .s2-title {
    font-size: 5rem;
  }

  h3 {
    font-size: 1.8rem;
  }

  .sub-header {
    font-size: 2.5rem;
  }

  .upper-sub-header {
    font-size: 1.5rem;
  }

  .main-title {
    font-size: 3rem;
  }

  .sub-title {
    font-size: 1.5rem;
  }

  .feature-title {
    font-size: 1.4rem;
  }

  .feature-desc {
    font-size: 1.1rem;
  }

  .section p {
    font-size: 1.3rem;
  }

  .column h4 {
    font-size: 1.5rem;
  }

  .column h4 .card-sub-title {
    font-size: 1rem;
  }

  .hover-title {
    font-size: 1.6rem;
  }

  .hover-sub-title {
    font-size: 1rem;
  }

  .column li {
    font-size: 1.2rem;
  }

  .video-title {
    font-size: 1.2rem;
  }

  .making-category li {
    font-size: 1.3rem;
  }

  .event__date {
    font-size: 1.3rem;
  }

  .event__content {
    font-size: 1.1rem;
  }

  .step-number {
    font-size: 4rem;
  }

  .step-wrapper {
    padding: 80px;
  }

  .step-image {
    width: 80px;
  }

  .swiper-slide {
    height: 300px;
  }  
}

@media (min-width: 1200px) {
  .columns {
    grid-template-columns: repeat(5, 1fr);
    max-width: 1300px;
  }

  .section-background-gap {
    padding: 200px 200px 0;
  }

  .features-container {
    max-width: 540px;
  }

  .video-container {
    max-width: 1400px;
  }

  .production-container {
    flex-direction: row;
    padding: 40px 10%;
    gap: 40px;
  }

}