@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/static/pretendard.css');
header {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1.5rem; /* ✅ 위아래 여백 살짝 추가 */
    background-color: #f9f9f9;
    border-bottom: 1px solid #ddd;
    position: relative; /* ✅ 로고 absolute 정렬 기준 */
}

.header-container {
    display: flex;
    width: 100%;
    max-width: 1640px;
    justify-content: space-between;
    align-items: center;
    position: relative; /* ✅ 추가 */
}

.icon-box {
    width: 50px; /* ✅ 조금 키움 */
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 15px; /* ✅ 좌우 여백 살짝 더 */
}

.logo-link {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* ✅ 완전한 중앙 */
    z-index: 10;
    display: inline-block;
}

.logo {
    width: 140px; /* ✅ 가로 180px */
    height: 95px; /* ✅ 세로 180px */
    object-fit: contain; /* ✅ 이미지 비율 유지 */
}

.menu-icon {
    font-size: 35px; /* ✅ 아이콘 조금 키움 */
    font-weight: bold;
    cursor: pointer;
    user-select: none;
    font-family: 'Pretendard', sans-serif;
}


body, html {
    margin: 0;
    padding: 0;
    height: 100%;
}

.main-background {
    position: relative;
    display: flex;
    justify-content: center; /* ✅ 안쪽 컨텐츠 가운데 정렬 */
    width: 100%;
    margin: 0 auto;
    overflow: hidden;
}

.contents-name {
    text-align: center;
    font-family: 'Pretendard', sans-serif;
}

.main-image {
    width: 100%; /* ✅ 가로 2600px 고정 */
    height: 100%; /* ✅ 세로 1200px 고정 */
    object-fit: cover; /* ✅ 이미지 비율 맞추면서 잘 채움 */
    z-index: 1;
}
/* ✅ 텍스트와 버튼은 이미지 위에 올라감 */
.main-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    text-align: center;
    color: white;
    width: 100%;
    padding: 1rem;
    box-sizing: border-box;
    text-shadow: 0 0 5px rgba(0,0,0,0.3);
}

.main-content-foot{
    position: absolute;
    top: 70%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    text-align: center;
    color: white;
    width: 100%;
    padding: 1rem;
    box-sizing: border-box;
    text-shadow: 0 0 5px rgba(0,0,0,0.3);
}


.main-btn {
    margin-top: 1rem;
    padding: 0.5rem 2rem;
    background-color: transparent;
    border: 1px solid white;
    color: white;
    font-size: 1rem;
    font-family: 'Pretendard', sans-serif;
    cursor: pointer;
    transition: 0.3s ease;
}

.main-btn:hover {
    background-color: white;
    color: black;
}


.modal {
    position: fixed;
    inset: 0;
    display: flex;
    justify-content: flex-start;
    align-items: stretch;
    background: transparent;
    pointer-events: none;
    z-index: 999;
    transition: background 0.3s ease;
}

.modal.show {
    background: rgba(0, 0, 0, 0.4);  /* 배경 페이드 */
    pointer-events: auto;
}

.modal-content {
    width: 280px;
    height: 100%;
    background: white;
    padding: 20px;
    transform: translateX(-100%);
    opacity: 0;
    transition: transform 0.4s ease, opacity 0.4s ease;
    flex-direction: column; /* ✅ 수직 정렬 */
}
/* 기본 스타일 */
.modal-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.modal-content li {
    margin: 0;
    padding: 0;
}

.modal-content a {
    text-decoration: none;
    color: #333;
    display: block;
    padding: 12px 0;
    font-weight: 500;
    font-family: 'Pretendard', sans-serif;
    transition: color 0.3s;
    line-height: 3rem;
}

.modal-content a:hover {
    color: #555;
}

.modal.show .modal-content {
    transform: translateX(0);
    opacity: 1;
}
.modal-content ul li a {
    color: #999; /* 기본은 연한 회색 */
    transition: color 0.3s;
}

