@charset 'utf-8';
/* web-font */
/* @font-face {
    font-family: 'Gyeonggi_Batang_Regular';
    src: url('https://fastly.jsdelivr.net/gh/projectnoonnu/2410-3@1.0/Batang_Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Gyeonggi_Title_Medium';
    src: url('https://fastly.jsdelivr.net/gh/projectnoonnu/2410-3@1.0/Title_Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
} */

html,
body,
div,
span,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
em,
img,
small,
strong,
b,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tr,
th,
td,
article,
aside,
footer,
header,
nav,
section,
summary,
video,
* {
    padding: 0;
    margin: 0;
}

ul,
ol {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
}

body,
html {
    /* Prevent font scaling in landscape */

    -webkit-text-size-adjust: none;
    /*Chrome, Safari, newer versions of Opera*/

    -moz-text-size-adjust: none;
    /*Firefox*/

    -ms-text-size-adjust: none;
    /*Ie*/

    -o-text-size-adjust: none;
    /*old versions of Opera*/
}

html {
    scroll-padding-top: 150px; /* header 높이만큼 */
}

body {
    font-family: "Noto Sans Kr";
    font-size: 13px;
    line-height: 28px;
    color: black;
}

#main-wrap {
    min-width: 1400px;
    padding-top: 150px; 
    overflow-x: hidden;
}

/* header */
.header-wrap {
    position: fixed;    
    top: 0;
    left: 0;
    width: 100%;      
    background-color: white; 
    z-index: 1000;     
}

#header {
    width: 1320px;      /* 기존 디자인 너비 */
    margin: 0 auto;     /* 중앙 정렬 */
    height: 150px;
    padding: 20px 0;
    box-sizing: border-box;
}

.inner-header {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.logo {
    display: flex;
    justify-content: center;
    transform: translateX(-40%);
}

.search {
    border-radius: 10px;
    position: absolute;
    right: 200px;
    top: 50%;
    transform: translateY(-50%);
}

placeholder {
    text-align: right;
}

.mypage {
    position: absolute;
    right: 50px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
}

.shopping {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
}

.gnb {
    padding: 20px 0;
    display: flex;
    justify-content: space-evenly;
}

.gnb li a {
    display: block;
    font-size: 15px;
    font-weight: bold;
    color: #001994;
}

.gnb li:nth-child(1) a:hover {
    color: red;
}

.gnb li:nth-child(2) a:hover {
    color: orange;
}

.gnb li:nth-child(3) a:hover {
    color: rgb(51, 141, 51);
}

.gnb li:nth-child(4) a:hover {
    color: rgb(0, 153, 255);
}

.gnb li:nth-child(5) a:hover {
    color: #7700ff;
}

/* main-banner */
#main-banner {
    /* height: 800px; */
    overflow: hidden;
    width: 1920px;
    position: relative;
}

#banner-wrap {
    display: flex;
    justify-content: center;
}

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

.slides img {
    width: 100%;
    display: block;
}

/* about */
#slogan {
    position: relative;
    width: 100%;
    overflow: hidden;
    display: flex;
    justify-content: center;
}

#slogan img {
    display: block;
}

.inner-slogan {
    width: 1320px;
    margin: 0 auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    pointer-events: none;
    width: 100%;
}

#slogan h1 {
    font-family: '경기천년바탕';
    color: white;
    font-size: 45px;
    font-weight: bold;
}

#brand-section {
    padding: 100px;
    display: flex;
    width: 1320px;
    margin: 0 auto;
    justify-content: space-evenly;
    box-sizing: border-box;
}

.main-logo {
    width: 200px;
    margin-bottom: 50px;
    margin-left: 70px;
}

.sub-logo {
    width: 70%;
    margin-top: 150px;
    text-align: center;
}

.about-logo,
.brand-story {
    font-family: "Noto Sans KR", sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: #333;
}

.brand-story {
    margin-top: 20px;
}

.about-logo h3,
.brand-story h3 {
    font-family: "경기천년바탕";
    font-size: 30px;
    margin-bottom: 10px;
    font-weight: bold;
}

/* tea collection */
#product {
    width: 1320px;
    margin: 0 auto;
    height: 700px;
    display: flex;
    justify-content: space-evenly;
    /* box-sizing: border-box; */
    padding: 50px 0;
}

.tag-card {
    width: 315px;
    height: 520px;
    perspective: 1000px;
    position: relative;
}

.card-inner {
    width: 100%;
    height: 100%;
    position: relative;
    cursor: pointer;
    transition: transform 0.8s ease;
    transform-style: preserve-3d;
}

.card-inner:hover {
    transform: rotateY(180deg);
}

