@charset "UTF-8";

.block {
  height: 0px;
}

.sub_banner {
  width: 100%;
  height: 350px;
  position: relative;
  background-image: url(../img/sub_main.jpg);
  background-size: cover;
  background-position: center center;
  position: relative;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.12);
}
.bn2 {
  background-image: url(../img/sub_main2.jpg);
  background-size: cover;
  background-position: center center;
}
.bn3 {
  background-image: url(../img/sub_main3.jpg);
  background-size: cover;
  background-position: center center;
}

.sub_banner_txt {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 350px;
}

.sub_banner_txt p {
  font-size: 25px;
  color: rgb(255, 255, 255);
}

.sub_container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 40px 20px;
}
/* Gallery Section */
.gallery-section {
  padding: 80px 0;
}

.gallery-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
}

/* Filter Buttons */
.filter-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 50px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 12px 24px;
  background: white;
  border: 2px solid #ff0040;
  color: #ff0040;
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.3s;
  font-weight: 600;
}

.filter-btn:hover,
.filter-btn.active {
  background: #ff0040;
  color: white;
}

/* Gallery Grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  margin-bottom: 50px;
}

.gallery-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
  background: white;
  height: 250px;
}

.gallery-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.gallery-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.3s;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(0, 0, 0, 0.7) 100%
  );
  opacity: 0;
  transition: opacity 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay i {
  font-size: 48px;
  color: white;
}

.gallery-info {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  color: white;
  transform: translateY(20px);
  transition: transform 0.3s;
}

.gallery-item:hover .gallery-info {
  transform: translateY(0);
}

.gallery-info h3 {
  font-size: 15px;
  margin-bottom: 5px;
  text-shadow: 0 0 8px #000;
}

.gallery-info p {
  font-size: 14px;
  opacity: 0.9;
}

/* Loading Message */
.loading-message {
  text-align: center;
  padding: 40px;
  font-size: 18px;
  color: #666;
}

.no-images {
  text-align: center;
  padding: 60px;
  color: #999;
}

.no-images i {
  font-size: 64px;
  margin-bottom: 20px;
  display: block;
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  z-index: 9999;
  opacity: 0;
  transition: opacity 0.3s;
}

.lightbox.active {
  display: flex;
  opacity: 1;
}

.lightbox-content {
  position: relative;
  max-width: 90%;
  max-height: 90%;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: white;
  font-size: 40px;
  cursor: pointer;
  z-index: 10000;
  transition: transform 0.2s;
}

.lightbox-close:hover {
  transform: scale(1.1);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: white;
  font-size: 30px;
  cursor: pointer;
  background: rgba(0, 0, 0, 0.5);
  padding: 15px 20px;
  border-radius: 50%;
  transition: all 0.3s;
}

.lightbox-nav:hover {
  background: rgba(255, 0, 64, 0.8);
}

.lightbox-prev {
  left: 30px;
}

.lightbox-next {
  right: 30px;
}

.lightbox-info {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 15px 25px;
  border-radius: 25px;
  text-align: center;
}

.lightbox-counter {
  font-size: 14px;
  opacity: 0.8;
  margin-bottom: 5px;
}

/** table 끝//**/

/* 오시는길 */

/* 오시는길 */
.map_wrap {
  padding: 60px 20px;
  max-width: 1000px;
  margin: 0 auto;
}
.root_daum_roughmap {
  width: 100% !important;
  padding-bottom: 30px;
}

.root_daum_roughmap .cont .section.lst,
.root_daum_roughmap .wrap_controllers {
  display: none;
}

.map_info {
  background: #f8f9fb;
  padding: 20px 40px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  grid-gap: 10px;
}

.map_wrap .com-features-header {
  margin-bottom: 20px;
}
.map_info_box {
  display: flex;
  justify-content: center;
  align-items: center;
  grid-gap: 5px;
  font-size: 17px;
  color: #555;
  padding: 0 20px;
}
.map_info_box [data-lucide] {
  width: 15px !important;
  height: 15px !important;
  color: #2769b4;
}

