@charset "utf-8";

* {
  margin: 0;
  padding: 0;
}

ul {
  list-style: none;
}


@font-face {
  font-family: "Noto Sans KR";
  src: url("fonts/NotoSansKR-Regular.ttf") format("truetype");
  font-weight: 400;
}

@font-face {
  font-family: "Noto Sans KR";
  src: url("fonts/NotoSansKR-Bold.ttf") format("truetype");
  font-weight: 700;
}
@font-face {
  font-family: "Noto Sans KR";
  src: url("fonts/NotoSansKR-Light.ttf") format("truetype");
  font-weight: 300;
}

@font-face {
  font-family: "Noto Sans KR";
  src: url("fonts/NotoSansKR-Black.ttf") format("truetype");
  font-weight: 900;
}

body {
  margin: 0;
  padding: 0;
  font-family: "Noto Sans KR", sans-serif;
  min-width: 1440px;
}

/* Reset */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  font-family: "Noto Sans KR", sans-serif;
  background: #fff;
  color: #222;
}
a {
  text-decoration: none;
  color: inherit;
}

/* Header Container */

.header {
  position: sticky;
  top: 0;
  z-index: 999; /* 다른 요소 위에 뜨도록 */
  background: #fff; /* 배경색 지정해서 내용 가려지지 않게 */
}

.nav-dropdown-box {
  display: none;
  position: absolute;
  top: 80px;
  left: 0;
  width: 100%;
  background: #fff;
  border-top: 1px solid #ddd;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  padding: 20px 40px;
  z-index: 999;
  display: flex;              /* FLEX로 변경 */
  gap: 60px;                  /* 컬럼 간격 */
  justify-content: flex-start;/* 왼쪽부터 */
  align-items: flex-start;
  padding-left: 180px;        /* 시작점 맞춤 */
}




/* 각 컬럼 */
.nav-dropdown-box > ul {
  display: flex;
  flex-direction: column;
  gap: 0px;                  /* 항목 간 간격 */

}



.nav-dropdown-box > ul > li {
  margin-bottom: -10px;
}

/* 리스트 항목 */
.nav-dropdown-box > ul > li > a {
  font-size: 14px !important;
  font-weight: 500 !important;
  color: #555 !important;
    position: relative;
     display: inline;
  transition: color 0.2s ease;
  padding: 2px 0;
  line-height: 1.2;
}


.nav-dropdown-box > ul > li > a:hover {
  color: #000;
  font-weight: 700;
}

.nav-dropdown-box > ul > li > a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  height: 3px;
  background: #FF8B00;
  width: 0;
  transition: width 0.3s ease;
}
.nav-dropdown-box > ul > li > a:hover::after {
  width: 100%;
}




.nav-dropdown-box > ul:first-child {
    margin-left: 100px;
    
}

.nav-dropdown-box > ul:nth-child(2) {
    margin-left: -30px;
    
}

.nav-dropdown-box > ul:nth-child(3) {
    margin-left: -3px;
    
}


.nav-dropdown-box > ul:last-child {
    margin-left: 0px;
    
}





.nav-container {
  max-width: 1920px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  border-bottom: 1px solid #ddd;
}

/* Hamburger */
.menu-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: #000;
}

.main-nav {
  display: flex;
  justify-content: flex-start;
}

.main-menu {
    position: relative;
    left: -100px;
}


/* Center Menu */
.main-nav ul {
  display: flex;
  list-style: none;
  gap: 50px;
}
.main-nav ul li a {
  font-size: 16px;
  font-weight: 700;
}

/* Right Section */
.nav-right {
  display: flex;
  align-items: center;
  gap: 30px;
}


/* Search */
.search {
  display: flex;
  align-items: center;
  border-bottom: 1px solid #000;
  padding-bottom: 2px;
}
.search input {
  border: none;
  outline: none;
  width: 140px; /* 더 넓게 */
  font-size: 14px;
  padding: 4px;
}
.search .search-icon {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 15px;
  margin-left: 4px;
}

/* User Links */
.user-links {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 13px;
}
.user-links span {
  color: #888;
}
.user-links img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

/* Logo */
.logo a {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  font-weight: bold;
  font-size: 16px;
  line-height: 1.2;
}
.logo span {
  font-size: 11px;
  color: #666;
}

/* 기본 */
main {
width: auto;
}

/* 메인 비주얼 */
/* 슬라이더 공통 */
.main-visual {
  position: relative;
  overflow: hidden;
}

.slider {
  position: relative;
  width: 100%;
  height: auto;
}

