/* ============================================
   SCEM Main Page - main_img.css
   maincss_4.css ¿Í Ãæµ¹ÇÏ´Â ½ºÅ¸ÀÏÀ» ¸í½ÃÀûÀ¸·Î µ¤¾î¾¸
   ============================================ */




/* ===== Hero Section ===== */
/* maincss_4.cssÀÇ #hero, .tm-hero-* ¸¦ ¿ÏÀüÈ÷ µ¤¾î¾²±â */
#hero {
  background-image: url('/default/img/scem/main/main.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 75vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}


.hero-overlay {
  width: 100%;
  min-height: 75vh;
  background: linear-gradient(135deg, rgba(13, 71, 161, 0.75) 0%, rgba(0, 0, 0, 0.45) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}


.hero-content {
  text-align: center;
  color: white;
  max-width: 800px;
  padding: 40px 24px;
}


.hero-label {
  font-size: 56px;
  font-weight: 700;
  letter-spacing: 6px;
  margin-bottom: 12px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  color: white;
}


.hero-title {
  font-size: 24px;
  font-weight: 400;
  line-height: 1.6;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
  color: white;
}


.hero-desc {
  font-size: 15px;
  font-weight: 300;
  letter-spacing: 2px;
  opacity: 0.85;
  margin-bottom: 36px;
  color: white;
}


.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}


.hero-btn {
  display: inline-block;
  padding: 12px 32px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 4px;
  letter-spacing: 0.5px;
  transition: all 0.25s ease;
}


.hero-btn-primary {
  background-color: white;
  color: #0d47a1;
}


.hero-btn-primary:hover {
  background-color: #e3f2fd;
  color: #0d47a1;
}


.hero-btn-secondary {
  background-color: transparent;
  color: white;
  border: 1.5px solid rgba(255, 255, 255, 0.6);
}


.hero-btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.15);
  border-color: white;
  color: white;
}




/* ===== About Section ===== */
/* maincss_4.cssÀÇ #about, #about h2, #about p ¸¦ ¿ÏÀüÈ÷ µ¤¾î¾²±â */
#about {
  max-width: 100%;
  padding: 80px 0 60px;
  text-align: left;
}


#about .about-inner {
  margin-left: 10%;
  margin-right: 10%;
}


#about .about-inner h2 {
  color: #0d47a1;
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 30px;
  margin-left: 0;
  margin-right: 0;
  text-align: left;
  padding: 0;
}


#about .about-text .about-en {
  font-size: 16px;
  line-height: 1.9;
  color: #333;
  text-align: justify;
  margin-bottom: 16px;
  margin-left: 0;
  margin-right: 0;
  padding: 0;
}


#about .about-text .about-kr {
  font-size: 14px;
  line-height: 1.9;
  color: #888;
  text-align: justify;
  margin-left: 0;
  margin-right: 0;
  padding: 0;
}




/* ===== Research Highlights ===== */
#highlights {
  padding: 0 0 80px;
}


.highlights-inner {
  margin-left: 10%;
  margin-right: 10%;
}


.highlights-inner h2 {
  color: #0d47a1;
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 30px;
}




/* --- Image Grid --- */
.img-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: auto auto;
  gap: 10px;
  padding: 0;
  margin: 0;
  grid-template-areas:
    'a a'
    'b c'
    'b d';
}


.image-overlay {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
}


.image1 { grid-area: b; }
.image2 { grid-area: a; }
.image3 { grid-area: c; }
.image4 { grid-area: d; }


.image-overlay img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}


.image-overlay:hover img {
  transform: scale(1.03);
}




/* --- Overlay Content --- */
.overlay-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  background: linear-gradient(transparent 0%, rgba(0, 0, 0, 0.7) 100%);
  color: white;
  display: flex;
  flex-direction: column;
  gap: 4px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}


.image-overlay:hover .overlay-content {
  opacity: 1;
  transform: translateY(0);
}


.overlay-tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  opacity: 0.8;
  color: white;
}


.overlay-title {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
  color: white;
}




/* ===== Responsive ===== */
@media (max-width: 960px) {
  #hero {
    min-height: 60vh;
  }


  .hero-overlay {
    min-height: 60vh;
  }


  .hero-label {
    font-size: 42px;
    letter-spacing: 4px;
  }


  .hero-title {
    font-size: 20px;
  }


  #about .about-inner,
  .highlights-inner {
    margin-left: 5%;
    margin-right: 5%;
  }


  #about {
    padding: 50px 0 40px;
  }


  #about .about-inner h2,
  .highlights-inner h2 {
    font-size: 24px;
  }
}


@media (max-width: 768px) {
  .hero-label {
    font-size: 36px;
  }


  .hero-title {
    font-size: 18px;
  }


  .hero-desc {
    font-size: 13px;
  }


  .hero-btn {
    padding: 10px 24px;
    font-size: 13px;
  }


  .img-container {
    grid-template-columns: 1fr;
    grid-template-areas:
      'a'
      'b'
      'c'
      'd';
  }


  #about .about-text .about-en {
    font-size: 15px;
  }


  #about .about-text .about-kr {
    font-size: 13px;
  }
}