.flag-ribbon {
  position: relative;
  height: 70px;
  max-width: 900px;
  background: linear-gradient(135deg, #4a7cdb 0%, #2769b4 50%, #1f4a9c 100%);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3),
    inset 0 2px 0 rgba(255, 255, 255, 0.2), inset 0 -2px 0 rgba(0, 0, 0, 0.2);
  clip-path: polygon(0% 0%, 100% 0%, 97% 30%, 100% 60%, 0% 60%, 3% 30%);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 20px;
  padding-bottom: 30px;
  color: #fff;
  font-weight: 600;
  margin: 0 auto;
}

.d_block {
  display: inline-block;
}

.m_block {
  display: none;
}

.d_block_480 {
  display: block;
}

.m_block_480 {
  display: none;
}

/*******************************************************************************************************************************
 *** PC ~ 테블릿
*******************************************************************************************************************************/
@media (max-width: 1024px) {
  .d_block {
    display: none;
  }

  .m_block {
    display: inline-block;
  }

  .sub_container {
    padding: 30px;
  }

  .sub_container .sub_title h2 {
    font-size: 32px;
  }

  .sub_banner,
  .sub_banner_txt {
    height: 320px;
  }

  .sub_banner_txt span img {
    height: 50px;
  }

  .sub_banner_txt p {
    font-size: 18px;
  }

  .sub_container .sub_title p {
    font-size: 16px;
    color: #888;
    padding: 5px 0 20px 0;
  }

  .sub_banner_txt h2 {
    font-size: 32px;
  }

  .sub_banner_txt strong {
    font-size: 18px;
  }

  .sub_banner_txt p {
    font-size: 17px;
    padding-top: 15px;
  }

  /** company_box 시작**/
  .company_box .company_txt {
    width: 100%;
    border-radius: 20px;
    padding: 2rem;
  }

  .company_box .company_txt h2 {
    font-size: 18px;
  }

  .company_box .company_txt p {
    font-size: 17px;
  }

  /** company_box 끝//**/

  /* sub_sub */
  .sub_sub .container div:last-child {
    padding-top: 160px;
  }

  .sub_sub h3 {
    font-size: 26px;
    line-height: 1.4;
    padding-bottom: 2.6rem;
  }

  .sub_sub p {
    font-size: 16px;
  }
}

/*******************************************************************************************************************************
 *** 모바일
*******************************************************************************************************************************/

/* Responsive */
@media (max-width: 768px) {
  .page-header h1 {
    font-size: 32px;
  }

  .gallery-container {
    padding: 0 20px;
  }

  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
  }

  .filter-buttons {
    gap: 10px;
  }

  .filter-btn {
    padding: 8px 16px;
    font-size: 14px;
  }

  .lightbox-nav {
    font-size: 24px;
    padding: 10px 15px;
  }

  .lightbox-prev {
    left: 15px;
  }

  .lightbox-next {
    right: 15px;
  }

  .lightbox-close {
    top: 15px;
    right: 20px;
    font-size: 30px;
  }

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

@media (max-width: 480px) {
  .page-header p {
    font-size: 15px;
  }

  .gallery-section {
    padding: 60px 0 20px;
  }

  .gallery-item {
    height: 190px;
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/*******************************************************************************************************************************
 *** 모바일 max-width 480
*******************************************************************************************************************************/
@media (max-width: 480px) {
  .sub > p {
    padding: 6% 1%;
    font-size: 17px;
    text-align: left;
    line-height: 1.8;
  }

  ul.list {
    padding: 0;
  }

  .sub_banner {
    height: 240px;
    background-size: cover;
    background-position: center center;
  }

  .sub_banner_txt {
    height: 150px;
  }

  .sub_banner_txt span img {
    height: 26px;
  }

  .sub_banner_txt h2 {
    font-size: 20px;
  }

  .sub_banner_txt strong {
    font-size: 13px;
  }

  .sub_banner_txt h2 span {
    display: block;
  }

  .sub_banner_txt strong {
    font-size: 14px;
  }

  .sub_banner_txt p {
    display: block;
    font-size: 15px;
  }

  .flag-ribbon {
    height: 100px;
    background: linear-gradient(135deg, #4a7cdb 0%, #2769b4 50%, #1f4a9c 100%);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3),
      inset 0 2px 0 rgba(255, 255, 255, 0.2), inset 0 -2px 0 rgba(0, 0, 0, 0.2);
    clip-path: polygon(0% 0%, 100% 0%, 97% 30%, 100% 60%, 0% 60%, 3% 30%);
    font-size: 18px;
    text-align: center;
    padding-bottom: 40px;
  }
.map_info {
  padding: 20px;
}


}

@media (max-width: 360px) {
  .sub_banner_txt span img {
    height: 20px;
  }
}
