@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@300;400;500;700&display=swap');

/* Reset & 기본 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  /* 전역 변수 */
  :root {
    --primary-color: #00FFAB;
    --secondary-color: #00D68F;
    --accent-color: #FFD700;
    --text-color: #fff;
    --bg-color: #111;
    --header-height: 80px;
  }
  
  /* 전역 바디 */
  body {
    font-family: 'Noto Sans KR', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    padding-top: var(--header-height);
  }

  main {
    flex: 1;
  }
  /* 공통 Header */
  header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: #111;
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    transition: all 0.3s ease;
  }
  
  .header-content {
    width: 1200px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px;
    z-index: 1000;
    transition: all 0.3s ease;
  }
  
  
  .header-logo img {
    height: 45px;
    margin-top: 6.5px;
  }
  .mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-color);
    padding: 5px;
  }
  nav ul {
    display: flex;
    list-style: none;
    gap: 40px;
  }
  nav a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    font-size: 1.1rem;
    transition: color 0.3s ease;
  }
  nav a:hover {
    color: var(--primary-color);
  }
  .header-icons {
    display: flex;
    gap: 15px;
  }
  .header-icons a {
    color: var(--text-color);
    font-size: 1.2rem;
    transition: color 0.3s ease;
  }
  .header-icons a:hover {
    color: var(--primary-color);
  }
  header.scrolled {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  }
  
  header.scrolled nav a {
    color: #000;
  }
  
  header.scrolled nav a:hover {
    color: var(--primary-color);
  }
  
  header.scrolled .header-icons a {
    color: #000;
  }
  
  header.scrolled .header-icons a:hover {
    color: var(--primary-color);
  }
  
  header.scrolled .mobile-menu-btn {
    color: #000;
  }
  

/* Footer */
.footer {
	background-color: #0000;
	height: 280px;
	display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer > .container {
	width: 1200px;
}

.footer .logo {
    height: 40px;
    margin-bottom: 1rem;
}

.footer .divider {
    width: 100%;
    height: 0.5px;
    background: #fff;
    margin: 0 0 1.5rem 0;
}

.footer .info {
    color: #fff;
    font-size: 0.90rem;
    line-height: 1;
}

.footer .info-item {
    display: inline-flex;
    align-items: center;
    margin-right: 5rem;
}

.footer .info-item.company {
    margin-left: 3.3rem;
}

.footer .info-item span:first-child {
    color: #d9d9d9d9;
    width: 85px;
}

.footer .copyright {
    color: #cdcdcd;
    font-size: 0.85rem;
    margin-top: 3.5rem;
    text-align: right;
}

@media (max-width: 768px) {
    .footer .info-item {
        display: block;
        margin-right: 0;
        margin-bottom: 0.5rem;
    }
    
    .footer .info-item.company {
        margin-left: 0;
    }
    
    .footer .copyright {
        text-align: left;
    }
}
  
  /* 반응형 (Header/Footer 위주) */
  @media (max-width: 768px) {
    :root {
      --header-height: 90px;
    }

    header {
      padding: 0 25px;
    }

    .header-logo img {
      height: 60px;
    }

    .mobile-menu-btn {
      display: block;
      font-size: 2.25rem;
      padding: 8px;
    }

    nav {
      position: fixed;
      top: var(--header-height);
      left: -100%;
      width: 80%;
      height: calc(100vh - var(--header-height));
      background-color: var(--bg-color);
      transition: left 0.3s ease;
      box-shadow: 2px 0 10px rgba(0, 0, 0, 0.3);
    }

    header.scrolled nav {
      background-color: #fff;
    }

    nav.active {
      left: 0;
    }

    nav ul {
      flex-direction: column;
      padding: 30px;
      gap: 22px;
    }

    nav a {
      display: block;
      padding: 15px;
      font-size: 1.65rem;
    }

    header.scrolled nav a {
      color: #000;
    }

    .header-icons {
      display: none;
    }

    footer {
      flex-direction: column;
      text-align: center;
      padding: 30px 15px;
    }

    .footer-right {
      flex-direction: column;
      gap: 10px;
    }
  }

  @media (max-width: 480px) {
    :root {
      --header-height: 75px;
    }

    .header-logo img {
      height: 45px;
    }

    nav {
      width: 100%;
    }

    nav ul {
      padding: 22px;
    }

    nav a {
      font-size: 1.5rem;
    }
  }
  