.modal-content ul li a.hovering {
    color: #000; /* 호버된 메뉴는 진한 검정색 */
}
.modal-content {
    width: 300px;
    padding: 24px;
    background: white;
}

.modal-content {
    width: 300px;
    padding: 20px;
    background: #fff;
}
.submenu {
    display: none;
    list-style: none;
    padding: 0;
    margin-top: 10px;
}

.submenu li {
    margin-bottom: 10px;
    padding-left: 16px; /* ✅ 여기 추가 */
    font-size: 0.75rem;
    font-family: 'Pretendard', sans-serif;
    color: #666;
}

#close-btn {
    background: none;
    border: none;
    font-weight: bold;
    font-family: 'Pretendard', sans-serif;
    cursor: pointer;
    align-self: flex-start; /* ✅ 왼쪽 붙이기 */
    margin-bottom: 20px; /* ✅ 아래 여백 */
    padding: 0;
    line-height: 1; /* ✅ 라인 높이 깔끔하게 */
}

.menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.menu-item {
    margin-bottom: 20px;
    font-size: 1rem;
    font-family: 'Pretendard', sans-serif;

}

.menu-item > a {
    text-decoration: none;
    color: #333;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.menu-item.has-children .arrow {
    transition: transform 0.3s ease;
    font-size: 1rem;
    font-family: 'Pretendard', sans-serif;

}

.submenu {
    display: none;
    list-style: none;
    padding-left: 16px;
    margin-top: 10px;
}

.menu-item.open .submenu {
    display: block;
}

.menu-item.open .arrow {
    transform: rotate(90deg);
}

.section-title {
    display: flex;
    flex-wrap: wrap;
    justify-content: left; /* 또는 flex-start */
    gap: 20px;
    max-width: 1305px;
    margin: 0 auto;
    padding: 20px 20px;
    color: #333;
    letter-spacing: 1px;
    font-size: 1.15rem;
    font-weight: 500;
    font-family: 'Pretendard', sans-serif;

}
.footer-text{
    color: #00B3CC;
}
.card-section {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* 또는 flex-start */
    gap: 20px;
    max-width: 1800px;
    margin: 0 auto;
    padding: 0px 20px;
    background-color: #fff;
}
.card-section-product {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* 또는 flex-start */
    gap: 20px;
    max-width: 1800px;
    margin: 0 auto;
    padding: 40px 20px;
    background-color: #fff;
}

.card {
    width: 23%; /* 4개 한 줄 + gap 고려 */
    max-width: 312px;/* ✅ 카드 크기 키움 (기존 300px → 360px) */
    flex: auto;
    background: #f9f9f9;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    overflow: hidden;
    text-align: center;
    transition: transform 0.2s ease;
}

.card:hover {
    transform: translateY(-5px);
    cursor: pointer;
}

.product_view{
    flex:auto;
}

.card img {
    width: 99%;
    height: 450px;
    object-fit: cover;
}

.card h3 {
    margin: 3px 0 8px;
    font-size: 18px;
    font-family: 'Pretendard', sans-serif;
    font-weight: 600;
}

.card p {
    font-size: 16px;
    font-family: 'Pretendard', sans-serif;
    color: #555;
}

.footer {
    background-color: #2c2c2c;
    color: #ddd;
    padding: 20px 16px;
    font-size: 12.5px;
    font-family: 'Pretendard', sans-serif;
    line-height: 1.4;
}

.footer > * {
    max-width: 1100px;
    margin: 0 auto;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 3px;
    flex-wrap: wrap;
}
.footer-top img {
    height: 60px; /* ✅ 로고 크기 조절 */
    object-fit: contain;
}
.footer-right{
    display: flex;
    gap: 12px;
}
.footer-left{
  flex: 1;
}


.footer-links {
    display: flex;
    gap: 8px;
    font-size: 12.5px;
}

.footer-links a {
    color: #fff;
    text-decoration: none;
}

.footer-links span {
    color: #aaa;
}

