@charset "UTF-8";
/*!
* Start Bootstrap - Grayscale v7.0.6 (https://startbootstrap.com/theme/grayscale)
* Copyright 2013-2023 Start Bootstrap
* Licensed under MIT (https://github.com/StartBootstrap/startbootstrap-grayscale/blob/master/LICENSE)
*/
/*!
 * Bootstrap  v5.2.3 (https://getbootstrap.com/)
 * Copyright 2011-2022 The Bootstrap Authors
 * Copyright 2011-2022 Twitter, Inc.
 * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
 */

/* 신규디자인 */
html, body {
  margin: 0;
  padding: 0;
  background-color: #003269; /* 네비게이션바와 동일한 짙은 남색 */
  color: white;
  font-family: 'Pretendard', sans-serif; /* 원하는 폰트 사용 가능 */
}
.navbar {
  background-color: #003269; /* 짙은 남색 */
  padding: 1rem 2rem;
  position: sticky;
  top: 0;
  z-index: 999;
  height : 60px;
}


.navbar-container {
  max-width: 1200px;
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
}

.navbar-container h2 {
  font-size: 36px; /* 제목 크기 키움 */
  /* margin-bottom: 40px; */
  color: white; /* 밝은 색 텍스트로 제목 강조 */
  font-weight: bold;
  text-transform: uppercase; /* 제목 대문자화 */
  width: 30%;
  align-items: center;
}

.navbar-container h1 {
  font-size: 24PX; /* 제목 크기 키움 */
  /* margin-bottom: 40px; */
  color: white; /* 밝은 색 텍스트로 제목 강조 */
  font-weight: bold;
  text-transform: uppercase; /* 제목 대문자화 */
  width: 30%;
  align-items: center;
}

.navbar-menu {
  list-style: none;
  display: flex;
  gap: 2rem;
  margin: 0;
  padding: 0;
}

.navbar-menu li a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  font-size: 24px; /* 제목 크기 키움 */
  transition: color 0.3s ease;
}

.navbar-menu li a:hover {
  color: #cde3f5;
}
.menu-toggle {
  display: none;
  font-size: 28px;
  color: white;
  cursor: pointer;
}

