/* 그리고북 홈페이지 전용 스타일 */

/* ============================================
   Hero Section
   ============================================ */

.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  overflow: hidden;
  margin-top: 5rem;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, 
    rgba(30, 58, 138, 0.7), 
    rgba(30, 58, 138, 0.6), 
    rgba(29, 78, 216, 0.5));
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-tagline {
  display: inline-block;
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 1.25rem;
  font-weight: bold;
  letter-spacing: 0.05em;
  padding: 0.75rem 1.5rem;
  background-color: rgba(249, 115, 22, 0.2);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(212, 168, 83, 0.3);
  border-radius: 0.25rem;
  color: #fed7aa;
  margin-bottom: 2rem;
}

.hero-subtitle {
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 3rem;
  letter-spacing: 0.05em;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-title {
  font-family: 'Noto Serif KR', serif;
  font-size: 2.25rem;
  font-weight: bold;
  color: var(--white);
  margin-bottom: 3rem;
  line-height: 1.4;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 3.5rem;
  }
}

/* 출판 프로세스 */
.hero-process {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 3rem;
  margin-top: 3rem;
}

.process-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.process-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  background-color: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  color: #fed7aa;
}

@media (min-width: 768px) {
  .process-icon {
    width: 3.5rem;
    height: 3.5rem;
  }
}

.process-label {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
}

.process-arrow {
  color: #fed7aa;
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
}

@media (max-width: 640px) {
  .process-arrow {
    display: none;
  }
  
  .hero-process {
    gap: 1rem;
  }
}

.hero-description {
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 3rem;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* CTA 버튼 */
.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 3rem;
}

@media (min-width: 640px) {
  .hero-buttons {
    flex-direction: row;
  }
}

/* POD 친환경 메시지 */
.hero-eco-message {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.875rem;
}

.hero-eco-message svg {
  color: #fed7aa;
  flex-shrink: 0;
}

/* 스크롤 인디케이터 */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
}

.scroll-dot {
  width: 1.5rem;
  height: 2.5rem;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 1rem;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 0.5rem 0;
}

.scroll-dot::after {
  content: '';
  width: 0.25rem;
  height: 0.5rem;
  background-color: rgba(255, 255, 255, 0.5);
  border-radius: 0.25rem;
  animation: scroll-bounce 2s infinite;
}

@keyframes scroll-bounce {
  0%, 100% {
    opacity: 0.5;
    transform: translateY(0);
  }
  50% {
    opacity: 1;
    transform: translateY(0.5rem);
  }
}

/* ============================================
   Mission & Vision Section
   ============================================ */

.mission-section {
  background-color: #eff6fc;
  opacity: 0;
  transition: opacity 0.7s ease-out;
}

.mission-section.visible {
  opacity: 1;
}

.mission-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 768px) {
  .mission-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem;
  }
}

.mission-card {
  opacity: 0;
  transition: opacity 0.7s ease-out;
}

.mission-section.visible .mission-card {
  opacity: 1;
}

.mission-title {
  font-family: 'Noto Serif KR', serif;
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--blue-900);
  margin-bottom: 1rem;
}

.mission-subtitle {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--blue-800);
  margin-bottom: 1rem;
}

.mission-description {
  font-size: 1rem;
  color: var(--gray-700);
  line-height: 1.8;
}

/* ============================================
   Philosophy Section
   ============================================ */

.philosophy-section {
  background-color: var(--white);
  opacity: 0;
  transition: opacity 0.7s ease-out;
}

.philosophy-section.visible {
  opacity: 1;
}

.philosophy-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .philosophy-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.philosophy-text {
  opacity: 0;
  transition: opacity 0.7s ease-out;
}

.philosophy-section.visible .philosophy-text {
  opacity: 1;
}

.philosophy-title {
  font-family: 'Noto Serif KR', serif;
  font-size: 2rem;
  font-weight: bold;
  color: var(--blue-900);
  margin-bottom: 2rem;
  line-height: 1.3;
}

@media (min-width: 768px) {
  .philosophy-title {
    font-size: 2.5rem;
  }
}

.philosophy-content {
  space-y: 1rem;
  margin-bottom: 2rem;
}

.philosophy-content p {
  font-size: 1rem;
  color: var(--gray-700);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.philosophy-highlight {
  padding: 1.5rem;
  background-color: #eff6fc;
  border-left: 4px solid var(--orange-500);
  border-radius: 0.25rem;
  margin-bottom: 2rem;
}

.philosophy-highlight p {
  font-size: 0.95rem;
  color: var(--blue-900);
  line-height: 1.8;
  margin-bottom: 0.75rem;
}

.philosophy-highlight p:last-child {
  margin-bottom: 0;
}

.philosophy-image {
  opacity: 0;
  transition: opacity 0.7s ease-out;
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.philosophy-section.visible .philosophy-image {
  opacity: 1;
}

.philosophy-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* ============================================
   Quick Links Section
   ============================================ */

.quick-links-section {
  background-color: #f9fafb;
  opacity: 0;
  transition: opacity 0.7s ease-out;
}

.quick-links-section.visible {
  opacity: 1;
}

.quick-links-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .quick-links-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .quick-links-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.quick-link-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2rem;
  background-color: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 0.5rem;
  transition: all var(--transition-base);
  text-decoration: none;
  color: inherit;
}

.quick-link-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: var(--orange-500);
}

.quick-link-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.quick-link-card h3 {
  font-family: 'Noto Serif KR', serif;
  font-size: 1.125rem;
  font-weight: bold;
  color: var(--blue-900);
  margin-bottom: 0.5rem;
}

.quick-link-card p {
  font-size: 0.875rem;
  color: var(--gray-700);
  line-height: 1.6;
}

/* ============================================
   Scroll Reveal 애니메이션
   ============================================ */

.scroll-reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.scroll-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   반응형 디자인
   ============================================ */

@media (max-width: 640px) {
  .hero-section {
    margin-top: 4rem;
  }

  .hero-title {
    font-size: 1.75rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .process-icon {
    width: 2.5rem;
    height: 2.5rem;
  }

  .philosophy-title {
    font-size: 1.5rem;
  }
}
