/* 🚀 메인 메뉴 스타일 */
.main-menu {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  width: auto;
  padding: 15px 20px;
  background: rgba(255, 255, 255, 0.4); /* 🔥 40% 투명 */
  border-bottom: 1px solid rgba(255, 255, 255, 0.6); /* 살짝 밝은 테두리 */
  z-index: 1000;
  text-align: center;
  backdrop-filter: blur(10px); /* 🔥 유리 효과 */
  border-radius: 0 0 15px 15px;
}

/* 🚀 로고 스타일 */
.logo a {
  font-size: 24px;
  font-weight: bold; /* 🔥 두껍게 */
  color: #1a1a1a; /* 🔥 Dark text */
  text-decoration: none;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

/* 🚀 메뉴 스타일 */
.menu {
  list-style: none;
  display: flex;
  justify-content: center;
  padding: 0;
  margin: 10px 0 0 0;
  flex-wrap: wrap;
}

.menu li {
  margin: 0 10px;
}

.menu a {
  text-decoration: none;
  font-weight: bold; /* 🔥 두껍게 */
  font-size: 14px;
  padding: 5px 10px;
  color: #1a1a1a; /* 🔥 Dark text */
  transition: color 0.3s ease-in-out;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

.menu a:hover {
  color: #000; /* 🔥 Black on hover */
  text-decoration: underline;
}

/* 🚀 반응형 메뉴 */
@media (max-width: 768px) {
  .main-menu {
    width: 100%;
    left: 0;
    transform: none;
    text-align: center;
    border-radius: 0;
  }

  .menu {
    gap: 5px;
  }

  .menu li {
    margin: 2px 5px;
  }
}

/* Global Styles */
html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Pretendard", sans-serif;
  color: #333;
  overflow-x: hidden;
}

/* Video Background */
.video-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  z-index: -1;
  background: url("img/1.jpg") no-repeat center center/cover; /* 🔥 Fallback image */
}

/* Section Common */
section {
  position: relative;
  min-height: 100vh;
  padding: 100px 20px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: rgba(255, 255, 255, 0.9); /* Default white bg with opacity */
}

section#home {
  background: transparent; /* Show video */
  color: #1a1a1a; /* 🔥 Dark text for better readability on bright video */
}

section#about {
  background: rgba(255, 255, 255, 0.95);
}

/* Hero Section */
.hero-content {
  text-align: center;
  z-index: 10;
  background: rgba(255, 255, 255, 0.25); /* Soft semi-transparent white */
  padding: 60px 50px;
  border-radius: 40px; /* Much softer corners */
  backdrop-filter: blur(20px); /* Stronger, smoother blur */
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.4); /* Subtle glass border */
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05); /* Very soft, diffuse shadow */
  max-width: 900px;
  margin: 0 auto;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700; /* Keep bold but maybe change font if needed, stick to 700 for now */
  margin-bottom: 1.5rem;
  color: #111;
  letter-spacing: -0.03em; /* Modern tight tracking */
}

.hero-subtitle {
  font-size: 1.25rem;
  line-height: 1.8;
  margin-bottom: 3rem;
  white-space: pre-line;
  font-weight: 500; /* Slightly lighter than 600 */
  color: #333;
}

.btn {
  display: inline-block;
  padding: 15px 35px;
  border: none; /* Remove solid border */
  border-radius: 100px; /* Pill shape */
  background: #ffffff;
  color: #1a1a1a;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); /* Smooth easing */
  margin: 0 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.btn:hover {
  background: #1a1a1a;
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

/* About Section */
.about-container {
  max-width: 1000px;
  text-align: center;
}

.profile-img {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Timeline */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 0;
}

.timeline-item {
  margin-bottom: 30px;
  border-left: 2px solid #333;
  padding-left: 20px;
  text-align: left;
}

.timeline-year {
  font-weight: bold;
  font-size: 1.2rem;
  color: #e65100; /* Orange accent */
}

/* Works Grid */
.works-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  width: 100%;
  max-width: 1200px;
}

.work-card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
}

.work-card:hover {
  transform: translateY(-5px);
}

.work-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.work-info {
  padding: 20px;
  text-align: left;
}

/* 🚀 Responsive Video Wrapper */
.video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  background: #000;
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Contact Form */
.contact-form {
  max-width: 600px;
  width: 100%;
  margin: 0 auto;
  text-align: left;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: 600;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 5px;
}

.submit-btn {
  background: #333;
  color: white;
  padding: 12px 30px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1rem;
}

.submit-btn:hover {
  background: #555;
}
