<template>
  <div>
    <topVisual />
    <div class="sub-content">
      <div class="container">
        <h2 class="sub-title">고객센터</h2>
        <div class="contact-menu">
          <div class="menu-grid">
            <NuxtLink to="/contact/support" class="menu-item">
              <div class="icon">📝</div>
              <h3>고객지원</h3>
              <p>문의사항을 남겨주세요</p>
            </NuxtLink>
            <NuxtLink to="/contact/faq" class="menu-item">
              <div class="icon">❓</div>
              <h3>자주 묻는 질문</h3>
              <p>자주 묻는 질문과 답변</p>
            </NuxtLink>
            <NuxtLink to="/contact/notice" class="menu-item">
              <div class="icon">📢</div>
              <h3>공지사항</h3>
              <p>최신 소식과 공지사항</p>
            </NuxtLink>
            <NuxtLink to="/contact/location" class="menu-item">
              <div class="icon">📍</div>
              <h3>오시는 길</h3>
              <p>찾아오시는 길 안내</p>
            </NuxtLink>
          </div>
        </div>
      </div>
    </div>
  </div>
</template>

<script setup>
import topVisual from '~/components/topVisual.vue';
</script>

<style scoped>
.contact-menu {
  padding: 60px 0;
}
.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}
.menu-item {
  background: #fff;
  padding: 40px 30px;
  text-align: center;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s, box-shadow 0.3s;
  text-decoration: none;
  color: #333;
}
.menu-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}
.menu-item .icon {
  font-size: 48px;
  margin-bottom: 20px;
}
.menu-item h3 {
  font-size: 20px;
  margin-bottom: 10px;
  color: #333;
}
.menu-item p {
  font-size: 14px;
  color: #666;
}
</style>