.slide {
  display: none;
  width: 100%;
}

.slide.active {
  display: block;
}

/* 동그라미 dots */
.dots {
  position: absolute;
  right: 30px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.dot {
  width: 12px;
  height: 12px;
  border: 1px solid #fff;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  transition: background 0.3s;
}

.dot.active {
  background: #fff;
}

.dots.black-dots .dot {
  border-color: #000;
}

.dots.black-dots .dot.active {
  background: #000;
}


.main-visual img {
  width: 100%;
  height: 100vh;
  object-fit: cover;   /* 꽉 채움, 일부 잘림 발생 */
  display: block;
}




/* 탭 메뉴 */

.tab-section {
  margin: 80px 0;
}

.tab-background {
  background: url('../img/Best.jpg') no-repeat center top / cover; /* 청포도 배경 이미지 */
  padding: 60px 40px;
}

.tab-buttons {
  display: flex;
  gap: 30px;
  margin-bottom: 20px;
}

.tab-buttons button {
  background: none;
  border: none;
  font-size: 18px;
  font-weight: 700;
  color: #aaa;
  cursor: pointer;
  padding: 8px 0;
  position: relative;
  left: 40px;
}

.tab-buttons button.active {
  color: #000;
  border-bottom: 3px solid #000;
}

.tab-title {
  text-align: center;
  margin-bottom: 40px;
}

.tab-title p {
  font-size: 24px;
  color: #333;
}

.tab-title h2 {
  font-size: 24px;
  font-weight: 700;
}

.tab-title h2 span {
  font-weight: 400;
}

.tab-content {
  position: relative;
}

.product-list {
  display: flex;
  gap: 20px; /* 간격 좁힘 */
  justify-content: center;
}

.product-item {
  text-align: center;
  width: 300px; /* 좁게 */
}

.product-item img {
  width: 300px;
  height: 300px;
  display: block;
}


.product-item .name {
  font-size: 14px;
  margin-top: 10px;
  color: #222;
  line-height: 1.4;
}

.product-item .price {
  margin-top: 6px;
  font-size: 15px;
  font-weight: 700;
}

.product-item .price .old {
  text-decoration: line-through;
  color: #999;
  font-weight: 400;
  margin-right: 6px;
}

/* 좌우 화살표 */
.arrow {
  position: absolute;
  top: 40%;
  transform: translateY(-50%);
  background: #fff;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  box-shadow: 0 0 5px rgba(0,0,0,0.2);
}

.arrow.prev {
  left: 10px;
}
.arrow.next {
  right: 10px;
}






/* 추천 제품 */
.recommend-section {
  margin: 100px auto;
  max-width: 1200px;
  padding: 0 20px;
}

.recommend-section h2 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 30px;
}

/* 슬라이드 래퍼: relative로 기준 */
.recommend-slider {
  position: relative;
  margin-bottom: 40px;
}

.recommend-wrapper {
  display: flex;
  gap: 20px;
   position: relative;
}

.recommend-item {
  flex: 1;
  position: relative;
  
}

.recommend-item img {
  width: 100%;
  display: block;
}

.recommend-item .text {
  position: absolute;          /* 이미지 위에 띄움 */
  bottom: -15px;                 /* 아래쪽에 붙임 */
  left: 0;                 /* 왼쪽 정렬 */
  right: 50px;                   /* 오른쪽까지 확장 */
  margin: 0 auto;
  background: #fff;
  padding: 15px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  border-radius: 4px 4px 0 0;  /* 위 모서리 둥글게 */
  z-index: 2;                  /* 이미지 위에 올림 */
}

.recommend-item .title {
  font-size: 16px;
  font-weight: 700;
}

.recommend-item .desc {
  font-size: 14px;
  margin-top: 4px;
}

/* 화살표를 슬라이드 안에 오버레이 */
/* 화살표 중앙 고정 */
.arrow {
  position: absolute;
  top: 42%;
  transform: translateY(-50%);
  background: #fff;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  box-shadow: 0 0 5px rgba(0,0,0,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

/* 좌우 간격 조정 */
.arrow.prev {
  left: -20px;
}

.arrow.next {
  right: -20px;
}

/* 하단 상품 그리드 */
.recommend-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.recommend-product {
  display: grid;
  grid-template-columns: 160px 1fr; /* 왼쪽 이미지, 오른쪽 텍스트 */
  align-items: stretch; /* 높이 맞추기 */
  border: 1px solid #eee;
}

.recommend-product img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* 꽉 채우기 */
  display: block;
}

