@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@300;400;500;700&family=Playfair+Display:wght@600;700&display=swap');

:root {
  --primary-color: #1a2b4c; /* Deep Navy */
  --secondary-color: #d4af37; /* Gold/Beige */
  --text-dark: #333333;
  --text-light: #ffffff;
  --bg-light: #f9f9f9;
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Noto Sans KR', sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  background-color: var(--text-light);
  overflow-x: hidden;
}

h1, h2, h3, h4, th {
  font-family: 'Playfair Display', serif; /* For English headings/accents if needed, or stick to Noto Sans KR */
}

/* Typography for Korean headers */
.kr-heading {
  font-family: 'Noto Sans KR', sans-serif;
  font-weight: 700;
  letter-spacing: -0.5px;
}

/* Header & Nav */
header {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 20px 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  transition: var(--transition);
}

.logo {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary-color);
  text-decoration: none;
  letter-spacing: 1px;
}

.logo span {
  color: var(--secondary-color);
}

nav ul {
  list-style: none;
  display: flex;
  gap: 30px;
}

nav a {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 500;
  font-size: 16px;
  transition: var(--transition);
  position: relative;
}

nav a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background-color: var(--secondary-color);
  transition: var(--transition);
}

nav a:hover::after {
  width: 100%;
}

/* Hero Section */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
}

.hero-content {
  position: relative;
  z-index: 1;
  color: var(--text-light);
  max-width: 800px;
  padding: 0 20px;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s forwards 0.5s;
}

.hero h1 {
  font-size: 56px;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
  line-height: 1.2;
}

.hero p {
  font-size: 20px;
  margin-bottom: 40px;
  font-weight: 300;
}

.btn {
  display: inline-block;
  padding: 15px 40px;
  background-color: var(--secondary-color);
  color: var(--text-light);
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  border-radius: 30px;
  transition: var(--transition);
  border: 2px solid var(--secondary-color);
}

.btn:hover {
  background-color: transparent;
  color: var(--secondary-color);
}

/* Sections General */
section {
  padding: 100px 50px;
}

.section-title {
  text-align: center;
  font-size: 36px;
  margin-bottom: 20px;
  color: var(--primary-color);
}

.section-subtitle {
  text-align: center;
  font-size: 18px;
  color: #666;
  margin-bottom: 60px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* About Section */
.about {
  background-color: var(--bg-light);
  display: flex;
  align-items: center;
  gap: 50px;
}

.about-text {
  flex: 1;
}

.about-text h2 {
  font-size: 40px;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.about-text p {
  font-size: 16px;
  margin-bottom: 20px;
  color: #555;
}

.about-features {
  display: flex;
  gap: 30px;
  margin-top: 40px;
}

.feature {
  flex: 1;
}

.feature h3 {
  font-size: 20px;
  color: var(--secondary-color);
  margin-bottom: 10px;
}

/* Portfolio Section */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.portfolio-item {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  group: hover;
}

.portfolio-item img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.portfolio-item:hover img {
  transform: scale(1.1);
}

.portfolio-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(26, 43, 76, 0.8);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: var(--transition);
}

.portfolio-item:hover .portfolio-overlay {
  opacity: 1;
}

.portfolio-overlay h3 {
  color: var(--text-light);
  font-family: 'Noto Sans KR', sans-serif;
  transform: translateY(20px);
  transition: var(--transition);
  font-size: 24px;
}

.portfolio-item:hover .portfolio-overlay h3 {
  transform: translateY(0);
}

/* Footer */
footer {
  background-color: var(--primary-color);
  color: var(--text-light);
  padding: 60px 50px 20px;
  text-align: center;
}

.footer-content {
  display: flex;
  justify-content: space-around;
  margin-bottom: 40px;
  text-align: left;
}

.footer-section h4 {
  font-size: 20px;
  margin-bottom: 20px;
  color: var(--secondary-color);
}

.footer-section p {
  margin-bottom: 10px;
  color: #ccc;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  color: #888;
  font-size: 14px;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
  header {
    padding: 20px;
    flex-direction: column;
    gap: 15px;
  }
  .hero h1 { font-size: 36px; }
  .about { flex-direction: column; }
  .footer-content { flex-direction: column; gap: 30px; }
}
