@charset "UTF-8";

:root {
  --main-color: #458117;
  --main-color2: #72a730;
}
#header {
display:none;
}

/* header */
.header {
  position: absolute;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  padding: 20px 0;
  height: 100px;
  display: flex;
}

.header-inner {
  width: 90%;
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

/* 로고 */
.logo span {
  font-size: 24px;
  font-weight: 700;
  color: #fff;
}

/* 네비게이션 메뉴 */
.nav {
  display: flex;
}

.nav > ul {
  display: flex;
  gap: 5rem;
  align-items: center;
}

.nav li {
  position: relative;
  padding: 30px 0;
}

.nav a {
  position: relative;
  font-weight: 500;
  font-size: 16px;
  color: #fff;
  padding: 10px 10px;
  display: inline-block;
  text-decoration: none;
  border-radius: 10px;
}
.nav a:hover {
  color: var(--main-color2);
  font-weight: bold;
}
.nav > ul > li > a:hover {
  background-color: rgba(0, 0, 0, 0.6);
}
/* 서브메뉴 기본 스타일 */
.submenu {
  position: absolute; /* 서브메뉴는 부모 li 아래에 절대 위치 */
  top: 100%; /* 부모 li 바로 아래에 위치 */
  left: -50%;
  display: none;
  flex-direction: column;
  background-color: rgba(0, 0, 0, 0.8);
  border-radius: 0 0 10px 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  z-index: 100;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  padding: 0;
  margin: 0;
  width: 150px;
}

/* 서브메뉴 항목 스타일 */
.submenu li {
  display: flex;
  justify-content: center;
  width: 100%;
  padding: 10px 0;
}
.submenu li a {
  width: 100%;
  color: #999;
  font-weight: 400;
  text-align: center;
  padding: 10px 20px;
  transition: color 0.3s ease;
}

/* 서브메뉴 호버 스타일 */
.nav li:hover .submenu {
  display: flex;
  opacity: 1;
  transform: translateY(0);
}

/* 서브메뉴 항목 호버 스타일 */
.submenu li:hover {
  background-color: rgba(0, 0, 0, 0.6);
  border-radius: 0 0 10px 10px;
}

/* 서브메뉴 항목 링크 호버 효과 */
.submenu li a:hover {
  color: var(--main-color2);
  font-weight: bold;
}
.submenu li a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0%;
  height: 1px;
  background-color: var(--main-color2);
}
.submenu li a:hover::after {
  width: 50%;
}
.nav li:hover .submenu {
  display: block;
  animation: slideDown 0.3s ease-out;
}

/* main-bnner */
.banner1 {
  width: 100%;
  height: 100vh;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.banner1 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.banner-txt {
  position: absolute;
  z-index: 2;
  color: #fff;
  font-size: 3.75rem;
  padding: 0 20px;
  text-shadow: 8px 8px 30px rgba(0, 0, 0, 0.8);
  transform: translateY(100%);
  transition: transform 0.6s ease-out;
  margin-bottom: 4rem;
}
.banner-txt.active {
  transform: translateY(0);
}
.banner-txt h1 {
  font-size: 4rem;
}
.banner-txt span {
  display: inline-block;
  font-size: 1.5rem;
  letter-spacing: 1rem;
}

/* main */
#inner {
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0 10px;
}
#inner2 {
  width: 1300px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 10px;
}

.title {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}
.title h1 {
  font-size: 3rem;
  letter-spacing: -0.5px;
  padding: 1rem;
  margin-top: 100px;
}
.title h3 {
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.5px;
  color: #999999;
  line-height: 1.6;
}
.title h1,
.title h2,
.title h3 {
  position: relative;
  transform: translateY(100%); /* 처음에는 화면 아래로 배치 */
  opacity: 0; /* 처음엔 보이지 않음 */
  transition: transform 0.6s ease-out, opacity 0.6s ease-out; /* 슬라이딩과 함께 투명도 변경 */
}

.title.active h1,
.title.active h2,
.title.active h3 {
  transform: translateY(0); /* 화면으로 슬라이딩 */
  opacity: 1; /* 텍스트 보이게 */
}
/* content-1 */
.content-1 {
  width: 100%;
  margin-bottom: 6rem;
}

.content-1 .title {
  text-align: center;
  margin-bottom: 4rem;
}
.brand-value-list {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  padding: 2rem 0;
  width: 100%;
}

.brand-value-list li {
  flex: 0 0 calc((100% - 40px) / 3); /* 정확히 3개 */
  max-width: calc((100% - 40px) / 3);
  height: 480px;
  border-radius: 30px;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  display: flex;
  align-items: flex-end;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
  border: 2px solid #fff;
}

