/* ===== HERO BANNER STYLES ===== */

/* 배너 슬라이더 컨테이너 */
.hero-banner-slider {
  position: relative;
  height: 500px;
  overflow: hidden;
  margin-bottom: 0;
}

.hero-banner {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.hero-banner.active {
  opacity: 1;
}

.hero-content {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

/* 첫 번째 배너 배경 */
.hero-gradient {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* background: linear-gradient(135deg, 
    #222567 0%, 
    #94A2D4 25%, 
    #BCC4F1 50%, 
    #CED7FF 75%, 
    #DAE1FF 100%); */
    background: linear-gradient(135deg, 
    #2a2d63 0%, 
    #7175b5 25%, 
    #94A2D4 50%, 
    #565ab1 75%, 
    #222567 100%);
  opacity: 0.95;
}

.hero-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(circle at 25% 25%, rgba(255,255,255,0.1) 2px, transparent 2px),
    radial-gradient(circle at 75% 75%, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 50px 50px, 30px 30px;
  animation: patternMove 20s linear infinite;
}

@keyframes patternMove {
  0% { transform: translate(0, 0); }
  100% { transform: translate(50px, 50px); }
}

/* 두 번째 배너 배경 */
.hero-gradient-2 {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, 
    #8293d2 0%, 
    #6469ab 25%, 
    #464991 50%, 
    #6065b7 75%, 
    #7988bf 100%);
  opacity: 0.9;
}

.hero-pattern-2 {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(circle at 30% 40%, rgba(255,255,255,0.15) 2px, transparent 2px),
    radial-gradient(circle at 70% 80%, rgba(255,255,255,0.08) 1px, transparent 1px);
  background-size: 60px 60px, 40px 40px;
  animation: patternMove2 20s linear infinite;
}

@keyframes patternMove2 {
  0% { transform: translate(0, 0); }
  100% { transform: translate(60px, 60px); }
}

/* 세 번째 배너 배경 */
.hero-gradient-3 {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, 
    #464991 0%, 
    #565ab1 20%, 
    #7175b5 40%, 
    #94A2D4 60%, 
    #6469ab 80%, 
    #222567 100%);
  opacity: 0.92;
}

.hero-pattern-3 {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(circle at 20% 30%, rgba(255,255,255,0.12) 2px, transparent 2px),
    radial-gradient(circle at 80% 70%, rgba(255,255,255,0.06) 1px, transparent 1px),
    radial-gradient(circle at 50% 50%, rgba(255,255,255,0.08) 1px, transparent 1px);
  background-size: 45px 45px, 35px 35px, 25px 25px;
  animation: patternMove3 20s linear infinite;
}

@keyframes patternMove3 {
  0% { transform: translate(0, 0); }
  100% { transform: translate(45px, 45px); }
}

/* 텍스트 컨테이너 */
.hero-text-container {
  position: relative;
  z-index: 3;
  text-align: center;
  color: white;
  max-width: 800px;
  padding: 0 20px;
}

.hero-title {
  margin-bottom: 20px;
}

.hero-title-main {
  display: block;
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: -10px;
  color: #ffffff;
  text-shadow: 3px 3px 6px rgba(0,0,0,0.5), 1px 1px 2px rgba(0,0,0,0.8);
  letter-spacing: -0.5px;
}

.hero-title-sub {
  display: block;
  font-size: 1.5rem;
  font-weight: 300;
  /* font-style: italic; */
  color: rgba(255,255,255,0.9);
  text-shadow: 3px 3px 6px rgba(0,0,0,0.5), 1px 1px 2px rgba(0,0,0,0.8);
  letter-spacing: -0.5px;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 25px;
  font-weight: 500;
}

.hero-motto {
  position: relative;
  margin-bottom: 40px;
}

.motto-text {
  font-size: 1.4rem;
  font-weight: 600;
  color: #ffffff;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
  position: relative;
  z-index: 1;
}

.motto-underline {
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 3px;
  background: linear-gradient(90deg, transparent, #ffffff, transparent);
  border-radius: 2px;
}

/* 성경 구절 스타일 */
.bible-verse {
  margin-top: 25px;
  padding: 20px;
  background: rgba(255,255,255,0.1);
  border-radius: 15px;
  border-left: 4px solid #222567;
  backdrop-filter: blur(10px);
}

.bible-verse p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.95);
  margin-bottom: 10px;
  font-style: italic;
}

.verse-reference {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.8);
  font-weight: 600;
  display: block;
  text-align: right;
}

/* 정보 아이템들 */
.hero-info {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-bottom: 35px;
  flex-wrap: wrap;
}

.hero-info-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 1rem;
  color: rgba(255,255,255,0.9);
  background: rgba(255,255,255,0.1);
  padding: 12px 18px;
  border-radius: 25px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.2);
  transition: all 0.3s ease;
  text-align: center;
  min-height: 20px;
  box-sizing: border-box;
}

