/* ===============================
   FONT IMPORT
=============================== */
@import url('https://fonts.googleapis.com/css2?family=Jost:wght@400;500;700&display=swap');
@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/static/pretendard.css');

:root {
    --main-green: #1b6331;
    --gray-text: #555;
}

/* ===============================
   BASE
=============================== */
.catalog-page {
    font-family: 'Pretendard', 'Jost', sans-serif;
    background: #fff;
    color: #111;
    letter-spacing: -0.02em;
    text-align: center;
    overflow-x: hidden;
}

/* ===============================
   SECTION 1 : HEADER
=============================== */
.catalog-header {
    text-align: center;
    padding: 0;
}

.top-title {
    font-size: clamp(1.4rem, 2.8vw, 1.8rem);
    font-weight: 400;
    color: #222;
    margin-bottom: 0.6rem;
}

.top-sub {
    font-size: clamp(0.85rem, 1.4vw, 0.95rem);
    color: #777;
    margin-bottom: 1.2rem;
}

.main-title {
    font-family: 'Jost', sans-serif;
    color: var(--main-green);
    font-size: clamp(1.3rem, 2vw, 1.6rem);
    font-weight: 700;
    margin-bottom: 4rem;
}

/* ===============================
   SECTION 2 : VISUAL IMAGES
=============================== */
.catalog-visual {
    padding: 5rem 0.5rem 6rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.catalog-image-wrap {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.2rem;
    width: 100%;
    max-width: 1600px;
    margin: 0 auto 6rem;
    align-items: stretch;
    height: auto;
}


/* 스크롤바 최소화 */

.catalog-image-wrap::-webkit-scrollbar {
    height: 6px;
}
.catalog-image-wrap::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 10px;
}
.catalog-image-wrap::-webkit-scrollbar-track {
    background: #f3f3f3;
}

.catalog-image {
    background: #f8f8f8;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    transition: transform 0.3s ease;
}

.catalog-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
}


.catalog-image:hover {
    transform: translateY(-5px);
}

/* ===============================
   TEXT SECTION
=============================== */
.catalog-text {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.catalog-text h3 {
    font-size: clamp(1.3rem, 2.2vw, 1.8rem);
    font-weight: 600;
    line-height: 1.6;
    margin-bottom: 1.2rem;
    color: #222;
}

.subtext {
    font-size: clamp(0.9rem, 1.3vw, 1rem);
    color: var(--main-green);
    font-weight: 500;
    margin-bottom: 1.8rem;
}

.desc {
    font-size: clamp(0.85rem, 1.3vw, 0.95rem);
    color: var(--gray-text);
    line-height: 1.9;
    margin-bottom: 3rem;
}

/* ===============================
   BUTTON
=============================== */
.catalog-btn {
    display: inline-block;
    background: #222;
    color: #fff;
    padding: 0.9rem 2.2rem;
    font-size: clamp(0.85rem, 1.2vw, 0.95rem);
    font-weight: 500;
    border-radius: 50px;
    transition: 0.3s ease;
    text-decoration: none;
}

.catalog-btn:hover {
    background: var(--main-green);
    transform: translateY(-2px);
}

/* ===============================
   RESPONSIVE
=============================== */

/* --- 1600px 이하 : 이미지 간격 살짝 줄이기 --- */
@media (max-width: 1600px) {
    .catalog-image-wrap {
        gap: 0.5rem;
    }
}

/* --- 1200px 이하 --- */
@media (max-width: 1200px) {
    .catalog-visual {
        padding: 0rem 0.5rem 3rem;
    }
}

/* --- 900px 이하 --- */
@media (max-width: 900px) {
    .catalog-text h3 {
        font-size: 1.3rem;
    }

    .desc {
        line-height: 1.8;
    }
}

/* --- 800px 이하 --- */
@media (max-width: 800px) {

    .catalog-text h3 {
        font-size: 1.2rem;
    }

    .desc {
        font-size: 0.85rem;
    }
}


@media (max-width: 700px) {
}

/* --- 600px 이하 --- */
@media (max-width: 600px) {
    .catalog-text h3 {
        font-size: 1.1rem;
    }

    .catalog-btn {
        padding: 0.8rem 1.8rem;
        font-size: 0.85rem;
    }
}

/* --- 400px 이하 --- */
@media (max-width: 400px) {
    .catalog-text h3 {
        font-size: 1rem;
    }

    .desc {
        font-size: 0.8rem;
    }

    .catalog-btn {
        padding: 0.7rem 1.6rem;
        font-size: 0.8rem;
    }
}