.footer-info {
    color: #bbb;
    margin-bottom: 8px;
    font-size: 12px;
    font-family: 'Pretendard', sans-serif;
}

.footer-info a {
    color: #bbb;
    text-decoration: underline;
}

.footer-bottom {
    color: #888;
    font-size: 11.5px;
    font-family: 'Pretendard', sans-serif;
    text-align: left;
    padding-top: 8px;
    border-top: 1px solid #444;
}
.footer-info a img {
    height: 60px;              /* ✅ 아이콘 크기 조정 */
    margin-left: 8px;          /* ✅ 글자와 간격 */
    vertical-align: middle;    /* ✅ 텍스트 기준 정렬 */
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.footer-info a img:hover {
    transform: scale(1.1);     /* ✅ 호버 시 살짝 확대 */
    opacity: 0.85;
}
.wrapper {
    display: flex;
    flex-direction: column;
    min-height: 75%; /* 화면 전체 높이 */
}
.wrapper-contact {
    display: flex;
    flex-direction: column;
    min-height: 57%; /* 화면 전체 높이 */
}

.main-foot {
    width: 100%;
    height: auto;
    display: block;
    margin: 0; /* ✅ 위아래 여백 모두 없애기 */
    padding-top: 40px;
    object-fit: cover; /* ✅ 비율 맞추기 */
}
.whats-app{
    width: 85px;
    height: 85px;
}
.product_page {
    width: 100%;         /* ✅ 가로 100% 꽉 채움 */
    height: auto;         /* ✅ 비율 맞춰서 세로 자동 */
    object-fit: cover;    /* ✅ 필요 시 이미지 꽉 채우기 (옵션) */
    display: block;       /* ✅ 인라인 이미지 간격 없애기 */
}
.contact-section {
    display: flex;
    justify-content: space-between;
    align-items: stretch; /* ✅ 양쪽 높이 맞추기 */
    gap: 40px;
    padding: 40px 20px;
    max-width: 1200px; /* ✅ 적당히 좁혀서 중앙에 배치 */
    margin: 0 auto;
    flex-wrap: wrap;
    min-height: 400px; /* ✅ 너무 낮게 눌리지 않게 */
}
.contact-map iframe {
    width: 100%;
    height: 100%; /* ✅ 부모 높이에 맞추기 */
    min-height: 300px; /* ✅ 너무 작으면 최소 300px */
    border: 0;
    border-radius: 8px;
}

.contact-map {
    flex: 1;
    min-width: 300px;
}
.contact-logo {
    width: 320px;
    margin-bottom: 12px;
}

.contact-info h2 {
    font-size: 1.25rem;
    margin-bottom: 20px;
    color: #222;
}

.contact-info p {
    font-size: 1rem;
    margin: 6px 0;
    color: #333;
}

.contact-map {
    flex: 1;
    min-width: 300px;
    max-width: 600px;
}
.brandPage-section {
    display: flex;
    justify-content: center;   /* ✅ 가로 중앙 */
    align-items: center;       /* ✅ 세로 중앙 (선택사항) */
    width: 100%;
    min-height: 600px;         /* ✅ 높이 지정 (없으면 세로 정렬 안 예쁨) */
    padding: 20px 0;
    box-sizing: border-box;    /* ✅ 패딩까지 포함 */
}

.brandPage {
    max-width: 105%;
    height: auto;
    display: block;
    margin: 0 auto;            /* ✅ fallback으로 추가 */
}
.logo_contents{
    width: 100px;
    height: 100px;
}

/* 중간 사이즈: 태블릿 가로 (1200px 이하) */
@media (max-width: 1200px) {
    .card {
        width: 48%;  /* 4개 유지 */
    }
    .wrapper{
        min-height: 76%
    }
    .section-title {
        display: flex;
        max-width: 730px;
        flex-wrap: wrap;
        justify-content: left; /* 또는 flex-start */
        gap: 20px;
        font-size: 1.35rem;
        font-family: 'Pretendard', sans-serif;
    }
    .main-image {
        width: 100%;
        height: auto;
        object-fit: cover;
        display: block;
    }

    .main-background {
        height: auto;
    }

    .modal-content {
        padding: 24px;
    }

    #close-btn {
        font-size: 22px;
        font-family: 'Pretendard', sans-serif;
    }
    .main-content h1 {
        font-size: 1.8rem;
        font-family: 'Pretendard', sans-serif;
    }

    .main-content p {
        font-size: 1rem;
        font-family: 'Pretendard', sans-serif;
    }

    .main-content-foot h1 {
        font-size: 1.8rem;
        font-family: 'Pretendard', sans-serif;
    }

    .main-content-foot p {
        font-size: 1rem;
        font-family: 'Pretendard', sans-serif;
    }

    .main-btn {
        padding: 0.5rem 1.5rem;
        font-size: 0.9rem;
        font-family: 'Pretendard', sans-serif;
    }
    .footer-top {
        align-items: flex-start;
        gap: 12px;
    }

    .footer-links {
        justify-content: flex-start;
        font-size: 13px;
        font-family: 'Pretendard', sans-serif;
    }

    .footer-bottom {
        font-size: 12px;
        font-family: 'Pretendard', sans-serif;
        text-align: center;
        padding-top: 12px;
    }
    .footer-info {
        font-size: 10px;
        font-family: 'Pretendard', sans-serif;
    }
    .card-section-product {
        display: flex;
        flex-wrap: wrap;
        justify-content: center; /* 또는 flex-start */
        gap: 20px;
        max-width: 1800px;
        margin: 0 auto;
        padding: 20px 20px;
        background-color: #fff;
    }

}


