@charset "utf-8";
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
ul,
li {
  padding: 0;
  list-style: none;
}
body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(135deg, #b8d4d3 0%, #a8c8c7 50%, #98bab9 100%);
  min-height: 100vh;
  color: #333;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 40px 20px;
}

/* Header */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 50px;
  background: #d8d0bc;
  border-radius: 10px;
  padding: 10px 20px;
}

.logo {
  font-size: 48px;
  font-weight: bold;
  color: #2c3e50;
}

.logo a {
  text-decoration: none;
  transition: color 0.3s ease;
}

.logo a:hover {
  color: #34d399;
}
.nav {
  display: flex;
  gap: 40px;
}

.nav a {
  text-decoration: none;
  color: #2c3e50;
  font-size: 18px;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav a:hover {
  color: #34d399;
}

/* Main Content */
.main-content {
  gap: 40px;
  margin-bottom: 40px;
}

/* Profile Card */
.profile-card {
  position: relative;
  height: 100%;
}
.profile-card-down {
  position: absolute;
  width: 100%;
  height: 100%;
  background: #ffffff66;
  backdrop-filter: blur(30px);
  border-radius: 15px;
  overflow: hidden;
  flex-grow: 2;
  padding: 20px;
  background: url(https://ssunnym.dxcom.co.kr/images/main2.png) no-repeat center
    center;
  background-size: cover;
  opacity: 25%;
}
.profile-card-up {
  position: absolute;
  top: 20px;
  left: 20px;
  width: 100%;
}

.profile-card::before {
  content: "";
  position: absolute;
  top: 20px;
  right: 20px;
  width: 80px;
  height: 80px;
  border-radius: 50%;
}
.profile-img {
  border-radius: 15px;
  width: 100%;
}

.profile-title {
  font-size: 32px;
  font-weight: bold;
  color: #2c3e50;
  margin-bottom: 0px;
}

.profile-subtitle {
  font-size: 18px;
  color: #059669;
  margin-bottom: 30px;
  margin-left: 40px;
}

.moonsun-logo {
  position: absolute;
  top: -32px;
  right: 22px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  font-size: 12px;
  color: #059669;
  font-weight: bold;
}

/* Experience Card */
.experience-card {
  background: #d8d0bc;
  backdrop-filter: blur(10px);
  border-radius: 15px;
  padding: 20px 20px 20px 40px;
  width: 50%;
  margin-right: 40px;
}

.experience-list {
  list-style: none;
  line-height: 1.8;
  color: #2c3e50;
}

.experience-list li {
  margin-bottom: 8px;
  font-size: 16px;
}

.experience-divider {
  height: 2px;
  background: linear-gradient(90deg, #34d399, transparent);
  margin: 20px 0;
  border-radius: 1px;
}

/* Profile Photo */
.profile-photo {
  padding-bottom: 35px;
  text-align: center;
  height: fit-content;
  flex-grow: 1;
}
/* Projects Section */
.projects-section {
  position: relative;
  height: 100%;
}
.projects-down {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #ffffff66;
  backdrop-filter: blur(30px);
  border-radius: 15px;
  padding: 30px;
  background: url(https://ssunnym.dxcom.co.kr/images/main3.png) no-repeat center
    center;
  background-size: cover;
  opacity: 25%;
}
.projects-up {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 2;
  width: 90%;
}
.projects-title {
  font-size: 36px;
  font-weight: bold;
  color: #2c3e50;
  margin-bottom: 30px;
}

.project-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  border-bottom: 2px solid rgba(52, 211, 153, 0.3);
  transition: all 0.3s ease;
}

.project-item:last-child {
  border-bottom: none;
}

.project-item:hover {
  transform: translateX(10px);
  color: #059669;
}

.project-name {
  font-size: 24px;
  font-weight: 600;
  color: #2c3e50;
}

.project-preview {
  width: 80px;
  height: 60px;
  background: linear-gradient(45deg, #d1fae5, #a7f3d0);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: #059669;
}

/* Contact Section */
.contact-section {
  grid-column: 1 / -1;
  background: rgba(107, 114, 128, 0.8);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  padding: 20px;
  text-align: center;
  color: white;
  width: 50%;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.contact-title {
  font-size: 42px;
  font-weight: 300;
  margin-bottom: 120px;
  color: #f9fafb;
}

.social-links {
  text-align: right;
}

.social-link {
  text-decoration: none;
  color: #f9fafb;
  font-size: 18px;
  font-weight: 500;
  transition: all 0.3s ease;
  padding: 3px 20px;
}

.social-link:hover {
  background: rgba(52, 211, 153, 0.3);
  transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .main-content {
    grid-template-columns: 1fr;
  }

  .projects-section {
    order: -1;
  }
}

@media (max-width: 992px) {
  .right {
    min-height: 750px;
    height: 100vh;
    margin-top: 50px;
  }
  .moonsun-logo {
    top: -20px;
    width: 130px;
    height: 130px;
  }
}

@media (max-width: 768px) {
  .header {
    flex-direction: column;
    gap: 20px;
  }

  .nav {
    gap: 20px;
  }

  .logo {
    font-size: 36px;
  }

  .social-links {
    flex-direction: column;
    gap: 15px;
  }

  .profile-title {
    font-size: 24px;
  }

  .projects-title {
    font-size: 28px;
  }

  .contact-title {
    font-size: 32px;
  }
  .experience-card {
    width: 100%;
    margin-bottom: 50px;
  }
  .contact-section {
    width: 100%;
  }
  .moonsun-logo {
    top: -20px;
    width: 75px;
    height: 75px;
  }
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.profile-card,
.experience-card,
.profile-photo,
.projects-section,
.contact-section {
  animation: fadeIn 0.8s ease-out;
}

.experience-card {
  animation-delay: 0.2s;
}

.profile-photo {
  animation-delay: 0.4s;
  width: 25%;
}

.projects-section {
  animation-delay: 0.6s;
}

.contact-section {
  animation-delay: 0.8s;
}
.left {
  flex-grow: 2;
}
.right {
  flex-grow: 1;
  width: 100%;
}
.modal-dialog {
  overflow: hidden;
}
.swiper-wrapper .swiper-slide img {
  width: 100%;
}