.card-face {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 10px;
    box-sizing: border-box;
    overflow: hidden;
    background-color: white;
    backface-visibility: hidden;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.card-front .product {
    margin-top: 150px;
    width: 70%;
    height: auto;
    z-index: 2;
    transition: opacity 0.4s ease;
}

.card-front .bg,
.card-back .bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 315px;
    height: 520px;
    object-fit: contain;
    z-index: 0;
}

.card-front .bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    z-index: 1;
}

.card-front .product {
    margin-top: 150px;
    width: 70%;
    height: auto;
    z-index: 2;
    transition: opacity 0.4s ease;
}

.card-front,
.card-back {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 10px;
    overflow: hidden;
    background-color: white;
    backface-visibility: hidden;
    box-sizing: border-box;
    padding: 0;
}

.card-back {
    transform: rotateY(180deg);
    text-align: center;
    overflow-y: auto;
}

.card-back .bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    z-index: 0;
    transform: rotateY(180deg);
}

.card-back {
    transform: rotateY(180deg);
    padding: 20px;
    box-sizing: border-box;
    z-index: 1;
    text-align: center;
    overflow-y: auto;
}

.text-content {
    margin-top: 150px;
    /* position: relative; */
    z-index: 99;
    max-height: 360px;
}

.card-back h3 {
    font-family: '경기천년바탕';
    font-weight: bold;
    font-size: 20px;
    margin-bottom: 8px;
}

.card-back h4 {
    font-family: "경기천년바탕";
    font-weight: bold;
    font-size: 16px;
    margin-bottom: 12px;
}

.card-back p {
    font-weight: light;
    font-size: 15px;
    line-height: 18px;
}

.product-detail {
    text-align: center;
    margin-top: 50px;
}

.product-detail h3 {
    font-style: "경기천년제목";
    font-weight: bold;
    font-size: 30px;
    margin-bottom: 30px;
}

.product-detail p {
    font-weight: regular;
    font-size: 20px;
}

/* recommend */
:root {
    --d-small: 160px;
    --d-big: 220px;
    --gap: 20px;
    --c-small: #dddbe8;
    --c-big: #9a94f7;
}

#recommend {
    width: 1320px;
    margin: 0 auto;
    padding: 100px 0;
    text-align: center;
    position: relative;
    height: 600px;
    box-sizing: border-box;
}

#recommend h1 {
    font-style: "경기천년제목";
    font-weight: bold;
    font-size: 30px;
    margin-bottom: 30px;
}

.slider-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
}

.slot {
    width: var(--d-big);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.slots {
    display: flex;
    gap: var(--gap);
    align-items: flex-start;
    position: relative;
    z-index: 5;
    align-items: center;
    height: 300px;
}

.circle {
    width: var(--d-small);
    height: var(--d-small);
    border-radius: 50%;
    background: var(--c-small);
    display: flex;
    align-items: center;
    justify-content: center;
}

.slot.center .circle {
    width: var(--d-big);
    height: var(--d-big);
    background: var(--c-big);
}

.circle img {
    width: 80px;
    transition: transform 0.3s ease;
}

@keyframes pop {
    0% {
        transform: scale(1);
    }

    30% {
        transform: scale(1.5);
    }

    60% {
        transform: scale(1.3);
    }

    100% {
        transform: scale(1);
    }
}

.slot.center .circle img.pop {
    animation: pop 0.4s ease;
}

.caption {
    margin-top: 12px;
    line-height: 1.2;
    color: #000;
    text-align: center;
}

.arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border: none;
    background: none;
    cursor: pointer;
    z-index: 10;
}

.arrow.left {
    left: 0;
}

.arrow.right {
    right: 0;
}

.arrow img {
    width: 100%;
}

.dots {
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    background: #dddbe8;
    border-radius: 50%;
}

.dot.active {
    background: #9a94f7;
}

/* best */
#best {
    width: 1320px;
    margin: 0 auto;
    height: 700px;
    text-align: center;
    padding: 50px 0;
}

#best h1 {
    margin-top: 20px;
    font-size: 30px;
    font-weight: bold;
    font-family: "경기천년제목";
    margin-bottom: 50px;
}

.best-product {
    display: flex;
    justify-content: space-evenly;
}

.best-card {
    position: relative;
    cursor: pointer;
}

.best-img {
    display: block;
    width: 100%;
    height: auto;
    transition: opacity 0.5s ease;
}

.product-img {
    position: absolute;
    top: 55%;
    left: 51%;
    transform: translate(-50%, -50%);
    transition: opacity 0.5s ease;
    z-index: 1;
}