/* 소형 태블릿 및 모바일 (768px 이하) */
@media (max-width: 768px) {
    .card-section {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 16px; /* 살짝만 간격 */
        padding: 16px;
    }

    .card {
        flex: 1 1 calc(48% - 10px); /* 두 개씩 보기 좋게 */
        max-width: 48%; /* 제한 줌 */
        min-width: 160px;
        background-color: #fff;
    }

    .card img {
        width: 100%;
        height: 510px; /* 높이 줄임 */
        object-fit: cover;
    }

    .card h3 {
        font-size: 1rem; /* 제목 적당히 */
        margin: 12px 0 6px;
    }

    .card p {
        font-size: 0.9rem; /* 설명 적당히 */
        margin-bottom: 10px;
    }

    .section-title {
        font-size: 1.4rem; /* Overview 타이틀 크기 조정 */
        padding: 0 1rem;
    }

    .main-content h1 {
        font-size: 0.85rem; /* 약간만 큼 */
    }

    .main-content p {
        font-size: 0.65rem;
    }
    .main-content-foot h1 {
        font-size: 0.85rem; /* 약간만 큼 */
    }

    .main-content-foot p {
        font-size: 0.65rem;
    }

    .main-btn {
        padding: 0.6rem 1.5rem;
        font-size: 1rem;
    }

    .logo {
        font-size: 1.5rem;
    }

    .menu-icon {
        font-size: 30px;
    }
    .card-section-product {
        display: flex;
        flex-wrap: wrap;
        justify-content: center; /* 또는 flex-start */
        gap: 20px;
        max-width: 1800px;
        margin: 0 auto;
        padding: 20px 20px;
        background-color: #fff;
    }
}

