:root {
  /* Colors - Based on "Green/Blue & Fresh/Clean" concept */
  /* TODO: Adjust these if logo colors differ slightly */
  --color-primary: #2ECC71;
  /* Emerald Green - Life, Growth */
  --color-secondary: #3498DB;
  /* Sky Blue - Sky, Hope */
  --color-accent: #F1C40F;
  /* Soft Gold - Light */

  --color-text: #2C3E50;
  /* Dark Slate - Clean Text */
  --color-text-light: #7F8C8D;
  /* Gray - Subtitles */
  --color-bg: #FFFFFF;
  /* White */
  --color-bg-alt: #F8F9FA;
  /* Very Light Gray - Section alt */

  /* Typography */
  --font-main: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  /* Spacing */
  --spacing-base: 1rem;
  --spacing-lg: 2rem;
  --spacing-xl: 4rem;

  /* Layout */
  --container-width: 1200px;
  --header-height: 90px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-main);
  color: var(--color-text);
  line-height: 1.6;
  background-color: var(--color-bg);
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

ul {
  list-style: none;
}

/* Container */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--spacing-base);
}

/* Typography Utilities */
h1,
h2 {
  font-weight: 700;
  margin-bottom: var(--spacing-base);
  color: var(--color-primary);
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.5rem;
  color: var(--color-text);
}

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

.section-title {
  margin-bottom: var(--spacing-lg);
  position: relative;
  text-align: center;
  display: block;
}

.section-title::after {
  content: '';
  display: block;
  width: 70px;
  height: 5px;
  background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  margin: 15px auto 0;
  border-radius: 10px;
  box-shadow: 0 3px 6px rgba(46, 204, 113, 0.2);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  border-radius: 5px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-primary {
  background-color: var(--color-primary);
  color: white;
  border: 1px solid var(--color-primary);
}

.btn-primary:hover {
  background-color: #27ae60;
  transform: translateY(-2px);
}

.btn-outline {
  border: 1px solid var(--color-primary);
  color: var(--color-primary);
  background: transparent;
}

.btn-outline:hover {
  background-color: var(--color-primary);
  color: white;
}

/* Header & Nav */
header {
  height: var(--header-height);
  background-color: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  display: flex;
  align-items: center;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.logo img {
  height: 82px;
  vertical-align: middle;
}

.logo span {
  font-size: 1.25rem;
  font-weight: 700;
  margin-left: 0.5rem;
  color: var(--color-text);
}

.nav-menu {
  display: flex;
  gap: 2rem;
}

.nav-item {
  position: relative;
}

.nav-link {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--color-text);
  padding: 0.5rem 0;
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-primary);
}

/* Dropdown */
.dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  min-width: 150px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  border-radius: 5px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  padding: 0.5rem 0;
}

.nav-item:hover .dropdown {
  opacity: 1;
  visibility: visible;
  top: 150%;
  /* Adjust for spacing */
}

.dropdown li a {
  display: block;
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
}

.dropdown li a:hover {
  background: var(--color-bg-alt);
  color: var(--color-primary);
}

/* Footer */
footer {
  background-color: #f1f2f6;
  padding: var(--spacing-xl) 0;
  margin-top: auto;
  border-top: 1px solid #e1e1e1;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  text-align: center;
}

/* Mobile Menu Button */
.menu-toggle {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Responsive */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
    margin-left: auto;
    padding: 10px;
  }

  .nav-menu {
    position: fixed;
    top: var(--header-height);
    right: 0;
    background: #fff;
    width: 210px;
    height: calc(100vh - var(--header-height));
    flex-direction: column;
    padding: 2rem;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    transform: translateX(100%);
    transition: transform 0.3s ease;
  }

  .nav-menu.active {
    transform: translateX(0);
    overflow-y: auto;
  }

  .nav-item {
    width: 100%;
    margin-bottom: 1rem;
  }

  .nav-link {
    font-size: 1.2rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid #f0f0f0;
    display: block;
    margin-bottom: 0.5rem;
  }

  .dropdown {
    position: static;
    display: block;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    padding-left: 1.2rem;
    background: transparent;
    transition: none;
    min-width: auto;
  }

  .dropdown li a {
    font-size: 1.05rem;
    padding: 0.4rem 0;
    color: #666;
  }
}

/* Lightbox Styles */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-content {
  position: relative;
  max-width: 90%;
  max-height: 85%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-image {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
  animation: zoomIn 0.3s ease;
}

.lightbox-info {
  margin-top: 1.5rem;
  color: white;
  text-align: center;
}

.lightbox-info h4 {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}

.lightbox-info p {
  color: #ccc;
  font-size: 1rem;
}

.lightbox-close {
  position: absolute;
  top: 30px;
  right: 30px;
  color: white;
  font-size: 2rem;
  cursor: pointer;
  z-index: 2100;
  transition: transform 0.2s;
}

.lightbox-close:hover {
  transform: scale(1.2);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: white;
  font-size: 3rem;
  cursor: pointer;
  padding: 20px;
  user-select: none;
  z-index: 2100;
  opacity: 0.6;
  transition: all 0.2s;
}

.lightbox-nav:hover {
  opacity: 1;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
}

.lightbox-prev {
  left: 20px;
}

.lightbox-next {
  right: 20px;
}

.lightbox-counter {
  position: absolute;
  bottom: -40px;
  color: #888;
  font-size: 0.9rem;
}

@keyframes zoomIn {
  from {
    transform: scale(0.9);
    opacity: 0;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}

@media (max-width: 768px) {
  .lightbox-nav {
    font-size: 2rem;
    padding: 10px;
  }

  .lightbox-image {
    max-height: 70vh;
  }
}