/* =======================
   VISION PAGE (기업비전)
   ======================= */

:root {
    --vision-red: #e11d2e;
    --vision-gray: #555;
    --vision-black: #111;
}

/* 기본 래퍼 */
.vision-wrap {
    position: relative;
    width: 100%;
    text-align: center;
    overflow: hidden;
    background: #fff;
    margin: clamp(4rem, 6vw, 8rem) auto clamp(8rem, 10vw, 10rem);
    font-family: "Noto Sans KR", system-ui, sans-serif;
}

/* ===== 비전 배경 영역 ===== */
.vision-bg {
    position: relative;
    width: 100%;
    z-index: 1;
}
.vision-bg-img {
    width: 100%;
    object-fit: cover;
    display: block;
}

/* ===== 비전 본문 ===== */
.vision-body {
    position: absolute;
    top: 35%;
    left: 10%;
    width: 100%;
    color: #fff;
    text-align: left;
    z-index: 5;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.vision-title {
    font-size: clamp(1.8rem, 3.2vw, 2.8rem);
    font-weight: 800;
    margin-bottom: clamp(1rem, 2vw, 1.5rem);
}

.vision-subtitle {
    font-size: clamp(1rem, 1.8vw, 1.4rem);
    font-weight: 700;
    margin-bottom: clamp(0.8rem, 1.5vw, 1.2rem);
}

.vision-desc {
    font-size: clamp(0.9rem, 1.4vw, 1.1rem);
    line-height: 1.8;
    margin-bottom: clamp(1.5rem, 3vw, 2rem);
    opacity: 0.95;
}

/* 버튼 그룹 */
.vision-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: clamp(0.8rem, 1.5vw, 1rem);
    margin-top: clamp(1.5rem, 3vw, 2rem);
    justify-content: left;
}

.vision-btn {
    padding: clamp(0.6rem, 1.2vw, 0.9rem) clamp(1.2rem, 2vw, 1.8rem);
    border-radius: 30px;
    background: var(--vision-red);
    color: #fff;
    font-size: clamp(0.85rem, 1.5vw, 1rem);
    font-weight: 700;
    text-align: center;
    white-space: nowrap;
    transition: background 0.25s ease, transform 0.2s ease;
}

.vision-btn:hover {
    background: #c00;
    transform: translateY(-2px);
}

/* 로고 */
.vision-logo img {
    width: clamp(100px, 10vw, 140px);
    margin-top: clamp(1rem, 2vw, 1.5rem);
    filter: drop-shadow(0 4px 10px rgba(0,0,0,0.3));
}

/* ===== 하단 문구 ===== */
.vision-footer {
    margin: clamp(2rem, 4vw, 3rem) 0;
    text-align: center;
    padding: clamp(2rem, 4vw, 3rem);
    border-top: 1px solid #eee;
}

.footer-title {
    font-size: clamp(1.2rem, 2vw, 2rem);
    font-weight: 800;
    color: var(--company-red);
    margin-bottom: clamp(0.5rem, 1vw, 1rem);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.footer-subtitle {
    font-size: clamp(1rem, 2vw, 1.3rem);
    font-weight: 700;
    color: var(--vision-black);
    margin-bottom: clamp(1rem, 2vw, 2rem);
}

.footer-desc {
    font-size: clamp(0.9rem, 1.3vw, 1rem);
    color: var(--vision-gray);
    line-height: 1.8;
    max-width: 900px;
    margin: 0 auto;
}

/* =========================================================
   RESPONSIVE BREAKPOINTS (1200px / 800px / 600px)
   ========================================================= */

/* --- 1200px 이하 --- */
@media (max-width: 1200px) {
    .vision-body {
        top: 30%;
        left: 8%;
        width: 100%;
    }

    .vision-title {
        font-size: clamp(1.6rem, 3vw, 2.4rem);
    }

    .vision-buttons {
        gap: 0.8rem;
    }

    .footer-title {
        font-size: clamp(1.5rem, 2.8vw, 1.8rem);
    }
}

/* --- 800px 이하 --- */
@media (max-width: 800px) {
    /* 기존 설정 유지 + 추가 수정 */
    .vision-body {
        position: relative; /* 절대 위치 해제 → 자동 흐름 */
        top: auto;
        left: auto;
        transform: none;
        width: 90%;
        margin: 2rem auto 5rem;
        text-align: center;
        color: #111; /* 글자가 배경 아래로 내려가면 가독성 확보용 */
        text-shadow: none;
    }

    .vision-title {
        font-size: 1.8rem;
        color: #e11d2e;
    }

    .vision-subtitle {
        font-size: 1.1rem;
        color: #111;
    }

    .vision-desc {
        font-size: 0.9rem;
        color: #555;
    }

    .vision-buttons {
        flex-direction: column;
        align-items: center;
    }

    .vision-btn {
        width: 80%;
        font-size: 0.9rem;
    }
    .vision-logo {
        margin-top: clamp(1rem, 2vw, 1.5rem);
    }
}

/* --- 600px 이하 --- */
@media (max-width: 600px) {
    .vision-body {
        width: 92%;
        margin: 2rem auto 4rem;
    }

    .vision-title {
        font-size: 1.5rem;
    }

    .vision-subtitle {
        font-size: 1rem;
    }

    .vision-desc {
        font-size: 0.85rem;
        line-height: 1.6;
    }

    .vision-btn {
        width: 100%;
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
    }

    .footer-title {
        font-size: 1.3rem;
    }

    .footer-subtitle {
        font-size: 1rem;
    }

    .footer-desc {
        font-size: 0.85rem;
    }
}