.brand-value-list li::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.5), transparent 60%);
  transition: 0.4s ease;
  z-index: 1;
}

.text-wrap {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 2rem;
  background-color: rgba(0, 0, 0, 0.4);
  border-radius: 0 0 20px 20px;
  backdrop-filter: blur(4px);
  color: #fff;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.text-wrap h2 {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
}

.text-wrap p {
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
}

.brand-value-list li:hover {
  transform: scale(1.03);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
  border: 2px solid #366614;
  cursor: default;
}

.brand-value-list li:hover .text-wrap {
  background-color: rgba(255, 255, 255, 0.9);
  color: #222;
}

/* content-2 */

.content-2 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #f3f3f3;
  padding: 5rem;
}
.txt-left {
  width: 80%;
  text-align: left;
  margin-right: 150px;
}
.txt-left h1 {
  padding: 0;
  padding: 1rem 0;
  margin: 0;
}
.txt-left h2 {
  color: #b0b0b0;
}
.txt-left h3 {
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.5px;
  color: #999999;
}
.slider-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding-bottom: 50px;
}

.slider {
  display: flex;
  transition: transform 0.5s ease;
  padding: 0;
  margin: 0;
}

.slider li {
  min-width: 100%;
  overflow: hidden;
}

.slider img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.prev-btn,
.next-btn {
  position: absolute;
  top: 40%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  padding: 10px;
  cursor: pointer;
  font-size: 18px;
}

.prev-btn {
  left: 20px;
}

.next-btn {
  right: 20px;
}

.pagination {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
}

.dot {
  height: 10px;
  width: 10px;
  margin: 0 5px;
  background-color: rgba(0, 0, 0, 0.3);
  border-radius: 50%;
  transition: background-color 0.3s ease;
  cursor: pointer;
}

.dot.active {
  background-color: var(--main-color2);
}
.txt-box {
  padding: 20px;
  display: flex;
  flex-direction: row;
  gap: 10px;
  align-items: center;
}
.txt-box h2 {
  color: var(--main-color);
}

/* content-3 */
.content-3 {
  padding: 8rem;
}

/* content-4 */

.sub-banner {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  background-image: url("/img/sub1.jpg");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  height: 400px;
  width: 100%;
  border-radius: 30px;
}
.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 1;
  border-radius: 30px;
}
.img-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
  border-radius: 30px;
}

.img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.img-container:hover img {
  transform: scale(1.05);
}
.sub-banner > .title > h1 {
  color: #fff;
  margin: 0;
  z-index: 100;
}

.sub-banner > .title > h3 {
  color: #ccc;
  margin: 0;
  z-index: 100;
}
/* 기본 버튼 스타일 */
button {
  /* background-color: #458117; */
  color: white;
  font-size: 16px;
  padding: 12px 24px;
  border: 1px solid #ffffff;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s ease;
}

button:hover {
  background-color: white;
  color: #458117;
  border: 1px solid #458117;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  font-weight: 700;
}

button:active {
  background-color: #366614;
  border-color: #366614;
  transform: scale(0.98);
}

/* footer */
footer {
  width: 100%;
  display: flex;
  justify-content: center;
  /* background-color: var(--main-color); */
  background-image: url("/img/footer-bg.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.footer {
  width: 1300px;
  display: flex;
  flex-direction: column;
  height: auto; /* 높이를 자동으로 맞추기 */
  border-radius: 30px;
  color: #fff;
  justify-content: flex-start; /* 콘텐츠가 위에서부터 쌓이도록 */
  padding: 2rem;
  margin-top: 50px;
}

.footer h1 {
  font-size: 3rem;
  letter-spacing: -0.5px;
  padding: 1rem 0 4rem 0;
}

.footer h2 {
  font-size: 2rem;
  letter-spacing: -0.5px;
  padding: 1rem 0;
}

.footer ul {
  display: flex;
  gap: 40px;
}

.info {
  justify-content: end;
  margin-top: 5rem;
}

ul.info li {
  margin-bottom: 20px;
}

ul.info li span {
  display: block;
  font-size: 14px;
  color: #eee;
  margin-bottom: 6px;
  font-weight: 600;
}

ul.info li h3,
ul.info li p {
  margin: 0;
  line-height: 1.6;
  color: #ccc;
}

.footer > span {
  font-size: 14px;
  text-align: center;
  color: #999;
  border-top: 1px solid #999;
  padding: 10px;
}