@media (max-width: 480px) {
    .main-content {
        top: 50%; /* ✅ 원래 50% → 40%로 살짝 올림 */
        transform: translate(-50%, -40%);
        padding: 0 1rem; /* ✅ 좌우 여백 조금 */
    }
    .main-content-foot {
        top: 50%; /* ✅ 원래 50% → 40%로 살짝 올림 */
        transform: translate(-50%, -40%);
        padding: 0 1rem; /* ✅ 좌우 여백 조금 */
    }


    .card-section {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px;
        padding: 12px;
    }

    .card {
        flex: 1 1 calc(48% - 6px);
        max-width: 48%;
        min-width: 140px; /* 더 작은 화면 고려 */
        background-color: #fff;
        border-radius: 12px;
        box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    }

    .card img {
        width: 100%;
        height: 88%;
        object-fit: cover;
    }

    .card h3 {
        font-size: 0.7rem;
        margin: 8px 5px 11px;
    }

    .card p {
        font-size: 0.7rem;
        margin-bottom: 8px;
    }

    .section-title h3{
        font-size: 0.85rem;
    }

    .main-content h1 {
        font-size: 0.75rem;
    }

    .main-content p {
        font-size: 0.65rem;
    }
    .main-content-foot h1 {
        font-size: 0.75rem;
    }

    .main-content-foot p {
        font-size: 0.65rem;
    }


    .main-btn {
        padding: 0.4rem 1.0rem;
        font-size: 0.6rem;
    }

    .logo {
        font-size: 1.4rem;
    }

    .menu-icon {
        font-size: 20px;
    }
    .submenu li {
        margin-bottom: 10px;
        padding-left: 16px; /* ✅ 여기 추가 */
        font-size: 0.75rem;
        font-family: 'Pretendard', sans-serif;
        color: #666;
    }
    .icon-box {
        width: 50px; /* ✅ 조금 키움 */
        height: 50px;
        display: flex;
        align-items: center;
        justify-content: left;
        margin: 0 10px; /* ✅ 좌우 여백 살짝 더 */
    }
    .footer-top img {
        height: 50px; /* ✅ 로고 크기 조절 */
        object-fit: contain;
    }
    .whats-app{
        width: 50px;
        height: 50px;
    }
    .footer-info a img {
        height: 35px;              /* ✅ 아이콘 크기 조정 */
        margin-left: 3px;          /* ✅ 글자와 간격 */
        vertical-align: middle;    /* ✅ 텍스트 기준 정렬 */
        transition: transform 0.2s ease, opacity 0.2s ease;
    }
    .logo {
        width: 110px; /* ✅ 가로 180px */
        height: 70px; /* ✅ 세로 180px */
        object-fit: contain; /* ✅ 이미지 비율 유지 */
    }
    .category-buttons {
        text-align: center;
        margin: 50px 0;
    }

    .category-btn {
        padding: 10px 20px;
        margin: 0 10px;
        border: 1px solid #ddd;
        background: #f9f9f9;
        font-size: 1rem;
        cursor: pointer;
        border-radius: 20px;
        transition: background-color 0.3s, color 0.3s;
        font-family: 'Pretendard', sans-serif; /* ✅ Pretendard 폰트 적용 */
    }

    .category-btn:hover {
        background: #007bff;
        color: white;
    }

    .category-btn.active {
        background: #007bff;
        color: white;
    }
    header {
        padding: 0.65em;
    }
    .card-section-product {
        display: flex;
        flex-wrap: wrap;
        justify-content: center; /* 또는 flex-start */
        gap: 20px;
        max-width: 1800px;
        margin: 0 auto;
        padding: 20px 20px;
        background-color: #fff;
    }
    .footer-top {
        display: flex;
        justify-content: space-between; /* ✅ 왼쪽/오른쪽 끝으로 */
        align-items: center;
        padding: 3px;
        flex-wrap: wrap;
    }

    .footer-left {
        flex: 1;
    }

    .footer-right {
        display: flex;
        gap: 12px; /* ✅ 아이콘 사이 간격 */
    }

    .footer-logo {
        width: 115px;
        height: auto;
        object-fit: contain;
    }

    .footer-icon {
        width: 36px;
        height: 36px;
        object-fit: contain;
        transition: transform 0.3s;
        cursor: pointer;
    }

    .footer-icon:hover {
        transform: scale(1.1);
    }
    .footer {
        background-color: #2c2c2c;
        color: #ddd;
        padding: 20px 25px;
        font-size: 12.5px;
        font-family: 'Pretendard', sans-serif;
        line-height: 1.4;
    }
    .
}