.hero-info-item:hover {
  background: rgba(255,255,255,0.2);
  transform: translateY(-2px);
}

.hero-info-item i {
  color: #ffffff;
  font-size: 1rem;
  width: 16px;
  text-align: center;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* 액션 버튼들 */
.hero-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
  text-align: center;
  min-height: 24px;
  box-sizing: border-box;
  background-clip: padding-box; /* prevent background from painting under transparent border */
  clip-path: inset(0 round 50px); /* enforce perfectly rounded clipping across engines */
}

.hero-btn i {
  font-size: 1rem;
  width: 16px;
  text-align: center;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.hero-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: transform 0.5s ease;
  border-radius: inherit; /* match parent's rounded corners */
  clip-path: inset(0 round 50px);
  transform: translateX(-120%); /* keep shine fully off-screen initially */
  pointer-events: none;
  will-change: transform;
}

.hero-btn:hover::before {
  transform: translateX(120%);
}

.hero-btn.primary {
  background: linear-gradient(45deg, #565ab1, #222567);
  color: white;
  box-shadow: 0 5px 15px rgba(86,90,177,0.4);
}

.hero-btn.primary:hover {
  background: linear-gradient(45deg, #222567, #565ab1);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(34,37,103,0.6);
}

.hero-btn.secondary {
  background: rgba(255,255,255,0.1);
  color: white;
  border: 2px solid rgba(255,255,255,0.3);
  backdrop-filter: blur(10px);
}

.hero-btn.secondary:hover {
  background: rgba(255,255,255,0.2);
  border-color: rgba(255,255,255,0.5);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

/* 장식 요소들 */
.hero-decoration {
  position: absolute;
  top: 50%;
  right: 50px;
  transform: translateY(-50%);
  z-index: 2;
  opacity: 0.6;
}

.bridge-icon {
  width: 200px;
  height: 100px;
}

.bridge-svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 0 10px rgba(255,255,255,0.3));
  animation: bridgeGlow 3s ease-in-out infinite alternate;
}

@keyframes bridgeGlow {
  0% { filter: drop-shadow(0 0 10px rgba(255,255,255,0.3)); }
  100% { filter: drop-shadow(0 0 20px rgba(255,255,255,0.5)); }
}

.cross-icon {
  width: 200px;
  height: 200px;
}

.cross-svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 0 15px rgba(255,255,255,0.4));
  animation: crossGlow 4s ease-in-out infinite alternate;
}

@keyframes crossGlow {
  0% { filter: drop-shadow(0 0 15px rgba(255,255,255,0.4)); }
  100% { filter: drop-shadow(0 0 25px rgba(255,255,255,0.7)); }
}

.bible-icon {
  width: 200px;
  height: 200px;
}

.bible-svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 0 12px rgba(255,255,255,0.3));
  animation: bibleGlow 3.5s ease-in-out infinite alternate;
}

