/* 기본 스타일 초기화 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

@font-face {
  font-family: 'SeoulHangang';
  src: url('../fonts/SeoulHangangM.ttf') format('truetype');
}

@font-face {
  font-family: 'SeoulAlrim';
  src: url('../fonts/SeoulAlrimTTF-Medium.ttf') format('truetype');
}

.no-underline-space {
  display: inline-block;
  text-decoration: none;
}

/*
body {
  font-family: 'SeoulHangang', sans-serif !important;
  background-color: #f4f4f4;
}
*/

/* 제목에 해당하는 요소들에 적용 */
/*
h1, h2, h3, h4, h5, .display-4, .display-5, .navbar .nav-link, .navbar-brand
{
  font-family: 'SeoulAlrim', sans-serif !important;
}
*/

/* 내비게이션 바 */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.8); /* 배경 반투명화 */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* 그림자 추가 */
}

.navbar .navbar-brand {
  font-size: 1.5rem;
  font-weight: bold;
}

.navbar .nav-link {
  font-size: 1.1rem;
  color: #333;
}

.nav-link.active {
  color: #0d6efd !important;
}

.navbar .nav-link:hover {
  color: #007bff;
}

/* 히어로 섹션 */
.hero {
  height: 100vh; /* 화면 전체 높이 */
  background-size: cover;
  background-position: center;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
}

.hero h1 {
  font-size: 4rem;
  font-weight: bold;
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.5rem;
  margin-bottom: 30px;
}

.hero .btn {
  font-size: 1.2rem;
  padding: 12px 25px;
  border-radius: 5px;
}
.hero-section {
  position: relative;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

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


/*
.bg-animation {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;    /* 흐리게 처리
}
*/


.hero-text {
  position: relative;
  z-index: 2;
  padding: 2rem;
}

.hero-bg::after {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.3);
  z-index: 1;

}




/* 수상 내역 섹션 */
.awards ul {
  list-style-type: none;
}

.awards li {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

/* 포트폴리오 섹션 */
.card {
  border: none;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.card-img-top {
  border-radius: 8px 8px 0 0;
  object-fit: cover;
  height: 200px;
}

.card-body {
  text-align: center;
}

.card-title {
  font-size: 1.25rem;
  font-weight: bold;
}

.card-text {
  font-size: 1rem;
  color: #777;
}

.card .btn {
  margin-top: 10px;
  font-size: 1rem;
}

/* 애니메이션 효과 */
@keyframes fadeIn {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Hero 섹션 텍스트 애니메이션 */
.hero h1, .hero p, .hero .btn {
  animation: fadeIn 1s ease-out;
}

.hero h1 {
  animation-delay: 0.3s;
}

.hero p {
  animation-delay: 0.5s;
}

.hero .btn {
  animation-delay: 0.7s;
}

/* 연락처 폼 */
form {
  background-color: white;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

form .form-label {
  font-size: 1rem;
}

form .form-control {
  margin-bottom: 15px;
}

form button {
  width: 100%;
  padding: 12px;
  font-size: 1.1rem;
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 8px;
}

form button:hover {
  background-color: #0056b3;
}

/* 타임라인 스타일 */
.timeline {
  list-style: none;
  padding-left: 0;
}

.timeline div {
  padding: 10px 0;
  border-left: 3px solid #007bff;
  margin-left: 10px;
  padding-left: 15px;
  position: relative;
}

.timeline div::before {
  content: "•";
  color: #007bff;
  position: absolute;
  left: -10px;
  top: 10px;
  font-size: 20px;
}

/* 푸터 */
footer {
  background-color: #333;
  color: white;
  padding: 20px 0;
  text-align: center;
}

footer a {
  color: #fff;
  text-decoration: none;
}

footer a:hover {
  color: #007bff;
}