.recommend-product .info {
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}


.recommend-product .price {
  font-size: 14px;
  font-weight: 700;
}

.recommend-product .price .old {
  font-weight: 400;
  color: #999;
  text-decoration: line-through;
  margin-right: 6px;
}


/* 브랜드 스토리 */
.brand-story {
  text-align: center;
  margin: 100px 0;
}
.brand-story h2 {
  font-size: 24px;
  margin-bottom: 8px;
}
.brand-story p {
  font-size: 14px;
  color: #666;
  margin-bottom: 30px;
}
.brand-story img {
  width: 1210px;
  height: 600px;
}



/* 인스타그램 */
.instagram {
  margin: 80px 0;
  text-align: center;
}

.instagram h2 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 10px;
}

.instagram p {
  font-size: 15px;
  color: #555;
  margin-bottom: 30px;
}

.insta-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3열 그리드 */
  gap: 10px; /* 이미지 간격 줄이기 */
  max-width: 1200px;
  margin: 0 auto 200px;
}

.insta-item {
  position: relative;
  overflow: hidden;
}

.insta-item img {
  width: 100%;
  display: block;
  transition: all 0.3s ease;
}

/* hover 효과: 흐림 오버레이 */
.insta-item::after {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255,255,255,0);
  transition: background 0.3s ease;
   pointer-events: none;
}

.insta-item:hover::after {
  background: rgba(255,255,255,0.3);
}

/* footer */

.footer {
  background: #4a4038; /* 어두운 배경 */
  color: #ccc;
  font-size: 14px;
  padding: 20px 20px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.footer-menu {
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
 gap: 12px;
}

.footer-menu li {
  list-style: none;
  position: relative;
  padding: 0 26px;           /* 좌우 여백 */
  border-right: 1px solid #aaa; /* 구분선 */
}

/* 첫 번째 li 왼쪽 여백 제거 */
.footer-menu li:first-child {
  padding-left: 0;
}

/* 마지막 li 구분선 제거 */
.footer-menu li:last-child {
  border-right: none;
}


.footer-menu a {
  color: #ccc;
  text-decoration: none;
  font-size: 16px;
}

.footer-menu a strong {
  font-weight: 700;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
}

.footer-info {
  flex: 1;
  min-width: 300px;
  position: relative;
  top: -20px;
}

.footer-info p {
  margin: 5px 0;
  line-height: 1.6;
}

.footer-info a {
  color: #ccc;
  text-decoration: underline;
}

.footer-contact {
  text-align: right;
  min-width: 250px;
}

.sns-icons {
  display: flex;
  gap: 3px;
}

.sns-icons img {
  width: 100px;
  height: 100px;
}

.contact-info .tel {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 5px;
  color: #fff;
}

/* 위로가기 버튼 */
.scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  border: none;
  border-radius: 50%;
  background: #eee;
  font-size: 24px;
  cursor: pointer;
  box-shadow: 0 0 5px rgba(0,0,0,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
}

/* 카카오톡 버튼 */
/* 카카오톡 버튼 */
.kakao-btn {
  position: fixed;
  bottom: 70px;  /* 스크롤 버튼 위로 띄우기 */
  right: 5px;   /* 스크롤 버튼과 같은 right 값 */
  width: 100px;
  height: 100px;
  display: block;
  z-index: 999;
}


/* 카카오톡 이미지 크기 동일하게 */
.kakao-btn img {
  width: 100%;
  height: 100%;
  display: block;
}

/* 스크롤 시*/
.fade-target {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.7s ease;
}

.fade-target.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* 모달 오버레이 */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
}

/* 모달 콘텐츠 */
.modal-content {
  position: relative;
  background: #fff;
  border-radius: 4px;
  overflow: hidden;
  max-width: 500px;
  width: 90%;
}

/* 닫기 버튼 */
.modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
}

/* 이미지 */
.modal-content img {
  display: block;
  width: 100%;
  height: auto;
}

/* 하단 */
.modal-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 15px;
  font-size: 14px;
}

.modal-footer label {
  display: flex;
  align-items: center;
  gap: 4px;
}

.modal-footer button {
  background: #333;
  color: #fff;
  border: none;
  padding: 6px 12px;
  cursor: pointer;
  font-size: 14px;
  border-radius: 2px;
}

/* 슬라이더 이미지 기본 숨김 */
.modal-slider img {
  display: none;
  width: 100%;
  height: auto;
}

/* 활성화된 이미지만 표시 */
.modal-slider img.active {
  display: block;
}