.best-card:hover .product-img {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.best-text {
    position: absolute;
    top: 0;
    left: -22px;
    width: 100%;
    height: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.best1 h2 {
    color: #362789;
    font-weight: bold;
    font-family: "경기천년바탕";
    font-size: 25px;
}

.best1 p {
    font-weight: light;
    color: #070C1A;
    font-size: 15px;
}

.best2 h2 {
    color: #681F3B;
    font-weight: bold;
    font-family: "경기천년바탕";
    font-size: 25px;
}

.best2 p {
    font-weight: light;
    color: #4A1515;
    font-size: 15px;
}

.best-text h2 {
    font-size: 20px;
    margin-bottom: 15px;
}

.best-text p {
    font-size: 14px;
    line-height: 1.5;
}

.best-card:hover .best-bg {
    opacity: 60%;
}

.best-card:hover .best-text {
    opacity: 1;
}


/* gift */

#gift {
    background-image: url(../images/gift/gift-bg.svg);
    background-position: center;
    background-repeat: no-repeat;
    height: 1300px;
    box-sizing: border-box;
}

.inner-gift {
    width: 1320px;
    margin: 0 auto;
    text-align: center;
    padding: 100px 0;
    position: relative;
}

.inner-gift h1 {
    margin-top: 20px;
    margin-bottom: 50px;
    font-size: 30px;
    font-weight: bold;
    font-family: "경기천년제목";
}

.inner-gift ul p {
    font-size: 18px;
    font-weight: regulear;
}

.gift-product ul {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 100px;
}

.gift-product ul li {
    cursor: pointer;
}

.gift-product ul li p {
    cursor: auto;
}

.rainbow {
    position: absolute;
    right: -150px;
    top: 530px;
}

.gift-product ul li:hover .gift-hover {
    opacity: 1;
    cursor: auto;
}

.gift-hover {
    position: absolute;
    opacity: 0;
}

.detail {
    top: 80px;
    left: 0;
}

.detail2 {
    top: 80px;
    right: 0;
}

.gift-presentation {
    margin-top: 100px;
}

.gift-presentation ul {
    width: 100%;
    display: flex;
    justify-content: space-evenly;
}

/* news */
#news {
    height: 800px;
    width: 1320px;
    margin: 0 auto;
    box-sizing: border-box;
    padding: 100px 0;
    text-align: center;
}

#news h1 {
    font-style: "경기천년제목";
    font-weight: bold;
    font-size: 30px;
    margin-bottom: 70px;
}

#news ul {
    display: flex;
    justify-content: space-evenly;
}

#news ul li {
    width: 540px;
    height: 440px;
}

#news ul li img {
    width: 100%;
}

/* instagram */
#instagram {
    width: 1320px;
    margin: 0 auto;
    height: 600px;
    box-sizing: border-box;
    text-align: center;
    padding: 50px 0;
}

#instagram h1 {
    font-style: "경기천년제목";
    font-weight: bold;
    font-size: 30px;
    margin-bottom: 70px;
}

#instagram ul {
    display: flex;
    justify-content: space-between;
}

#instagram ul li {
    width: 247px;
    height: 350px;
    border: 1px solid #C4BEBE;
}

#instagram ul li img {
    width: 100%;
}

/* video */
/* 추후 추가 예정 */

#video {
    width: 1320px;
    margin: 0 auto;
    text-align: center;
    height: 1000px;
    box-sizing: border-box;
    padding-top: 100px;
}

#video h1 {
    font-style: "경기천년제목";
    font-weight: bold;
    font-size: 30px;
    margin-bottom: 70px;
}

#video video {
    border: 1px solid black;
}

/* sns */
#sns {
    width: 1320px;
    height: 400px;
    box-sizing: border-box;
    margin: 0 auto;
    text-align: center;
    padding: 50px 0;
}

#sns h1 {
    font-style: "경기천년제목";
    font-weight: bold;
    font-size: 30px;
    margin-bottom: 70px;
}

#sns ul {
    display: flex;
    justify-content: center;
    gap: 30px;
}

#sns ul li a {
    display: block;
}

#footer {
    background-image: url(../images/footer/foot-bg.svg);
    background-position: center;
    background-repeat: no-repeat;
}

.inner-footer {
    width: 1320px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    color: white;
    height: 250px;
}

.foot-logo {
    display: flex;
    width: 50%;
    align-items: center;
}

.information {
    display: flex;
    justify-content: space-between;
    width: 60%;
}

.information-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    font-size: 15px;
    font-weight: regular;
}

.ask {
    color: white;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    width: 40%;
}

.ask li a {
    display: block;
    font-size: 20px;
}