@keyframes bibleGlow {
  0% { 
    filter: drop-shadow(0 0 12px rgba(255,255,255,0.3));
    transform: scale(1);
  }
  100% { 
    filter: drop-shadow(0 0 18px rgba(255,255,255,0.6));
    transform: scale(1.02);
  }
}

/* 전화번호/계좌번호 자동 링크 방지 */
.hero-info-item span {
  color: inherit !important;
  text-decoration: none !important;
  -webkit-tap-highlight-color: transparent;
}

a[href^="tel:"], a[href^="sms:"] {
  color: inherit !important;
  text-decoration: none !important;
  -webkit-tap-highlight-color: transparent;
}

/* 네비게이션 점들 */
.hero-nav-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 10;
}

.nav-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid rgba(255,255,255,0.6);
}

.nav-dot:hover {
  background: rgba(255,255,255,0.7);
  transform: scale(1.2);
}

.nav-dot.active {
  background: rgba(255,255,255,0.9);
  box-shadow: 0 0 10px rgba(255,255,255,0.8);
}

/* ===== RESPONSIVE DESIGN ===== */

/* 대형 태블릿 */
@media (max-width: 1024px) {
  .hero-banner-slider {
    height: 80vh;
    min-height: 450px;
    max-height: 600px;
  }

  .hero-title-main {
    font-size: 2.5rem;
  }

  .hero-title-sub {
    font-size: 1.3rem;
  }

  .motto-text {
    font-size: 1.3rem;
  }

  .hero-info {
    gap: 20px;
  }

  .hero-info-item {
    font-size: 0.95rem;
    padding: 10px 15px;
  }

  .hero-actions {
    gap: 18px;
  }

  .hero-btn {
    padding: 13px 28px;
    font-size: 1.05rem;
  }
}

/* iPhone Pro Max 및 큰 모바일 */
@media (max-width: 896px) {
  .hero-info {
    gap: 25px;
  }

  .hero-info-item {
    padding: 12px 18px;
    margin-bottom: 8px;
  }
}

/* 태블릿 */
@media (max-width: 768px) {
  .hero-banner-slider {
    height: 70vh;
    min-height: 400px;
    max-height: 500px;
  }

  .hero-title-main {
    font-size: 2rem;
  }

  .hero-title-sub {
    font-size: 1.2rem;
  }

  .motto-text {
    font-size: 1.2rem;
  }

  .hero-info {
    gap: 18px;
  }

  .hero-info-item {
    font-size: 0.9rem;
    padding: 10px 15px;
    margin-bottom: 6px;
  }

  .hero-actions {
    gap: 15px;
  }

  .hero-btn {
    padding: 12px 25px;
    font-size: 1rem;
  }

  .hero-decoration {
    display: none;
  }

  .bible-verse {
    padding: 15px;
    margin-top: 20px;
  }

  .bible-verse p {
    font-size: 1rem;
  }
}

/* 소형 태블릿 */
@media (max-width: 600px) {
  .hero-banner-slider {
    height: 60vh;
    min-height: 350px;
    max-height: 450px;
  }

  .hero-title-main {
    font-size: 1.8rem;
  }

  .hero-title-sub {
    font-size: 1.1rem;
  }

  .motto-text {
    font-size: 1.1rem;
  }

  .hero-info {
    gap: 15px;
  }

  .hero-info-item {
    font-size: 0.85rem;
    padding: 8px 12px;
    margin-bottom: 5px;
  }

  .hero-actions {
    gap: 12px;
  }

  .hero-btn {
    padding: 10px 20px;
    font-size: 0.95rem;
  }
}

