/* ===========================
   블레싱 코리아 홈페이지 - 완전 재작성
   =========================== */

/* 기본 설정 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* 디자인에 맞춘 정확한 색상 */
  --dark-green: #1a2e2e;
  --very-dark: #0a0f14;
  --primary-blue: #1e90ff;
  --primary-mint: #b3e5db;
  --primary-red: #ff4d3d;
  --text-white: #ffffff;
  --text-gray: #999999;
  --bg-light: #f8f8f8;
}

html {
  scroll-behavior: smooth;
  background-color: #ffffff;
}

body {
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.7;
  color: #333;
  overflow-x: hidden;
  background-color: #ffffff;
  margin: 0;
  padding: 0;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
}


/* ===========================
   헤더 & 네비게이션
   =========================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(26, 46, 46, 0.98);
  backdrop-filter: blur(10px);
  z-index: 1000;
  padding: 18px 0;
  box-shadow: 0 2px 15px rgba(0,0,0,0.2);
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 32px;
  width: auto;
  object-fit: contain;
}

.nav {
  display: flex;
  gap: 40px;
  align-items: center;
}

.nav a {
  color: var(--text-white);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: all 0.3s;
  letter-spacing: 0.5px;
}

.nav a:hover {
  color: var(--primary-blue);
  transform: translateY(-2px);
}

/* ===========================
   히어로 섹션
   =========================== */
.hero {
  height: 100vh;
  min-height: 700px;
  background: linear-gradient(rgba(10, 15, 20, 0.4), rgba(10, 15, 20, 0.4)), 
              url('../images/main_img.png') no-repeat;
  background-size: cover;
  background-color: #101c1c;
  background-position: right bottom;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  color: var(--text-white);
  position: relative;
  padding-left: 100px;
}

.hero-content {
  max-width: 800px;
  z-index: 2;
  text-align: left;
}

.hero h1 {
  font-size: 5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 30px;
  text-transform: uppercase;
  letter-spacing: 0px;
}

.hero h1 .highlight {
  font-family: 'Permanent Marker', cursive;
  font-style: normal;
  font-weight: 400;
  color: var(--text-white);
  letter-spacing: 2px;
}

.hero-subtitle {
  font-size: 1.4rem;
  margin-bottom: 120px;
  font-weight: 400;
  letter-spacing: 0.5px;
}

.scroll-indicator {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.7rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  opacity: 0.7;
  animation: fadeInOut 2s infinite;
}