@media (max-width: 768px) {
  .navbar-menu li a {
    font-size: 15px; /* 메뉴 링크 글씨 작게 */
  }

  .navbar h1 {
    display: none; /* 모바일에서 h2 숨김 */
  }

  .navbar h2 {
    font-size: 22px;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

/* 기본 레이아웃 */
.masthead {
  position: relative;
  height: 35vh;
  background: #88C2FF;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: white;
  display: flex;
  /* align-items: center; */
  justify-content: center;
  text-align: center;
  padding: 2rem;
  overflow: hidden;
}

.masthead .overlay {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

.masthead .container {
  position: relative;
  z-index: 2;
  max-width: 900px;
}

.brand-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  margin-top: 0.5rem;
  letter-spacing: 0.2rem;
}

.tagline {
  font-size: 1.5rem;
  font-weight: 300;
  margin-bottom: 1.5rem;
  color: #cde3f5;
}

.lead {
  font-size: 1.125rem;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.lead.small {
  font-size: 1rem;
  color: #ddd;
}

.btn-primary {
  display: inline-block;
  margin-top: 1.5rem;
  padding: 0.75rem 1.5rem;
  background-color: rgb(0, 50, 105);
  color: white;
  border: none;
  border-radius: 0.5rem;
  font-weight: bold;
  transition: background-color 0.3s ease;
  text-decoration: none;
}
.btn-primary:hover {
  background-color: rgb(0, 80, 150);
}

/* 📱 반응형 디자인 */

@media screen and (max-width: 768px) {
  .masthead {
    height: auto; /* 고정 높이 제거 */
    padding: 4rem 1.5rem; /* 위아래 여유 있게 */
    flex-direction: column;
    text-align: center;
  }

  .masthead .container {
    max-width: 100%;
  }

  .masthead h2,
  .masthead p {
    font-size: 1rem; /* 필요 시 글자 크기 조절 */
  }

  .brand-title {
    font-size: 2.2rem;
  }
  .tagline {
    font-size: 1.2rem;
  }
  .lead {
    font-size: 1rem;
  }
}

/* 🎞️ 애니메이션 효과 */
.animate-fade-up {
  opacity: 0;
  transform: translateY(40px);
  animation: fadeUp 1.2s ease-out forwards;
  animation-delay: 0.4s;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 회사 소개 이미지 구역 */
.company-intro {
  position: relative;
  background: white;
  padding: 60px 0;
  text-align: center;
  color: white;
  /* box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6); */ /* 이미지 강조를 위한 그림자 */
  overflow: hidden;
}

.company-intro .overlay {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background-color: rgba(0, 0, 0, 0.1);
  z-index: 1;
}

.company-intro h2 {
  font-size: 36px; /* 제목 크기 키움 */
  margin-bottom: 40px;
  color: #003269; /* 밝은 색 텍스트로 제목 강조 */
  font-weight: bold;
  text-transform: uppercase; /* 제목 대문자화 */
}

.company-gallery {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 20px;
}

.company-gallery img {
  width: 30%;  /* 고정된 너비 */
  height: 350PX; /* 고정된 높이 */
  object-fit: cover; /* 이미지 비율 유지하며 잘림 */
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6); /* 강한 그림자 효과 */
  transition: transform 0.3s ease, box-shadow 0.3s ease; /* 마우스 호버 시 그림자 확대 효과 */
}

.company-gallery img:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8); /* 호버 시 그림자 강조 */
}

/* 모바일 대응 */
@media (max-width: 768px) {
  .company-gallery img {
      width: 80%;
      margin: 10px auto;
  }
}
.product-slider-wrapper {
  position: relative;
  overflow: hidden;
  width: 100%;
  padding: 2rem 0;
  background-color: white; /* 짙은 남색 */
  text-align: center;
}

.product-slider-wrapper h2 {
  font-size: 36px; /* 제목 크기 키움 */
  margin-bottom: 40px;
  color: #003269; /* 밝은 색 텍스트로 제목 강조 */
  font-weight: bold;
  text-transform: uppercase; /* 제목 대문자화 */
}

.product-slider {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.product {
  flex: 0 0 100%;
  text-align: center;
  padding: 1rem;
  box-sizing: border-box;
}

.product h3 {
  color: white;
  margin-top: 1rem;
  font-size: 2rem;
}

.product-images {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.product-images img {
  width: 30%;
  height: 600px;
  object-fit: cover;
  border: 2px solid #ccc;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

/* 좌우 버튼 */
.product-prev,
.product-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(255, 255, 255, 0.1);
  color: #003269;
  font-size: 2rem;
  border: none;
  cursor: pointer;
  padding: 10px;
  z-index: 10;
}

.product-prev { left: 10px; }
.product-next { right: 10px; }

.product-prev:hover,
.product-next:hover {
  background-color: rgba(255, 255, 255, 0.3);
}
@media (max-width: 768px) {
  .product-images img {
    display: none;
  }

  .product-images img:first-child {
    display: inline-block;
    width: 100%;
  }
}

/* FOOTER */
.business-footer {
  background-color: #003269;
  color: white;
  padding: 3rem 1rem 2rem;
  font-family: 'Pretendard', sans-serif;
}

.business-footer a {
  color: inherit;       /* 부모 텍스트 색상 따라감 */
  text-decoration: none; /* 밑줄 없앰 */
  cursor: pointer;      /* 클릭 가능한 커서 */
}
.business-footer-container {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 2rem;
  text-align: center;
}

.contact-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: #cde3f5;
}

.contact-card p{
  font-size: 1rem;
  margin: 0;
  color: white;
}

.footer-bottom {
  text-align: center;
  font-size: 0.875rem;
  margin-top: 2rem;
  color: #aaa;
  border-top: 1px solid #22314d;
  padding-top: 1rem;
}

.product-section-dark {
  background: linear-gradient(to bottom, #002248 0%, #000d1a 100%);
  padding: 60px 20px;
  color: #fff;
  font-family: 'Noto Sans KR', sans-serif;
  height: 600px;
}
.product-section {
  background: #ffffff;
  padding: 60px 20px;
  color: #333;
  font-family: 'Noto Sans KR', sans-serif;
}

.product-tabs {
  display: flex; overflow-x: auto;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 40px;
  border-bottom: 2px solid #eee;
}

.product-tabs .tab {
  flex: 0 0 auto;        /* 탭 너비 자동으로 맞춤 */
  background: none;
  border: none;
  color: #666;
  white-space: nowrap;   /* 너무 긴 글자는 줄바꿈 없이 스크롤 유도 */
  font-size: 1.2rem;
  font-weight: 600;
  padding: 14px 28px;
  border-bottom: 3px solid transparent;
  cursor: pointer;
  transition: 0.3s ease;
}

.product-tabs .tab:hover,
.product-tabs .tab.active {
  color: #003269;
  border-color: #003269;
}
@media (max-width: 768px) {
  .product-tabs {
    display: flex;
    justify-content: flex-start; /* 왼쪽 정렬 유지 */
    gap: 0.75rem;                /* 간격 약간 줄임 - 너무 크면 답답 */
    padding: 0 16px;             /* 좌우 여백 약간 늘려서 탭 끝이 너무 붙지 않게 */
    overflow-x: auto;
    -webkit-overflow-scrolling: touch; /* iOS 부드러운 스크롤 */
    scrollbar-width: thin;        /* 파이어폭스 스크롤바 얇게 */
    scrollbar-color: rgba(0,0,0,0.3) transparent; /* 스크롤바 색상 */
    /* 스크롤바 영역 공간 확보하려면 패딩-bottom 추가 가능 */
  }

  /* 크롬/사파리 스크롤바 꾸미기 */
  .product-tabs::-webkit-scrollbar {
    height: 6px;
  }
  .product-tabs::-webkit-scrollbar-thumb {
    background-color: rgba(0,0,0,0.3);
    border-radius: 3px;
  }

  .product-tabs .tab {
    font-size: 0.95rem;          /* 살짝 줄인 폰트 */
    padding: 10px 18px;          /* 조금 더 컴팩트하게 */
    flex: 0 0 auto;
    white-space: nowrap;
    border-radius: 4px;          /* 둥근 모서리로 부드럽게 */
    background-color: #f0f0f0;   /* 살짝 배경 넣으면 구분감 상승 */
    cursor: pointer;
    transition: background-color 0.3s ease;
  }
  
  .product-tabs .tab:hover,
  .product-tabs .tab:focus {
    background-color: #ddd;      /* 터치 및 포커스 시 피드백 */
  }
  
  .product-tabs .tab.active {
    background-color: #003366;  /* 활성 탭 배경색 (예: 네이비) */
    color: #fff;
    font-weight: 600;
  }
}


.tab-content {
  display: none;
  max-width: 1100px;
  margin: 0 auto;
}

.tab-content.active {
  display: flex;
  gap: 2rem;
  align-items: center;
  flex-wrap: wrap;
}
.product-image-slider {
  position: relative;
  width: 450px;
  height: 350px;
  overflow: hidden;
  border: 1px solid #ddd;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.product-image-slider .slider {
  width: 100%;
  height: 100%;
  position: relative;
}

.product-image-slider .slide {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: none;
  position: absolute;
  top: 0;
  left: 0;
}

.product-image-slider .slide.active {
  display: block;
}

.product-image-slider button.prev,
.product-image-slider button.next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 50, 105, 0.7);
  color: white;
  border: none;
  padding: 8px 12px;
  cursor: pointer;
  font-size: 1.5rem;
  z-index: 2;
  transition: background-color 0.3s ease;
}

.product-image-slider button.prev:hover,
.product-image-slider button.next:hover {
  background-color: #003269;
}

.product-image-slider button.prev {
  left: 10px;
}

.product-image-slider button.next {
  right: 10px;
}

.product-image img {
  width: 450px;
  height: 350px;
  object-fit: cover;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  border: 1px solid #ddd;
}

.product-info {
  flex: 1;
}

.product-title {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #003269;
}

.product-desc {
  font-size: 1rem;
  color: #555;
  margin-bottom: 1.5rem;
}

.product-price {
  font-size: 1.4rem;
  font-weight: bold;
  color: #0061a8;
  margin-bottom: 1.5rem;
}

.btn-buy {
  display: inline-block;
  background-color: #003269;
  color: #fff;
  padding: 0.7rem 1.4rem;
  text-decoration: none;
  font-weight: 600;
  border: none;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

.btn-buy:hover {
  background-color: #00488e;
}

/* 구매문의 버튼 스타일 */
.inquiry-button {
  padding: 10px 20px;
  font-size: 16px;
  background-color: #1e3a8a;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

/* 팝업 배경 스타일 */
.popup-bg {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 999;
}

/* 팝업 창 스타일 */
.popup {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  text-align: center;
  width: 80%;
  max-width: 300px;
}

/* 팝업 제목 스타일 */
.popup-title {
  margin-bottom: 15px;
  font-size: 18px;
  color: #333;
}

/* 팝업 버튼 스타일 */
.popup-button {
  display: block;
  width: 100%;
  margin: 10px 0;
  padding: 12px;
  font-size: 16px;
  border: none;
  border-radius: 6px;
  background-color: #1e3a8a;
  color: white;
  cursor: pointer;
}

/* 닫기 버튼 스타일 */
.close-button {
  background-color: #ccc;
  color: #333;
}