/* 모바일 */
@media (max-width: 480px) {
  .hero-banner-slider {
    height: 50vh;
    min-height: 300px;
    max-height: 400px;
  }

  .hero-text-container {
    padding: 15px 15px;
  }

  .hero-title-main {
    font-size: 1.5rem;
    padding-bottom: 10px;
  }

  .hero-title-sub {
    font-size: 0.9rem;
  }

  .motto-text {
    font-size: 0.7rem;
    line-height: 1.2;
    padding: 0 5px;
    margin-bottom: 15px;
  }

  .hero-info {
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-bottom: 15px;
  }

  .hero-info-item {
    font-size: 0.6rem;
    padding: 6px 8px;
    margin-bottom: 4px;
  }

  .hero-info-item i {
    color: #ffffff;
    font-size: 0.6rem;
    width: 16px;
    text-align: center;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .hero-actions {
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 8px;
  }

  .hero-actions i {
    font-size: 0.6rem;
    width: 12px;
    text-align: center;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .hero-btn {
    flex: 1;
    max-width: 150px;
    justify-content: center;
    padding: 5px 8px;
    font-size: 0.6rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .bible-verse {
    padding: 10px;
    margin-top: 12px;
  }

  .bible-verse p {
    font-size: 0.6rem;
    line-height: 1.5;
  }

  .verse-reference {
    font-size: 0.6rem;
  }

  .hero-btn.primary {
    background: linear-gradient(45deg, #565ab1, #222567);
    color: white;
    box-shadow: 0 5px 15px rgba(86,90,177,0.4);
  }
  
  .hero-btn.primary:hover {
    background: linear-gradient(45deg, #222567, #565ab1);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(34,37,103,0.6);
  }
  
  .hero-btn.secondary {
    background: rgba(255,255,255,0.1);
    color: white;
    border: 2px solid rgba(255,255,255,0.3);
    backdrop-filter: blur(10px);
  }
  
  .hero-btn.secondary:hover {
    background: rgba(255,255,255,0.2);
    border-color: rgba(255,255,255,0.5);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
  }
}

/* 모바일 */
@media (max-width: 370px) {
  .hero-banner-slider {
    height: 50vh;
    min-height: 300px;
    max-height: 400px;
  }

  .hero-text-container {
    padding: 15px 15px;
  }

  .hero-motto {
    margin-bottom: 20px;
    margin-top: -10px;
  }

  .hero-title-main {
    font-size: 1.1rem;
    padding-bottom: 10px;
  }

  .hero-title-sub {
    font-size: 0.7rem;
  }

  .motto-text {
    font-size: 0.6rem;
    line-height: 1.2;
    padding: 0 5px;
    margin-bottom: 15px;
  }

  .hero-info {
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-bottom: 15px;
  }

  .hero-info-item {
    font-size: 0.4rem;
    padding: 6px 8px;
    margin-bottom: 4px;
    font-size: 0.6rem;
  }

  .hero-info-item i {
    color: #ffffff;
    font-size: 0.5rem;
    width: 16px;
    text-align: center;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .hero-actions {
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 8px;
  }

  .hero-actions i {
    font-size: 0.5rem;
    width: 12px;
    text-align: center;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .hero-btn {
    flex: 1;
    max-width: 150px;
    justify-content: center;
    padding: 5px 8px;
    font-size: 0.4rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .bible-verse {
    padding: 10px;
    margin-top: 12px;
  }

  .bible-verse p {
    font-size: 0.4rem;
    line-height: 1.5;
  }

  .verse-reference {
    font-size: 0.4rem;
  }

  .hero-btn.primary {
    background: linear-gradient(45deg, #565ab1, #222567);
    color: white;
    box-shadow: 0 5px 15px rgba(86,90,177,0.4);
    font-size: 0.6rem;
  }
  
  .hero-btn.primary:hover {
    background: linear-gradient(45deg, #222567, #565ab1);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(34,37,103,0.6);
    font-size: 0.6rem;
  }
  
  .hero-btn.secondary {
    background: rgba(255,255,255,0.1);
    color: white;
    border: 2px solid rgba(255,255,255,0.3);
    backdrop-filter: blur(10px);
    font-size: 0.6rem;
  }
  
  .hero-btn.secondary:hover {
    background: rgba(255,255,255,0.2);
    border-color: rgba(255,255,255,0.5);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
    font-size: 0.6rem;
  }
}
