/* Fonts */
@font-face {
  font-family: 'Roboto Condensed';
  src: url('../fonts/Roboto-Condensed-webfont.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Roboto Condensed';
  src: url('../fonts/Roboto-BoldCondensed-webfont.woff') format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* CSS Variables */
:root {
  --primary-50: #f0f9ff;
  --primary-100: #e0f2fe;
  --primary-200: #bae6fd;
  --primary-300: #7dd3fc;
  --primary-400: #38bdf8;
  --primary-500: #0ea5e9;
  --primary-600: #0284c7;
  --primary-700: #0369a1;
  --primary-800: #075985;
  --primary-900: #0c4a6e;
  --primary-950: #082f49;

  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;

  --font-body: 'Roboto Condensed', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--gray-800);
  background-color: #fff;
}

/* Typography */
h1, h2, h3, h4 {
  font-family: var(--font-body);
  font-weight: 700;
  line-height: 1.3;
  color: var(--gray-900);
}

h1 {
  font-size: 3rem;
}

h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1rem;
}

a {
  color: var(--primary-600);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--primary-700);
}

/* Layout */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

section {
  padding: 5rem 0;
}

/* Navigation */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--gray-100);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 1rem;
  max-width: 1200px;
  margin: 0 auto;
}

.nav-logo {
  display: flex;
  align-items: center;
}

.nav-logo img {
  height: 48px;
  width: auto;
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.lang-btn {
  padding: 0.25rem 0.5rem;
  border: none;
  background: transparent;
  color: var(--gray-400);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.875rem;
  cursor: pointer;
  transition: color 0.2s ease;
}

.lang-btn:hover {
  color: var(--primary-500);
}

.lang-btn.active {
  color: var(--primary-600);
}

.lang-divider {
  color: var(--gray-300);
  font-weight: 400;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../images/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: #fff;
  padding-top: 4rem;
}

.hero-content {
  max-width: 800px;
  padding: 2rem;
}

.hero h1 {
  color: #fff;
  margin-bottom: 1.5rem;
  font-size: 7rem;
  letter-spacing: 0.2em;
  text-shadow:
    0 2px 4px rgba(0, 0, 0, 0.3),
    0 4px 8px rgba(0, 0, 0, 0.2),
    0 8px 16px rgba(0, 0, 0, 0.15);
}

.hero-tagline {
  font-size: 3rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  text-shadow:
    0 2px 4px rgba(0, 0, 0, 0.4),
    0 4px 12px rgba(0, 0, 0, 0.2);
}

.hero-tagline:last-of-type {
  margin-bottom: 0;
}

/* Language-specific text handling */
html[lang="ko"] {
  word-break: keep-all;
}

html[lang="en"] {
  word-break: normal;
}

/* About Section */
.about {
  background: var(--gray-50);
}

.about-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.about-content p {
  font-size: 1.125rem;
  color: var(--gray-600);
}

/* Services Section */
.services {
  background: #fff;
}

.services h2 {
  text-align: center;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.service-card {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  padding: 2rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.service-card h3 {
  color: var(--primary-600);
  margin-bottom: 0.25rem;
}

.service-subtitle {
  font-size: 0.875rem;
  color: var(--gray-500);
  margin-bottom: 1rem;
}

.service-description {
  color: var(--gray-600);
  margin-bottom: 1.5rem;
}

.service-features {
  list-style: none;
  margin-bottom: 1.5rem;
}

.service-features li {
  padding: 0.75rem 0;
  border-top: 1px solid var(--gray-100);
}

.service-features li:first-child {
  border-top: none;
}

.feature-title {
  font-weight: 700;
  color: var(--gray-800);
  display: block;
  margin-bottom: 0.25rem;
}

.feature-desc {
  font-size: 0.875rem;
  color: var(--gray-500);
}

.service-link {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: var(--primary-500);
  color: #fff;
  border-radius: 6px;
  font-weight: 700;
  transition: background 0.2s ease;
}

.service-link:hover {
  background: var(--primary-600);
  color: #fff;
}

.service-status {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: var(--gray-100);
  color: var(--gray-600);
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 700;
}

/* Footer */
.footer {
  background: var(--gray-900);
  color: var(--gray-400);
  padding: 3rem 0;
}

.footer-content {
  text-align: center;
}

.footer-company {
  font-family: var(--font-body);
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
}

.footer-info {
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
}

.footer-info a {
  color: var(--primary-400);
}

.footer-info a:hover {
  color: var(--primary-300);
}

.footer-copyright {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--gray-700);
  font-size: 0.75rem;
  color: var(--gray-500);
}

/* Responsive */
@media (max-width: 768px) {
  h1 {
    font-size: 2.5rem;
  }

  .hero h1 {
    font-size: 4rem;
  }

  .hero-tagline {
    font-size: 1.75rem;
  }

  section {
    padding: 3rem 0;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 2rem;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero-tagline {
    font-size: 1.25rem;
  }

  .nav-logo img {
    height: 36px;
  }
}