@keyframes fadeInOut {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

/* ===========================
   섹션 공통 스타일
   =========================== */
.section {
  padding: 120px 0;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.section-header-reverse {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-direction: row-reverse;
}

.section h2 {
  font-size: 2.5rem;
  margin-bottom: 15px;
  color: #222;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.subtitle-en {
  display: block;
  font-size: 1rem;
  color: #b0b0b0;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-top: 8px;
  font-family: 'Montserrat', sans-serif;
}

.section-text {
  font-size: 1.1rem;
  line-height: 1.9;
  color: #444;
  margin-bottom: 20px;
  max-width: 1400px;
}

.year-badge {
  font-size: 5.5rem;
  font-weight: 900;
  color: rgba(0, 0, 0, 0.03);
  line-height: 1;
  letter-spacing: -3px;
}

.year-range {
  font-size: 4.5rem;
  font-weight: 900;
  color: rgba(0, 0, 0, 0.04);
  text-align: right;
  line-height: 0.9;
  letter-spacing: -2px;
}

/* 이미지 placeholder */
.image-placeholder {
  width: 100%;
  height: 320px;
  background: #e8e8e8;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.image-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ===========================
   파워드 라우딤 섹션
   =========================== */
.section-power-laudem {
  background: #f5f5f5;
  padding: 45px 0 !important;
}

/* ===========================
   유스코리아 섹션
   =========================== */
.section-youth-korea {
  padding: 45px 0;
  background: white;
}

/* ===========================
   변화의 시작 & 새로운 시작
   =========================== */
.section-change {
  padding: 45px 0;
  background: #f5f5f5;
}

.section-new-beginning {
  padding: 45px 0;
  background: white;
}

/* ===========================
   블레싱 코리아 메인 섹션
   =========================== */
.section-blessing-korea {
  padding: 0 !important;
  margin: 0;
  background: transparent;
}

.hero-stadium {
  height: 85vh;
  min-height: 650px;
  background: linear-gradient(rgba(10, 15, 20, 0.7), rgba(10, 15, 20, 0.7)),
              url('../images/bg_people.jpg') no-repeat center center;
  background-size: cover;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  color: var(--text-white);
  margin: 0;
  padding: 0;
}

.stadium-content {
  text-align: left;
  max-width: 900px;
}

.stadium-title-wrapper {
  /*display: flex;*/
  align-items: center;
  gap: 20px;
  margin-bottom: 30px;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0;
  letter-spacing: -0.5px;
}

h2.section-title {
  color: #ffffff;
  text-align: center;
}

#dream .subtitle-en {
 color:#fff;
}

.subtitle-en {
  color: #000;
  font-size: 1.2rem;
  font-weight: 400;
  letter-spacing: 1px;
}

.stadium-title-wrapper {
  text-align: center;
}

.stadium-text {
  font-size: 1.1rem;
  line-height: 2.2;
  color: rgba(255, 255, 255, 0.95);
  font-weight: 400;
  text-align: center;
}

/* ===========================
   카드 레이아웃 (좌우 분할: 1 큰 카드 + 2x2 그리드)
   =========================== */
.cards-container {
  display: flex;
  background: var(--very-dark);
  min-height: 100vh;
  margin: 0;
  padding: 0;
}

/* 왼쪽: 큰 카드 */
.card-left {
  flex: 1;
  display: flex;
}

/* 오른쪽: 2x2 그리드 */
.card-right {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
}

.card {
  padding: 60px 45px;
  min-height: 50vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: var(--text-white);
  position: relative;
  opacity: 0;
  transform: translateY(50px) scale(0.95);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.card:not(.card-visible):hover {
  transform: translateY(50px) scale(0.98);
}

.card h3 {
  font-size: 2rem;
  margin-bottom: 25px;
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: -0.5px;
  font-family: 'Montserrat', sans-serif;
}

.card p {
  font-size: 1rem;
  line-height: 1.7;
  margin-top: 20px;
  opacity: 0.95;
  font-weight: 400;
}

/* 왼쪽 큰 카드 스타일 */
.card-full {
  width: 100%;
  height: 100%;
  text-align: left;
  padding: 80px 60px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.card-full h3 {
  font-size: 3.2rem;
  margin-bottom: 30px;
  line-height: 1.2;
}

.card-full p {
  font-size: 1.3rem;
  opacity: 0.85;
}

/* 카드 배경색 */
.card-dark {
  background: rgba(15, 20, 25, 0.95);
}

.card-blue {
  background: var(--primary-blue);
}

.card-mint {
  background: var(--primary-mint);
  color: #ffffff;
}

.card-mint h3 {
  color: #ffffff;
}

.card-mint p {
  color: #ffffff;
}

.card-mint .card-btn {
  color: #222;
  border-color: #222;
}

/* 다음세대/교회 카드 */
.card-youth,
.card-church {
  color: var(--text-white);
}

.card-tag {
  display: inline-block;
  background: #20c997;
  color: var(--text-white);
  padding: 8px 18px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 15px;
  width: fit-content;
}

/* 카드 버튼 */
.card-btn {
  background: transparent;
  color: var(--text-white);
  border: 2px solid rgba(255, 255, 255, 0.6);
  padding: 12px 28px;
  border-radius: 25px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  margin-top: 20px;
  width: fit-content;
  font-family: 'Pretendard', sans-serif;
}

.card-blue .card-btn {
  background-color: #0066cc;
  border-color: #0066cc;
  color: var(--text-white);
}

.card-blue .card-btn:hover {
  background-color: #0052a3;
  border-color: #0052a3;
}

.card-mint .card-btn {
  background-color: var(--text-white);
  border-color: var(--text-white);
  color: #000;
}

.card-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.9);
}

.btn-red {
  background: #dc4e41;
  border: 2px solid #dc4e41;
  color: var(--text-white);
}

.btn-red:hover {
  background: #c44133;
  border-color: #c44133;
  transform: translateY(-2px);
}

/* ===========================
   푸터
   =========================== */
.footer {
  background: var(--dark-green);
  color: var(--text-white);
  text-align: center;
  padding: 40px 0;
  font-size: 0.95rem;
}

/* ===========================
   반응형 디자인
   =========================== */
@media (max-width: 1024px) {
  .container {
    padding: 0 30px;
  }
  
  .hero {
    padding-left: 60px;
  }
  
  .hero h1 {
    font-size: 3.8rem;
  }
  
  .card {
    padding: 50px 35px;
    min-height: 450px;
  }
}

@media (max-width: 768px) {
  .header .container {
    flex-direction: column;
    gap: 15px;
    padding: 0 20px;
  }
  
  .nav {
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .hero {
    padding-left: 40px;
    padding-right: 40px;
    height: auto;
    min-height: 650px;
  }
  
  .hero h1 {
    font-size: 3rem;
  }
  
  .hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 80px;
  }
  
  .section {
    padding: 70px 0;
  }
  
  .section h2 {
    font-size: 2rem;
  }
  
  .section-text {
    font-size: 1rem;
  }
  
  .year-badge {
    font-size: 4.5rem;
  }
  
  .year-range {
    font-size: 3.5rem;
  }
  
  .image-placeholder {
    height: 260px;
  }
  
  /* 모바일: 세로 스택 */
  .cards-container {
    flex-direction: column;
  }
  
  .card-right {
    grid-template-columns: 1fr;
  }
  
  .card {
    padding: 50px 30px;
    min-height: 400px;
  }
  
  .card h3 {
    font-size: 1.8rem;
  }
  
  .card-full h3 {
    font-size: 2.5rem;
  }
}

@media (max-width: 480px) {
  .hero {
    padding-left: 30px;
    padding-right: 30px;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
    margin-bottom: 60px;
  }
  
  .section {
    padding: 60px 0;
  }
  
  .section h2 {
    font-size: 1.8rem;
  }
  
  .section-text {
    font-size: 0.95rem;
  }
  
  .image-placeholder {
    height: 200px;
  }
  
  .year-badge {
    font-size: 3.5rem;
  }
  
  .card {
    padding: 40px 25px;
    min-height: 350px;
  }
  
  .card h3 {
    font-size: 1.6rem;
  }
  
  .card-content {
    padding: 30px 25px;
  }
}

/* ===========================
   스크롤 애니메이션 효과
   =========================== */

/* 카드 애니메이션 */
.card.card-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.card.card-visible:hover {
  transform: translateY(0) scale(1.03);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

/* 이미지 줌 효과 */
.image-placeholder {
  overflow: hidden;
  transform: scale(1.1);
  opacity: 0.7;
  transition: all 1s ease;
}

.image-placeholder.image-visible {
  transform: scale(1);
  opacity: 1;
}

.image-placeholder img {
  transition: transform 0.5s ease;
}

.image-placeholder:hover img {
  transform: scale(1.1);
}

/* 배경 이미지 패럴랙스 */
.hero,
.hero-stadium,
.section-power-laudem,
.section-youth-korea,
.section-change,
.section-new-beginning {
  background-attachment: fixed;
  background-position: center center;
  transition: background-position 0.1s ease-out;
  will-change: background-position;
}

/* 텍스트 페이드인 효과 */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.section h2,
.section p {
  animation: fadeInUp 0.8s ease forwards;
}

/* 부드러운 스크롤 효과 */
html {
  scroll-behavior: smooth;
}
